Get License Server name via SDK
Hi,
Is there a way that an addon can get to the SAP License Server name using the DI or UI API? there is a specific requirement in one of our addons to rech out to the SAP License server.
I can always ask the user to enter it in as a part of the addon setup but I was wondering if there was an automated way of doing this.
Gopal
Hi Gopal,
You can go to the SLIC table in SBO-COMMON and see the licence-server name and (for SBO 2005) the port
I think you should make a query for it.
Regards,
Ad
Similar Messages
-
Get local server name at runtime
Hi all,
I am looking for a function module or a system parameter that can give me the current server name that my ABAP program runs on.
I need to export the returned server name to parameter
TARGETSERVER of function module 'JOB_CLOSE'.
Thanks for your time,
Eyal.
Message was edited by: Eyal Alsheikh
Message was edited by: Eyal AlsheikhHi Eyal
You can make use of following FMs
1. <b>"FIND_DB_APPLICATION_SERVER"</b> gives the server name via the export parameter <b>"SERVERNAME"</b> .
2. <b>"TH_GET_ACTIVE_SERVER"</b> gives the server name via the export parameter <b>"SERVER"</b> .
3. <b>"RFC_GET_LOCAL_SERVERS"</b> will give a list containing some info about servers, then you can use the FM <b>"TH_USER_INFO"</b> to get user's host address from the exporting parameter <b>"HOSTADDR"</b>. Then you can look-up the list you retrieved by the first FM where the first four characters at the field <b>"HOSTADR"</b> is the same with the user's. The server name is contained at the field <b>"NAME"</b> of the same row.
<i>As another thing, let me introduce you SDN forums pointing system: If you find a post helpful about solving your question, you can assign points to the post. You can do this by clicking the yellow star icon at the header of each post. You can assign;
- one 10 points (solved)
- two 6 points (very helpful answer)
- many 2 points (helpful answer)</i>
Kind regards...
*--Serdar -
How to get the Server Name in Crystal
Hi All,
We created a Crystal Report that pulls images from a File Location at the run time and this File Location is different for each environment (D-Q-P). We are trying to automate the file location by the server name. Is there any function in Crystal Reports that we can get the server name so we know if it is D-Q or P system?
Thank you,Hi,
There is no function in CR that can fetch the Server Name. That is something you need to provide to the formula.
If you're loading images from a location on the Server, you can always use a Relative Path. For eg: if the images would be stored in a folder called Images, then you can write a formula on the 'Graphic Location' for the OLE object as:
"/Images/Crystal.jpg"
This will load the image from the folder when it is run on D, Q or P.
Hope this helps!
-Abhilash -
How to get a server name through the load balancer
Hi.
I'd like to get the server name where is my application installed. There are some servers and clients access there throuth the load balancer. When I try to get it with request.getServerName(), I get the virtual address of the load balancer.
Any suggestions?
Thanks.Dear Sikindar;
THanks for your cooperation, but I believe that these Tcodes will eb helpful if I know the table name, actually we don't know its name and that's what I'm asking about, how can I get the table name for the ABAPer?
Appreciating your cooperation.
Best Regards;
Lobna -
How to get managed server name in Weblogic10.2 ?
Hi
I want to get managed server name from a cluster in a servlet or util project class whom that one is called by ?
Do I have to implement any interface or I have to extends a class ? Please help me to resolved.
ThanksHere is a snippet of code that I use in WL10 MP1 that works fine:
import javax.management.MBeanServer;
import javax.management.ObjectName;
import javax.naming.InitialContext;
String managedServerName = null;
InitialContext ctx = null;
try {
//fetch managed server name by accessing the
//RuntimeServerMBean using the
//MBeanServer interface
ctx = new InitialContext();
MBeanServer server = (MBeanServer) ctx.lookup("java:comp/env/jmx/runtime");
ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
managedServerName = (String) server.getAttribute(service, "ServerName");
} catch (Exception ex) {
//error occurred
} finally {
if (ctx != null) {
try {
ctx.close();
} catch (Exception dontCare) { -
How to get the server name/hostname on which JVM is running?
How to get the server name/hostname on which JVM is running from the Servlet or normal class?
InetAddress.getLocalHost()
-
can't download book. Get the following message. "Error getting license server communication problem MW_ADEPT_CORE_EXPIRED" I have no faith in this type of communication because I have never recieved answers from forums/ wish you could afford a live person
I select a book to read from my library it takes me to digital editions and this message comes up. Has been working for a couple of years but something has happened, maybe I did it but don't and to make it worse there is no one to contact to fix it. Get the following message. "Error getting license server communication problem MW_ADEPT_CORE_EXPIRED" I
-
Error getting license Server communication problem: E_ADEPT_CLIENT
I am new to ADE. I just purchased an e-book from Books-a-Million last evening and when I try to download the book to ADE I get
Error getting license Server communication problem: E_ADEPT_CLIENT
I am trying to download to ADE so I can move it to my nook. This is proving to be very frustrating. I have ADE authorized and the Nook authorized.
Any advice would be welcome.
Thank you.Welcome to the forum....
Error messages from ADE are not always clear and useful, and this one is one
of the ones that can have a couple of meanings. There's a posting HERE
<http://technology.myblogzone.info/2011/01/how-to-solve-the-error-getting-license-message-i n-adobe-digital-editions/>
that
explains in part what's happened, and I hope it's useful to you. Good luck!
And I hope this helps.
=============== -
Error getting License Server Communication Problem: E_ADEPT_NO_TOKEN
I can't download a book as I keep getting this error:
Unable to download
Error getting License Server Communication Problem:
E_ADEPT_NO_TOKEN
Can anybody help?This error comes when distribution right is not properly set by your library.
You need to contact your library to get this fixed. -
How to get the Server name only?
Hello,
I would like to get this part of server's URL: "http://<host_name>"
I am familiar with the Object WDURLGenerator but I don't see a method to do that, all the methods require manipulating the received String. Is there a method to get only the part I've mentioned?
RoyHi,
String sysname = System.getProperty("SAPSYSTEMNAME");
String hostname = System.getProperty("j2ee.dbhost");
will give the server name..then u can say http://<hostname>... -
Get Application Server Name and Version
Hello All,
Is it possible to get the Application Server Name and Version using Java?
To simplify my question, if I am running Weblogic, the jsp page should tell me that I am running Weblogic Version <number> or IBM WebSphere Version <number>.
ThanksI get an error when I put this line in my jsp page:
out.println(" Server Info: " +getServletContext().getServerInfo());
Is there something I am missing?
symbol : method getServletContext ()
location: class jsp_servlet._jsp._mu.__showmxversion
out.println(" Server Info: " +getServletContext().getServerInfo()); //[ /jsp/mu/showMXVersion.jsp; Line: 16] -
Is there a way to get the name of the WebLogic server programmatically?
I need to create a JSP or servlet that will display the name of the server it
is running on.
I am trying to create a JSP/servlet that will be deployed into a cluster. Somehow,
each process running needs a way to determine which server they are currently
running on. Using the server name was my first thought.
Any thoughts?
-Fred
There are a set of Runtime mbeans that will give you this data.
http://edocs.bea.com/wls/docs81/javadocs/weblogic/management/runtime/package-summary.html
and
http://edocs.bea.com/wls/docs81/jmx/
Cheers
mbg
"Fred Head" <[email protected]> wrote in message
news:3ee4c1ad$[email protected]..
>
> Is there a way to get the name of the WebLogic server programmatically?
>
> I need to create a JSP or servlet that will display the name of the server
it
> is running on.
> I am trying to create a JSP/servlet that will be deployed into a cluster.
Somehow,
> each process running needs a way to determine which server they are
currently
> running on. Using the server name was my first thought.
>
> Any thoughts?
>
> -Fred
-
Hi,
I am working on a CEP Cluster. Is there a way to get the cep server name of current node in java code?You could probably use ConfigurationPropertyPlaceholderConfigurer to inject the setting from config into your java code.
-
How to get report Server Name and Environment ID in Report
How to print report Server Name and Environment ID in Report 10G.(Through in package or others)
I'm also using Oracle Application Server 10G.Hi,
Server and envid are the parameters passed along with Reports URL call.
These variables value can be traped in Report by defining SERVER , ENVID named user parameters.
Once trapped, can be printed on Report.
Just ensure that these users parameters are not exposed to Parameter page, otherwise user may end up changing it.
Thanks -
Getting OAS server name in oracle reports
Hi Experts,
I need to get the OAS name in the After parameter form trigger. Is there any built-in funtion that will return the Current OAS name? Please help me. Thanks in advance.
Regards,
J.PHello,
When using the Reports Servlet some "extra" parameters are passed :
http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm#i1009092
If you want to read these paramaters values , you need to "declare" these parameters in your Reports
Regards
Maybe you are looking for
-
My iPhone 4 keeps having the "Restore Needed" message pop up on my phone. I have restored my phone several times this week, and it still keeps happening. The "Restore Needed" message pops up, so I immediately do a hard shut-down. Once the phone re
-
Hi, When I try to play videos on youtube, vimeo, websites, the video is blurry. How do I fix this? Thanks! Genevieve
-
I have home sharing on all of my devices, all are logged into the same address but no option to play to apple tv is apparent. It reads my music fine but I can not play a tv show from either my Mac or ipad following a recent update .... help where is
-
ALE-BAPI-Scenario to XI with several BAPIs
Hello <b>Descritpion of the current situation:</b> I configured an ALE Distribution model to transfer the HR payroll accounting data from an single SAP 4.7 system (WebAS 6.20) into 8 different SAP-Accounting-Systems (SAP R/3 4.6C). The model contains
-
Sales Order Workflow to trigger when there is change in PO date
Hi All I have a requirement, I have to trigger a work flow when ever there is a change in a po date of Sales Order(VA02). I have created a workflow and added entry into events tab of header, and in SWEC I have added an entry as follows Change d