Find out the web server URL
Rather then hard code "https://hostname:port" throughout the
Flex app in the the mx:HTTPService calls, I have set the URL as a
global and then reference it by all components. How do I query the
URL (host and port) that the application was initially loaded from?
Thanks
Steve
Check out the Application Class
http://livedocs.adobe.com/flex/201/langref/mx/core/Application.html
You can access the actual URL that loaded the SWF.
Alert.show(Application.application.url);
Allen
Similar Messages
-
How can I find out the mail server from email address?
Hi:
How can I find out the mail server from email address?
for example: If I know the email address is [email protected],
how to find the pop3 and smtp mail server?
THANK YOUYou can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
Sean -
How to find out the application server info
Hi, I am wondering how to find out the application server info in Java code, just like how to find out the db platform being used. Thanks
Hi,
I am not aware of any spec defined way of finding out such info. There may be vendor specific APIs or mechanisms.
But you can use environment entries in your deployment descriptors to specify the information and make use of the entries inside your j2ee component. That will make your code platform neutral.
Sahoo -
Force the web server url to hit the particular jboss instance(slot)
Is there a way we can force the web server url to hit the particular jboss instance(slot)? I remember we can do in DAS by passing the drp port in the webserver url.
Edited by: 865729 on 20-Jun-2011 01:30This isn't the best forum for this question (you might get better results posting this to the JBoss coummunity: [http://community.jboss.org|http://community.jboss.org] ) but I think you can accomplish this by putting a dummy jsessionid in the URL (on the first request so that no jsessionid exists) and appending the jvmroute of the instance you want to hit. The jvmroute is what determines which instance mod_jk routes the request to so theoretically this should work.
- George -
How to find out the web/app server used by OBIEE and OBIEE HomePath (Urgent
Hi All ,
I have two questions
1) I wanted to know the OBIEE home path if it is installed on the some other machine (Client's Machine).
I wanted to update the .css files present on the machine, but before updating the file i should know the home path, to reach the desired .css file and update accordingly. I dont know where they have installed OBIEE.By default OBIEE home is (c:\) but if the user has selected some other drive then, how we can find the OBIEE Home path?
I have the access to the machine.
2) The path of the CSS files depends on the web server used by OBIEE.
When IIS web server is used, the CSS files in OracleBI_HOME\web\app\res directory
when OC4J is used, the CSS files in OracleBI_HOME\oc4j_bi\j2ee\home\applications\analytics\analytics\res
so inorder to update i must know which server is being used.
Is there any way to find out which web application server is installed on the clients machine?
Thanks in advance.!!!!!Please see responses to your first posting here: OBI EE Home Path
-
How to find out the application server instance name?
Hi,
I installed an Oracle application server a long long while ago and completely forgot the things about the installation, including the name of the instance (I installed single instance, not cluster). Now I am trying to create a connection to the application server and I am prompted to fill in the instance name. Where in the installation can I find out the instance name?
The version of the server as displayed when the server is started:
$ ./oc4j -start
Starting OC4J from /oraInventory/j2ee/home ...
09/10/08 16:04:39 Oracle Containers for J2EE 10g (10.1.3.2.0) initializedThis 10.1.3.2.0 number is somewhat confusing. As I understand it, right now if you download a copy of the Application server from Oracle web site, the current version is 10.1.3.1.0.
I am also reading the installation guide now and when looking at the server starting messages on the screen, I realize that installing the server in the oraInventory directory is not quite right. Does that interfere with the correct functioning of the server? I installed it but have never tried to use it until now.
Many thanks for your help!
NewmanJ. Newman wrote:
Hi,
I installed an Oracle application server a long long while ago and completely forgot the things about the installation, including the name of the instance (I installed single instance, not cluster). Now I am trying to create a connection to the application server and I am prompted to fill in the instance name. Where in the installation can I find out the instance name?If you have access to that server, then the following should give the instance name.
grep 'IASname' $ORACLE_HOME/config/ias.properties
you should also see it in the AS Control Console page.
The version of the server as displayed when the server is started:
$ ./oc4j -start
Starting OC4J from /oraInventory/j2ee/home ...
09/10/08 16:04:39 Oracle Containers for J2EE 10g (10.1.3.2.0) initializedThis 10.1.3.2.0 number is somewhat confusing. As I understand it, right now if you download a copy of the Application server from Oracle web site, the current version is 10.1.3.1.0.
Regarding the version numbers, this fourth digit refers to the Component-specific release number. The OAS documentation says this about it.
"This digit identifies a release level specific to a component. Different components can have different numbers in this position depending upon, for example, component patch sets or interim releases."
I am also reading the installation guide now and when looking at the server starting messages on the screen, I realize that installing the server in the oraInventory directory is not quite right. Does that interfere with the correct functioning of the server? I installed it but have never tried to use it until now.
Many thanks for your help!
NewmanI think Oracle software should always be installed in a separate directory. I think it may also generate errors in its functioning but it will certainly create a whole lot confusion and mess in later administration and configurations.
hope that helps!
AMN
Edited by: AMN on Oct 8, 2009 5:14 PM -
Help, how do i find out the host server for a website i have inherited
hi i inherited responcibilty for a website, simply because
there was noone else avalable. i have dreamweaver cs3, but only
about 2 weeks worth of knowledge and experience. I was given info
ie. ftp address and username etc, so have been able to download the
website to my home computer, and have been making updates, now
however i need to find out more about setting up a test server so i
can use dynamic pages, specifically for collecting form
information, collecting donations and selling art work. i will need
some information from the host server to start with, but am unsure
as how to identify and contact them, can anyone help me please. I
am sure it is rudimentary, but the information is essential.
also as a side note, could anyone tell me how to find out
where the websites domain name is regestered ( other than
contacting the original designer, as that seem quite impossible)
because i get the feeling that if all else fails i may be able to
move the website to another host ( not that i now how yet, or even
how to select or find a host) please let me know if any of my
assumptions are wrong.
Thanking you in advance
J
volunteer.Hi,
To find out about the host, go to register.com and look up
the domain name.
When it gives you results, it'll say that the name is already
taken, but it
will let you do a 'whois' on it.
Those results can give you some info such as the server DNS.
That may let
you figure out the host.
Sometimes the technical contact in the whois, is the host as
well.
"nsfwebnewbie" <[email protected]> wrote in
message
news:fmo8cf$3l5$[email protected]..
> hi i inherited responcibilty for a website, simply
because there was noone
> else
> avalable. i have dreamweaver cs3, but only about 2 weeks
worth of
> knowledge and
> experience. I was given info ie. ftp address and
username etc, so have
> been
> able to download the website to my home computer, and
have been making
> updates,
> now however i need to find out more about setting up a
test server so i
> can use
> dynamic pages, specifically for collecting form
information, collecting
> donations and selling art work. i will need some
information from the host
> server to start with, but am unsure as how to identify
and contact them,
> can
> anyone help me please. I am sure it is rudimentary, but
the information is
> essential.
> also as a side note, could anyone tell me how to find
out where the
> websites
> domain name is regestered ( other than contacting the
original designer,
> as
> that seem quite impossible) because i get the feeling
that if all else
> fails i
> may be able to move the website to another host ( not
that i now how yet,
> or
> even how to select or find a host) please let me know if
any of my
> assumptions
> are wrong.
>
>
> Thanking you in advance
>
> J
> volunteer.
>
> -
How can I find out the web interface a module function is executed from?
Hello all,
I was wondering if anybody knows how would be possible de determine the web interface a function is being launched from, within the function.
I've got this function that is used for a exit variable that updates the variable value depending on another variable in a web interface. The thing is that this very same function and variable will be used in many web interfaces and the "source" variable will be different for each mask.
So, for example, mask 1 will have variable 1 as a selector variable and variable X will be updated by it. Then I also have variable 2 in mask 2 as a selector variable and variable X will be updated by it as well.
I want to develop a code, within the function module, that depending on the web interface that is calling it, it will use a source the correct variable and for this I need to know which web interface is calling the function.
I hope to have been able to explain myself clearly. It's a purely technical question.
Thanks in advance.
Best regards.Hi Francesco,
Are you talking about that ??? )) It will explain you about to get the name of the web page when you are executing an abap function for determining the values of variables...
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20make%20a%20variable%20even%20more%20flexible%20in%20bw-bps.pdf">How to make a variable even more flexible in BW-BPS?</a>
This is weird: I wrote that document a few weeks ago, it is theorically published on SDN but this is not possible to find it by using the research tool... Maybe because it applies only to BPS in 3.5. I did not have enough time to migrate that solution to BI-IP 7.0.
Regards
Laurent -
Finding out a Managed Server Name/Port
Hi all,
Hope I have the relevant newsgroup....
Does anyone know how I might be able to find out the name of the managed server (or its port) that I am currently running on?
We have a clustered environment (1 admin, 2 managed servers) but I need to get the name of the managed server/port so I can generate some unique information for the server.
I was reading about JMX and it seems I can return a list of ALL servers configured to run on a cluster. It doesn't really help though as I need to find out the specific server details within the cluster.
Any help would really be appreciated.
Cheers,
Jay.Yes, you can use WLST tool :-
domainConfig()
cmo.getServers()
Link : [http://edocs.bea.com/wls/docs100/config_scripting/monitoring.html]
I hope this helps :)
Edited by: Manish Chellappan on Jul 22, 2009 9:23 PM -
The web server in j2eesdk1.3 only generate pages not larger than 8K(8192B)?
I use j2ee sdk1.3 now to develop a web site,
ejb for background operations, jsp for display.
And I use deploytool to deploy them.
But I find that the web server can only generates web pages less that 8192 bytes.
Where can I set the parameter?
Thanks!and if web pages are larger than 8192 bytes,
them will be truncated. -
What is the web server to support dbconsole of database 11gr2?
I have installed oracle database software 11.2.0.2 on solaris10, and configured the dbconsole for a SID database. All run as expected, such as accessing the web oem console and etc.
I cannot find what the web server in the 11.2.0.2 install to support the dbconsole.
Seems there is no Apache server installed for 11.2.0.2.
Only the following processes are relevant:
oracle 2226 28792 0 09:38:56 pts/1 0:38 /oracle/.../11.2.0/bin/emagent
oracle 28792 1286 0 11:36:33 pts/1 1:58 /oracle/../11.2.0/perl/bin/perl /oraclebase/product/11.2.0/bin/emwd.pl
Any idea about the web server in 11.2.0.2?JavaServer Pages (JSP) technology used in 11.2.0.2 instead of Apache server
-
Imp:How to find out whether client authentication Enabled on the Web Server
Hi,
I am trying to find out whether the Client Authentication Enabled on the Web Server or not.
Reason for doing this, if we have two certificates in the key store which will authenticate the Web Server, JSSE Authentication will always take the first cert from the keystore. If the first Certificate is Expired, it will fail while doing the HandShake.
So if I can find out whether Client Authentication is Enabled or not, then I can prompt a dialog for the user to select the Certificate for the Hand Shake.
Thanks in advance for any Response,
Krish.AUTH_TYPE will tell you only if it SSL or not. It won't say whether the Client Certificates Required for SSL Connection.
Also, AUTH_TYPE is not part of the Http Headers.
If there is any other solution, greatly appreciated.
Thanks
Krish. -
How to find out the server listen port
Is it possible to programmatically find out what port numbers in the web server listening on for http as well as https requests? I know this information needs to be configured in the server's config. file. But is there a way to be able to get to it from a servlet (some java class running on the server for that matter) in a vendor independent manner?
Any input/help greatly appreciated.Thanks for the reply. Sorry I should have been clearer on this. I wanted to know if I can get that information from somewhere else (ServletCotext, ServletConfig, etc) other than the request. I have a need where I have to change the port number in case the scheme changes (http to https or vice versa) and I need to know what port number to change to. Hope this makes my question clear.
-
Thunderbird was working and then for no reason it stopped downloading emails from the web server. I can access my emails in the web server okay. I have tried to remove my account and then add it again as a new account but I get a message saying that Thunderbird cannot find the email server. I have also tried to uninstall and reinstall Thunderbird but with the same result. I have also tried to remove the default mail server but have been unable to do so. How can I fix this?
I figured out a workaround.... Since I can get e-mails to populate via iSync and my other computer is running Leopard (it's a powerpc chip and can't run Snow Leopard), I added the account on the other computer and got the new account to populate into my SL machine with iSync. I don't like that I can't actually add the account directly, but at least this got me working.
-
Hello,
i have created a project with the Developer Studio. Now i have an ear file which i have deployed on the WAS.
My Problem is that i don`t know the URL of my Project (its with different servlets and jsp).
In the "J2EE first"-Tutorial is the URL as followed explained:
http://<yourhost>:50000/<contextRoot>/<Name_of_JSP.jsp>
so the URL for the example is:
http://localhost:50000/Calculator/Calculator.jsp.
But in the Email Tutorial is the URL not so easy assembled. Its there:
http://localhost:50000/webdynpro/dispatcher/local/EmailWS/EmailWSApp
You see? It`s much more complex.
In Tomcat it's really easy, the URL is
http://localhost:8085/ESVEAP/start.do
The Name of my ear file is ESVEAP and the context root is esv.
So can you help me to find out the URL of my Project?
ThxHi Toni,
it depends on the type of your project. If it's a "normal" Web project with JSPs, then the first two URLs are correct (if you don't change something in the configuration). If it's a Web Dynpro project, the second one is correct. WD applications are started by a specialized dispatcher servlet, so the parts ".../webdynpro/dispatcher/" address the servlet, the next part addresses the Web Dynpro EAR "local/EmailWS/" the final part addresses the WD application name "..EMailWSApp".
Regards
Stefan
Maybe you are looking for
-
Problem while downloading file in FDTA
Hi, Our customer is generating the payment file payment medium program, in FDTA transaction, when download the path name and file name was taking automatically. Now, when try to download, the path name and file name is not taking automatically. What
-
Is there any official market or store or anything in Egypt to fix my iphone 4 it jumped from 5th floor and the back hous was crashed and the network sensor was not working good but the phone and the screen and the others things are ok so plz help ???
-
Hello I've a question about expdp. I'd export my database with expdp without parallel-option. this 280GB-export runs 11h. Now I'd update my database to enterprise edition and now I export the db with paralleloption (8 CPUs). But now the export runs 1
-
Give me some brief introduction on ABAP
Hi all Give me some brief introduction on ABAP
-
How to troubleshoot iTunes music I bought in my iPad that don't automatically upload on other apple device like iPhone 5