Web Dynpro application connecting to oracle
Hi all,
i want to create a web Dynpro application which will fetch data from oracle database.
Can anyboby guide me with some documents.
Thanks in advance.
Thanks for your quick reply!
I am trying in another way.I've created a WD application and in custom controller I've put the code for connection, copying the retrived data into context and trying to display the data in one view.
CODE:
DriverManager.registerDriver(
new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@oracle server ip:port:sid",
"user name",
"password");
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from table");
if (rs != null)
while ( rs.next() )
//code for copying data into context
stmt.close();
conn.close();
Error(No class defination found) is at first line i.e. new oracle.jdbc.driver.OracleDriver().
I've put classes.zip in lib and build path as well.
Regards,
Sarika.
Similar Messages
-
Web Dynpro Application connecting to incorrect R/3 instance
Hi,
We have newly configured EP.
We are facing strange problem with web dynpro applications.
They are accessing data from incorrect instance of R/3 system,i.e, if correct system instance is x , they are accessing data from y instance, on the same R/3 server.
We have checked JCO connections. SID in JCO connection is of the correct instance.
We have also checked SLD, but are not able to find out the root cause of the problem.
Are there any other configuration, settings required?Are there any settings required on R/3 side?
Can we some how track entire process from JCO to R/3?
What happens after fetching server details from SLD? Is there any other step before connecting to R/3?
Can anyone help on this?
Thanks in advance,
ApurvaHi,
I have checked alias name (System ID) used in JCO connection.It is correct.
I have also checked System ID in SLD.
Is there any other configuration check required?
Thanks,
Apurva -
Web Dynpro application connecting to sql server
Hi,
I want to fetch data from SQL Server using webdynpro. Can anyone suggest me the steps to do this? I need to connect the SQL Server also to portal. I found one using visual admin another using system object in portal. Which is better way and how can use that connected system in coding to retrive data.
Please help me. Points will be awarded for helpful answets.
Thanks,
RazHi,
You place the code where ever you want to establish the connection to the data base which is located remotely in a diffrent IP from NWDS.
The requirement for this we have 3 jar files.Which you have to copy in the lib folder.
those are:-
1.msbase.jar
2.mssqlserver.jar
3.msutil.jar
XX.XX.XX.XX->IP Address
XXXX---->Port no
Code:-
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
conn = DriverManager.getConnection( "jdbc:microsoft:sqlserver://XX.XX.XX.XX:XXXX;databaseName=TrackingSystem","sa","sa" ) ;
Statement st = conn.createStatement();
String str = "select * from User Table";
ResultSet rs = st.executeQuery(str);
while(rs.next())
String str1 = rs.getString(1);
wdComponentAPI.getMessageManager().reportSuccess(str1);
Thanks & Regards,
Lokesh. -
Connect Web Dynpro Application to a Web service
Hi experts,
I am trying to connect a Web Dynpro application to a SOAP Web service.
I have downloaded the WDSL code and save it to a file in my hard disk.
I used the create model wizard (Import adaptive web service model) and created a model in my Web Dynpro application.
I have connected the component controller with the model and the view of the application to the controller.
All content node elements that have created automatically in the model, have in cardinality property the value 0..1.
I created input elements in the view but they are gray and not available (disabled).
The read only properity of the input elements has the value "false".
I tried to initiate the input element by putting the following code in wdDoInit() but with no luck.
wdContext.nodeRequest_ProcessTransaction().nodeProcessTransaction().nodeTransactionRequest().nodeHeader().nodeMerchantInfo().currentMerchantInfoElement().setAcquirerID("xxxx");
Can someone help with this?
Thanks in Advanced.Hi,
After importing the model, you need to create the instance for the model. Instantiate the Request object and then set the input parameters. Then you have to call the execute function, then the model will be executed and you will get the data.
Also instead of putting the code which you have wriiten in init, you can use:
wdContext.nodeMerchantInfo().currentMerchantInfoElement().setAcquirerID("xxxx");
You can directly access the node, no need to traverse the whole hierarchy.
Regards,
Manoj -
Connecting Web dynpro application to an SAP database
Hi
Iam new to the Web dynpro
I created a proto type for this screen.
In my project ,under one of the module "std Allo" option will come.By clicking that "std allo" screen will come.
In that Create , Export buttons is there.In that, table is present consists of Allowance Code, sub code,type,level,expense type,amount fields are present.
1. After clicking create button , these elements are present.
Save and Cancel buttons are present.
allowance code - (i/p field) , sub code - (i/p field) , period Type - (Dropdown by key) ,
Type - (Checkbox group) , level - ( Dropdown by key) , expense type - ( Dropdown by key) ,
trip - ( Dropdown by key) , currency - ( Dropdown by key) ,amount - (i/p field)
2.By clicking first row in the table ,,
delete ,edit cancel buttons are present.
same elements are present which i mentioned in step 1.
To connect to the R3 database, Function module is required.Can any one help what are the specifications i need to give to the ABAP team to develop a Function module for this appluication.
Please tell me procedure.
Regards
SushmaIam trying to connect my web dynpro application to R3 Database.
Iam having list screen consistts of Create and Export buttons and table.
Table Fields :
Allowance Code , sub code ,Type , Level , expense Type , amount
After clicking Create button ,
the screen consists of save and Cancel buttons.
Allowance Code -- (Input Field)
Sub Code -- (Input Field)
Period Type -
(Dropdown by key)
Type -
(Radio button Group)
Level --- (Dropdown by key)
Expense Type -(Dropdown by key)
Trip - (Dropdown by key)
Currency - (Dropdown by key)
Amount --(Input Field)
In the Create screen all these fields are present. But in the table in the List Screen it is taking only mandatory Fields.
For this our Abapers created
Fun Mod : Zup_Allowance_Input
Table : ZMSTR_ALLOW
Iam getting error in this code under IdataType in this "Save Button ".
Can any one help me where i went wrong in this code.or else please provide the Code for this.
public void onActionSave(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionSave(ServerEvent)
try{
String str1=wdContext.currentStdAllowanceElement().getAllowanceCode();
String str2=wdContext.currentStdAllowanceElement().getSubCode();
IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("PeriodType").getDataType();
String index=wdContext.currentStdAllowanceElement().getPeriodType();
String str3=wdThis.getTextFromSimpleType(dataType,index);
wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str3);
String arr[]={"Fixed","Actual"};
for(int i=0;i<arr.length;i++)
IPrivateEtrecStdCreateView.ICheckElement e=wdContext.nodeCheck().createCheckElement();
wdContext.nodeCheck().addElement(e);
e.setType(arr<i>);
IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("").getDataType();
String index=wdContext.currentStdAllowanceElement().getLevel();
String str5=wdThis.getTextFromSimpleType(dataType,index);
wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str5);
IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("ExpenseType").getDataType();
String index=wdContext.currentStdAllowanceElement().getExpenseType();
String str6=wdThis.getTextFromSimpleType(dataType,index);
wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str6);
IDataType dataType = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("Trip").getDataType();
String index=wdContext.currentStdAllowanceElement().getTrip();
String str7=wdThis.getTextFromSimpleType(dataType,index);
wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str7);
IDataType datatype = wdContext.nodeStdAllowance().getNodeInfo().getAttribute("Currency").getDataType();
String index=wdContext.currentStdAllowanceElement().getCurrency();
String str8=wdThis.getTextFromSimpleType(dataType,index);
wdComponentAPI.getMessageManager().reportSuccess("wetreer "+str8);
String str9=wdContext.currentStdAllowanceElement().getAmount();
Zup_Allowance_Input input=new Zup_Allowance_Input();
input.setAllow_Opt("C");
input.setAllowance_Code(str1);
input.setSubcode(str2);
input.setType1(str3);
input.setLevel1(str5);
input.setExpense(str6);
input.setCurr_Key(str8);
wdContext.nodeZup_Allowance_Input().bind(input);
wdContext.currentZup_Allowance_InputElement().modelObject().execute();
String str10=wdContext.currentOutputElement().get();
if(str10.equalsIgnoreCase("3"))
String errorMessage = "Inserted Successfully !";
IWDEventHandlerInfo windowHandler = wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("OK");
IWDConfirmationDialog windowDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(errorMessage, windowHandler, "OK");
windowDialog.open();
windowDialog.setWindowPosition(300,250);
}if(str10.equalsIgnoreCase("2"))
String errorMessage = "Duplicate Value !";
IWDEventHandlerInfo windowHandler = wdControllerAPI.getViewInfo().getViewController().findInEventHandlers("OK");
IWDConfirmationDialog windowDialog = wdComponentAPI.getWindowManager().createConfirmationWindow(errorMessage, windowHandler, "OK");
windowDialog.open();
windowDialog.setWindowPosition(300,250);
}catch(Exception e)
wdComponentAPI.getMessageManager().reportSuccess(e.toString());
//@@end
//@@begin javadoc:onPlugFromEtrecStdView(ServerEvent)
/** Declared validating event handler. */
//@@end
public void onPlugFromEtrecStdView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onPlugFromEtrecStdView(ServerEvent)
wdContext.currentStdAllowanceElement().setAllowanceCode("");
wdContext.currentStdAllowanceElement().setAmount("");
wdContext.currentStdAllowanceElement().setSubCode("");
//@@end -
DB access in Web Dynpro application in Portal
Hi,
I will develop a web dynpro application which will run in the EP and use an DB. How are the best practices in this scenario ? Should I use a Web Dynpro Model (EJB or WebService) for the persistence operations or should I use Portal Services ?
Regards
FloHi Florian,
go trrough these docs:
EJBs in Web Dynpro Application Using Wrapper Class
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00be903b-8551-2b10-c28a-8520400c6451]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f5f3366-0401-0010-d6b0-e85a49e93a5c]
Accessing database table using EJB and web dynpro
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]
Oracle Connectivity with EJB using WebDynpro Application
[https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/oracle%2bconnectivity%2bwith%2bejb%2busing%2bwebdynpro%2bapplication]
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b657b7e-0c01-0010-74a4-b71518871800]
hpe it hlps u...
Regards
Khushboo -
Web dynpro - database connection
Hi all,
i intead to make a web dynpro application which will store the data entered by the user in an oracle database
How am i to obtain webdynpro - oracle connectivity?
points assured for HelpHi Shobhendra,
The simplest way is to use Visual admin. For that , do the following
1.Run Go.bat in the server to open Visual Admin.
2.Select Cluster->JDBC Connector
3.In Runtime, Create a driver of any name(Say mydriv). Select classes12.jar for that
4.Create a new datasource(Say myDS). There specify the
driver class as oracle.jdbc.driver.OracleDriver
database url as jdbc:oracle:thin@IPADDRESS OF ORACLE SERVER:PORT:SID
driver as mydriv
The PORT will usually be 1527 or 1521.
For IPADDRESS, PORT and SID, u have to contact db admin
5. In additional , select Vendor or Native SQL
6. Test the connection using Monitoring tab. If green line is coming, then connection is successful, otherwise, the parametes u used will be incorrect
7.In ur webdynpro code, inorder to get the Connection to oracle, add the following
InitialContext ctx=new InitialContext();
DataSource ds=(DataSource)ctx.lookup("jdbc/myDS");
Connection con=ds.getConnection();
8. Press CTRLSHIFTO
Regards
Fahad Hamsa -
Error - Creating a Web Dynpro Application Accessing ABAP Functions
Dear All,
we are trying to implement a web dynpro application with accessing ABAP functions.
Previous tasks:
- insert the ABAP system into the SLD from the NWDI System (Transaction RZ70; the ABAP system is correctly insert into the SLD => technical systems)
- equipped the JCO connections with the web dynpro content manager (ping and test = OK)
Its the standard tutorial out of the SDN called Creating a Web Dynpro Application Accessing ABAP Functions.
Some hints:
- There are no errors after the implementation and the rebuild of the project in the NWDS
- The auto deployment works fine to the development runtime system. The application is shown in the Web Dynpro content manager
- The In the build log I found these entries:
System.err] [Invoked from com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:585)]
[System.err] java.net.UnknownHostException: FRASAPP562: FRASAPP562
[System.err] at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
[System.err] at com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:575)
[System.err] at com.sap.s2x.tools.GUID.<clinit>(GUID.java:179)
[System.err] at com.sap.s2x.tools.S2XGUID.getGUID(S2XGUID.java:19)
[System.err] at com.sap.ide.metamodel.core.i18n.LanguageState.createS2XID(LanguageState.java:191)
[System.err] at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:52)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.loadLanguageState(TextPoolProxy.java:703)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.prepareLanguageForRead(TextPoolProxy.java:646)
[System.err] at com.sap.ide.metamodel.core.i18n.TextPoolProxy.isEmpty(TextPoolProxy.java:222)
[System.err] at com.sap.ide.webdynpro.checklayer.MDOChecker.check(MDOChecker.java:23)
[System.err] at com.sap.ide.webdynpro.checklayer.view.ViewChecker.check(ViewChecker.java:52)
[System.err] at com.sap.ide.webdynpro.checklayer.controller.ViewControllerChecker.check(ViewControllerChecker.java:96)
[System.err] at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:119)
[System.err] at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:56)
[System.err] at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:181)
[System.err] at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:56)
[System.err] at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2039)
[System.err] at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
[System.err] at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
[System.err] at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:324)
[System.err] at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
[System.err] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[System.err] at org.apache.tools.ant.Task.perform(Task.java:364)
[System.err] at org.apache.tools.ant.Target.execute(Target.java:341)
[System.err] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[System.err] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
[System.err] at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)
[System.err] at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)
[System.err] at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:213)
[System.err] at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:190)
[System.err] at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
[System.err] at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[System.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[System.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[System.err] at java.lang.reflect.Method.invoke(Method.java:324)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
[System.err] at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
[System.err] at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
[System.err] at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
[System.err] at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
- Im able to start the application out of the Web Dynpro content manager with run => only the user interface is displayed without any functionality
- The normal start over the NWDS fails => error text
com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/J08_Flugdat_Daventdcflight~xxx.com' and application 'FlightListApp' are not deployed on the server. Please check the used URL for typos.
There two different URLs in use.
Start via NWDS:
http://frasapp562:50000/webdynpro/dispatcher/J08_Flugdat_Daventdcflight~xxx.com/FlightListApp
Start via web dynpro content manager:
http://frasapp562:50000/webdynpro/dispatcher/xxx.com/aventdc~flight/FlightListApp
For test purposes, we started the BAPI (BAPI_Flight_Getlist) on the ABAP system directly. It works.
Any ideas about the system behaviours (different URLs and missing functionality)?
Thanks a lot in advanced!
Best regards
ChristophThe Error has been solved The implementation of a method was missing....
Thx
Christoph -
Passing a parameter while calling a web dynpro application on portal
hi
I am having a web dynpro application which retrieves data from R/3 system via RFC using Jco destinations define in the Portal.
Now we have different kinds of portals running on the same WAS, now I want the application to run which access data from different R/3 systems thru different JCo destinations.
I need to create a logic such that mu application runs fine on any portal with any Jco destination.
Is there any provision to achieve this.
kindly let me know about this.
Thanks and regards
krisGopi,
there's an parameter called "sap-wd-arfc-useSys" you can pass to the application, to change the used JCo-Connection (read more at http://help.sap.com/saphelp_erp2005/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm)
so, if you're running the WD-aaplication on <b>one</b> WAS and call it from different portals, you have to create three (or six with the META-connections) JCo-Connection on your WD-WAS.
In a WD-application you can access URL-Parameters with:
WDWebContextAdapter.getWebContextAdapter().getRequestParameter("<your URL Parameter-Name>");
kr, achim -
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. -
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 -
Cannot deploy web dynpro applications
Hello,
I'm starting to develop web dynpro applications, and I can run them on the nwds, but I cannot deploy them to the SDM, i always get the following error:
/userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[003]Deployment aborted
Settings
SDM host : myserver
SDM port : 50118
URL to deploy : file:.../Temp/temp53918Welcome.ear
Deployment exception : Server myserver did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server myserver at port 50118: No route to host: connect
Inner exception was :
Server myserver did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server myserver at port 50118: No route to host: connect
I have installed Sneak Preview SAP NetWeaver 2004S SR 1, i can access the enterprise portal with no problems.
I would be appreciate if anybody could help me with this issue.
Regards,
Leandro FonsecaAt the same time if more users are deploying then you may such 'deployment aborted' errors check if there are more child instances for the J2EE engine.If not ask your basis administrator to create more child nodes to balance the load on the server instance.Also You can find out the server details at
"http:
<hostname:portnum>\index.html"select system configuration-you can get the details of the SDM and the j2ee engine from there.You need to have proper credentials to get the information from the above url.
Provide those details in the NWDS. -
Exchanging data between a Web Dynpro application and SAP Web Shop
I'll try to keep this as clear as possible:
1) We have the SAP Internet Sales system running, which has a series of Business Object classes and corresponding Backend Layer objects that can return data from several sources.
2) We are able to create our own Backend Layer objects that would return data from a component called IPC, which is a Java component.
3) I would like a Web Dynpro application to retrieve data from this backend layer object, but I am not experienced enough with Java to know if what I want to do is possible. I don't think that I can use JCo, because I am trying to get a Java component (class?) in Web Dynpro to access a Java class remotely.
4) I think I am asking is this: is there a way for a Java to Java connection to be created, much like Web Dynpro can use JCo to connect Java to ABAP systems?
If this is a glaringly obvious question to Java programmers, my apologies!
- Tony.Somebody on another forum recommended using RMI. Which would be the better option in terms of ease of implementation?
- Tony -
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 -
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
Maybe you are looking for
-
HR Authorisation Management for different companies in the same client
Hi, Could anyone please help in this.... My client has two companies. They want to restrict the authorisation to both the companies so that no one can see each other companies data and at the same time access tha data. For Eg, there are two payroll o
-
Can Xcelsius 2008 Engage coexist on the same machine as SAP Crystal Dashboard Design?
I still have the requirement to maintain dashboards created with Xcelsius 2008 SP5. Will the install of SAP Crystal Dashboard Design: Departmental overwrite or disable the ability to run Xcelsius 2008 on the same machine?
-
Automatically fill input fields based on selection from dynamic drop down
Hi All, I tried to search before posting, but i cannot find appropriate thread (maybe wrong keyword). My scenario: 1. In my offline interactive form, I have: a. Material Number --> drop down field with "Allow Custom Text Entry" ticked b. 1
-
Clock doesn't keep time in windows 7
my clock in windows keeps giving me the wrong time and date no matter how often i change it. it works fine in mac partition. any suggestions?
-
Create BP relationship using BAPI_REL_CREATERELATION
Hi all, Do you know if it is possible to create relationships between two BPs using this FM ? In fact i'm searching a FM to create relationship in mass but i don't know if BAPI_REL_**** BAPI'S can be used for BP Thanks for your help !! Christophe