IAS6.0 SP4: How to find the port number of the JVM

I want to check the jvm to know whether the startup class is excecuted in kjs or cxs.
I want that certain operations in the startup class are not excecuted in every kjs or are excecuted only once.
Thanks for your help

There is a better way. Use kiva API to cover all OSs:
knowledgebase FAQ 4008 (
http://knowledgebase.iplanet.com/NASApp/ikb/index.jsp):
ServletContext ctx = ...
com.netscape.server.IServerContext sc =
(com.netscape.server.IServerContext)ctx;
com.kivasoft.IContext gxContext = sc.getContext();
String host = com.kivasoft.util.GX.GDSCurrentEngineGetString
(gxContext, null, "Host", "defaulthost");
int port = com.kivasoft.util.GX.GDSCurrentEngineGetLong (gxContext,
null, "Port", 0);
But I also want to get the kjs's name which used in the log file's name:
kjs_1.log. How to?
Stefan Herz wrote:
I want to check the jvm to know whether the startup class is excecuted
in kjs or cxs.
I want that certain operations in the startup class are not excecuted
in every kjs or are excecuted only once.
Thanks for your help
Try our New Web Based Forum at http://softwareforum.sun.com
Includes Access to our Product Knowledge Base!

Similar Messages

  • How to hide the PORT NUMBER from the URL

    Hi,
    We have Application on Node 1 and Database on Node 2
    Apps Version: 11.5.10.2
    DB: 9.2.0.6
    We recently added a new node to act as web server for iSupport.
    Now we are able to access the url using public Ip-address which looks like
    http://<Internet Ip-Address>:<PORT NUMBER>
    Eg: http://******.com:8000
    But we dont want the *'PORT NUMBER(8000)'* to be displayed.
    How to hide the port number ?..
    Thanks in Advance,
    Mahesh

    Hi Hsawwan,
    Can you plz explain me the steps how to hide the port number from the url as our network administrator is not aware of this.
    Regards,
    Mahesh

  • Hiding the port number from the url

    Hi All,
    In our applications built using Weblogic Portal 10.3, the url to access the application doesnt have the port number. It is simply like http://<server-name>/<context> no port at all. Is this some configuration that is available inside weblogic adminstration console? The domain has both the default port and the SSL port enabled which are running in 7001 and 7002 respectively. Please let me know as how to do this configuration as I am growing haywired on this it has been about a week and have not found an answer yet. Please throw some light on this and let me know if you need further details
    Thanks
    Ashwin

    you should install apache server to handle all the requests on port 80 and froward it to weblogic server using wlp plugin
    please check this link
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/plugins/apache.html
    any request http://yourapp/context will be mapped to http://youapp:7001/context

  • Eliminating the port number from the URL

    Hi,
    I am using Tomcat server.
    I am accessing my application using the following url
    http://www.myapplication.com:9080/abc
    I wanted to eliminate the " :9080 " part from the url. I s it possible?
    I want the same page to open with the url
    http://www.myapplication.com/abc
    Thanks in advance.

    http://www.myapplication.com/abc
    implies
    http://www.myapplication.com:80/abc
    You would need to change your port from 9080 to 80

  • Why do I get this message when trying to load my home page. Multisite only works without the port number in the URL.

    When I click on the site in the address it brings up a window about page info with "General", Permission and security. Under technical details, it says "Connection not encrypted". It also says the website, odb.org does not support encryption for the page you are viewing. This is a normal website that I have visited many time using IE 9 but now with firefox i cannot go to the website because of some kind of encryption garbage. If i have this problem just trying to go to my home page then i will get rid of firefox.

    I'm not sure what you try to do.<br />
    If you type or paste http://odb.org/ in the location bar then that website should open.
    Only if you use the https: protocol then encryption is used and the technical info will show that like you see with this website (Verified by Equifax).
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)

  • Finding the port number oc4j is running on

    Hi guys,
    I was wondering if anyone could tell me how to find what port number my oc4j listener is running off.
    Thanks In Advance
    Frank

    Ask the person who set it up to run.

  • How do you change the port number for Apex Listener V2?

    I'm running Apex listener V2 in standalone mode on Linux.  I want to change the port number of the apex listener V2 (e.g 80 to 8080).  How do I do that without re-installing the whole listener again?
    thanks in advance
    PaulP

    Hi PPlatt,
    You can modify your_listener_home_directory/apex/apex.properties
    http.port=8080
    Stop & restart listener.
    HTH
    Zack

  • 10g express, how to change port number for the database home page

    10g express uses port 8080 for its http listener. However this number has been used by Tomcat on my computer. How can I chang the port number for the 10g home page?
    Regards
    jl

    Andy, thank you very much, I have been able to changed the port number following your advice.
    I hope you do not mind I ask a further questions along this line:
    I installed 10 express db on 2 computers. One with Tomcat and the other without. Following your advice, I successfully changed the port number on the one without Tomcat.
    On the one with Tomcat, I believe it was because I installed the 10g express while the Tomcat was running, I can neither go to the 10g's home page (page cannot be displyed), nor logon to the database from sqlplus (ora-12560: TNS:protocal error) even after I shut down the Tomcat. By checking with 'netstat -an', it is known that the http listerner is not listerning.
    Can I change some configuration file to solve this problem? Or do I have to reinstall 10 ex? I prefer the 1st aproach of changing config file, even it is not as easy as reinstallation.
    Thanks
    jl

  • DOES EIGRP USE AS NUMBER/process number as it's PORT NUMBER between the routers in the same AS/group?

    in this posthttps://supportforums.cisco.com/discussion/9805551/eigrp-port-number  there is an answer which seems a little weird, the question asks about the EIGRP port number, and someone answers that "The port number is the EIGRP AS."
    I goggled all over the net but could not find any single clue about it!! is that really so, I mean DOES EIGRP USE AS NUMBER AS PORT NUMBER?
    I know stuff about routing, EIGRP,RTP and so on, please don't state the obvious and just give some link to some document on Cisco, about this subject.
    BTW there's a link under the mentioned post but it doesn't load, I don't know, anyway thank you

    in this posthttps://supportforums.cisco.com/discussion/9805551/eigrp-port-number  there is an answer which seems a little weird, the question asks about the EIGRP port number, and someone answers that "The port number is the EIGRP AS."
    I goggled all over the net but could not find any single clue about it!! is that really so, I mean DOES EIGRP USE AS NUMBER AS PORT NUMBER?
    I know stuff about routing, EIGRP,RTP and so on, please don't state the obvious and just give some link to some document on Cisco, about this subject.
    BTW there's a link under the mentioned post but it doesn't load, I don't know, anyway thank you

  • Changing the port number in 10g Discoverer- Middle Tier & Infrasctructural

    Earlier I had insalled 10g discoverer which incudes both Middle Tier & Infrastructural Tier with default port numbers.
    Now i would like to change the default port numbers to other port numbers. This is because , i am got to do another discoverer installation with default port numers.
    In this case i have one question. Is it required to change all the port numbers that exist in the file "portlist.ini" of both Middle Tier & Infrastructural Tier.
    What change still i need to do in Oracle 11i application front.
    Thanks
    Naveen

    I did troubleshooting to verify the group, but this just changed the port number back to the default in the listener.ora & tnsnames.ora.
    So I did all the steps again to change the port number from the default to another - via lsnrctl status, i see that the new port number is being used, I can also log in to the database via Toad using the new port number, in v$parameter i see that the local_listener is registered on the new port number....only under the Fail Safe manager, the port number (under listener parameter) has not changed....it still shows the default port number. Anyone know how to change this???

  • Port number for the application

    Hi...i'm working on SMS apps...
    it's a peer2peer sms apps..and to send a message to the application in the other mobile...we need to specify the port number where the application located....
    right now my apps is already able to send msg and received by other phone which do not have the same apps...
    so now i want to specify the port number so ythe msg can be specificaly received by the apps..
    My question is...how do we know or how do we set the port number?
    thx 4 the reply...

    Since there has been no response to your post, it appears to be either too complex or too rare an issue for other forum members to assist you. If you don't get a suitable response to your post, you may wish to review our resources at the online Technical Assistance Center (http://www.cisco.com/tac) or speak with a TAC engineer. You can open a TAC case online at http://www.cisco.com/tac/caseopen
    If anyone else in the forum has some advice, please reply to this thread.
    Thank you for posting.

  • Remove port number of the URL

    Anyone know how I can remove the port of the URL, What do I need to configure to change the url and appears with another name?

    I have a very similar question as well. I am very new to web applications and web development in general, but we have some here that will come up by simply typing in the IP of the host or the word associated with that host in our local DNS environment. You are then directed to whatever site is on port 80 of that host.
    I would like to do the same with my app I have built in App Express - have users type in a "keyword" and they are immediately directed to my application home page. If my application URL requires a specified port 8080, this doesnt happen by simply pointing to the host. Is it as simple as changing the port number for the application?

  • Sharepoint 2010 appended port number in the public URL when redirect

    I'm new in sharepoint so please bear with me.
    We have a sharepoint deployment that has 4 WFEs, each WFE has 4 sites, all on a different port number.  For example;
    Site 1: http://site1.server1:11111
    Site 2: http://site1.server1:22222
    Site 3: http://site1.server1:33333
    Site 4: http://site1.server1:44444
    We have a load balancer that use a public URL to all these sites.  For example;
    Site 1: http://site1
    Site 2: http://site2
    Site 3: http://site3
    Site 4: http://site4
    Here is the problem.  Some of the link in the sharepoint site, when click, the URL is appended with the port number at the end of the public URL.  For example, http://site1:11111.
    I tried playing around with the AAM but it doesnt yield anything.  Any advise from the expert would be appreciated.

    Hi,
    Look at your default AAM.  This controls how the URL is appended or not.  You also need to look at the site bindings in IIS and make sure you have them for each site, for port 80.  And you need an alternate access mapping that routes site.server:Port
    to site if your desired outcome is to have any load balanced call route back to the default alternate access mapping of http://site1
    you would have a binding on http://site1 on port 80 in iis, and a host header associated with this site.
    Also, if you are using path based sites, this will only work for one site.  You can tell if you're using path based site collections if you see a / in front of their names inside view all site collections.
    Microsoft recommends using Host named site collections, check out this technet
    http://technet.microsoft.com/en-us/library/cc424952(v=office.15).aspx
    Stacy www.sharepointpapa.com

  • How to sql server port number to scom inventory

    can some one help me how to add sql server port number to scom inventory 

    To open a port in the Windows firewall for TCP access
    On the
    Start menu, click Run, type WF.msc, and then click
    OK.
    In the
    Windows Firewall with Advanced Security, in the left pane, right-click
    Inbound Rules, and then click New Rule in the action pane (upper right corner).
    In the Rule Type dialog box, select
    Port, and then click Next.
    In the Protocol and Ports dialog box, select
    TCP. Select Specific local ports, and then type the port number of the instance of the Database Engine, In my case we are using the default which is
    1433. Click Next.
    In the Action dialog box, select
    Allow the connection, and then click Next.
    In the Profile dialog box, I am going to Leave
    Domain turned on and turn private and public off. Then click
    Next.
    In the Name dialog box, type "Allow SQL 1433 Inbound” and for a description I am putting in the same. Then click
    Finish.
    Also you can refer below link
    http://blogs.technet.com/b/danstolts/archive/2011/06/08/how-to-open-firewall-port-1433-for-sql-server-database-engine-for-use-with-scom-or-anything-else.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • Hide Port number in the URL

    I would like to hide the port number, and everything to the right of it, from the URL to my applications.
    For example:
    I would like to have this URL:
    http://myhostname:7777/pls/apex/f?......
    read something like this:
    http://myhostname/CMS
    I dont know if this is something trivial, or not,
    or even if I'm addressing this issue to proper forum.
    Does anyone have any suggestions for me please.
    Thanks- Gary

    I have a very similar question as well. I am very new to web applications and web development in general, but we have some here that will come up by simply typing in the IP of the host or the word associated with that host in our local DNS environment. You are then directed to whatever site is on port 80 of that host.
    I would like to do the same with my app I have built in App Express - have users type in a "keyword" and they are immediately directed to my application home page. If my application URL requires a specified port 8080, this doesnt happen by simply pointing to the host. Is it as simple as changing the port number for the application?

Maybe you are looking for

  • Is there a way to completely get rid of my old Apple ID/iCloud account?

    I've had an iPhone 5s since they first came out, and I previously had an iPhone 4s.  On my old 4s, I had one Apple ID, but when I got my 5s, I switched it to a different email address.  However, I can't change my iCloud account on my phone.  Almost e

  • Cd rom is not visible

    hi, my cd rom is not visible and the pc does not recognise any cd i put in. i have tried device manager and it says cd rom drivers are installed and working. i have reinstalled windows 7 and it has made no difference.  hope someone out there can help

  • Memory Efficiency of BufferedImage and ImageIO

    This thread discusses the memory efficiency of BufferedImage and ImageIO. I also like to know whether if there's possible memory leak in BufferedImage / ImageIO, or just that the result matches the specifications. Any comments are welcomed. My projec

  • How do you create a new folder in the library folder

    How do you create a  new folder in the library?

  • Can I charge with USB adapter before use?

    Just got an iPod nano! Woop woop! Question is...before I even think about turning it on or plugging it into my computer, is it OK to charge it with the iPod USB Power Adapter before connecting it to a computer for the first time? Or should I charge i