Impossible to get a substring of the current s URL page
HelloI have a very strange problem with the URL returned by GSF. I seem to be impossible to get a substring of the URL - the String.substring (int, int) method does not appear to return the expected results. It seems that other methods of strings (such as the indexOf (String)) seem to be operating on the chain of substring returns a part, rather than on the chain saw when the url is printed in its entirety. The corresponding code is less to:
-----
AssetApiWraCoreFieldDao wraDao = new AssetApiWraCoreFieldDao (ics);
String wrapperCurrPage = ics. GetProperty ("com.fatwire.gst.foundation.url.wrapathassembler.dispatcher", ServletRequest.properties ", true);
WebReferenceableAsset wraCurrPage = wraDao.getWra (pageId);
String theLongUrl = new String ((new WraUriBuilder (wraCurrPage, wrapperCurrPage)) .toURI (ics));
This displays the correct URL (http://www.example.com/page)
out.println ("FULLURL:" + theLongUrl.toString ());
This displays the first 25 characters of a string of unknown characters (satellitescheme://SSURI/?)
out.println ("substring:" + theLongUrl.toString () .substring (0.25));
-----
All help to work out what happening would be appreciated – as far as we can tell GSF (or maybe WCS) are originally String to behave in a non-standard way.
Hi 950972,
There is little of the magic that is you fool. Basically, if you change out.println () System.out.println () you will see TWO URLS begin with satellitescheme: / /. What is happening, this is the URL which are produced by the ISU Sites still are built with a satellitescheme://...#satellitefragment. Then, what is Server RHN Satellite will process the result and replace the strange chain with one that fits your URL assembler (and in this case, you use the GSF assembler).
In your code of substring, you are breaking the special chain and are cutting the encoded URL. RHN Satellite Server does not see the prefix and the suffix combined, so it does not have to make the substitution.
That's why Your ' e see what see Your ' e.
A big question is however, why you try to process the URL generated by the API. I guess that sort of substitution will happen, but that should not be done. What you trying to do? I'm sure we can find the right way to achieve your goals.
Kind regards
Tony
Tags: Fusion Middleware
Similar Questions
-
Trying to access the electronic books in the library of our audience. Downloaded the software, (Overdrive Media Console) but I get an error saying: the current version of the security of MP's 2.5.0.0 and I need 2.5.0.1. How to do only what I can read ebooks? People have suggested using IE, but I prefer to much HELP Firefox!
Try to update the media player while using Internet Explorer. Windows Updates site uses ActiveX to perform "duties. Firefox does not support ActiveX.
-
Newly build Production environment (don't use it yet)
OS: Linux redhat 64-bit 2.6.18
Cluster version: 11.2.0.4
This environment clusterware installed last December, we are trying to install oracle RDBMS, so try to first stop the crs. However on node 1, the v$ asm_diskgroup shows nothing under total_mb /free_mb on diskgroup OCR. and stop the crs shows: impossible to get in touch with the loan of cluster service.
Alerts cluster log shows below:
2014-03-25 03:50:01.429:
[crsd (8608)] CRS-1013: the location of the OCR in ASM disk group is inaccessible. Details in u00/app/11.2.0.4/grid/log/oprd100/crsd/crsd.log.
2014-03-25 03:50:01.433:
[crsd (8608)] CRS - 0804:Cluster Ready Service interrupted due to the Oracle Cluster registry error [PROC-26: error when accessing the physical storage]
]. Details at (: CRSD00111 :) in u01/app/11.2.0.4/grid/log/orpd100/crsd/crsd.log.)
2014-03-25 03:50:02.123:
[ohasd (12490)] CRS - 2765:Resource 'ora.crsd' failed on the server "orpd100".
2014-03-25 03:50:03.407:
[crsd (8623)] CRS-1013: the location of the OCR in ASM disk group is inaccessible. Details in u01/app/11.2.0.4/grid/log/orpd100/crsd/crsd.log.
2014-03-25 03:50:03.411:
[crsd (8623)] CRS - 0804:Cluster Ready Service interrupted due to the Oracle Cluster registry error [PROC-26: error when accessing the physical storage]
The NEWSPAPER of the ASM alerts:
Wed Mar 25 03:21:49 2014
WARNING: Waited 15 seconds IO to write to the disk of PST 1 in Group 1.
WARNING: Waited 15 seconds to write IO to disk of PST 2 in Group 1.
WARNING: Waited 15 seconds IO to write to the disk of PST 1 in Group 1.
WARNING: Waited 15 seconds to write IO to disk of PST 2 in Group 1.
Wed Mar 25 03:21:49 2014
NOTE: process _b000_ + asm1 initiating (21071) 1.1807368888 disk offline (OCR_0681_2EF4) with mask 0x7e in Group 1
NOTE: process _b000_ + asm1 initiating (21071) 2.1807368889 disk offline (OCR_0681_2EF5) with mask 0x7e in Group 1
NOTE: check PST: grp = 1
GMON seeking ways of disc for Group 1 to 5 pid 27, DiSo 21071
ERROR: read no quorum within Group: required 2 found 1 records
NOTE: audit PST grp 1 fact.
NOTE: start the PST update: grp = 1, dsk = 1/0x6bba42b8, mask is 0x6a, op = clear
NOTE: start the PST update: grp = 1, = 2/0x6bba42b9 dsk, mask is 0x6a, op = clear
GMON update modes of disk for the Group 1 to 6 for 27, DiSo 21071 pid
ERROR: read no quorum within Group: required 2 found 1 records
Wed Mar 25 03:21:49 2014
NOTE: disassembly of the cache (not clean) Group 1/0x35AAB27B (OCR_DATA)
WARNING: For disk offline OCR_0681_2EF4 0x7f mode failed.
2 node rac cluster is normal. We were able to stop the crs without force.
What should I look at to understand what is happening here?
Thanks to adavnace.
WARNING: For disk offline OCR_0681_2EF5 0x7f mode failed.
NOTE: e-mail CKPT suspend pins Unix process pid: 21073, image:
No default value is 1 M
-
How to get textframe parent of the current Table?
Hi all
I have ITableModel and had ITextModel through ITableTextContainer; through textmodel, I get iframelist. But my question is how can he get the exact relative of the current table textframe?
Pls suggest on that.
I got it!
ITableTextContainer GetAnchorTextIndex().
-
Cannot get removeInstance to remove the current instance
I have a form that contains a table inside a subform that I added a button to add additional instances of the subform that contains the table. Add instance works fine, however, I have also a button to remove the current of the subform that contains instance the table, and it does not work well. Keep remove the first instance of the subform rather than the current instance. For example, lets say the first table is to order product A, then the user can add another instance of the table to order product B and then add a third table to the product C command. Then, let the user didn't need the second table (product B) for a reason, so they click on the button on delete in the second table, but instead of removing the second table containing product B, it deletes the first table that contains produced.
I have the subform (OrderMain) defined to repeat with a minimum number of 1. The button to add an instance of the OrderMain subform contains the following code:
this.resolveNode('MasterSubform._OrderMain').addInstance (1);
If (xfa.host.version & lt; 8) {}
XFA. Form.Recalculate (1);
}
The button to remove the current instance of the subform has the following code:
this.resolveNode('MasterSubform._OrderMain').removeInstance (this.parent.index);
If (xfa.host.version & lt; 8) {}
XFA. Form.Recalculate (1);
}
I tried to adjust the parent index, but that did not work. I also put the code in the button Delete of table to view a message that contains the current index of parent and each instance returns an index of parent of 0. I use Adobe Acrobat XI to test the form. What I'm doing wrong here?
I have it. Finish by checking the relative path of the Remove button to the OrderMain subform. While the button Delete in a subform that is different, I have taken into account in the determination of the index of the OrderMain subform repeatable. Given that each "parent" refers to an another subform, I changed the code of the delete button for the following:
this.resolveNode('MasterSubform._OrderMain').removeInstance (this. parent.parent.parent.parent.index);
If (xfa.host.version< 8)="">
XFA. Form.Recalculate (1);
}
-
The number of pages that print is so critical to a choice to use the "HP Instant ink Plan' or not, how can I find the total number of pages that I printed on my brand new (installed 2 days ago) 8610? And if I can, there are a total of 'resettable' or working capital? Don't see anything in the user guide and a search gives nothing usable on this blog.
Wireless printer installed on an old PC with Windows XP SP3. I also of course install with cable network but so far it works well on my home network without a network cable. Is there any operating system, I also have a laptop Lenovo Vista on which I can install this printer.
Please do not answer I can find total by counting the number of pieces of paper that I have. Surely the inner workings of this beautiful machine must have the requested data as well as HP can say my consumption if I select the monthly plan of ink!
This 8610 was a good buy (net $89,00 after the resumption of my six years, Deskjet J36xx) at Office Depot/Max who has of course influenced my decision to purchase. So far, I am very happy with the print quality and speed, have not yet tried the scanner and will probably never use the fax machine since I have no land line phone.
Thank you
Harry
Hello
Article #2 of the report printer Ststus will tell you. Please try:
Printer status report
The printer status report to view current information about the printer and the status of the ink cartridges. Also use the report to State printer for you help to solve the problems associated with the printer.
The printer status report contains also a log of recent events.
If you need to call HP, it is often useful to print the printer status report before calling.
To print the printer status report
1. in the Control Panel printer display, press and drag your finger on the screen and then press Setup.
2. press on printing reports and then tap Printer Status Report.
Kind regards.
-
Remove the current read help page!
Hi, I've created a form that adds a new instance when I click on a button with the click script
"Mysubform.addinstanceManger.addInstance (1);
This copy of my complete form to a new page which is what I want.
However, when read in on the web, I want to create a delete button that deletes the current page, the user is veiwing if they decide they want to.
example, if the first form is completed and they click on the add new page and fill out the second form and click again if they need to fill another.
Now, if for example they have created 4 pages and decide they want to delete say, page 2 or maybe 3. but keeping other pages with the information already entered. How to create a button that deletes the current page, they choose to remove it.
Detaiiled any help would be greatly appreciated! as I am new to scripting and LC.
Very strange. I think I have it right this time.
-
I tried the command + option + R and command-R start-up and restart, but no dice. I'm trying to reinstall Mac OS to give the laptop to a friend. Any tips?
Hey Sndietzel,
Thank you for being a part of the communities of Apple Support.
I understand your message you are trying to boot a MacBook (2008) for OS X Internet Recovery but it is not successful. This happens because this year and model of Mac does not support the OS X Internet Recovery:
Computers that can be upgraded to use OS X Internet Recovery
What version of Mac OS X is currently installed? In the menu bar select > what the Mac and you should see the version of OS X installed. If she has OS X 10.6.8 or more, then there is no OS X Recovery, and you will need the installation disk OS X, or the disc that came with the computer to erase the disk and reinstall OS X. You will need to insert the disc while the Mac is turned on, and then restart while holding the C key to boot the disk.
Take care.
-
Impossible to get a traffic estimated the price of my iphone
tried to get an estimated price to trade in my iphone to iphone 5 7.
I enter my IME number, then search, a message appears telling me to turn off "Find my iphone", I made it through settings, but still get the same message on turn off.
You use this link Apple or third-party as Bastien, etc.?
-
Equium A200: impossible to get Vista installed on the new HARD drive recovery
Hello
After a failure of the HD I bought a Toshiba no AF HD which is defective
Now that I had to buy a replacement HARD drive that is a player of AF but no matter how hard I try, I can't recovery Vista Home Premium software to installI get an error "Windows cannot configure Windows" or something like this message.
Pointers would be most useful.
Thank you, Tim.
Usually, is not a big problem to install the Toshiba Vista image using the new HARD disk.
But I've already read in different threads that in the case of much larger hard drives the recovery procedure could not complete successfully.In which case you would not be able to complete the Vista installation by using the recovery disk, you can try to install the system using the Microsoft disc. In this case I recommend you take the Win 7 OS. Its much better than Vista OS.
-
Impossible to get a sound in the laptop to TV via wire
Hello
Can someone help please!I got a lead that I run from the laptop to the TV, I get picture but no sound!What should I do?Thank youSelect this option.Hi Mark,
1. are you able to listen to the sound of another application except TV?
2 did you do changes on the computer before the show?
I suggest to run the Microsoft Fixit in the following article and check if the problem persists.
Diagnose and solve the problems of Windows audio playback automatically
http://support.Microsoft.com/mats/AudioPlayback/
You can also see the following article for more information on the sound issues:
No sound in Windows
http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows
Let us know if that helps.
-
Hello everyone!
I wanted to reduce my DC scores (of 2 used only TB ~ 150 GB) with the help of the stand-alone converter, but when I select 'source machine' (my off DC), then click on next, I get the error "Unable to get material information for selected machine" (which runs the converter as admin doesn't help). Also i ' v tried to convert other machines on this host and succeed.
Cannot understand what is wrong with my DC.
ESXi 5.1.0
Converter 5.5.3
Newspapers of my 3 attempts as an attachment.
Seems that the problem is the size of the disk, possibly existing snapshots. Try to convert the virtual machine as a machine (on) physical.
HTH
-
Impossible to get hardware information for the selected computer
Hello world
I need to convert a .vmx ESXi 5.5 machine. I use VMware vCenter Converter Standalone 5.1.1.
I have this error: failed to get the hardware to the computer information selected
Before copying the files (VMs), I stopped the VM and I did not include snapshots.
Thanks for your help!
Specific error should be found in the converter-worker newspaper, could you upload log-bundle?
Also, you should make sure that the user running the user interface that has sufficient rights on your VM.
HTH
-
"Impossible to get hardware information for the selected computer." OV V2V conversion error
Hello
I'm trying to convert Windows 2008 32 bit VM of VServer to ESXi 5.1 s. He always of errors with the message above. I tried to use VmWare Converter 5.1, 5.01 and 4.3. 4.3 using I get another (I get a "a general error has occurred: failure" when I click on the Finish button.) I got the converter 5.1 work with s 2003 32-bit OS I had.
Some things I've tried:
-Changed type VM from 2008 to 2003
-Powered the machine up, then shut down cleanly
-Do of course, there is nothing wrong with configuration that could hang up the conversion as the map NETWORK configurations, etc.
I have really no idea what to do at this point. I tried all the solutions and workaround that I found through Google and nothing seems to work. Not really sure where to go from here. Anyone out there have anything that has worked for them?
Thank you
Adam
The error is:
2013 06-13 T 21: 00:17.676 - 04:00 [02940 info "Default"] analysis \\stam-vm01\Virtual Machines\stam-wsus03.janus\Windows Server 2008 Enterprise.vmx
2013 06-13 T 21: 00:19.348 - 04:00 [02940 info "Default"] Sysimgbase_DiskLib_OpenWithPassPhrase failed with "the specified virtual disk must be repaired" (error code: 14)
2013 06-13 T 21: 00:19.348 - 04:00 [02940 info "Default"] error 14 opening disk \\stam-vm01\Virtual Machines\stam-wsus03.janus\Windows Server 2008 Enterprise.vmdk.
As I recall there is a problem with Server2 with clean shutdown. As you say that you did a clean shutdown, try to delete additional files (lock) from the folder of the virtual computer.
The VDDK tools or download invoke vmware - vdiskmanager.exe with the - R option.
HTH
-
Impossible to get a glimpse of the rtf files in any format
Hello
I created an rtf file, and I also have the XML for the same thing. I loaded the XML with rtf successfully.but when I am trying to see the preview, then I get the error message. Here is the error:
"Conffile": C:\Users\sye59968\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\config\xdo.cfg
Real fonts: C:\Program Files (x 86) \Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\fonts
File: C:\Users\sye59968\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\151380515796672out.pdf
Run Start OPE
Model: C:\Users\sye59968\AppData\Local\Oracle\BIPublisher\TemplateBuilderforWord\tmp\tmp\tmp.rtf
SetLocale RTFProcessor: en - us
SetData FOProcessor: C:\Users\sye59968\Desktop\rex files\test.xml
SetLocale FOProcessor: en - us
oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1207)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:278)
at oracle.xdo.template.FOProcessor.createFO(FOProcessor.java:2007)
at oracle.xdo.template.FOProcessor.generate(FOProcessor.java:1142)
at RTF2PDF2.runRTFto (RTF2PDF2.java:473)
at RTF2PDF2.runXDO (RTF2PDF2.java:337)
at RTF2PDF2.main (RTF2PDF2.java:230)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)
at java.lang.reflect.Method.invoke (unknown Source)
at oracle.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(XSLT10gR1.java:835)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:572)
at oracle.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:327)
at oracle.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:187)
at oracle.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1183)
... 6 more
Caused by: java.util.EmptyStackException
at oracle.xdo11g.xslt.XSLProcessor.reportException(XSLProcessor.java:965)
at oracle.xdo11g.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:725)
at oracle.xdo11g.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:391)
... 15 more
Please suggest me how to solve and root cause for the same
What is in the rtf model?
Looks like you got some errors in rtf / incorrect using sth
try to remove everything in rtf and add the code by code or domain by domain
Maybe you are looking for
-
This happens only in Mozilla Firefox.
-
What do you recommend for an antivirus program, preferably a free one?
Have become discouraged with BitDefender, since Cuba has resumed. Lack of communication, and they do not answer my questions correctly... Would be grateful of some suppliers suggested...
-
Windows Update fails because TrustedInstaller fails to start due to bad road cbscore.dll
I get error 80080005 when you try to run windows update. I followed this to the fact that the Windows Module Installer fails to start. Using ProcMon I could find this TrustedInstaller.exe fails to start. It is a failure due to the following: Trust
-
I have a laptop HP Envy Touchsmart 15. I use a USB mouse all the time. When I type sometimes I slide my thumb on the touchpad that moves my cursor without my noticing. Can I disable the touchpad. My OS is 64-bit Windows 8.1.
-
the Cisco asa vpn processing error payload: payload ID: 1
Hello I set up vpn L2TP by using ASDM and now I am not able to connect my Cisco ASA 5505. It is showing the error message 3 July 7, 2011 18:57:38 IP = *. *. *. *, payload processing error: ID payload: 1 Please suggest me how to solve this problem (by