Push ERP to SLD in JAVA system only
hi
i have been trying to push my erp system into my java only sld but i can't make it work. The sld_uc and sld_nuc always fails, can you please help?
regards,
hello,
Which java version you have installed? Only Netweaver 7.3 comes with a gateway service, in old releases you need to register sld_uc and sld_nuc in another gateway service, you can maintain this in the sld parameters.
hope you can solve your problem.
Regards,
Michael
Similar Messages
-
Change the time zone in Java System only
Hi there,
Does anyone knows where to change the time zone in Java system only? I know in ABAP they have t-code: STZAC? where do I change in Java? Configtool or visual admin? what is the service name or parameter for this?
Thanks
Kumarhi Kumar,
You can change the timezone of the JVMs using the -Duser.timezone
parameter, add -Duser.timezone=<timezone> to all dispatcher and
server processes in your systems, using the configtool
1) open config tool
2) select yes
3) select "cluster-data->instanceXXX->serverXXX/Dispatcher"
4) in "Java parameters" add new line "-Duser.timezone=<timezone>"
5) click "Apply changes"
6) restart your instance
Let me know how is the result
Regards -
Java system only Database user table name
Hi all,
Does anyone knows the table name of the user master data of Java only SAP system? because I want to be able to unlock the user "Administrator" if it get locked.
Please let me know.
Thanks in Advance!
KumarHave a look at note [669848 - Unlocking the Administrator User on the J2EE Engine/AS Java|https://service.sap.com/sap/support/notes/669848] before editing database tables.
By the way, USR02 is a table of the abap schema. For j2ee only have a look at this message UME table names
Cheers Michael -
SLD Communication between Remote ABAP & JAVA system through WebDispatcher
Hi All,
We are having the listed requirement at one of my Client.
We want to register Remote ABAP system into Remote SLD of JAVA system. Both SAP systems are located in different regions.The SLD is local to the remote JAVA system. The ultimate objective is to create JCO Destinations in Remote JAVA system using the Entries of its Local SLD and to run some WebDynpro Application to access Data from Remote ABAP system.
We have already setup the above mentioned same scenario between Remote ABAP Dev and Remote Poratl DEV systems with the help of their Direct Live IP communciation. The setup is working fine, as both systems are accessing each other using Direct Live IPs in both directions on ports 3200, 3300, 50000....
But in Portal PRD scenario, the Cleint's Enterprise Portal is accessed through SAP Webdispatcher. The User Access Request of PRD Portal is first captured at SAP Webdispatcher and then the requrest is redirected to the J2ee Application Servers based on Load balancing. So in this PRD scenario, how we can establish such SLD communication setup between Remote ABAP and JAVA systems in both directions via SAP WebDispatcher.
One of the option may be to use SAP Gateway of Portal Development, whcih is accessed through Live IP and register Remote ABAP system to Poral PRD system (by maintaining SLD entriy in SLDAPICUST T-code). I don't know weather such communication will work or not ..as it may require SLD Bridge configuration from Portal DEV to Portal PRD... may be... and may be to enable some portal communcaitons on Ports 3300, 50000 (Java Side), 3200, (ABAP side) ...
Or
at SAP Webdispather host (which is accessed first for Portal PRD requests..), the Standalone gateway needs to be setup to establish such SLD communication ?
I am confused abt the final setup of the above mentioned SLD setup. So requesting you to provide possible options/suggestions for the same.
Regards,
Bhavik G. ShroffHi,
I would suggest you to install standalone gateway between portal and your PRD system. Register portal host and gateway in the SLD and same enter in RZ70 on your PRD system. As a result both will be able to communicate with each other.
Thanks
Sunny -
Question re: Java System vs. ABAP + Java System
Hello everyone,
I posted this message in the EP Implementation forum without realizing there is a dedicated WAS General forum; I apologize to those of you who might have read this already.
My question is;
Under what scenario would I want to install my Web Application Server as an ABAP + Java system?
We have been working with our development Portal server for a few months now with a high degree of success and the WAS Server it sits on is setup as a Java System only.
I understand that for Portals and using business packages in portal I only need Java WAS.
I guess I am only left with the question, when or why would I want to install the ABAP engine?
Would you use that for a different application that sits on WAS other than Portals?
Are there benefits in installing the ABAP engine that you do not have with a Java only system?
Thanks in advance for your help,
~HenryHi Henry,
Your ABAP stack in WAS server in nothing but your SAP R/3 System. In earlier versions only ABAP stack was available. But now SAP has combined both JAVA and ABAP stack into one. So, if anyone wants to work on both the things then they can you one single server only. No need to have different servers for that.
If your purpose solves with the only JAVA stack then you can continue with that. But, if you are going to install new server and you want to work on both ABAP as well as JAVA then better to install WAS 6.40 with ABAP+JAVA stack. So, single server will setisfy your whole requirement.
I hope you satistied with this answer.
Regards,
Bhavik -
Schedule Backup in Web AS Java System
Hi
Can anybody tell me how to schedule DBA Activities (Like Database, Archive Log Backup) on SAP Java System as we do in ABAP System through T Code DB13 or DBACOCKPIT
Regards
Soumya DasguptaHi Warren
Thanks for your reply. I have followed that Notes. But I got stucked in the middle. Actually I am trying to connect our EP System (Which in a Java System only) to the ECC System (ABAP) for scheduling Backup Jobs and other DBA Activities through DBACOCKPIT. I am trying to add Remote System from the dbacockpit -> System Configuration -> Add Systems as follows
1. System : SID of the Remote System
2. Select Database Connection under the Remote System -> Create
3. Connection Name : Oracle
4. Database System : Oracle
5. User Name and Password : Oracle User Name and Password of Remote System
In DB Configuration Under Parameter I have given the TNS Name of of the Remote Database System.
Can you please validate the above details. Because after saving this enties I cannot run a successful test. Error : ORA-12154: TNS:could not resolve the connect identifier specified.
Pleaes help
Regards
Soumya Dasgupta -
hi,
I had a small query that for WEB AS ABAP we use application systems like APO,SCM etc
but for WEB AS JAVA . which application systems are used ?
regards
gunaHello Guna,
WEB AS JAVA . which application systems are used ?
Web AS Java systems) automatically report information to the SLD about the elements that they contain by using the SLD data supplier programs. You need to manually register the following types of system only:
· Standalone Java systems
· Third-party systems
To manually register these systems and if you want to maintain additional data about automatically registered systems you use the technical system browser.
WEB AS JAVA . which application systems are used ?
Database Only as Data Source
Description: All user, user account, role, and group data is stored in the database of the SAP Web Application Server Java.
Use case: You can use this scenario if UME is only used by dedicated Java applications that do not need to connect to ABAP systems or third-party systems. An example is a Web Application Server Java that is used as a developer workplace for small desktop development
Configuration file: dataSourceConfiguration_database_only.xml
Thanks,
Satya -
SLD - Technical System Wizard - Select System: Only None (Standalone J2EE)
Hi, I want to connect to some RFC-Modules on a SAP/R3 System from my NetWeaver Web DynPro Application. Therefore I have to create JCO-Connections for the Models I created (MODELDATA_DEST and RFC_METADATA_DEST). For this I have to define the System I want these JCO-Connections to connect to in my SLD which I'm trying to do using the "Technical System Wizard". (SLD -> Technical Landscape -> New Technical System -> Web AS Java (because I'm developing a Java Application).
In the next screen I have to specifiy the location of my Server. I thought, that here, I have to define my SAP/R3 Server to which the JCO-Connections for my two models shall be connected. But the only option I can choose for "Web AS ABAP" (The ABAP System where my RFC-Modules are stored I guess) is "None (Standalone J2EE)".
Why is that? Or am I missing something? I thought I have to specify the SAP/R3 System containing the RFC-Modules here and not my local NetWeaver Server.
Thanks for your help
ThomasHi,
there seems to be a misunderstanding here. For JCO to work you need to set up the ABAP-System as a technical system in SLD, otherwise the Java-System is not able to determine information like Hostname and Portnumber for the RFC. Of course it's good to set up your WAS-Java in SLD as a technical system as well, but for the JCO the ABAP side is more important as far as I can see.
To have a clean start I suggest that you set up all involved technical systems in your SLD.
Regards,
Jörg -
How to enable ping service on java-stack only system
I have installed SAP NetWeaver 7.0 - Java Trial on local host.
How can you activate the ping service there?
It should work under "http://localhost:50000/sap/bc/ping"
(I know how to activate it with transaction SICF in an abap system, but I have java-stack only here, so I can't call transactions. I can only use the Visual Admin, right?, but there I could not detect a ping service so far)
More detailed:
I created system "SAP_WebDynpro_XSS". (this is necessary for connecting to ECC abap backend for ESS Packages) and set following parameter:
template:"SAP system using connection string"
category: Web Application Server
Web AS host name: chrisSAP:50000
Web AS path: /webdynpro/dispatcher/
Web AS protocol: http
But when I test the "SAP Web AS Connection" for this system, I got following error:
7. The Web AS ping service http://chrisSAP:50000/sap/bc/ping was not pinged successfully. If the ping service is not activated on the Web AS, you can try to call the ping service manually.
8. An HTTP/S connection to http://chrisSAP:50000/webdynpro/dispatcher/ was not
obtained successfully; this might be due to a closed port on the Firewall.
I guess step 8 did not pass because step 7 failed, and not because of a closed port or firewall (I made sure everything is open.)
The strange thing is that the connection test fails, but the connection seems to work fine!
I mean I can see the front ESS page in the portal when logging in with an ESS-user, and there are no errors in the log. If I change the SAP_WebDynpro_XSS parameters to some other made-up values, then the front ESS page does not come up and some errors appear with "SAP_WebDynpro_XSS" inside.
That proofs that the connection is working despite the failed connection test, right?. But what can I do that the connection test passes? It seems that somehow SAP has hardcoded the path "/sap/bc/ping" which usually exists on an abap system. But I have java-stack only, so how can I tell that the function that runs the test?
A system connection test fails, but the connection is working fine!
If someone could explain that to me...Dear Srini Nookala,
thank you for your answer. Unfortunately I don't understand the relation of my question to your answer.
>> check with OSS note 1019335 SAP NetWeaver AS Java 6.40 SP21
I have Version 7.0 SP14. I read the OSS note, but there are around 100 changes listed. I read them all, but couldn't figure out one that has to do with ping and system test. So which sentence inside the note are you referring to?
>> The problem is due to JCo parameters configuration not properly, Ask Basis team, they will do it.
I am basis team. I configured the JCo properly as described in manual and tested them afterwards. They run successful. Also all the links that you gave refer to JCO connections about how to set them up and test them. But what have JCO connections to do with System-connection tests? As far as I know JCO-connections are not used for system connectivity tests. You can set them up independent. I understand that JCO-connections are used for getting data from backend servers. But the system "SAP_WebDynpro_XSS" is defined for determing the webdynpros on localhost (frontend, not backend).
So please can you explain me what JCO-connections which refer to remote hosts have to do with a ping service on local host that cannot be reached? And which part would be not configured "properly"? Timeouts? user?
To define my question more properly:
Is it possible to make the connection test work on a java-stack only host for a system that refers to itself (localhost)? Or is it a known bug?
Some sub-questions
Am I using the right system template (I am using "SAP system using dedicated application server")
I have no abap on local host (chrisSAP). Only java stack. Usually path ..sap/bc/ping refers to an abap system, right? So in my opinion I have 3 possibilities:
- install abap-stack on local host (portal) and activate ping service.
- somehow install a ping service that runs under the given URL in Visual Admin (how?)
- somehow tell the connection test to skip pinging and continue test. (How?)
Any additional advice would be highly appreciated. -
The system variables in java, NEEDED ONLY at CLI execution of java programs
The system variables in java, NEEDED ONLY at CLI execution of java programs, and NOT needed at all[essentially] if I install bundle(14+6.7)?
if I install bundle(14+6.7) to run-test a web app with netbeans 6.7 what I must press, then opens the default browser? I have to be online,...? How I test browse my project?Probably a complete tutorial on all possible environment variables in addition to a tutorial on netbeans configuration.
-
Uninstall only Java system?
Hi
I had already install ABAP+Java system but right now I want to uninstall only Java part of SAP system and still ABAP part of SAP system. Could you please advise me ,It's possible? How can I do or where can I get the information?
Thanks,
BeawHello,
There is no way to "uninstall" only one stack (J2EE or ABAP).
Also, you can not migrate only one stack (ABAP or J2EE) without system consistemcy issues.
If you are at an early stage of your project, you may re-install.
If you are at an later stage, keep the system "as-is" and minimize the usage of the Java stack to have a minimum consumption of memory and cpu.
Setting disp/j2ee_start to false will disable the J2EE engine on startup.
Hope it will help.
Best regards.
Frank Markarian
SAP America -
PI system (only Java)
Hello All,
Please suggest me on this:
We want to install a PI (only java) system based on NW 7.3. I get an option for system copy in the SMP but not for a new installation.
Please suggest.
Thanks and Regards,
Ankit MishraHello All,
I got the option in the installation master itself.
SAP Systems>Optional Standalone Units->Process Integration and Orchestration Package.
The Installation master was 51042158.
Thanks and Regards,
Ankit Mishra -
Add java system on another SLD
Hi,
I would like to add a sap portal (JAVA) System to solution manager sld. I did add abap system correcet on sld, But when I go to sld -> Home-> Technical Systems -> New Technical System -> And choos Web As Java. . I can just choos Abap and not Java.
Any help.
RegardsHi Sunny,
Thanks for reply.
My Sap portal (Java) already points on my PI SLD.
Is it posible to add a sap portal or a SAP java applican server to solman SLD on Technical Systems part as we do for abap applican server?
Thanks -
How to access JDBC Resource registered in Sun Java System App Server ?
I want to create a stand-alone JDBC application with Java SE using Swing technologies and JNDI technology. The purpose of using JNDI technology is to avoid change of Java Source Code every time I move the database to different location. This Java application will be used in a standalone PC installed with Windows XP Professional with no LAN / WAN connection. Of course, Internet connection is available with the PC.
I use JavaDB to store the data tables and the location of the database is D:\E-DRIVE\SAPDEV. Tomorrow, if I move this database to C:\SAPDEV or any network drive, I do not want to change the Java Source code. I want to use JNDI which, if I am not wrong, helps developers to avoid manual change of Java source code whenever the database location is changed. Changes have to be made only in the JNDI Name which contains all relevant information about the database in order to get connection no matter where the database SAPDEV is stored; it can be placed under D:\E-DRIVE directory or C:\ directory of the hard disk. To implement my intention, I started developing Java application as per the steps mentioned below:
Step 1:
To proceed, first, I sought the help of Sun Java System Application Server Admin Console. I created JNDI object for Connection Pool using the menu path Common Tasks->Resources->JDBC->Connection Pools.
JNDI Name : ABAPRPY
Resource Type : javax.sql.DataSource
Datasource class : org.apache.derby.jdbc.ClientDataSource
Description : ABAP Program Repository
The Connection Pool creation has options for General, Advanced and Additional Settings tabs and I made all the settings relevant to the database I created in D:\E-DRIVE\SAPDEV.
To confirm whether the above settings are correct, I pressed the Ping push button which is available in the General tab of the connection pool creation screen. The system responded with the message Ping Succeeded.
Step 2:
I created a JDBC Resource using the menu path Common Tasks->Resources->JDBC->JDBC Resources.
JNDI Name : jdbc/SAPDEV
Pool Name : ABAPRPY
Description : Database Connection for SAPDEV database
Status : Enabled
I can see all the above settings recorded in the domain.xml which is placed in the folder
C:\Sun\AppServer\domains\domain1\config
Step 3:
I have made sure that Sun Java System Application Server is up and running in the background with JavaDB server. I created a Java Program making sure the following JAR files are included in the classpath:
appserv-admin.jar
appserv-ee.jar
appserv-rt.jar
javaee.jar
fscontext.jar
Plus, the lib directory of JDK 1.6 & C:\Sun\AppServer\domains\domain1\config
Source code of the program is as follows: I used NetBeans IDE to create my project file.
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.naming.*;
import javax.activation.DataSource;
public class JNDILookup {
public static void main(String[] args) {
try {
InitialContext initCtx = new InitialContext();
DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/sapdev>");
} catch (NamingException ex) {
Logger.getLogger(JNDILookup.class.getName()).log(Level.SEVERE, null, ex);
When I attempted to compile the above program in NetBeans IDE ,no compilation error reported. But while executing the program, I got the following run-time error message:
SEVERE: null
javax.naming.NameNotFoundException: No object bound for java:comp/env/jdbc/sapdev> [Root exception is java.lang.NullPointerException]
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:224)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:396)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at SAPConnect.JNDILookup.main(JNDILookup.java:21)
Caused by: java.lang.NullPointerException
at com.sun.enterprise.naming.java.javaURLContext.lookup(javaURLContext.java:173)
... 3 more
Now, I want to come out of this situation; at the same time, I want to preserve the settings I have made in the Sun Java System Application Server Admin Console. That is, I want to programmatically access the data source using Connection Pool created in Sun Java System Application Server Admin Console.
I request dear forum members to provide me an appropriate solution.
Thanks and regards,
K. Rangarajan.jay44 wrote:
Bare in mind I am attempting the context.lookup() from inside the container (my code is in a session bean). I have accessed the server and have my bean "say hello" first to verify the bean works OK, then I call a method with this rather standard code:
String jndiDataSourceName ="Second_EJB_Module_DataBase";
Logger.getLogger(DynamicPU.class.getName()).log(Level.INFO,"Programatically acquiring JNDI DataDource: "+ jndiDataSourceName);
InitialContext ctx;
try {
ctx = new InitialContext();
ds =(DataSource)ctx.lookup("java:comp/env/jdbc/"+jndiDataSourceName);
} catch (NamingException ex) {
Logger.getLogger(DynamicPU.class.getName()).log(Level.SEVERE, null, ex);
return "Exception generated trying to preform JDBC DataSource lookup. \n"+ex.toString();
But when I run the code the server log shows the initial context is created Ok, but an exception is thrown becasue the resource name is not found:
(and i have tried vriations of ctx.lookup("jdbc/"+jndiDataSourceName) etc etc
You are fine here. It works in container because the InitialContext properties have been supplied already. That was the link I forwarded earlier. The InitialContext you create locally needs to locate the container JNDI. That is what the properties specify.
Where I am confused is where you indicate the stack below is from the server log. So, you initiate a standalone (java main method) application, create an InitialContext, and you see the results in your app server log?
LDR5010: All ejb(s) of [EJB_Module_1] loaded successfully!
Programatically acquiring JNDI DataDource: Second_EJB_Module_DataBase
The log message is null.
javax.naming.NameNotFoundException: Second_EJB_Module_DataBase not found
at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:216)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:188)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:192)...
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
This is strange since I can see this resource (a JDBC connection named Second_EJB_Module_DataBase) is configured on the server from the server's admin console.
That is why you can obtain a lookup from within the container (app server).
For this lookup to work it may be that one must map the name inside an ejb-jar.xml deployed with the application, but I have also read some resources like jdbc connection should have a default name. Does anyone know if my lookup() should work without using an ejb-jar.xml mfile to explcitly map the reource for my application?
Both EBJ's and data sources can be referenced via JNDI. It's a remote lookup (that is normally optimized if it is running in the same JVM). You should not have any dependencies on a JDBC data source being set-up on ejb-jar.xml. That file can of course impact your EJB's. However, data sources are normally set-up on a container-specific basis (e.g., you probably did it through a console, but there is a spec somewhere about how to set up a data source via a resource the app server looks for; it varies from app server to app server). However, once you have that container-specific data source set-up, JNDI operates vendor-neutral. You should be able to take the code above and move it to JBoss or Weblogic or Tomcat or whatever (this is an ideal, in practice, the vendors sometimes put a data source in a name you would not expect, but again, you can use their JMX console to see what the JNDI name is).
(As I stated above if I have to use a deployment discriptor to get at this JNDI datasource, then solution is not "programmatic" as newly configured datasources could not be accessed without redeploying the entire application).
As JSchell alluded to, you will always have at least something vendor-specific. JNDI itself (the code you wrote) is totally portable. However, you have to set the various JNDI environment properties to a given vendor's spec. Ideally, you should not need a vendor's actual InitialContext application, but it's a possibility. Once you can safely cast to Context, you should be vendor-neutral (if not, demand your money back).
So that is exactly where I am stuck, trying to get the lookup to work and wondering if it should work without and xml file mapping the resource for my app.
What we ended up doing for standalone was to provide our own JNDI. If you look at the open source project JOTM, there are examples on how to use that with XBean (if integrating with Spring, as we did), you can easily set up a data source that runs standalone exactly as you get in the container. Another benefit is you get full JTA/JTS support and the ability to run XA transactions. (This might all be alphabet soup, but the app server gives it to you, and this is the way we ended up doing the same: JNDI + JTA + JTS + XA). It ends up the same application code uses a "vanilla" InitialContext and all we have to do is write one or two xml files (one for our app server, a couple for JOTM), and our actual code works the same.
I still think you have a shot at getting to the container's JNDI, just not using their full-blown app server JAR.
I think there must be a simple way to do this with an ejb-jar.xml, I am no expert in JNDI, I could be missing something simple, I will keep at it and post an answer here if I come up with it.
Thanks, jayIt is simple to code. Getting it to integrate with your app server, yes, that can be challenging. But it has nothing to do with EJB's. Write a simple test. Using nothing but DataSource and InitialContext. Let us know where you get stuck.
- Saish -
Problem of authorization in java system
Hi all
I have a problem of authorization.
I have two sap system: SAP ERP, SAP Netweaver 2004s (only java).
In my sap ERP I have configured some web services.
Now I would use those web services from my Netweaver , so I execute those step:
From sap erp:
Transaction soamanagerlogon on sap erp u201CBusiness Administrationu201D Tab Page u201Cweb Service Administrationu201D link choose my WS link u201COpen Web Service navigator for selected bindingu201D now appear a login screen.
I have created a user u201Cprovau201D with role and group everyone in the java system.
When I try to login with user u201Cprovau201D the error message u201CYou donu2019t have authorization u2026u201D appear
I Would know if exist something to Know the authorization to use that service to add at the user u201Cpippou201D.
Thank you for collaboration
Best regards
giovanniHI Thulasi
thank you for your response.
I opened my browser on http://<my ip>:50000/index.html of the java system, I have choose "User Management" and
selected my user but I didn't find the role "WSnavigator" . The roles that I have in the java system are:
Administrator
CAFAdmin
CAFDeveloper
CAFUIAdmin
Everyone
SAP_ARCH_SUPERADMIN
SAP_ARCH_XMLDAS_VIEW
SAP_JAVA_NWADMIN_CENTRAL
SAP_JAVA_NWADMIN_CENTRAL_READONLY
SAP_JAVA_NWADMIN_LOCAL
SAP_JAVA_NWADMIN_LOCAL_READONLY
SAP_JAVA_SUPPORT
Must I choose this role from visual administrator?
Thank you for collaboration.
Best regards
giovanni
Maybe you are looking for
-
Help needed for report on tables vbak and vbap
Hello, I needed help in one of my work issues, this is my first project and Iam still learning. kindly help. I was asked to take erdat,vbeln,posnr from selection screen and compare it with the data already in tables vbap,vbak. If the data already exi
-
InDesign CS3 index crash/quit
We have a file that was originally created using InDesign CS3 on OS X with an index but it's now crashing: if any of the index text is amended/deleted it crashes and quits. Even trying to delete the actual index pages does the same. The file won't op
-
You are posting directly to a tax account. Enter the tax base amounts per i
Hi Team, While posting JV againset to tax GL account we are getting bellow error message """"Enter the tax base amounts for account 351200 in company code 1111 Message no. F5A375 Diagnosis You are posting directly to a tax account. Enter the tax base
-
I am using Flex 1.5 I am trying to sort a grid by date. But it is not working as expected. I have attached the code here. Please let me know the problem in this code.
-
Can someone explain the icloud to me please? Where are all my old pictures and how can I see them? Photostream only holds 1000 and when I sync my icloud to my mac it only imports what is on my photo stream.