Calling a page from root instance when multiple instances
Hi
I have 2 CF instances on my application server. One domain, same files, but 2 instances. I want to run a page from the root instances or a scope which is upper level from the instances. Because I want to apply some settings by coding to the all instances at the same time.
How can I reach the root instance or how can I call a CFC? What is the true path for root instance? Is there an alternative method to do this?
There's no such thing as a "root" instance.
[Advertising links in signature removed by moderator]
Similar Messages
-
Insert pages from a single document multiple times
I'm trying to create a simple program that I can use to display PDF files that I can use to play at the piano. I perform often, and need to create "play lists" from which I can pull all, or part of, a PDF file containing music and display it.
I have it all working, except for one problem. I may need to "repeat" a section of a piece. I'm building up the play list by calling AcroPDDoc.InsertPages for each item in the play list. If a PDF file appears multiple times in the play list, when I call InsertPages, the call fails.
In this code snippet, pdDoc is the main doc to which I'm adding pages. playList is a generic List of my own PlayList objects, and I need to iterate through all the items in the playList except the first one, which is already loaded.
This code works great unless the fileName I specify has already been opened. The call to AcroPDDoc.Open succeeds just fine, but the call to pdDoc.InsertPages fails if the file has already had pages from it inserted. All other documents work fine. The documentation, of course, doesn't mention this.
int insertPage = pdDoc.GetNumPages() - 1;
for (int i = 1; i < playList.Count; i++)
var newDoc = new AcroPDDoc();
var item = playList(i);
int startPage = 0;
int endPage = 0;
if (newDoc.Open(item.fileName))
startPage = Math.Max(0, item.startPage);
endPage = Math.Max(0, item.endPage);
var totalPages = newDoc.GetNumPages;
if (item.endPage < 0 || item.endPage > totalPages)
endPage = totalPages - 1;
int numPages = (endPage - startPage) + 1;
if (pdDoc.InsertPages(insertPage, newDoc, startPage, numPages, 0))
insertPage += numPages;
So, the questions:
1.) Is it possible to load pages from a single document multiple times?
2.) Is there a better way to do this? (That is, loop through a list of file names, starting and ending page numbers, and add the documents to an existing document.)
Any help appreciated! Thanks -- KenHi Ken,
>The documentation, of course, doesn't mention this.
The documentation does not state explicitly that you can't insert pages again from a PDDoc you open again and never close.
But it mentions that you get references only from an already opened PDDoc.
"...Opens the specified document. If the document is already open, it returns a reference to the already opened PDDoc. You must call PDDocClose() once for every successful open..."
It doesn't state that you can't insert pages from a referenced PDDoc but it seems so.
I would close the PDDoc within your for-loop after inserting pages and release newDoc.
Regards
Norbert -
How to call a page from an iview
HI SDNs
I have a requirement as follows .
I need to call a page from an iview . for that i developed a html and i gave the hyperlink to call the page.
When i click on hyperlink it is calling page but iviews are not displayed. it is showing masterhead and DLN and but iviews are not shown
Is there any soultion with out solution to display the iviews. i Appreciate if you help at the earliest.
Thanks
RamanaDid you build your hyperlink using "NavigationTarget"?
ex:
http://myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole/myPage
check the below link:
http://help.sap.com/saphelp_nw04/helpdata/en/43/014421d21d6fade10000000a11466f/content.htm
Greetings,
Praveen Gudapati -
Calling OA page from PL/SQL or HTML
Is there any mechanism to call OA page from PL/SQL or HTML ?
The reason for asking is , in iReceivables page there is section called Content Layout and which is handled by PL/SQL package. I want to call OA page from this section.
in 1158 it was working fine but in 12i it is not working.
Thanks,Hi Srini,
Thanks for your reply...
Basically I written the following code in ARI_CONFIG package to call a OA page ... this code was working in 1158 where as in 12i it is not working.
Just want to know whether the following mechanism is supported in 12i or not ...
Begin
v_bill_to_customer_id := 0;
Select distinct bill_to_customer_id into v_bill_to_customer_id from ra_customer_trx_all where printing_pending = 'Y' and bill_to_customer_id = p_customer_id;
IF v_bill_to_customer_id > 0 then
p_output_string := p_output_string||'</ul></td>
</tr>
<tr>
<td height="8" class="OraBGAccentDark"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><ul>
<li class="OraLine">';
p_output_string := p_output_string || '<font color=blue>Click For Test Newest Invoices<input type=button value=Go OnClick=window.location.href="/OA_HTML/OA.jsp?akRegionCode=ARIACCTDETAILSPAGE&akRegionApplicationId=222&Iracctdtlgocontrol_ext=&Ircustomerid='||p_encrypted_customer_id||'&Iracctdtlstype_ext=PENDING&Iraccountstatus_ext="></font></li>';
End If;
Exception
When Others then
null;
End;
Edited by: user575383 on Jul 22, 2009 12:08 PM -
I am facing a problem while working in Muse... The issue is I cannot delete a page from my plan, when I am trying to delete it showing an error and the application shuts down. I am working on an emergency project which I got to submit it tomorrow I hope you will find a solution for the same.Help with using Adobe Muse CC
Thanks,
I have tried with a new site it's working perfectly.
See the screenshot of the error.
Thanks for your support Rohit -
Calling OAF Page from Oracle forms
Hi All,
Is it possible to call an Oracle Forms from OAF page?
I need to call a OAF page EAM material cost screen from oracle form using personalization.
Please any one put on some lights on this issue.
Thanks in Advance,
Ramesh reddy
Edited by: user642447 on May 13, 2011 4:33 AMRamesh,
yes, its possible to call oaf page from oracle forms.
This has been specified step by step in Developer Guide. Refer it for more.
Regards,
Gyan -
Need to Call OA Page from Servlet
Hi All,
My requirement is to call OAF page from the servlet.
Can anyone please give me some pointers to achieve this.
Thanks
Anoophi
anoop ,check if this thread can help u
how to call a OA page from a jsp page
thanx
Pratap -
Can I call JSP page from forms6i C/S?
Hi.
How can I call JSP page from forms6i Client/Server?
Flavio.What is your problem with a host command? You can use:
host('c:\program files\internet explorer\iexplore.exe http://server/page.jsp');
There a disadvantage indeed: you have to close the browser before you can return to the form. -
We wanted to call ADF page from the form. are there any suggestions. i didnt see any discussion in this form
Hello,
You can call any Web URL from Forms via the Web.Show_Document() built-in.
Francois -
Please help me to the following
How to Call jsp page from plsql??
Please its urgent
Edited by: 883730 on Mar 19, 2012 12:05 AMThe best approach would be to change the behavior of your site so that it includes index.jsp as one of the default files. Typically that is done using the upper-level control files of the site. Here's a link from Sun that describes their approach.
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/WebApp4.html
Actually, you don't say what type of webserver you're using, so it's really hard to guess. But if you were using an Apache webserver, you might want to review the "DirectoryIndex" directive here...
http://httpd.apache.org/docs/2.2/mod/mod_dir.html
In fact, if you were using Apache and didn't want to do that, you could do a redirect to another page using the "redirect" directive in the webserver control files as described here:
http://httpd.apache.org/docs/2.1/en/mod/mod_alias.html#redirect -
Apache 1.1, call XSQL page from ojsp
I had it working before but now I lost it.
I was able to call xsql page from jsp page
using #include command. I am getting the following error.
Include /xsql/demo/emp.xsql failed: can only include a JSP page.
javax.servlet.ServletException: Include /xsql/demo/emp.xsql failed: can only include a JSP page.
void oracle.jsp.runtime.OracleJspWriter.clear()
void xsql.demo.IncludeXsql._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtime.HttpJsp.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.app.JspApplication.dispatchRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.JspServlet.doDispatch(oracle.jsp.app.JspRequestContext)
void oracle.jsp.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void org.apache.jserv.JServConnection.processRequest()
void org.apache.jserv.JServConnection.run()
void java.lang.Thread.run()
any ideas ?
nullplease check your dbc file, there is something wrong with it, get the dbc file from your unix machine and try.
Thanks
Tapash -
How to Split one SAP instance to Multiple Instances?
Can any one guide me how to Split one SAP instance to Multiple Instances?
Thanks in Advance.
Regards,
VBSure, just extract the pages to a new file. The form fields will stay in
place. -
Siebel Instance Strategy – Single Instance or Multiple Instances – Advantag
Folks,
We are looking for any white papers on Siebel Instance Strategies. We currently have 5 Siebel individual instances deployed over last 10 years for different business.
Is it a good idea to merge all these instances into one?
May be merge to say 3 instances depending on the objects we are using?
What are the challenges, organization structure, field extensions, column extensions, workflows, what should be looking at?
To answer these questions are there any white papers? Any documentation on how to merge two or more production instances?
Any input / pointers would be appreciated.
Thanks.user10751811 wrote:
how do I find out if my db is running a single instance or multiple instance. I got oracle9i. thanks in advance.Db, on one single machine doesn't run with multiple instances. On a machine,there would be a single instance that would be running. What's important to know that whether its possible for your db to run multiple instances for it or not? For this, you can check the value of the parameter cluster_database is true or not? If its true, your db is RAC eabled and can use multiple instances. If false, you would have a 1:1 mapping of database and instance.
HTH
Aman.... -
Can't e-mail single page from pdf file w multiple pages
wow if this is going to be as hard as getting a screen name.....only adobe
anyway, i have a multiple page document i am scanning.
while scanning i can single out a single page and e-mail it.
when i save and go tot he document later i can not send a single page anymore only the entire document.
is there a way to send a single page from a multiple page document after it is saved as a pdf?
your help is greatly appreciated.i see.
i have reader 9.
shocking that i would have to pay for a simple feature.
thank you for your help! -
How to call OA page from Workflow.
Hi All,
I have one requirement.
I have to call a OA page from worklfow..
There will be alink in the notification and that link should call OA page
Does I can do in the same way we give destination URI of page property..in button.
Let me know if anyone has done same.You can call an OA page from WF, but then you won't be able to come back to the WF page as WF maintains a list of variable for its operation which would be difficult to track and keep updated.
When it comes to Workflow, its always adviseable to work through the embedded OA region in the Workflow page. But again according to Workflow standards, you cann't have such an embedded region which has links or buttons capable of <b>Form Submit </b>.
null
Maybe you are looking for
-
Media Encoder CS4 problem with h.264 QuickTime- Green flashes
I have been using Premiere/Media Encoder CS4 on both a Mac and PC. I am having problems encoding using h.264 HD (720p) settings. These are the problems I have had: When I encode on both platforms (using many different settings) the video plays back f
-
Palette not updated with user.lib files
I took a certified driver file, put it in user.lib, rename the project file and containing folder. I opened the renamed project, change the VI icon colors of all project files, relink all missing files to user.lib directory, saved all the files, save
-
Hi Experts, When I check the billing document (Go to>Header>Output) there are 3 output types. After executing VF02, an output type is added (EDI). Why does this particular output type (Z***) not appear in VF03? - What are the related configurations f
-
How to install video Integration component
Dear Experts Link how to install video Integration component https://websmp106.sap-ag.de/~sapidb/011000358700000739542010E/index.htm Regards Carlos Farías
-
For security question change email
I need help changing my email for security question last email address got hacked into pls help :(