Imbed Server Name within HTML href

My application is generating an email as a alert to an administrator to take some action.  I do not want to hard code the server name into the HTML href statement as depicted below
   -- Include link to HIR Admin page
   l_body_html :=
         l_body_html
      || '<a href="http://edwprd.dhhs.state.nh.us:7777/pls/oitp/f?p=222:469">Admin Items</a>';
I have been able to stuff the current url into a hidden item via an on load dynamic action using this javascript
<script type="text/JavaScript">
$s('P481_URL', window.location.href);
</script>
I then transform that hidden item in a pl/sql anonymous block process using this code and set local variable
SELECT
SUBSTR ( :p481_url,
1,
INSTR ( :p481_url,
1,
3))
|| '469'
  INTO v_sql
  FROM DUAL;
Which yields this string into the variable v_url
http://vmdhhsdworad:7777/pls/oitd/f?p=103:469
Is it possible to include that local variable into the href attribute?
Jeff

APEX_UTIL.HOST_URL
Example
The following example demonstrates how to use the HOST_URL function to return the URL, including the script name, to the current Application Express instance.
declare
    l_host_url      varchar2(4000);
    l_url           varchar2(4000);
    l_application   varchar2(30) := 'f?p=100:1';
    l_email_body    varchar2(32000);
begin
    l_host_url := apex_util.host_url('SCRIPT');
    l_url := l_host_url||l_application;
    l_email_body := 'The URL to the application is: '||l_url;
end;

Similar Messages

  • Can folders' index.html contents avoid containing such folders' names within their urls, please?

    Could Dreamweaver’s file panel folders (located to the right, within Dreamweaver CS5.5, etc.)  potentially contain index.html files that do NOT share such folders’ actual names within their own urls?
    The reason I ask is that I would like to create various index.html sub-directories that will all be linked from yet another index.html subdirectory, for web surfers’ convenience.   It would really help me keep them all organized (for occasional updates' sake) if I could keep them in a folder within Dreamweaver’s file panel that at least resembles that other index.html subdirectory’s name, though.   However, it seems that moving index.html files to such an "alpha" folder inserts that alpha folder’s name into the contained urls, not just its own.   Can this be avoided or worked around, somehow, please?     In case it helps, I have CS5.5 and will have CS6 upon its release date.   Any thoughts, please? 

    Thanks for the preliminary response.   It would really help me keep index.html files organized (for occasional updates' sake) if I could keep them in a folder within Dreamweaver’s file panel  (to the right) whose name does NOT appear in those individualized urls. 
    To give you an example of why I'd like to be able to do this, let's say one wants to have a folder named California, and that various index.html files will be linked from the actual California page.   If one wants to update all pages that belong in the California directory, without having to sort through pages that correspond with (for example) Oregon or Arizona that one ALSO maintains, it could be greatly facilitated if such index.html files could be organized into a California file or something whose name is close to it.   If a page is named "Sacramento" then it need not have California in the url.  Indeed, longer urls are less appealing for the purposes of this endeavor.    So in using this concrete example as background, perhaps my initial question makes more sense now?   At any rate, thanks for trying 

  • Re: [iPlanet-JATO] Tomcat 3.2 serving images and html?

    First of all David you are faster responding to email than I am. Thanks.
    We tried your scheme with no luck. You are using "ROOT" as your war file
    name ROOT, correct? Are you sure the jsp would reference
    "/images/MyProject/nppnback.gif"? Why is "MyProject" in there? Where is
    the directory "images" defined to Tomcat? Is it a default?
    Here's another try at explaining:
    In my JSP I have;
    <IMG SRC="/images/ef.gif" ALT=People Banner">
    My application is in webapps/EformsAppWar
    (jsps in EformsAppWar/EformsApp/eforms/*.jsp)
    (classes in EformsAppWar/WEB-INF/classes)
    so images are in webapps/EformsAppWar/images
    and there is, indeed a ef.gif there.
    However with no server.xml changes (everything default), Tomcat 3.2
    gives a 404 in his log and states in the 404 message that context is
    null (CTX < >) and ca't find /images/ef.gif + NULL.
    By the way I just noticed that in Tomcat 3.1 I have the images directory
    directly under webapps.
    ----- Original Message -----
    From: "David J.L. Martin" <<a href="/group/SunONE-JATO/post?protectID=114166018056146134184102046176231239071179066034">dave@t...</a>>
    Date: Wednesday, May 23, 2001 3:35 pm
    Subject: Re: [iPlanet-JATO] Tomcat 3.2 serving images and html?
    This works:
    If the doc root is webapps\ROOT --
    Using defaults...jsp's would be put in
    webapps\ROOT\MyProjectApp\MyProject\*.jsp
    and images would be put in webapps\ROOT\images\*.gif
    Then in your jsp...use the following reference:
    "/images/MyProject/nppnback.gif">
    That will work just using defaults and not playing with any of the
    config files...
    ie. webapps\ROOT\WEB-INF gets updated as well (with required
    classes).
    djm
    TechPie
    916 924-1832 (office)
    916 730-4743 (mobile)
    916 313-3531 (fax)
    <a href="/group/SunONE-JATO/post?protectID=114232044112042209130232046248130100239179057215113109152006048067">dmushrush@e...</a> wrote:
    Many of you are running Tomcat 3.2. Can anyone tell me how to get
    images to be served by Tomcat. In 3.1 if I referenced /images/image.gif> in my JSP, I could just place the images
    directory in the application
    (context) directory.
    The default docBase is webapp> that webapp> relative addressed as /images/image.gif but such is not the case.
    I have put the images directory almost everyplace possible with no luck.
    I have explicitly defined docBase in tomcat/conf/server.xml and still no
    luck.
    I currently have the following in conf/server.xml
    <Context path="/EformsAppWar"
    docBase="c:/tomcat/webapps/EformsAppWar"
    crossContext="true"
    debug="0"
    reloadable="true" >
    </Context>
    I place images in that directory structure but still take 404's and in
    the log it refers to context as /images ????
    I'm probably doing something (or not doing something) foolish. Anybody> have a remedy.
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>

    First of all David you are faster responding to email than I am. Thanks.
    We tried your scheme with no luck. You are using "ROOT" as your war file
    name ROOT, correct? Are you sure the jsp would reference
    "/images/MyProject/nppnback.gif"? Why is "MyProject" in there? Where is
    the directory "images" defined to Tomcat? Is it a default?
    Here's another try at explaining:
    In my JSP I have;
    <IMG SRC="/images/ef.gif" ALT=People Banner">
    My application is in webapps/EformsAppWar
    (jsps in EformsAppWar/EformsApp/eforms/*.jsp)
    (classes in EformsAppWar/WEB-INF/classes)
    so images are in webapps/EformsAppWar/images
    and there is, indeed a ef.gif there.
    However with no server.xml changes (everything default), Tomcat 3.2
    gives a 404 in his log and states in the 404 message that context is
    null (CTX < >) and ca't find /images/ef.gif + NULL.
    By the way I just noticed that in Tomcat 3.1 I have the images directory
    directly under webapps.
    ----- Original Message -----
    From: "David J.L. Martin" <<a href="/group/SunONE-JATO/post?protectID=114166018056146134184102046176231239071179066034">dave@t...</a>>
    Date: Wednesday, May 23, 2001 3:35 pm
    Subject: Re: [iPlanet-JATO] Tomcat 3.2 serving images and html?
    This works:
    If the doc root is webapps\ROOT --
    Using defaults...jsp's would be put in
    webapps\ROOT\MyProjectApp\MyProject\*.jsp
    and images would be put in webapps\ROOT\images\*.gif
    Then in your jsp...use the following reference:
    "/images/MyProject/nppnback.gif">
    That will work just using defaults and not playing with any of the
    config files...
    ie. webapps\ROOT\WEB-INF gets updated as well (with required
    classes).
    djm
    TechPie
    916 924-1832 (office)
    916 730-4743 (mobile)
    916 313-3531 (fax)
    <a href="/group/SunONE-JATO/post?protectID=114232044112042209130232046248130100239179057215113109152006048067">dmushrush@e...</a> wrote:
    Many of you are running Tomcat 3.2. Can anyone tell me how to get
    images to be served by Tomcat. In 3.1 if I referenced /images/image.gif> in my JSP, I could just place the images
    directory in the application
    (context) directory.
    The default docBase is webapp> that webapp> relative addressed as /images/image.gif but such is not the case.
    I have put the images directory almost everyplace possible with no luck.
    I have explicitly defined docBase in tomcat/conf/server.xml and still no
    luck.
    I currently have the following in conf/server.xml
    <Context path="/EformsAppWar"
    docBase="c:/tomcat/webapps/EformsAppWar"
    crossContext="true"
    debug="0"
    reloadable="true" >
    </Context>
    I place images in that directory structure but still take 404's and in
    the log it refers to context as /images ????
    I'm probably doing something (or not doing something) foolish. Anybody> have a remedy.
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>
    <a href="/group/SunONE-JATO/post?protectID=210083235237078198050118178206047166215146166214017110250006230056039126077176105140127082088124241215002153">[email protected]</a>

  • Max Length of Essbase Server Name?

    Hi - we're installing 9.3.1 and are coming across a problem related to replicated partitions that I'm hoping someone else has also encountered and resolved.
    Since partitions aren't covered by the Migration Wizard, they were migrated from our 7X environment by exporting them from 7X as xml files, doing a "find/replace" within them to change the old server name to the new server name, and then reimporting them in the System 9 environment. Short names were used for this. This was done for them all (we have one or two dozen), and everything worked well. We kicked off a few and all was good.
    Then we went back a few days later and all of the partitions had gone to Orphan status. Looking at them just in the tree view in EAS, they were all saying that they were using the fully-qualified server name (which, in our environment, is 31 characters) instead of what we had originally created them under, which was much shorter: xxx-xxxx-xx = 11 characters. When you open one, it even still references the shorter names in the connection tab. However, whenever you execute one, it goes against the fully qualified name, which appears to be just 1 character too many, because every kickoff of replication fails saying that its an invalid server name, giving the full name ending with ".co" instead of ".com". We had a problem like this in 7X, but we could always get around it because the process would work if we just created and executed using the shorter name (also, we could use App Manager to kick them off, which I'm reluctant to do against System 9). Thus far, we've had no such luck in 9.3.1 - even new partitions created under the shorter name automatically orphan and use the longer name.
    While changing the server name is an option, I'm hoping someone knows of some way to get Essbase to read a server name longer than 30 chars, or to force Essbase to stop using the fully qualified name and just use the shorter one.
    Thanks much. Sorry for the long blow-by-blow.
    -Rob

    One way around this would be to use the IP address instead of the server name. I ran into a similar problem and that was the answer I was given by Oracle. (see my blog http://glennschwartzbergs-essbase-blog.blogspot.com/2008/08/partitions.html)

  • 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

  • Accessing cgi env vars from within html db

    Hello all
    Please can you tell me how to access the variables that are exported to the cgi environment of the apache webserver from within an html db application.
    Specifically, I have server ssl enabled on the apache server and want to display one of the exported variables:"SSL_SERVER_S_DN_CN" (=some.server.name) from within my html db application.
    Thank you.

    "423104",
    You can use the OWA_UTIL function to fetch values of CGI environment variables:
    select owa_util.get_cgi_env('SSL_SERVER_S_DN_CN') from dual
    Thanks,
    - Scott -

  • WRT610N - Unable to change "Server Name" - No Text box.

    I have my WRT610N running V2 firmware.  In all of the documentation I see, on the Admin area within the Storage Tab, there is a text box next to the Server Name and you are able to update that field to change the Server Name.  However, I have no textbox here, and thus am unable to change the Server Name.  I've attempted factory defaults, firmware upgrades, and multiple reboots to attempt to solve the issue.  Any help out there? 
    Thanks in advance

    Whats the Firmware version is installed on your Router and whats the Version number of your Router? If it's an Version 2 Router, then it doesn't have an option to change the Server Name. As far as i know the Version 1 Router has an option to change the Server Name.
    If its an Version 1 Router and if you have updated the firmware, with the latest firmware you don't have an option to change the Server Name, By Default its WRT610N. 

  • Domain name/"primary DNS" name/mail host name/mail server name/mx name

    Hi,
    I have registered my domain name (N.com) with an external dns server and created an MX record (mail.N.com) for it as well. My server sits behind a router and internet traffic is port(80)-forwarded to my server's fixed internal ip address (I can access my webpages from the internet just fine). When I initially setup the server I was asked to give it a "primary DNS name." I naturally assumed that N.com was supposed to be entered here, but that just caused all kinds of problems (though I still do not understand why). So I reinstalled and currently have server.N.com as the primary DNS name of the server (although it shows up in Server Admin and Workgroup Manager as server.local--why is that?)
    I have had no luck getting any email from the internet with the default settings in mail services (domain name of N.com and host name of server.N.com). Having no luck with the defaults, I assumed that maybe I needed to change the host name to "mail.N.com" so that it matched the MX record. I also changed the user preferences in Workgroup Manager to receive mail from mail.N.com--but still no luck. Could someone tell me what I am doing wrong and how come none of the Mail Service literature mentions anything about what a mail "host name" is supposed to be? Is it supposed to be the same as the "Mail Server" name that Workgroup Manager asks each user for? and is it the same as the MX record name?
    I am just needing some help to connect all these variously named, but undefined, dots.
    Also, how come I can access webmail from the internet using www.N.com/webmail but can't do it from any computers within my physical network (I have to use IPaddress/webmail or server.local/webmail)?
    Also, should my user email addresses be [email protected] or [email protected] (which is the current default)?
    Thanks in advance and good luck!
    John

    I had been told by a friend that ... regular email coming in from the internet would go through port 80
    Unfortunately you were misinformed.
    My MX record needs the extra subname (such as "mail") in front of the domain name, right?
    Not at all. A MX record for 'N.com' is entirely valid (expected, in fact).
    An MX record tells remote mail servers where to send mail for any domain/subdomain. If you think about it, let's say you worked for Apple and you wanted people to be able to send email to [email protected], well then you need an MX record for 'apple.com'.
    You can see if you dig MX apple.com that they actually have 9 MX records, but the point still stands.
    Now, you might also have MX records for subdomains so that you can have [email protected], [email protected], [email protected], etc. Each of these subdomains would need a separate MX record.
    So, in general, for any set of email addresses @[anything.]domain.com you have a MX record telling remote mail servers where to send that mail.
    Of course the MX record name is mail.N.com, but I think you are implying that the in the Mail settings of Server Admin where it asks for domain name all I need to put there is the N.com, right?
    What I mean is that you need to set the domain name to whatever domain name you expect to receive mail at.
    If you want users to have email addresses in the form of [email protected], then you enter 'N.com'.
    If you want users to have email addresses in the form of [email protected] then you enter 'mail.N.com'.
    If you want both forms, enter one in the main domain and add the other(s) in the Advanced -> Hosting -> Local Host Aliases section.
    Is there anything in the Mail settings that needs to have the full MX record name (mail.N.com)?
    Yes. Either the 'domain name' or the 'Local Host Aliases' needs to contain the same thing as your MX record. That's because the MX record tells remote servers to send mail to this machine, but the machine won't accept the mail unless it is configured to do so.
    What is the "host name" supposed to be?
    This should be the name that remote servers see when this machine tries to send outgoing mail.
    Ideally this should match the reverse DNS of your IP address, that way when it connects to a remote server it says "Hi, I'm $hostname" and the remote server can lookup the machine's IP address and see the same result. This will reduce the problem of remote servers thinking you're sending them spam.
    If you only have a single IP address then this probably needs to be something like 'N.com'. If you don't have control over your reverse DNS then you're going to run into a problem.
    Also in the user accounts (in Workgroup Manager) what should the "mail server name" be? Is it the host name or the domain name?
    Off hand, I don't know.
    Also, why are all the default user email addresses [email protected] (the name I gave the server at setup)? Why doesn't the user accounts create [email protected] as the default address?
    Presumably because the mail server says it is 'server.N.com' and therefore any accounts on that machine would be [email protected]. Changing the domain name (as above) should fix that.

  • How to find out SSRS report server name

    I'm trying to follow the steps for using SSRS web services (http://ssrstutorials.blogspot.com/2012/10/lesson-12-using-ssrs-web-services.html).
    In Step 3:
    Click advanced--> add web reference -- url - http://localhost/reportserver/reportservice2005.asmx
    (replace localhost with your report server name).
    How do I know what's my report server name?
    Thanks, 

    Hi sherri71,
    Sorry for that mark an incorrect reply as an answer.
    The reply suggested by Akbar is about Instance Name, not report server name. Based on my further research, I find that the Reporting Services server name is the computer name which install
    the report server. So we can try to click Start button, right-clicking Computer, and then clicking Properties. Under Computer name, domain, and workgroup settings, you can find your computer name.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine xiong
    Katherine Xiong
    TechNet Community Support

  • How to find out server name in reports9i

    hi all
    how to find out server name in reports9i
    i need the report server name to call a report
    thanks
    Edited by: vikas singhal on Nov 5, 2008 1:02 AM

    You do not need to do anything, if your Report server is on the same machine as the Forms server (which is usually the case) you simply use the url as
    /reports/rwservlet?report=myreport' and the server will automatically use the default report server.
    then you simply use
    web.show_document('/reports/rwservlet?userid=scott/tiger@orcl&report=myreport&desformat=htmlcss&desname=test.html'Tony
    Try it now
    Edited by: Tony Garabedian on Nov 5, 2008 2:00 PM

  • '"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message

    '"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message keeps displaying whenever I try to open any Adobe CS5 applications (except for Adobe Acrobat Pro). It displays until I click "OK" about 15-20 times or so and then will finally let my program open.
    I have tried deleting files within my Library/Preferences folder and turning off/deleting login items within my system preferences as other forums suggested but nothing happened. Spending 3.5 hours on the phone with Adobe and completely uninstalling and then reinstalling the entire CS5 Master Collection didn't work either.
    Also, it may be helpful to know that my programs worked fine for about three weeks then when we got internet and changed the password (the join, not the adminstrative password) with the wireless network "ScubaSteve" (which I've used with no problems at my old apartment) it started acting up. I have never seen "rrnas01" before so I don't know at all where it came from. I also installed the free 30 day trial of Suitcase Fusion 3 recently, but thinking that could also be the cause I have uninstalled it, and still no help.
    Please help me! And please keep in mind I don't know all the computer lingo that a lot of the people in these forums seem to know. Thanks in advance for ny help you can give me.

    It may not be possible .. there is a major bug between Mountain Lion and the TC where the TC disk goes off the radar of the computer.
    Lion is also affected but not as badly.
    7.6.4 seems worse than earlier firmware.. so back to 7.6.1 or 7.5.2 if that is possible.
    Obviously that is not a solution for a later Gen5 TC.
    Reset to factory after the firmware downgrade. .use all network names that are short, no spaces and pure alphanumeric.
    If the TC is the main router set the dhcp to a very short lease time.. eg 30min.. and see how it goes, or try a longer lease like 99days.
    I prefer the very short lease but response has been mixed.
    Use ethernet not wireless.. ethernet is always more reliable and stable than wireless.
    And last .. a nightly electric timer that powers off every night at midnight for 1min.. would not be the first device we have suggested a fix that amounts to beat the unit to the punch by forcing it to reboot since it is unstable.

  • The server name osr_server1 is unknown to the administration server

    I have successfully installed OSR and created WLS Domain using config.cmd. But when I try to start by command line (startManagedWebLogic.cmd osr_server1) I got the error "server is unknown". I have no idea what could be wrong.
    Basically I followed http://niallcblogs.blogspot.com.br/2010/09/oracle-service-registry-and-osb11g.html.
    The complete command line is:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin>startManagedWebLogic.
    cmd osr_server1
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=
    48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\sys_manifest_classpa
    th\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe180\profiles\default\sys_mani
    fest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\defau
    lt\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_adfr1111\p
    rofiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK
    160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\
    Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\fe
    atures\weblogic.server.modules_10.3.6.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server
    \lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Or
    acle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\WLSERV
    ~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\x
    qrl.jar;C:\Program Files\Java\jdk1.7.0_09\jre\lib
    PATH=C:\Oracle\MIDDLE~1\patch_wls1036\profiles\default\native;C:\Oracle\MIDDLE~1
    \patch_oepe180\profiles\default\native;C:\Oracle\MIDDLE~1\patch_ocp371\profiles\
    default\native;C:\Oracle\MIDDLE~1\patch_adfr1111\profiles\default\native;C:\Orac
    le\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server
    \bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\b
    in;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\Oracle\product\11.1.0\client_1\bin;C:\Wind
    ows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowe
    rShell\v1.0\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program File
    s\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Micr
    osoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft Visual Studio 9.0\Co
    mmon7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft SQL Server\90\Tools\binn
    \;C:\Program Files\Java\jdk1.7.0_09\bin;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\nat
    ive\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode)
    Starting WLS with line:
    C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms256m -Xmx512m -XX:CompileThre
    shold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Dweblogic.Name=osr_server1 -D
    java.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -D
    weblogic.security.SSL.trustedCAKeyStore="C:\Oracle\Middleware\wlserver_10.3\serv
    er\lib\cacerts" -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.
    3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDD
    LE~1\WLSERV~1.3\server -Dweblogic.management.discover=false -Dweblogic.managem
    ent.server=http://SISTEMA026:7001 -Dwlw.iterativeDev=false -Dwlw.testConsole=fa
    lse -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_
    wls1036\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_oepe
    180\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_ocp371\p
    rofiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_adfr1111\prof
    iles\default\sysext_manifest_classpath weblogic.Server
    <19/11/2012 18h40min53s BRST> <Info> <Security> <BEA-090905> <Disabling CryptoJ
    JCE Provider self-integrity check for better startup performance. To enable this
    check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
    <19/11/2012 18h40min53s BRST> <Info> <Security> <BEA-090906> <Changing the defau
    lt Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable
    this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
    <19/11/2012 18h40min53s BRST> <Info> <WebLogicServer> <BEA-000377> <Starting Web
    Logic Server with Java HotSpot(TM) Client VM Version 20.4-b02 from Sun Microsyst
    ems Inc.>
    <19/11/2012 18h40min53s BRST> <Info> <Security> <BEA-090065> <Getting boot ident
    ity from user.>
    Enter username to boot WebLogic server:weblogic_osr2
    Enter password to boot WebLogic server:
    <19/11/2012 18h41min23s BRST> <Info> <Management> <BEA-141107> <Version: WebLogi
    c Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050 >
    <19/11/2012 18h41min24s BRST> <Emergency> <Management> <BEA-141151> <The admin s
    erver could not be reached at http://SISTEMA026:7001.>
    <19/11/2012 18h41min24s BRST> <Critical> <WebLogicServer> <BEA-000362> <Server f
    ailed. Reason:
    There are 1 nested errors:
    weblogic.management.ManagementException: The server name osr_server1 is unknown
    to the administration server. Check if restart is required.
    at weblogic.management.provider.internal.RuntimeAccessImpl.initialize(Ru
    ntimeAccessImpl.java:447)
    at weblogic.management.provider.internal.RuntimeAccessService.start(Runt
    imeAccessService.java:49)
    at weblogic.t3.srvr.ServerServicesManager.startService(ServerServicesMan
    ager.java:461)
    at weblogic.t3.srvr.ServerServicesManager.startInStandbyState(ServerServ
    icesManager.java:166)
    at weblogic.t3.srvr.T3Srvr.initializeStandby(T3Srvr.java:881)
    at weblogic.t3.srvr.T3Srvr.startup(T3Srvr.java:568)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:469)
    at weblogic.Server.main(Server.java:71)
    >
    <19/11/2012 18h41min24s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FAILED>
    <19/11/2012 18h41min24s BRST> <Error> <WebLogicServer> <BEA-000383> <A critical
    service failed. The server will shut itself down>
    <19/11/2012 18h41min24s BRST> <Notice> <WebLogicServer> <BEA-000365> <Server sta
    te changed to FORCE_SHUTTING_DOWN>

    Yes, there are the tags you have suggested. The complete config.xml is below.
    I tried:
    C:\Oracle\Middleware\user_projects\domains\base_domain\bin>startManagedWebLogic.
    cmd osr_server1
    When asked the user, I tried the node-manager-username weblogic_osr2 and the admin user but I always received the error: The server name osr_server1 is unknown to the administration server.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <domain xsi:schemaLocation="http://xmlns.oracle.com/weblogic/security/wls http://xmlns.oracle.com/weblogic/security/wls/1.0/wls.xsd http://xmlns.oracle.com/weblogic/domain http://xmlns.oracle.com/weblogic/1.0/domain.xsd http://xmlns.oracle.com/weblogic/security http://xmlns.oracle.com/weblogic/1.0/security.xsd http://xmlns.oracle.com/weblogic/security/xacml http://xmlns.oracle.com/weblogic/security/xacml/1.0/xacml.xsd" xmlns="http://xmlns.oracle.com/weblogic/domain" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <name>base_domain</name>
    <domain-version>10.3.6.0</domain-version>
    - <security-configuration>
    <name>base_domain</name>
    - <realm xmlns:pas="http://xmlns.oracle.com/weblogic/security/providers/passwordvalidator">
    <sec:authentication-provider xsi:type="wls:default-authenticatorType" />
    - <sec:authentication-provider xsi:type="wls:default-identity-asserterType">
    <sec:active-type>AuthenticatedUser</sec:active-type>
    </sec:authentication-provider>
    <sec:role-mapper xsi:type="wls:default-role-mapperType" />
    <sec:authorizer xsi:type="wls:default-authorizerType" />
    <sec:adjudicator xsi:type="wls:default-adjudicatorType" />
    <sec:credential-mapper xsi:type="wls:default-credential-mapperType" />
    <sec:cert-path-provider xsi:type="wls:web-logic-cert-path-providerType" />
    <sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
    <sec:name>myrealm</sec:name>
    - <sec:password-validator xsi:type="pas:system-password-validatorType">
    <sec:name>systemPasswordValidator</sec:name>
    <pas:min-password-length>8</pas:min-password-length>
    <pas:min-numeric-or-special-characters>1</pas:min-numeric-or-special-characters>
    </sec:password-validator>
    </realm>
    <default-realm>myrealm</default-realm>
    <credential-encrypted>{AES}LArhcMlb7Jdt2zQbNnzLdi3luhgdNyPJS1JIVb9H+VWi5XcC9SP4SQa/8mp/SKI072DoA/sGnzvYDqpn3OxQl3pE0LxaXoOmYNnWsSv/keo8I0rMvrXWJXqn4fbSl9bd</credential-encrypted>
    *<node-manager-username>weblogic_osr2</node-manager-username>*
    <node-manager-password-encrypted>{AES}1SioVLWu3mu/u6y/You1ZGeBTXJHfUCq+loZSCVOdSE=</node-manager-password-encrypted>
    </security-configuration>
    - <server>
    <name>AdminServer</name>
    <listen-address />
    </server>
    - <server>
    *<name>osr_server1</name>*
    <listen-port>7101</listen-port>
    <listen-address>sistema026.br-lihi.libertyinternational.com</listen-address>
    </server>
    - <embedded-ldap>
    <name>base_domain</name>
    <credential-encrypted>{AES}C+0tyHN5wihXjDHQKdQt/5PvYpko8rS0PL6wSSvp3sHLZscRB1RjSNL8MXfHHjwW</credential-encrypted>
    </embedded-ldap>
    <configuration-version>10.3.6.0</configuration-version>
    - <app-deployment>
    <name>registry</name>
    <target>osr_server1</target>
    <module-type>war</module-type>
    <source-path>C:\Oracle\Middleware\registry111/conf/porting/weblogic/build/registry.war</source-path>
    <deployment-order>195</deployment-order>
    <security-dd-model>DDOnly</security-dd-model>
    </app-deployment>
    <admin-server-name>AdminServer</admin-server-name>
    - <jdbc-system-resource>
    <name>jdbc/registryDS</name>
    <target>osr_server1</target>
    <descriptor-file-name>jdbc/registry-20121119171422-jdbc.xml</descriptor-file-name>
    </jdbc-system-resource>
    </domain>

  • Edit server name in hyperlink

    Acrobat Pro XI
    We are getting a new server.  I am trying to figure out the best way to edit hyperlinks (to locations on the LAN) in existing pdf files.  Most of these files were created from Word files with links, and then converted to pdf (Acrobat Pro 7).
    Word offers ways (macros) to batch edit all of the hyperlinks in all documents in a folder, but there seems to be no built-in way to do this in Acrobat.  Assuming this is correct, Is there a way to edit all of the hyperlinks in a single pdf file in one shot (replace the server name)?  Failing that, is there a way to edit just the server name in an individual link?  I know I can "edit" a hyperlink by replacing it with a new one (drilling down to the file location each time), but I would much prefer just to replace the old server name with the new one.
    If all else fails I could create new pdf files from the Word document, but there are features of the pdf files that would need to be replicated in the new files.  For instance, there is a notice (I used a form field) that printed copies are for reference only.  There is also a process (using Java script, which I do not know, but I received help in a forum years ago) to cause the date of printing to appear in a location of my choosing.  Maybe Acrobat XI offers a way to do this, but it was inflexible and unsuitable to my needs in Acrobat 7, which is why I went the route I did.
    The point is that it would be less effort to edit the server name (if that is possible) than to create all new pdf files.  However, if I need to drill down to the file locations one at a time in the existing pdf files I would do better to start over.

    Thanks for the reply.  You confirmed what I suspected.  Links have always been clunky to manage in Acrobat.
    Related question:  The links were generated originally from Word documents that have links.  I was able to generate a list of all links used in the Word documents (I used a macro to loop through a folder and extract the links), and am now copying and pasting from that listing into the hyperlinks in the pdf file.  I use the Link tool, right click and select Properties, and edit from there.  Some of the links repeat from document to document (or within a document). There is a drop-down listing of hyperlinks added or revised in the current Acrobat session (at least), but only the leftmost characters appear in the box, often not enough to identify the link.  Is there a way to see the entire file name?

  • 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
    geethu

    application server name and port number

  • Please help ! "Oracle Reports Server CGI - Reports Server name is not specified."

    Hello Gurus,
    I have an html form that allows putting in a parameter. Upon
    submit the form, it'll pass a string URL with the parameter to a
    new browser.
    My url: http://localhost/servlet/oracle.reports.rwcgi.RWServlet?
    diary&14252
    I also used keymap looks like this
    diary: report=Diary.rdf server=servername desformat=pdf
    destype=cache userid=id/psswd@db myoid=%1 %*
    But I get an Error: The requested URL was not found, or cannot
    be served at this time. Oracle Reports Server CGI - Reports
    Server name is not specified.
    However, if I move the cursor to the end of the same url (or put
    a space at the end) and hit Enter, then the report is
    displayed. I guess there must be something wrong with my
    configuration. Please help. I appreciated any inputs from you.
    Thanks in advance.
    Ashley

    I found the solution to my problem. It was nothing to do with
    the cgicmd.dat keymap file, but the html form itself. It's
    confused between the url arguments and form arguments from the
    submit button. So, what I did was open a new window with all
    arguments instead of using the submit function.
    Regards,
    Ashley

Maybe you are looking for

  • ASDM with javaw.exe process 90% CPU usage

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:

  • Purchase Requisition Work -item disappering from SAP inbox

    Hi, My users are forwarding  Purchase requisition work item from SAP inbox which is disappearing from agent inbox as well from forwarded inbox also.Please guide me Abhijit Bagade

  • JDAPI to search for HOST command in PLSQL

    Hi All How do I seach for all host commands in a form. I can convert the form to text or xml but I would like to do that using JDAPI. Has anyone successfully done that. Any help is appreciated. Rgds Arvind Balaraman

  • 12c design view of JSF page fails to render with 'Loading failed  Reason: Connection reset by server'

    When in the design view of a JSF page, the page never renders in JDeveloper 12c.  Instead I get an error message 'Loading failed   Reason: Connection reset by server'.  I traced this to a conflict with the port used by Cisco Anyconnect (5001) which s

  • Problems Installing J2SE SDK on Win XP Home

    Hi, I'm having serious trouble trying to install the Java 2 SDK onto my PC. I have tried installing 2 different versions; j2sdk-1_4_2_03-windows-i586-p, and j2sdk-1_4_2_04-windows-i586-p. Both are the offline installation versions which I burned to s