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>.
Thanks
I 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]
Similar Messages
-
Application server name and port number
Hi
Is it possible to get the application server name(ip) and port number at runtime. Becuase i want to open an html file which is in the application server, when a button is pressed by using web.show_document ();
Can anyone guide me please.
Thanks in advance
geethuapplication server name and port number
-
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 -
Get report server name and port name
J want to know if it is possibile to obtain from a form the name of the report server and the port on work.
Infact if i use two different application server the nae of the report server change and in the script that call the report server is necesseraly using the name of the report server.
Thank'sif your cases are that the dev, test, production servers have different servers and databases, then you may create a table e.g., report_server_profiles(serv_name varchar2(100),ports number), it contains one record ONLY in each server's database, then in your form code only have same code that works for three of them.
If you have two report servers, but have one database, then you may add a flag column in above table and depends on users group to set that report flag. -
How to get SMTP server name and SMTP port
hi
i need to send a report to the use to his mail id
while configuring the ibot in mail tab it is asking for SMTP server ,and SMTP port
how we can get these two,.... ?:(
do i have to purchase from vendors, can any one please tell me the process
really i don;t knw, please help me out
Thanks in advanceHi,
To configure the Mail Server u need to have SMTP server details, which your using as the mail server,either from vendor side or u can use your's domain.For your info iam pasting the Gmail Smtp server details here,
Incoming Mail (POP3) Server - requires SSL: pop.gmail.com
Use SSL: Yes
Port: 995
Outgoing Mail (SMTP) Server - requires TLS or SSL: smtp.gmail.com (use authentication)
Use Authentication: Yes
Port for TLS/STARTTLS: 587
Port for SSL: 465
Account Name: your full email address (including @gmail.com or @your_domain.com)
Email Address: your email address ([email protected] or username@your_domain.com)
Password: your Gmail password
Thanks,
Kumar. -
How to get server name and port of OSB server in a proxy service ?
I need to get the server name and port of the OSB server inside a proxy service. How can I get this?
You may use java callout for this purpose -
How to get ServerName and ApplicationName in OSB (ALSB) ?
Regards,
Anuj -
How to get Server Name and port. Urgent.....
Hi,
Please let me know how can i get the server name and port without using request object.
I am getting it :- request.getServerName();
But, pl. let me know how can I get it without using this request object.
Waiting for reply..I don't know of any way to trivially access that, but why do you need to do this? If you need access to that information in a method that can't see your HttpServletRequest, then perhaps your architecture has a flaw, and you'll be better off in the long run restructuring it.
-
SQL Query to get Project Plan Name and Resource Name from Reporting database of Project Server 2007
Can you please help me to write an SQL Query to get Project Plan Name and Resource Name from Reporting database of Project Server 2007. Thanks!!
Refer
http://gallery.technet.microsoft.com/projectserver/Server-20072010-SQL-Get-a99d4bc6
SELECT
dbo.MSP_EpmAssignment_UserView.ProjectUID,
dbo.MSP_EpmAssignment_UserView.TaskUID,
dbo.MSP_EpmProject_UserView.ProjectName,
dbo.MSP_EpmTask_UserView.TaskName,
dbo.MSP_EpmAssignment_UserView.ResourceUID,
dbo.MSP_EpmResource_UserView.ResourceName,
dbo.MSP_EpmResource_UserView.ResourceInitials
INTO #TempTable
FROM dbo.MSP_EpmAssignment_UserView INNER JOIN
dbo.MSP_EpmProject_UserView ON dbo.MSP_EpmAssignment_UserView.ProjectUID = dbo.MSP_EpmProject_UserView.ProjectUID INNER JOIN
dbo.MSP_EpmTask_UserView ON dbo.MSP_EpmAssignment_UserView.TaskUID = dbo.MSP_EpmTask_UserView.TaskUID INNER JOIN
dbo.MSP_EpmResource_UserView ON dbo.MSP_EpmAssignment_UserView.ResourceUID = dbo.MSP_EpmResource_UserView.ResourceUID
SELECT
ProjectUID,
TaskUID,
ProjectName,
TaskName,
STUFF((
SELECT ', ' + ResourceInitials
FROM #TempTable
WHERE (TaskUID = Results.TaskUID)
FOR XML PATH (''))
,1,2,'') AS ResourceInitialsCombined,
STUFF((
SELECT ', ' + ResourceName
FROM #TempTable
WHERE (TaskUID = Results.TaskUID)
FOR XML PATH (''))
,1,2,'') AS ResourceNameCombined
FROM #TempTable Results
GROUP BY TaskUID,ProjectUID,ProjectName,TaskName
DROP TABLE #TempTable
-Prashanth -
Getting web host name, web-port, oral-report server name and virtual path
Hi.
I have been using oralce forms 6i on oracle application server 10g. I have three servers installed on remote locations.I just want that when i am hosting an application on a server, the web host name, web port , oracle report server name and the path of directory should be selected in a dynaminc variable at application level at run time. In this manner, I will be able to make a single application for all three servers. Any other solution to this problem is also welcomed. Please help anyone and oblige me.Hi Rajesh,
Actually Web AS Host name is <Servername>.<domain name>:<Port no>
Web AS Path for R/3 is </sap/bc/bsp/sapd>
Refer the following link.
<a href="https://forums.sdn.sap.com/thread.jspa?threadID=402561">https://forums.sdn.sap.com/thread.jspa?threadID=402561</a>
<a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=265076">https://www.sdn.sap.com/irj/sdn/thread?threadID=265076</a>
Regards
Hemalatha
/Assign points if helpful/ -
Failed to connect to the server, specify a valid server name and ID and pw
I am trying to install business one on a clients application server, where their sql server software is installed on a different server. When I get to the point of the installation where it asks for connection information: sql type, sql server name, logon and password, it fails after entering the correct info. I have double checked this info, typed it repeatedly and correctly and I continue to receive the following error: Failed to connect to the server, specify a valid server name and ID and password and try again. Can anyone lead me in the right direction to determine what my issue is? I can connect to sql server with the sa logon, on the sql server and I can access/ping the sql server from the application server, I just can't connect to sql server through the installation. I checked the sql server settings that I know of, so I don't know if it is an issue there or if it is a port issue or what.
Thanks for any help.Following is whjat the customers IT team reported they did to get the install running:
RIGHT! Worked it out! It wasn't firewall in the end at all, it was that the SAP B1 installation isn't aware of SQL Server 2008 R2 (version 10.50.x.x).
The vbscript was looking for the presence of SQL Server 2008 (version 10.0.x.x) in the registry and not by scanning ports or suchlike.
If you use the autorun installation from this folder; E:\BusinessEvolution\Software\SAP_Extract_via_WINZIP it should work fine - I've modified the checksql.htm to look for SQL 2008 R2 and now autorun goes past that first problem.
Not sure if that will be any help to you? In that instance I think we were installing 8.8 PL17...
The upgrade frpm there to 8.81 PL07 worked fine -
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 -
Error showing in listener while giving tnsping application server name
iam trying to connect application server with database server.......while giving tnsping from database server as tnsping application_server_name
its showing error as
$ tnsping 10.92.5.8
TNS Ping Utility for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 09-FEB-2007 06:18:05
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
Used HOSTNAME adapter to resolve the alias
Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=10.92.5.8))(ADDRESS=(PROTOCOL=TCP)(HOST=10.92.5.8)(PORT=1521)))
TNS-12541: TNS:no listener
but i have set the listener in databse server.
thsi is my listener.ora
LISTENER =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=application server name)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=RBTT)
(SID_NAME=RBTT)
(ORACLE_HOME=home path of database server)
if iam connecting sqlplus there in application server and giving username and password
its showing error as .......
Enter user-name: xmluser
Enter password:
ERROR:
Enter user-name: xmluser
Enter password:
ERROR:
ORA-12545: Connect failed because target host or object does not exist
thanks in advance
R.Ratheeshhi,
I have changed the listener hostname....before changing the host name also tnsoping database server name works fine....
i am posting the tnsnames.ora of databse server
RBTT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL=TCP) (HOST=application server_name) (PORT = 1521))
(CONNECT_DATA =
(SERVER=DEDICATED)
(SERVICE_NAME = RBTT)
tnsnames.ora for application server
RBTT =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS=(PROTOCOL=TCP) (HOST=database server name) (PORT = 1521))
(CONNECT_DATA =
(SERVER=DEDICATED)
(SERVICE_NAME = RBTT)
is this is the right one..
and regarding this connectivity between two servers tnsnames.ora and listener.ora plays a vital role....should i have to make any changes in sqlnet.ora in both application server and database server...should i have to copy sqlnet.ora,listener.ora in application server...and what has to be set in both???
I have changed sqlnet.ora in database server in names.directory_path=tnsnames.ora
thanks in advance,
R.Ratheesh -
Operating system name and version
HI, I was wondering where SCCM gets the value for "system resource - Operating system and version" from.
I have created a limiting collection for servers based on "%windows server%" query and a limiting collection based on "%windows workstation%" for workstations.
Now I noticed that there is also a value "Windows 7 Entreprise 6.1" for system-resource - Operating system name and version.
Therefore I would like to know where this information comes from as I can no longer be sure tat every device is covered by using "%windows server%" and "%windows workstation%"WMI: Win32_OperatingSystem or from AD (don't have a console next to me right now to look that up)
Torsten Meringer | http://www.mssccmfaq.de -
Find product name and version using JNDI
Is there any consistent way to find the directory servers product name and version using JNDI. Our software is being used with iPlanet 5.1 and SunOne Directory Server and I need to distinguish between them. Currently I use some code (see below) to look for an object under o=Netscape root branch. But the object I am looking for is apparently (so my sys admin tells me) created as part of the administration server install.
public static String[] getNetscapeFamilyDirectoryServerDetails(String ldapHost, int ldapPort, String principalDN, String principalPassword) throws NamingException {
try {
NamingEnumeration result = performLdapQuery("ldap://" + ldapHost + ":" + ldapPort,"o=NetscapeRoot?nsproductname,nsproductversion?sub?(&(objectclass=nsApplication)(cn~=Directory))",principalDN,principalPassword);
if (result.hasMore()) {
SearchResult sr = (SearchResult)result.next();
Attribute attribute = sr.getAttributes().get("nsproductname");
String productName = (String)attribute.get();
attribute = sr.getAttributes().get("nsproductversion");
String productVersion = (String)attribute.get();
return new String[]{productName,productVersion};
catch (Exception e) {
if (e instanceof NamingException) {
throw (NamingException)e;
return null;
}SELECT i.instance_name, i.host_name, f.release_name RELEASE, i.version, k.patch_level FROM
v$instance i, fnd_product_groups f, fnd_product_installations k WHERE
UPPER(SUBSTR(i.instance_name, 1, 4)) = UPPER(SUBSTR(f.applications_system_name, 1, 4)) AND
k.application_id = '200'; -
Read application server directory and file
Hi,
I'm using the FM "RZL_READ_DIR_LOCAL" to retrieve the application server directory and filename. The returned result contain all the directory name and filename. Is there any other FM can separate the result into directory and file??
Regards,
Kithi
Ya One more FM is there - Call Function Gui Upload.
It will read the file from the app server.
See this Example:-
Refer this:
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ca6358411d1829f0000e829fbfe/frameset.htm
ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
*& Report ZUPLOADTAB * &----
*& Example of Uploading tab delimited file *
REPORT zuploadtab .
PARAMETERS: p_infile LIKE rlgrap-filename
OBLIGATORY DEFAULT '/usr/sap/'..
DATA: ld_file LIKE rlgrap-filename.
*Internal tabe to store upload data
TYPES: BEGIN OF t_record,
name1 like pa0002-VORNA,
name2 like pa0002-name2,
age type i,
END OF t_record.
DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
wa_record TYPE t_record.
*Text version of data table
TYPES: begin of t_uploadtxt,
name1(10) type c,
name2(15) type c,
age(5) type c,
end of t_uploadtxt.
DATA: wa_uploadtxt TYPE t_uploadtxt.
*String value to data in initially.
DATA: wa_string(255) type c.
constants: con_tab TYPE x VALUE '09'.
*If you have Unicode check active in program attributes then you will
*need to declare constants as follows:
*class cl_abap_char_utilities definition load.
*constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
*START-OF-SELECTION
START-OF-SELECTION.
ld_file = p_infile.
OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc NE 0.
ELSE.
DO.
CLEAR: wa_string, wa_uploadtxt.
READ DATASET ld_file INTO wa_string.
IF sy-subrc NE 0.
EXIT.
ELSE.
SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
wa_uploadtxt-name2
wa_uploadtxt-age.
MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
APPEND wa_upload TO it_record.
ENDIF.
ENDDO.
CLOSE DATASET ld_file.
ENDIF.
*END-OF-SELECTION
END-OF-SELECTION.
*!! Text data is now contained within the internal table IT_RECORD
Display report data for illustration purposes
loop at it_record into wa_record.
write:/ sy-vline,
(10) wa_record-name1, sy-vline,
(10) wa_record-name2, sy-vline,
(10) wa_record-age, sy-vline.
endloop.
reward if help.
Maybe you are looking for
-
Can anyone tell me if this is something i should worry about?
I just repaired permissions and it says this about ARD. Is this something i should worry about? Repairing permissions for "MacBook Pro" Reading permissions database. Reading the permissions database can take several minutes. Warning: SUID file "Syste
-
Windows 7 and 8 image on external hard drive?
Hello, I currently have a laptop running Windows 7. I also have system images of that on an external hard drive. My question though is, will making a backup image of a family members' laptop running windows 8 cause any problems? I ask because I have
-
How to add crystal enterprise server in portal?
Hello, I am not familiar with SAP Portal, I am a little bit confused with the following direction from point 5. I don't know how to add the system in the landscape. I don't see the Edit list. The netweaver version is 2004. To configure the BusinessOb
-
How can I flip a path vertically or horizontally?
Hi all, I'm just getting to grips with paths. I have created a path, which I want to copy, then flip the copy in the vertical axis, then join it onto the original, yeilding a path that is vertically symmetrical. I can create the path OK, and I've fig
-
Struggling with oracle clustered production environment
Hi Experts, I have a requirement to upgrade Oracle Data Integrator(ODI) from 10.1.3.5 to 11.1.1.6.3 We have a Clustered production environment where N1 will be up when N2 be down and viceversa. Here N1 and N2 are the ODI servers as well as DB(11g Rel