WAAS Speed from local cache
I have a WAAS demo setup in a test lab and have a simulated T1 span connecting two networks. When I transfer a file using CIFS or web initially, I see the traffic flow through the WAN. When I do the transfer a second time, I know it is getting the data from cache as there is no WAN traffic, but I am not getting it at wire speed. It is only coming to the client at about double the T1 speed. I expected almost line speed access when getting data from local cache. Is there a setting I missed or is this expected behaviour?
Zach,
Yes, I understand some things could break if you are careful with those commands, but doing some simple "show" commands (or using the gui) shouldn't hurt when troubleshooting without TAC. I've used some expert show commands to see which files are actively being accelerated through the edge device.
A little off-topic, but how are the drives partitioned? Our WAE-512 edge has 2 250GB drives mirrored, the "Maximum Cache Disk Size" only shows 93GB. I understand there are probably OS, swap, and log partitions, but it would be nice to know more definitely how it is split up to explain to a customer why they don't get the "full" size of the drive.
Thanks,
Kevin
Similar Messages
-
Hi ... How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?
Hi,
If you want to restore a reomoved app,you need to use
Add-AppxPackage to add a signed app package (.appx) to a user account.
But we cannot extract them from the ISO.
The behavior is by design.And this is a software protection regime.
Thanks for your understanding.
Regards,
Kelvin Xu
TechNet Community Support -
Collaboration: DW overwriting files from local cache?
How do I keep Dreamweaver from overwriting newer files on the
server, wen those files were changed by another user?
I have a PHP-driven site built for a client. i do most of the
maintenance, but the client needs to update the text of some pages
frequently as information changes rapidly. So, she edits the pages
in DW.
The problem is that often I'll change file A myself, and then
when she edits file B, DW will quietly overwrite file A with an old
version. I changed her setup to an ftp-only site (no local copy),
and the problem actually got worse ... now it overwrites all files
with old version EVERY time she saves any file! The best I can tell
is it uses some hidden local cache, and always overwrites server
files from the cache, even when the server file is newer.
Is it possible to disable the cache? This client is on DW 8.
Thanks.Evan Dorn wrote:
> How do I keep Dreamweaver from overwriting newer files
on the server, wen those
> files were changed by another user?
It sounds as though what's happening is that the other person
is
selecting the option to upload dependent files.
I don't have Dreamweaver 8 installed any more, but the option
that
controls the upload of dependent files is in Preferences
(Edit menu on
Windows, Dreamweaver menu on a Mac). I'm pretty sure it works
the same
way as in CS4. Select the Site category, and uncheck both
options for
Dependent files.
David Powers
Adobe Community Expert, Dreamweaver
http://foundationphp.com -
How to get messages from closed IMAP account from local cache
I have an IMAP account which is closed, so I cannot connect to it anymore. I've got all the messages on my computer since I chose the option "Keep copies of messages for offline viewing" in account settings.
Is there an easy way to convert the cached version on my computer to my new IMAP account?
I've tried just dragging the to the folder where the local mbox files are kept, but it fails. Looking at the info.plist files in each folder I found the following xml nodes where present in the IMAP ones <key>UIDNEXT</key> and <key>UIDVALIDITY</key> and that deleting them from the info.plist made it possible for me to just drag the mbox file to the local folder. Editing all the info.plist files seems like at huge task and I'm not sure what implications just deleting them might have? Can anybody shed some light on this please?I have some small progress. I wrote this code:
<Field>
<FieldLoop for='rows' in='strAdUcty'>
<Field name='username'>
<Display class='Label'>
<Property name='value'>
<expression>
<block>
<invoke name='get'>
<ref>rows</ref>
<s>name</s>
</invoke>
</block>
</expression>
</Property>
</Display>
</Field>
</FieldLoop>
</Field>This code return names of AD users, but they are "locked" in <FieldLoop> loop. How is possible to get names of AD users to another variable (or to workflow processing)?
thank you -
Can a PDF prevent itself from being cached locally?
Hi folks -
I work for an non-profit organization that provides retirement/medical benefits. There are a number of PDF fillable forms that we would like to provide access to via our portal, forms that may require our users to enter sensitive information such as Social Security Number, etc. This isn't really a pressing concern for our users on their home computers, but we are concerned about caching of this kind of data on a borrowed machine or a public machine.
I know that Reader local caching can be avoided via deselection of the "Use Page Cache" setting. However, we'd like to take this concern out of the equation from the start and avoid having the users themselves being required to stop the local caching. Is there any way to create a PDF that will not be eligible for local caching? Does anyone have any suggestions other than that for how we can avoid this situation?
Thanks in advance!
FrankThanks for the reply, Michael.
I understand what you are saying, and was aware of those aspects of PDF usage, but let me re-phrase what I am asking: if a user looks at a fillable form, fills out their info, prints the completed PDF form, and closes either Adobe Reader or their browser session that presented the PDF (more likely the latter scenario), how can we ensure that none of the information they entered remains accessible on the computer that person was using?
Thanks -
Frank -
Local Cache Visibility from the Cluster
Hi, can you give me an explanation for the following Coherence issue, please ?
I found in the documentation that the Coherence local cache is just that: a cache that is local to (completely contained within) a particular cluster node and is accessible from a single JVM.
On te other hand, I also found the following statement:
“ Clustered caches are accessible from multiple JVMs (any cluster node running the same cache service). The cache service provides the capability to access local caches from other cluster nodes.”
My questions are:
If I have local off-heap NIO memory cache or NIO File Manager cache on the one Coherence node, can it be visible from other Coherence nodes as a clustered cache ?
Also, if I have NIO File Manager cache on a shared disk, is it possible to configure all nodes to work with that cache ?
Best Regards,
Tomislav MilinovicTomislav,
I will answer your questions on top of your statements, OK?
"Coherence local cache is just that: a cache that is local to (completely contained within) a particular cluster node and is accessible from a single JVM"
Considering the partitioned (distributed) scheme, Coherence is a truly peer-to-peer technology in which data is spread across a cluster of nodes, the primary data is stored in a local JVM of one node, and its backup is stored in another node, preferably in another site, cluster or rack.
"Clustered caches are accessible from multiple JVMs (any cluster node running the same cache service). The cache service provides the capability to access local caches from other cluster nodes"
Yes, no matter if the data is stored locally in a single node of the cluster, but when you access that data through its key, Coherence automatically finds that data in the cluster and brings to you. Its transparently for the developer the location of data, but one thing is certain: you have a global view of caches, meaning that from every single member, you have access to all data stored. This is one of the magic that the Coherence protocol (called TCMP) does for you.
"If I have local off-heap NIO memory cache or NIO File Manager cache on the one Coherence node, can it be visible from other Coherence nodes as a clustered cache ?"
As I said earlier, yes, you can access all the data stored from any node of the cluster. The way in which each node store its data (called as backing map scheme) can differ. One node can use an elastic data as backing map scheme, and another node can use Off-Heap NIO Memory Manager as backing map. This is just the way about each node store its data. For the architectural point of view, its a nice choice to use the same backing map scheme across multiple nodes, because each backing map scheme can have different behaviors when you read and/or write data. One could be faster and another could be slower.
"Also, if I have NIO File Manager cache on a shared disk, is it possible to configure all nodes to work with that cache ?"
There is no need for that, since data is available to all cluster nodes without any effort. Having said that, this would be a bad strategy choice. Coherence is a shared-nothing technology which uses that model to scale and give you predictable latency. If you start using a shared-disk as storage for data, you will lose the essence of shared-nothing benefits, and create a huge bottleneck in the data mgmt layer, since will occur dispute per I/O in each read/write.
Cheers,
Ricardo Ferreira -
Hi,
After a 10MB file transfer across a WAN from DC to branch office with WAEs in inline intercepting mode, i noticed subsequent transfers were exetremely fast even without the WAAS appliances interception. It appears Windows OS was also doing some local caching. I have checked and cleared the Temp Folder and it contents but there is no change.
Are there any other Windows Cache locations? How do I solve this?Obiora,
The Windows redirector uses some caching operations for read and write requests, but there isn't a cache of the file that is kept.
Are you sure the WAEs were not handling the traffic?
Zach -
Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy. It is a Macbook Pro osx 10.6.8 (late 2010).
Almost certainly none of the above! Try each of the following in this order:
Select 'Reset Safari' from the Safari menu.
Close down Safari; move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false -
Expire all local cache entries at specific time of day
Hi,
We have a need for expiring all local cache entries at specific time(s) of the day (all days, like a crontab).
Is it possible thru Coherence config ?
Thanx,Hi,
AFAIK there is no out of the box solution but certainly you can use Coherence API along with quartz to develop a simple class that can be triggered to remove all the entries from the cache at certain time. You can also define your custom cache factory configuration and an example is available here http://sites.google.com/site/miscellaneouscomponents/Home/time-service-for-oracle-coherence
Hope this helps!
Cheers,
NJ -
Error in creating Adaptive Webservice model from local wsdl file
hi ,
I am working on Netweaver7.1 CE. I am creating adaptive webservice model from local wsdl file which i have saved at location D:/subordinate WSDL WSDL By Raju/Manager.wsdl on my pc. I am able to bind context , build and deploy. But when i am running that webdynpro project m getting following error
java.io.FileNotFoundException: /D:/subordinate WSDL WSDL By Raju/Manager.wsdl (No such file or directory)
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exception was thrown in preprocessing phase of application session ApplicationSession(name=encryptappl.EncryptAppl, id=25f1f2e1a96411dd9d240050569630a5). The causing exception is nested. RID=25ef0cb0a96411dd91ce0050569630a5
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:650)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:225)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:231)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToRequestManager(AbstractExecutionContextDispatcher.java:205)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForRequestManager.doService(DispatchHandlerForRequestManager.java:38)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToRequestManager(ExecutionContextDispatcher.java:140)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:93)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:105)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doGet(AbstractDispatcherServlet.java:54)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:66)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:32)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:431)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'file:/D:/subordinate WSDL By Raju/Manager.wsdl' and service factory configuration 'null'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1034)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
at com.apl.model.manager.Manager.<init>(Manager.java:44)
at encryptappl.comp.EncryptApplComp.wdDoInit(EncryptApplComp.java:112)
at encryptappl.comp.wdp.InternalEncryptApplComp.wdDoInit(InternalEncryptApplComp.java:126)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:230)
at com.sap.tc.webdynpro.progmodel.components.Component.initController(Component.java:249)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:209)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:513)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doPreprocessing(ClientApplication.java:1228)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.delegateToApplicationDoPreprocessing(AbstractExecutionContextDispatcher.java:150)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.DispatchHandlerForAppPreprocessing.doService(DispatchHandlerForAppPreprocessing.java:35)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.AbstractDispatchHandler.service(AbstractDispatchHandler.java:116)
at com.sap.engine.services.servlets_jsp.server.deploy.impl.module.IRequestDispatcherImpl.dispatch(IRequestDispatcherImpl.java:93)
at com.sap.tc.webdynpro.serverimpl.wdc.sessionctx.ExecutionContextDispatcher.dispatchToApplicationDoPreprocessing(ExecutionContextDispatcher.java:100)
at com.sap.tc.webdynpro.serverimpl.core.sessionctx.AbstractExecutionContextDispatcher.dispatch(AbstractExecutionContextDispatcher.java:75)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:507)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.dispatch(ApplicationSession.java:527)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doPreprocessing(ApplicationSession.java:233)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doPreprocessing(ClientSession.java:647)
... 41 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. [Problem with WSDL file parsing. See nested message.]
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:247)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:131)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:124)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
... 67 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:585)
at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:341)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.loadProxy(DGenericServiceImpl.java:130)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:65)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:240)
... 70 more
Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: /D:/subordinate WSDL By Raju/Manager.wsdl (No such file or directory)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:579)
... 74 more
Caused by: java.io.FileNotFoundException: /D:/subordinate WSDL By Raju/Manager.wsdl (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
at java.net.URL.openStream(URL.java:1007)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:282)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:293)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:146)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:132)
... 77 morehi ,
i tried to create model using url in address tab , but i am getting error. This webservice is having authentication ,is this error bcoz of authentication????
I am posting error below
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent' and service factory configuration '{DynamicProxy.ClassPath=D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.tc.cmi_10.0.0.080222130515/lib/com.sap.tc.cmi_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.exception_2.0.0.080222130515/lib/sap.comtcexceptionimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcblbasewebservices_libimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcbliqlibimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcbljkernel_bootimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcbljkernel_utilimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcjewebservices_apiimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcjewebservices_libimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcjewebservicesimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcsecwssecclientimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcsecwsseclibimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.engine.webservices_2.0.0.080222130515/lib/sap.comtcsecwssecsrtlibimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/com.sap.dictionary.runtime.mod_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/com.sap.dictionary.runtime.mod_core.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_mdi_util_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_mdi_util_core.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_runtime_mdi_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.runtime_10.0.0.080222130515/lib/dictionary_runtime_mdi_core.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.dictionary.services_10.0.0.080118105715/lib/com.sap.dictionary.services_api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.tssap.sap.libs.logging_2.0.0.080222130515/lib/sap.comtcloggingjavaimpl.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.tssap.sap.libs.xmltoolkit_2.0.0.080222130515/lib/sap.comtcsapxmltoolkitsapxmltoolkit.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/activation.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jaxm-api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jaxrpc-api.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jnet.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/jsse.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/mail.jar;D:/Program Files/SAP/IDE/CE/eclipse/plugins/com.sap.ext.libs.webservices_2.0.0.080222130515/lib/saaj-api.jar;, DynamicProxy.HTTPPassword=, DynamicProxy.HTTPUserName=, DynamicProxy.Javac.path=D:\Program Files\java\jdk1.5.0_12\bin\javac, DynamicProxy.TempDir=C:\DOCUME1\kavita\LOCALS~1\Temp\}'
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:414)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:306)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:316)
at com.sap.tc.webdynpro.model.webservice.modeltype.importer.ui.PageAWSRename.loadNameSpacesAndModelClasses(PageAWSRename.java:996)
at com.sap.tc.webdynpro.model.webservice.modeltype.importer.ui.PageAWSLocalFileClient$5$1.run(PageAWSLocalFileClient.java:283)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:158)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:326)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at com.sap.tc.webdynpro.model.webservice.modeltype.importer.ui.PageAWSLocalFileClient.getNextPage(PageAWSLocalFileClient.java:299)
at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:813)
at com.sap.ide.cmi.core.internal.newmodelwizard.NewModelWizardDialog.nextPressed(NewModelWizardDialog.java:66)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:369)
at com.sap.ide.cmi.core.internal.newmodelwizard.NewModelWizardDialog.buttonPressed(NewModelWizardDialog.java:88)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
at org.eclipse.jface.window.Window.open(Window.java:796)
at com.sap.ide.cmi.core.internal.services.CreationServiceUI.createModel(CreationServiceUI.java:76)
at com.sap.ide.cmi.core.browser.actions.CreateModelAction.run(CreateModelAction.java:60)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionSingleAction.run(BaseSelectionSingleAction.java:39)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.runInternal(BaseSelectionAction.java:78)
at com.sap.ide.tools.core.viewerfwk.internal.actions.BaseSelectionAction.run(BaseSelectionAction.java:70)
at org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. [Problem with WSDL file parsing. See nested message.]
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:247)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:91)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:84)
at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:412)
... 60 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:585)
at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.generateAll(ProxyGeneratorNew.java:341)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.loadProxy(DGenericServiceImpl.java:130)
at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:65)
at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:240)
... 63 more
Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:579)
... 67 more
Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row=3, col=96) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:139)
at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:130)
... 70 more
Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Bad Attribute value: ' or " expected!(http://172.25.30.195:80/WebService/WebServiceApp.nsf/wsGetSuperior?OpenAgent, row:3, col:96)
at com.sap.engine.lib.xml.parser.XMLParser.scanAttValue(XMLParser.java:1402)
at com.sap.engine.lib.xml.parser.XMLParser.scanAttList(XMLParser.java:1576)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1719)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2449)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1848)
at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2852)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261)
at com.sap.engine.lib.xml.parser.Parser.parse_DTDValidation(Parser.java:282)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:293)
at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
... 72 more -
UNABLE TO ACCESS THE INTERNET FROM LOCAL PROVIDER ON A SITE-TO-SITE VPN CONNECTION
Dear All,
I have a site-to-site connection from point A to point B. From point B i am unable to access the internet from local internet provider.
I am trying to ping from 192.168.20.1 the dns 8.8.8.8 but i receive the message "destination net unreachable".
When i run "show ip nat translation" i receive nothing.
The vpn connection is working properly, i can ping the other side 192.168.10/24
Below is the configuration of the cisco router on point B.
dot11 syslog
ip source-route
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.21.254
ip dhcp pool voice
network 192.168.21.0 255.255.255.0
default-router 192.168.21.254
option 150 ip 192.168.5.10
ip cef
ip domain name neocleous.ru
ip inspect name IOS_FIREWALL tcp
ip inspect name IOS_FIREWALL udp
ip inspect name IOS_FIREWALL icmp
ip inspect name IOS_FIREWALL h323
ip inspect name IOS_FIREWALL http
ip inspect name IOS_FIREWALL https
ip inspect name IOS_FIREWALL skinny
ip inspect name IOS_FIREWALL sip
no ipv6 cef
multilink bundle-name authenticated
vty-async
isdn switch-type primary-net5
redundancy
crypto isakmp policy 5
hash md5
authentication pre-share
group 2
crypto isakmp policy 10
encr aes
authentication pre-share
group 2
lifetime 28800
crypto isakmp policy 50
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key Pb85heuvMde9Wdac5Qohha7lziIf142u address [ip address]
crypto isakmp invalid-spi-recovery
crypto isakmp keepalive 10
crypto ipsec transform-set TRANSET esp-aes esp-sha-hmac
crypto ipsec transform-set TRANSET2 esp-des esp-md5-hmac
crypto ipsec df-bit clear
crypto map CryptoMAP1 ipsec-isakmp
set peer [ip address]
set transform-set TRANSET
match address CryptoACL
interface FastEthernet0/0
description Primary Provider
ip address [PUBLIC IP MAIN PROVIDER] 255.255.255.252
ip access-group outside_acl in
ip mtu 1390
ip nat outside
ip virtual-reassembly in
load-interval 30
duplex auto
speed auto
crypto map CryptoCY
crypto ipsec df-bit clear
interface FastEthernet0/1
description TO LAN
no ip address
load-interval 30
speed 100
full-duplex
interface FastEthernet0/1.1
description DATA VLAN
encapsulation dot1Q 20
ip address 192.168.20.254 255.255.255.0
ip access-group inside_acl in
ip nat inside
ip inspect IOS_FIREWALL in
ip virtual-reassembly in
ip tcp adjust-mss 1379
interface FastEthernet0/1.2
description VOICE VLAN
encapsulation dot1Q 21
ip address 192.168.21.254 255.255.255.0
interface Serial0/2/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn incoming-voice voice
no cdp enable
interface FastEthernet0/3/0
no ip address
ip access-group outside_acl in
ip nat outside
ip virtual-reassembly in
shutdown
duplex auto
speed auto
crypto map CryptoCY
ip local pool VPNPool 192.168.23.2 192.168.23.10
ip forward-protocol nd
ip http server
no ip http secure-server
ip nat inside source list nat_list interface FastEthernet0/3/0 overload
ip route 0.0.0.0 0.0.0.0 [default gateway ip]
ip access-list standard VTY
permit 192.168.20.0 0.0.0.255
ip access-list extended CryptoACL
permit ip 192.168.20.0 0.0.0.255 192.168.3.0 0.0.0.255
permit ip 192.168.21.0 0.0.0.255 192.168.5.0 0.0.0.255
permit ip 192.168.21.0 0.0.0.255 192.168.6.0 0.0.0.255
permit ip 192.168.21.0 0.0.0.255 192.168.12.0 0.0.0.255
permit ip 192.168.21.0 0.0.0.255 192.168.2.0 0.0.0.255
permit ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
permit ip host 192.168.22.1 192.168.5.0 0.0.0.255
permit ip host 192.168.20.1 192.168.5.0 0.0.0.255
permit ip host 192.168.22.1 192.168.6.0 0.0.0.255
ip access-list extended DFBIT_acl
permit tcp any any
ip access-list extended inside_acl
permit ip 192.168.20.0 0.0.0.255 host 192.168.3.35
permit ip 192.168.20.0 0.0.0.255 host 192.168.3.39
permit ip 192.168.20.0 0.0.0.255 host 192.168.3.23
permit ip 192.168.20.0 0.0.0.255 host 192.168.3.18
permit ip 192.168.20.0 0.0.0.255 host 192.168.3.55
permit ip 192.168.20.0 0.0.0.255 host 192.168.10.144
permit ip 192.168.20.0 0.0.0.255 host 192.168.10.146
permit ip 192.168.20.0 0.0.0.255 host 192.168.10.141
permit ip host 192.168.20.253 host 192.168.3.21
permit ip host 192.168.20.254 host 192.168.3.21
permit ip 192.168.20.0 0.0.0.255 host 192.168.3.10
permit ip 192.168.20.0 0.0.0.255 host 192.168.20.254
ip access-list extended nat_list
deny ip host 192.168.20.254 192.168.10.0 0.0.0.255
deny ip host 192.168.20.254 192.168.3.0 0.0.0.255
deny ip host 192.168.20.1 192.168.3.0 0.0.0.255
deny ip host 192.168.20.1 192.168.10.0 0.0.0.255
deny ip host 192.168.20.2 192.168.3.0 0.0.0.255
deny ip host 192.168.20.2 192.168.10.0 0.0.0.255
permit ip host 192.168.20.1 any
permit ip host 192.168.20.2 any
permit ip host 192.168.20.254 any
ip access-list extended outside_acl
permit gre any host [ip address]
permit esp any host [ip address]
deny ip any any
ip sla 2
icmp-echo 192.168.10.254 source-interface FastEthernet0/1.1
frequency 180
timeout 500
ip sla schedule 2 life forever start-time now
logging 192.168.3.21
route-map DFBIT_routemap permit 10
match ip address DFBIT_acl
set ip df 0
route-map ISP2 permit 10
match ip address nat_list
match interface FastEthernet0/3/0
route-map nonat permit 10
match ip address nonat_acl
route-map ISP1 permit 10
match ip address nat_list
match interface FastEthernet0/0You cannot access internet, because all traffic is tunneled for VPN !!!!
Please see cisco tech documentation and bypass traffic for internet.
eg. if lan traffic is going from site a to site b then through vpn
else
lan traffic to internet (any) should be out thorugh the vpn . -
How to install packages from local folder
Hi all,
I have downloaded all arch linux packages from the following URLs:
ftp://mirrors.kernel.org/archlinux/core/os/i686/
ftp://mirrors.kernel.org/archlinux/extra/os/i686/
ftp://mirrors.kernel.org/archlinux/community/os/i686/
and then have saved them to an external hard disk. Then I have attached that external hard disk to my system and packages are available in following folders:
/mnt/external_hd/Arch_Linux/Core-OS/
/mnt/external_hd/Arch_Linux/Extra-OS-1/
/mnt/external_hd/Arch_Linux/Extra-OS-2/
/mnt/external_hd/Arch_Linux/Community-OS-1/
/mnt/external_hd/Arch_Linux/Community-OS-2/
/mnt/external_hd/Arch_Linux/Community-OS-3/
Now I want to install some or all packages from these folder with the help of pacman command. I am seeing that package corresponding to wvdial command is available in the /mnt/external_hd/Arch_Linux/Extra-OS-1/ folder. But how to use pacman command so that I can install wvdial package from that folder?
In addition to this if I want to install ALL Extra Packages available in the folders /mnt/external_hd/Arch_Linux/Extra-OS-1/ and /mnt/external_hd/Arch_Linux/Extra-OS-2/ then how to execute the pacman command?
Please send me step by step instructions so that I shall be able to install some or all downloaded packages.
I shall remain thankful for this forever.
Best Regards ...
Pankaj KumarHi fukawi2,
Thanks for reply and searching for my username on google. It is true that I am a freelance s/w developer but I am not installing Arch Linux for any client. I am installing it due to some other reasons. In fact I started working on Red Hat and then on Fedora when I was a student of bachelor degree course in computer applications. Then later I searched open suse and started using it. I am using open suse from its 10.1 version. However the recent version of this distribution has become much resource consuming. So I am in the need of a light weight linux distribution. And I encountered Arch Linux. Then I purchased its installation disk from an online shop and installed it on my system. But only text mode is working at this moment. Since I want to use X window and so I started to follow the syntax of pacman command. But it is connecting to internet. Since my internet connection is slow (average speed of 10kbps) and so I requested the same online shop to download all packages from Arch Linux repository and send them to me. Therefore now I am having all those packages in my local external hard disk drive in the folder mentioned in my first post. Now I want to install packages from these folder. And so in order to get help I have come to this forum.
I have also followed the steps given on the pages https://wiki.archlinux.org/index.php/Pa … l_commands and https://wiki.archlinux.org/index.php/Pa … repository. But when I am trying to install a particular package using the following command:
pacman -U wvdial
then it is asking for a dependency. I know that the dependent package in my local folder but why it is not being automatically taken by pacman command? Can you please explain it.
That is why I am asking help only for customization and usages of pacman in order to install packages from local folder. But each member in this forum is only referring to long written manuals and not giving me exact solution which I think will involve four/five steps.
Best Regards ...
Pankaj Kumar -
Air Runtime Error when querying local Cache
Hi,
I am running into trouble when attempting to fill a datagrid
from a local SQlite cache, when the cache has been emptied either
because it was never filled with any data or the files have been
deleted. One would think there would be a mechanism in Flex to
check the cache for proper structure without resulting in a runtime
error. Reading the Dataservice documentation, there appears no way
to inspect the cache without getting the runtime error.
Basically, I have an Online/Offline application synchronizing
data with a MySQL server via LiveCycle Dataservices. Everything
works fine Online, and also Offline as long as the cache files have
data in them.
The problem is that if the program has just been
installed(and server is not connectible) and the user hasn't
connected to the server to retrieve any data yet, the local cache
is empty and will result in the runtime error, or if for some
reason the cache files get deleted, then Air will throw the runtime
error.
The resulting error,
Error: Unable to initialize destinations on server:
Thanks
RMHi i'm having the same problem =(
i went to log on to my myspace and i get this message:
Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
----and i dont know what to do.
Can anyone help me please coz this suxxxxxxxxxx =(
thanks for any help and replies @};- -
How to clear Local-Cache Entries for a Query in BW?
Hi There,
i`m student und i need please your help for my Thesis!!
I execute the same Query many times in BEx Web Analyzer und note a Query Response Time under ST03N using each time a different READ Mode and Cache Mode is inactiv (Query Monitor RSRT).
First time i exectue the Query, it reads also from database, second time it uses the local Cache and that `s okay!
My problem is:
When i change the Read mode and execute the Query again, it uses for the first run also the old entries from the Cache so i get wrong response time for the first run!!
I know that while the mode cache inactiv , the local cache will still be used, so how can i delete the local cache entries each
time i change the read mode and execute the Query? In Cache monitor (rsrcache) i find only entries for Global cache etc..
I've already tried to close the session and login in to the System again but it doesn`t solve the Problem!!
i don't have a permission (access rights) to switch off the complete Cache (local and global ).
Any idea please??
Thanks und Best Regards,
Rachidoo
P.S: sorry for my bad english!! i have to refresh it soon:)Hi Praba,
the entries stored in RSRCACHE are for global cache, there is no entry for my query in Cache monitor!
i execute the query in RSRT using java web button and cache mode inactiv so, the results will be stored in local cache.
this is as below what i want to do for my performance tests in my Thesis:
1. run a query for the first time with cache inactiv and note runtime of it
2. run the query again with cache inactiv and note runtime of it
3. clear the local cache (i don't know how to do it??)
4. change the read mode of query in RSRT then run the same query for the first time and note runtime of it
5. run the query again and note runtime of it.
i'm doing the same procedure for each Read mode.
the problem is in step 4 , The olap Processor gets the old results form the cache so i get wrong runtime for my tests.
Generate the report doesn't help, any idea please? -
Java Local Cache Outperformed C++ Local Cache in 3.6.1
Currently I'm using same local cache configuration to publish 10000 record of a portable object and retrieve same item few times from both Java and c++ client with oracle coherence 3.6.1 version. I'm using linux x86 version for both java and c++.
Results from Java : 3 Micro Seconds (best Case), 4-5 Micro Seconds (Average Case)
Results from C++ : 7 Micro Seconds, 8-9 Mirco Seconds (Average Case)
When we have local cache for both Java and C++ data retrival latency ideally should be same. But I was able to witness 4 Mirco Second lagging in c++. Is there any sort of c++ configuration which I can improve the perfromance to reach at least 4-5 Micro Seconds.
My local cache configuration is as follows.
<local-scheme>
<scheme-name>local-example</scheme-name>
</local-scheme>
So in underneath coherence implementation it uses Safe HashMap as the default (As the documentation). Please let me know if i'm doing something wrong?Hi Dave,
I have append my c++ sample code for reference.
-------------- Main class -------------------
#include "coherence/lang.ns"
#include "coherence/net/CacheFactory.hpp"
#include "coherence/net/NamedCache.hpp"
#include <ace/High_Res_Timer.h>
#include <ace/Sched_Params.h>
#include "Order.hpp"
#include "Tokenizer.h"
#include <iostream>
#include <sstream>
#include <string>
#include <fstream>
using namespace coherence::lang;
using coherence::net::CacheFactory;
using coherence::net::NamedCache;
Order::View readOrder(String::View);
void createCache(std::string, NamedCache::Handle&, std::string, std::string&, std::string, std::string);
void readCache(NamedCache::Handle&, std::string, std::string&, std::string, std::string, std::string);
static int globalOrderIndex = 1;
int main(int argc, char** argv) {
try {
String::View vsCacheName;
std::string input;
std::ifstream infile;
std::string comment = "#";
infile.open("test-data.txt");
size_t found;
std::string result;
while (!infile.eof()) {
getline(infile, input);
if (input.empty())
continue;
found = input.rfind(comment);
if (found != std::string::npos)
continue;
Tokenizer str(input);
std::vector<std::string> tokens = str.split();
vsCacheName = tokens.at(0);
NamedCache::Handle hCache = CacheFactory::getCache(vsCacheName);
std::string itemCountList = tokens.at(1);
std::string searchCount = tokens.at(2);
std::string skipFirst = tokens.at(3);
std::string searchValue = tokens.at(4);
Tokenizer str1(itemCountList);
str1.setDelimiter(",");
std::vector<std::string> tokens1 = str1.split();
for (int x = 0; x < tokens1.size(); x++) {
std::string count = tokens1.at(x);
std::string result;
createCache(count, hCache, searchCount, result, vsCacheName, skipFirst);
sleep(1);
readCache(hCache, searchCount, result, skipFirst, count, searchValue);
std::cout << result << std::endl;
infile.close();
} catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
Order::View readOrder(String::View aotag) {
globalOrderIndex++;
return Order::create(aotag);
void createCache(std::string count, NamedCache::Handle& hCache, std::string searchIndex,
std::string& result, std::string cacheName, std::string skipValue) {
int totalRounds = atoi(count.c_str());
int search = atoi(searchIndex.c_str());
int skipFirstData = atoi(skipValue.c_str());
bool skipFirst = skipFirstData == 1 ? true : false;
int loop_count = skipFirstData == 1 ? search + 1 : search;
if (totalRounds == 0)
return;
ACE_hrtime_t average(0);
ACE_High_Res_Timer* tm = new ACE_High_Res_Timer();
ACE_hrtime_t nstime(0);
for (int x = 0; x <1; x++) {
tm->start();
for (int y = 0; y < totalRounds; y++) {
std::stringstream out;
out << globalOrderIndex;
String::View aotag = out.str();
Order::View order = readOrder(aotag);
hCache->put(aotag, order);
tm->stop();
tm->elapsed_time(nstime);
sleep(1);
if (x > 0 || !skipFirst) // skipping first write because it is an odd result
average += nstime;
tm->reset();
delete tm;
double totalTimetoAdd = average / (1 * 1000);
double averageOneItemAddTime = (average / (1 * totalRounds * 1000));
std::stringstream out;
out << totalTimetoAdd;
std::string timeToAddAll = out.str();
std::stringstream out1;
out1 << averageOneItemAddTime;
std::string timetoAddOne = out1.str();
result.append("------------- Test ");
result += cacheName;
result += " with ";
result += count;
result += " -------------\n";
result += "Time taken to publish data: ";
result += (timeToAddAll);
result += " us";
result += "\n";
result += "Time taken to publish one item: ";
result += (timetoAddOne);
result += " us\n";
void readCache(NamedCache::Handle& hCache, std::string searchCount,
std::string& result, std::string skipValue, std::string countVal, std::string searchValue) {
int skipData = atoi(skipValue.c_str());
bool skipFirst = skipData == 1 ? true : false;
int count = atoi(countVal.c_str());
String::View vsName = searchValue.c_str();
ACE_hrtime_t average(0);
int search = atoi(searchCount.c_str());
int loop_count = skipData == 1 ? search + 1 : search;
ACE_High_Res_Timer* tm = new ACE_High_Res_Timer();
ACE_hrtime_t nstime(0);
ACE_hrtime_t best_time(10000000);
bool isSaturated = true;
int saturatedValue = 0;
for (int x = 0; x < loop_count; x++) {
tm->start();
Order::View vInfo = cast<Order::View>(hCache->get(vsName));
tm->stop();
tm->elapsed_time(nstime);
if (x>0 || !skipFirst){
average += nstime;
if(nstime < best_time) {
best_time = nstime;
if(isSaturated){
saturatedValue = x+1;
} else {
isSaturated = false;
std::cout << nstime << std::endl;
vInfo = NULL;
tm->reset();
Order::View vInfo = cast<Order::View>(hCache->get(vsName));
if(vInfo == NULL)
std::cout << "No info available" << std::endl;
// if(x%1000==0)
// sleep(1);
delete tm;
double averageRead = (average / (search * 1000));
double bestRead = ((best_time)/1000);
std::stringstream out1;
out1 << averageRead;
std::string timeToRead = out1.str();
std::stringstream out2;
out2 << bestRead;
std::stringstream out3;
out3 << saturatedValue;
result += "Average readtime: ";
result += (timeToRead);
result += " us, best time: ";
result += (out2.str());
result += " us, saturated index: ";
result += (out3.str());
result += " \n";
----------------- Order.hpp ---------------
#ifndef ORDER_INFO_HPP
#define ORDER_INFO_HPP
#include "coherence/lang.ns"
using namespace coherence::lang;
class Order : public cloneable_spec<Order> {
// ----- constructors ---------------------------------------------------
friend class factory<Order>;
public:
virtual size_t hashCode() const {
return size_t(&m_aotag);
virtual void toStream(std::ostream& out) const {
out << "Order("
<< "Aotag=" << getAotag()
<< ')';
virtual bool equals(Object::View that) const {
if (instanceof<Order::View > (that)) {
Order::View vThat = cast<Order::View > (that);
return Object::equals(getAotag(), vThat->getAotag())
return false;
protected:
Order(String::View aotag) : m_aotag(self(), aotag) {}
Order(const Order& that) : super(that), m_aotag(self(), that.m_aotag) {}
// ----- accessors ------------------------------------------------------
public:
virtual String::View getAotag() const {
return m_aotag;
// ----- data members ---------------------------------------------------
private:
const MemberView<String> m_aotag;
#endif // ORDER_INFO_HPP
----------- OrderSerializer.cpp -------------
#include "coherence/lang.ns"
#include "coherence/io/pof/PofReader.hpp"
#include "coherence/io/pof/PofWriter.hpp"
#include "coherence/io/pof/SystemPofContext.hpp"
#include "coherence/io/pof/PofSerializer.hpp"
#include "Order.hpp"
using namespace coherence::lang;
using coherence::io::pof::PofReader;
using coherence::io::pof::PofWriter;
using coherence::io::pof::PofSerializer;
class OrderSerializer: public class_spec<OrderSerializer,extends<Object>,implements<PofSerializer> > {
friend class factory<OrderSerializer>;
protected:
OrderSerializer(){
public: // PofSerializer interface
virtual void serialize(PofWriter::Handle hOut, Object::View v) const {
Order::View order = cast<Order::View > (v);
hOut->writeString(0, order->getAotag());
hOut->writeRemainder(NULL);
virtual Object::Holder deserialize(PofReader::Handle hIn) const {
String::View aotag = hIn->readString(0);
hIn->readRemainder();
return Order::create(aotag);
COH_REGISTER_POF_SERIALIZER(1001, TypedBarrenClass<Order>::create(), OrderSerializer::create());
-----------------Tokenizer.h--------
#ifndef TOKENIZER_H
#define TOKENIZER_H
#include <string>
#include <vector>
// default delimiter string (space, tab, newline, carriage return, form feed)
const std::string DEFAULT_DELIMITER = " \t\v\n\r\f";
class Tokenizer
public:
// ctor/dtor
Tokenizer();
Tokenizer(const std::string& str, const std::string& delimiter=DEFAULT_DELIMITER);
~Tokenizer();
// set string and delimiter
void set(const std::string& str, const std::string& delimiter=DEFAULT_DELIMITER);
void setString(const std::string& str); // set source string only
void setDelimiter(const std::string& delimiter); // set delimiter string only
std::string next(); // return the next token, return "" if it ends
std::vector<std::string> split(); // return array of tokens from current cursor
protected:
private:
void skipDelimiter(); // ignore leading delimiters
bool isDelimiter(char c); // check if the current char is delimiter
std::string buffer; // input string
std::string token; // output string
std::string delimiter; // delimiter string
std::string::const_iterator currPos; // string iterator pointing the current position
#endif // TOKENIZER_H
--------------- Tokenizer.cpp -------------
#include "Tokenizer.h"
Tokenizer::Tokenizer() : buffer(""), token(""), delimiter(DEFAULT_DELIMITER)
currPos = buffer.begin();
Tokenizer::Tokenizer(const std::string& str, const std::string& delimiter) : buffer(str), token(""), delimiter(delimiter)
currPos = buffer.begin();
Tokenizer::~Tokenizer()
void Tokenizer::set(const std::string& str, const std::string& delimiter)
this->buffer = str;
this->delimiter = delimiter;
this->currPos = buffer.begin();
void Tokenizer::setString(const std::string& str)
this->buffer = str;
this->currPos = buffer.begin();
void Tokenizer::setDelimiter(const std::string& delimiter)
this->delimiter = delimiter;
this->currPos = buffer.begin();
std::string Tokenizer::next()
if(buffer.size() <= 0) return ""; // skip if buffer is empty
token.clear(); // reset token string
this->skipDelimiter(); // skip leading delimiters
// append each char to token string until it meets delimiter
while(currPos != buffer.end() && !isDelimiter(*currPos))
token += *currPos;
++currPos;
return token;
void Tokenizer::skipDelimiter()
while(currPos != buffer.end() && isDelimiter(*currPos))
++currPos;
bool Tokenizer::isDelimiter(char c)
return (delimiter.find(c) != std::string::npos);
std::vector<std::string> Tokenizer::split()
std::vector<std::string> tokens;
std::string token;
while((token = this->next()) != "")
tokens.push_back(token);
return tokens;
I'm really concerned about the performance. 1 Micro seconds is very much valuable for me. If you could reduce it to 5 micro seconds then it would be a great help for me. I'm building above code by following release arguments.
"g++ -Wall -ansi -m32 -O3"
Following file is my test script
------------ test-data.txt ---------------
#cache type - data load - read attempts - skip first - read value
local-orders 10000 5 1 1
# dist-extend 1,100,10000 5 1 1
# repl-extend 1,100,10000 5 1 1
You can uncomment one by one and test different caches with different loads.
Thanks for the reply
sura
Edited by: sura on 23-Jun-2011 18:49
Edited by: sura on 23-Jun-2011 19:35
Edited by: sura on 23-Jun-2011 19:53
Maybe you are looking for
-
PDF file does not export correctly - words corrupt & images in half
I just exported a PDF to Word doc - words corrupt and images in half How do I get file or document right to work with it?
-
Can i change the speed of the track?
I got one track that instrumental and other one is vocal..and i hope someone can teach me how to change the speed of the vocal in garageband.thanks!
-
Hi, Could someone help me to find more info about "Standby Database" on Oracle 9i? I am interested in using this concept into our company recovery system but I would need technical details about how to configure it. (I don't find anything on oracle b
-
Hi everyone, I made a couple of photobooks using iPhoto and it cost me a lot of time and there is no way I want to lose this work. However, I neither can find the according "project" files in the Finder (to make a backup CD, for example) nor does Tim
-
Hi all I'm doing some work on some standard eBS 12.1. forms, specifically GLXIQACC. There is some code that enables and disables the button. I've not worked with forms 10g before, and I can't even find where the button is created, never mind what upd