How to find the servlet container used via servlet
I need to write code for different servlet container in a servlet. so I need to find in runtime what servlet container is used.
Please let me know is there any possibility to get the servlet container name in servlet.
Thanks & Regards,
Nasrin.N
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
public class Context extends HttpServlet {
public void service(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException {
PrintWriter out=res.getWriter();
res.setContentType("text/html");
ServletContext stx=getServletContext();
out.println("ServletContext " + stx.getServerInfo());
}
Similar Messages
-
How to find the File name using the FTP Adapter
hi all,
how to find the File name using the FTP Adapter with BPEL.
RegardsFound the solution for this.
First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
Thanks for the posts -
How to find the query name using infoset name
Hi Experts
Iam new to the sap queries(SQ01,SQ02), some queries already created.
now i want to do some modification, my problem is i am not able to find the query name.
I know the infoset name, can you tell me how to find the query name using the infoset name, is ther any table for this.
i tried in sq01 also, but its confusion, pls advice me on this.
thanks in advance.
regards
rajaramHi
try like this..
SQ02 --> go to --> Query Directory..
from there you can get all the queries belong to a Infoset. -
How to find the NodeManager Status using WLST
Hi All,
can anyone please let me know how to find the nodemanager status using wlst, the nodemanager status whether it is 'Reachable' or not.
Thank you.Hi Bob,
As James pointed, we faced the same. We could not find any mbean to find the Node Manager Stat that we can monitor from Weblogic console.
The best I can suggest, use the below WLST command after connecting to 'Node Manager:
nm()
Currently connected to Node Manager to monitor the domain xxxdomain.Grep for 'connected to Node Manager to monitor the domain <Your WLS domain name>' and if successfull, your node manager is UP & Connected other wise not 'Reachable'.
Regards,
qumar -
How to find the db accounts using default passwords in oracle 10g
Hi, can someone pleas tell me , how to find the oracle accounts in the database which are using default passwords. DB verion is 10g and 9i.
in 11g version we can query the view DBA_USERS_WITH_DEFPWD to view the users....
any idea in 10g and 9i ?
thanks in advance.951658 wrote:
Hi, can someone pleas tell me , how to find the oracle accounts in the database which are using default passwords. DB verion is 10g and 9i.
in 11g version we can query the view DBA_USERS_WITH_DEFPWD to view the users....
any idea in 10g and 9i ?
thanks in advance.the only way I've found is to search the web for lists of default users and their passwords, then attempt to log on with said credentials. I'd start with Pete Finnigan's site (google is your friend). He may already have some scripts ready to go, or at least the lists you'd need to get started. -
How to find the Databse field used in which Transaction
Hi,
I have one query about:
How to find the particular field from the Database table, used in which transaction?
Bottomline: I want to find the LIKP- LIFEX field, used in which Transaction. I know it is related to inbound delivery, but i couldn't find it in which transaction it is.
Thanks in advance.
Jai.Hi Jai,
The field is called External ID which equal to LIKP-LIFEX or RV50A-VERUR_LA (structure).
Path:
Goto -> Header -> Administration -> External ID.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful. -
How to find the server path using servlet API.
Hi All,
I have an requirement like uploading certain files in my server path.
rightnow i am getting the path now using as
<%=application.getRealPath("/")%> and its giving me the "D:\bea\user_projects\domains\Testdomain\TestmanagedServer\stage\nextgen\nextgen.war".
but i want to get the D:\bea\weblogic81 or atleast D:\Bea
Is there anyway to get this through API or its the only way through string parse.
Thanks in advance.Hello,
I have:
DG URL Internal;https://OCS.ad.xxxxxx.xxxx.xxx/GroupExpansion/Int/service.asmx;--;
DG URL External;;--;
Quality Metrics URI;;--;
URL Internal From Server;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
URL External From Server;;--;
Voice mail URI;sip:[email protected];opaque=app:voicemail;--;
MRAS Server;;Not Configured;
GAL Status;https://OCS.ad.xxxxxx.xxxx.xxx/Abs/Int/Handler;--;
Controlled Phones;TRUE;--;
PC to PC AV Encryption;AV Encryption Enforced;--;
Focus Factory;sip:[email protected];gruu;opaque=app:conf:focusfactory;--;
Telephony Mode;Telephony Mode Disabled;--;
Line;;--;
Line Configured From;Auto Line Configuration;--;
Location Profile;;--;
Local Log Folder;C:\Users\me\tracing;;
MAPI Information;MAPI Status OK;MAPI Status OK;
Inside User Status;TRUE;;
Auto Update Download Started;--;--;
Auto Update Download Completed;--;--;
Last Auto Update Request;--;--;
Pairing State;Communicator cannot connect to your desk phone because the USB cable is not plugged in. Make sure that you connect the cable.;Enabled;
I see my email on the sip line but no server... what do I miss?
Is it by the URL?
Thanks,
Dom -
How to find the corrupted files using javascript?
Hi all,
I need to run batch of files some of which were corrupted?? instead of using the method "the files which were not opened are corrupted" is there any way to find the corrupted files??
I need to find this using javascript or apple script??
Please some one help me..
Regards,
subhaWe found one datafile has corrupted by using dbv.dbv would have reported the block ids (block numbers) that are corrupted.
query dba_extents to identify the segments that contain such blocks. -
How to find the Acoount Group used while creating the customer master data.
Hi,
I am in xd03 mode displaying the customer master data. I want to know the ACCOUNT GROUP which was used while create this customer. How can i find it? Can any one tell me the process to find the account group?
Thanks in advance.Enter the customer number in XD03 and click enter. Once the screen displays the customer name go to dropdown extras--> Administrative Data. This will give you the account group and the creation date of the customer. The same is stored in KNA1- KTOKD.
Thanks
Indranil -
How to find the Apple IDs used on a device?
I travel extresnively and have created muiltiple Apple IDs in order to be able to download apps that are only available in specific Apple Stores. For instance my US Apple ID won't let me download NFL Game Pass so I have an Apple ID for Singapore that I've used for that. Besides Apple IDs in a few countries I also have some apps that my sons purchased. Now I have a new app that I need for work from a European Apple Store. I downloaded it to my computer but I can't install it on my iPhone becasue it has already been authorized for 5 different Apple IDs.
1) How can I find out which AppleIDs are authorized on a specific iPhone?
2) How can I see a list of which apps are associated with which Apple IDs either on the iPhone or on the computer in iTunes?
3) How can I unauthorize a specific AppleID on the phone to regain a free slot?I used the query below to get the RMAN backup details, here I am missing detail of compression algorithm
SELECT SESSION_KEY, INPUT_TYPE, STATUS,
TO_CHAR(START_TIME,'mm/dd/yy hh24:mi') start_time,
TO_CHAR(END_TIME,'mm/dd/yy hh24:mi') end_time,
ELAPSED_SECONDS/3600 hrs,
COMPRESSION_RATIO ,
INPUT_BYTES_DISPLAY, OUTPUT_BYTES_DISPLAY, TIME_TAKEN_DISPLAY
FROM V$RMAN_BACKUP_JOB_DETAILS
ORDER BY SESSION_KEY;Output
SESSION_KEY INPUT_TYPE STATUS START_TIME END_TIME HRS COMPRESSION_RATIO INPUT_BYTE OUTPUT_BYTES_DI TIME_TAKEN_DISP
417 DB INCR COMPLETED 8/23/2012 16:01 8/23/2012 16:33 0.529444444 1.06917899 244.67G 228.84G 0:31:46
423 DB INCR COMPLETED 8/23/2012 16:43 8/23/2012 17:14 0.510277778 1.0692043 244.59G 228.76G 0:30:37
435 DB INCR COMPLETED 8/24/2012 11:39 8/24/2012 12:13 0.571666667 1.06899247 244.64G 228.85G 0:34:18
441 DB INCR COMPLETED 8/24/2012 13:52 8/24/2012 14:23 0.511666667 1.0690053 244.60G 228.81G 0:30:42
447 DB INCR COMPLETED 8/24/2012 16:30 8/24/2012 16:58 0.467222222 2609.07178 244.60G 96.00M 0:28:02
457 DB INCR COMPLETED 8/25/2012 12:30 8/25/2012 13:01 0.527222222 1.06896188 244.68G 228.90G 0:31:38
467 DB INCR COMPLETED 8/26/2012 16:30 8/26/2012 16:56 0.4325 739.556573 244.65G 338.75M 0:25:57On the output I need to have the compression algorithm used for each backup.
Hope this is crystal clear now. -
How to find the serial number used during Goods receipt
Hi ,
Have used serial numbers whle doing GR, but cannot find the table where the serila numbers are stored.
table ser01 contains the material document and the serialization procedure. I want to find a table where the serial numbers that I have used for the GR, are store. I want to retrieve them and send them in an interface.
Rgds
SumendraHi
Function Module GET_SERNOS_OF_DOCUMENT can be used to retrieve serial numbers corresponding to any of the following documents.
Material document
Physical Inventory document
Import parameters:
Input parameters which needs to be passed changes based on the type of document.
Following are required fields to be passed as input parameters to get respective document serial numbers
3. Material document
KEYDATA-TASER = 'SER03'
KEYDATA-MBLNR - Material Document
KEYDATA-MJAHR - Material Document Year (optional)
KEYDATA-ZEILE - Item of Material document(optional)
7. Physical Inventory document
KEYDATA-TASER = 'SER07'
KEYDATA-IBLNR -Physical Inventory document
Output table:
Serial Number details are retreived in the following table
SERNOS
Serial numbers can be extracted from field SERNOS-SERNR
regards
Prashanth
Edited by: Prashanth@SD on Nov 3, 2010 6:20 AM -
How to find the DB tables used by the workbook/worksheet
Hi,
I wonder if there is a way that we can query the EUL tables (e.g. eul5_documents, etc) to find out the database tables that are used by a specific workbook.
Please advise and thank you very much,
YkeThere is no "direct" way to do this. If a report has been run at least once, though, you may be able to find out what you want (but it will require a bit of work).
From the EUL5_QPP_STATS table, you can find the workbook (qs_doc_name) and worksheet (qs_doc_details). You can then use the qs_object_use_key value to find the objects, which will give the tables. You could try:
select obj_ext_owner || '.' || sobj_ext_table
from eul5_objs
where instr ((select qs_object_use_key
from eul5_qpp_stats
where qs_doc_name = <workbook>
and qs_doc_details = <worksheet>
and qs_created_date =
(select max(qs_created_date)
from eul5_qpp_stats
where qs_doc_name = <workbook>
and qs_doc_details = <worksheet>)),
obj_id) > 0;This should give you the tables used for the last execution of the workbook. -
How to find the session info using the Unix PID
Hi Guys
We found in alert log that Some process with Unix pid 3416182 makes some transaction fail. It happened on weekend and now when we try to find it in v$process we did not find any info. Is there any place where oracle stores the PID History where in i would be able to find which process,session,user caused the transaction failure.
Kindly help me. I m using oracle 10G R2.
Thanks in advance
Ram
Edited by: user448837 on Jun 29, 2009 2:04 AMWe found the transaction failure because of an online rebuild.This rebuild is with a PID which none of the DBA's ran.From trace we can just see the unix PID.With this we need to find the user who ran this rebuild
-
How to find the compression algorithm used on a RMAN Backup
I have list of backups taken using different compression alogrithms. I need to query and find out the compression algorithm used on existing RMAN Backup. I tried querying the view V$RMAN_BACKUP_JOB_DETAILS.
For Example I ran script below for backing up database with compressed backupsets;
On RMAN
connect target /
connect catalog rman/sqw1298@rcat
set COMPRESSION ALGORITHM 'HIGH'
backup filesperset 1 format '<%d_%s:%t:%p:%f>.df' incremental level 0 database;Edited by: Sivaprasad S on Sep 1, 2012 12:32 AM
Edited by: Sivaprasad S on Sep 1, 2012 12:36 AMI used the query below to get the RMAN backup details, here I am missing detail of compression algorithm
SELECT SESSION_KEY, INPUT_TYPE, STATUS,
TO_CHAR(START_TIME,'mm/dd/yy hh24:mi') start_time,
TO_CHAR(END_TIME,'mm/dd/yy hh24:mi') end_time,
ELAPSED_SECONDS/3600 hrs,
COMPRESSION_RATIO ,
INPUT_BYTES_DISPLAY, OUTPUT_BYTES_DISPLAY, TIME_TAKEN_DISPLAY
FROM V$RMAN_BACKUP_JOB_DETAILS
ORDER BY SESSION_KEY;Output
SESSION_KEY INPUT_TYPE STATUS START_TIME END_TIME HRS COMPRESSION_RATIO INPUT_BYTE OUTPUT_BYTES_DI TIME_TAKEN_DISP
417 DB INCR COMPLETED 8/23/2012 16:01 8/23/2012 16:33 0.529444444 1.06917899 244.67G 228.84G 0:31:46
423 DB INCR COMPLETED 8/23/2012 16:43 8/23/2012 17:14 0.510277778 1.0692043 244.59G 228.76G 0:30:37
435 DB INCR COMPLETED 8/24/2012 11:39 8/24/2012 12:13 0.571666667 1.06899247 244.64G 228.85G 0:34:18
441 DB INCR COMPLETED 8/24/2012 13:52 8/24/2012 14:23 0.511666667 1.0690053 244.60G 228.81G 0:30:42
447 DB INCR COMPLETED 8/24/2012 16:30 8/24/2012 16:58 0.467222222 2609.07178 244.60G 96.00M 0:28:02
457 DB INCR COMPLETED 8/25/2012 12:30 8/25/2012 13:01 0.527222222 1.06896188 244.68G 228.90G 0:31:38
467 DB INCR COMPLETED 8/26/2012 16:30 8/26/2012 16:56 0.4325 739.556573 244.65G 338.75M 0:25:57On the output I need to have the compression algorithm used for each backup.
Hope this is crystal clear now. -
How to find the package name using request number
I want to check the package name using the request no ,
Plz help meHi
You can use SE03 for the same. In that
Object Directory Node --> Change Object Directory Entries of Objects in a Request.
Dbclick on that and provide chield request and press F8 you will get the object with the package.
Hope this will Help.
Regards,
Hiren Patel
Maybe you are looking for
-
How can I delete a bad app completely from my iPad mini in order to re-download it as though I never had it?
-
Raw or jpg in lightroom?
Hi a stupid question about lightroom , i'm a new customer i know that i can edit raw & jpg files is there a big suitability to edit raw files in quality??? or can i edit jpg files as well like raw? thanks
-
ITunes Lib On MacBook To External Back To MacBook
How do I accomplish this? I just bought Leopard and I wish to retain my iTunes library and my ratings and playlists and I wish to delete everything on this computer and do a fresh install of this new OS. How may I transfer my current iTunes library t
-
Hi , I ran into this issue when I configured my receiver JDBC adapter(synchronous) - I am on XI 3.0 Sp20 (JDK 1.4) and I have installed OJDBC 1.4 as my JDBC driver to connect to an Oracle 10g system. I have ruled out driver isuues and database
-
Problem to config :Hyperion EPM system configuratior 11.1.1.3
Hi All, I installed all the components 11.1.1.3 In Foundation service->EPM system configurator->second screen I gave oracle database information to config the shared service and registry database configuration and some tables are created in the datab