Unable to perform OCR with unkown error
I have acrobat X Pro. When I try OCR on a scanned image, I get the following error message "Acrobat could not perform recognition (OCR) because: Unable to process the page because the Paper Capture recognition service experienced an error. (6)" The document was orignally a autocad document. I scanned in at high resolution 600 dpi and there is very clear text on the image. Please help
Is this a file specific issue or you have multiple files exhibiting this issue?
Similar Messages
-
Enterprise Portal performance, meet with this error
Hi all
I use LoadRunner to simulate 1000 user to visit Enterprise Portal.
I meet with this error.
ava.util.zip.ZipException: Too many open files
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:111)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
at com.sap.engine.boot.JarFilter.open(JarFilter.java:98)
at com.sap.engine.frame.core.load.res.JarResource.openJar(JarResource.java:416)
at com.sap.engine.frame.core.load.res.JarResource.getURL(JarResource.java:148)
at com.sap.engine.frame.core.load.res.JarsResource.getURL(JarsResource.java:57)
at com.sap.engine.frame.core.load.ResourceLoader.getLocalResource(ResourceLoader.java:274)
at com.sap.engine.frame.core.load.ReferencedLoader.getRefResource(ReferencedLoader.java:473)
at com.sap.engine.core.classload.impl0.LoaderInfo.getResourceByReference(LoaderInfo.java:53)
at com.sap.engine.frame.core.load.ReferencedLoader.getResourceByReference(ReferencedLoader.java:309)
at com.sap.engine.frame.core.load.ResourceLoader.getResource(ResourceLoader.java:158)
at com.sap.engine.frame.core.load.ReferencedLoader.getResource(ReferencedLoader.java:420)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1729)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1719)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1719)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1719)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1719)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1719)
at com.sapportals.portal.prt.util.AutoClassLoader.getResource(AutoClassLoader.java:1745)
at com.sapportals.portal.prt.util.AutoClassLoader.getResourceAsStream(AutoClassLoader.java:1675)
at java.beans.Beans$1.run(Beans.java:155)
at java.security.AccessController.doPrivileged(Native Method)
at java.beans.Beans.instantiate(Beans.java:149)
at java.beans.Beans.instantiate(Beans.java:48)
at sapportalsjspumLogonPage.subDoContent(_sapportalsjsp_umLogonPage.java:157)
at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:58)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sap.security.core.logonadmin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:109)
at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:256)
at com.sapportals.portal.ume.component.logon.SAPMLogonComponent.doContent(SAPMLogonComponent.java:36)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent.doContent(SAPMLogonCertComponent.java:33)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: java.lang.ClassNotFoundException: com.sapportals.portal.prt.component.error.ErrorComponent
Found in negative cache
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@12ba56d]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@986d3c]
References:
not registered!
Resources:
G:\usr\sap\EPT\JC21\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.runtime.system.hooks\private\lib\com.sap.portal.runtime.system.hooks_core.jar
Exception ID:10:59_22/06/06_0002_219004250
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
Component : pcd:portal_content/cn.com.nipponpaint.crm.folder.NipponPaintCRM/cn.com.nipponpaint.crm.folder.PortalDesktop/CustomerDesktop/frameworkPages/frameworkpage
Component class : com.sapportals.portal.prt.component.CachablePortalComponent
User : Administrator
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
at com.sapportals.portal.navigation.fpm.NavigationFpmListener.addNavigationEvents(NavigationFpmListener.java:394)
at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doFrameworkPhase(NavigationFpmListener.java:123)
at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doPhase(NavigationFpmListener.java:71)
at com.sapportals.portal.pb.fpm.FPMContainer.distributeEvent(FPMContainer.java:63)
at com.sapportals.portal.pb.fpm.FPM.doDocumentHook(FPM.java:137)
at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:100)
at com.sapportals.portal.prt.service.document.DocumentHookService.doDocumentHook(DocumentHookService.java:119)
at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:183)
at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:824)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:261)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.navigation.PortalLauncher.doContent(PortalLauncher.java:60)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:312)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:368)
at com.sap.portal.navigation.Gateway.service(Gateway.java:81)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sapportals.portal.prt.core.broker.PortalComponentInstantiationException: Could not instantiate implementation class sapportalsjspNavigationForms of Portal Component com.sap.portal.navigation.helperservice.JspComponent because: Could not find implementation class
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:168)
at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
... 53 more
Caused by: java.lang.ClassNotFoundException: jsp._sapportalsjsp_NavigationForms
Loader Info -
ClassLoader name: [com.sapportals.portal.prt.util.AutoClassLoader@aa262d]
Parent loader name: [com.sapportals.portal.prt.util.ApplicationClassLoader@53f6e6]
References:
not registered!
Resources:
G:\usr\sap\EPT\JC21\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.navigation.helperservice\work
at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:370)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:153)
... 56 more
anybody can give some advice or help ?User Guest, IP address 134.127.111.83
File opening failed.
java.io.IOException: Too many open files
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
at com.sap.engine.services.httpserver.server.ResponseImpl.sendResponse(ResponseImpl.java:555)
at com.sap.engine.services.httpserver.server.ResponseImpl.answerGET(ResponseImpl.java:1246)
at com.sap.engine.services.httpserver.server.ResponseImpl.makeAnswer(ResponseImpl.java:1314)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:245)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
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:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) -
Unable to perform update with Sony Bridge for Mac
I have not been able to update my Xperia Z1 (model C6906) through Sony Bridge for Mac.
While attempting this in SBM version 3.5 the following messages would appear:
There was an issue with the update engine. Please contact technical support. (reason:failed to start local server)
then:
There was an issue with the update engine. Please contact technical support. (reason:failed to parse installer XML(code 11))
SBM has now updated to version 3.6(3602) and still no luck. The software is able to download the update engine but then remains stuck in the initializing phase, talking to update engine.
My phone is at build# 14.1.G.2.257. The proposed update seems minor, as the build # doesn't change but it would be great to have this issue resolved in time for kitkat 4.4
There doesn't appear to be a problem with the phone as the staff at the Sony Store were able to perform my initial out of the box update with PC Companion.
My Mac is running OS10.9 and the java version is 1.6.0_65
Any advice would be much appreciatedIn the mean time it would be worth updating the version of java you are running on your MAC:
http://www.java.com/en/download/help/mac_java_update.xml
Don't forget to mark posts that answers the topic as Accepted Solution.
If you find any post helpful, press Kudos.
What are your thoughts about this forum? Let us know by doing this short survey.
- Official Sony Xperia Support Staff
If you're new to our forums make sure that you have read our Discussion guidelines.
If you want to get in touch with the local support team for your country please visit our contact page. -
IBooks crashes on install with unkown error an brand new iPad 2
Dear Apple please help me spend more money with you by getting iBooks installed :)
When I tap install on iBooks the iBooks icon appears, and it seems to start downloading, but only for a few seconds, then a popup appears saying helpful like ' unknown error occurred', and the icon goes away, and iBooks is not installed.
I was able to install other apps on my new iPad just fine, and I installed lots of apps including iBooks in an iPad 2 in the office.
I rebooted the iPad, but I did not reset it yet - the only thing I could think off, is that the apple I'd I am using does not have a credit card on file just a gift card, but that should not cause one free app to crash upon download and not others
Anybody else having this problem ?
One of the key reasons we got an iPad for home, is to susbscribe to international magazines on iBooks -I also received my new iPad 2 today and experienced the same issue
The first thing I did was sync the iPad with iTunes and restored from my iPhone. I'm wondering if that was part of the issue since I couldn't install iBooks on my iPhone either. Both devices were up to date with iOS 4.3.3.
I was getting the same "Unknown error occurred" message on both devices.
I tried what has worked for many - but rebooting the devices did not help.
What did work was downloading the app within iTunes on my Mac and then syncing the devices. This worked for both my iPhone and iPad! Yay!
I give credit to @the_paulus for helping me out and hope this helps anyone else facing this issue. -
Installer fails o startup with "unkown" error
10g IAS Installer comes up, I click on 'next' and I get an "unknown' error.
Any ideas ?You might want to dig around and see if any install logs give you any clues.
Also please provide some environment details.
i.e. Solaris/Windows/Linux? the version..
cheers
Nick -
I am unable to remove a host from my Virtual Machine Manager 2012 R2. I receive the following error:
Error (2606)
Unable to perform the job because one or more of the selected objects are locked by another job.
Recommended Action
To find out which job is locking the object, in the Jobs view, group by Status, and find the running or canceling job for the object. When the job is complete, try again.
I have already tried running the following command in SQL Server Management Studio
SELECT * FROM [VirtualManagerDB].[dbo].[tbl_VMM_Lock] where TaskID='Task_GUID'
I received this error back:
Msg 8169, Level 16, State 2, Line 1
Conversion failed when converting from a character string to uniqueidentifier.
I have also tried rebooting both the host and the Virtual Machine Manager Server. After rebooting them both, I still receive the same error when trying to remove the host.
Here are my server details
VMM Server OS = Windows 2012 Standard
VMM Version = 2012 R2 3.2.7510.0
Host OS = Windows 2012 R2 Datacenter
Host Agent Version = 3.2.75.10.0
SQL Server OS = Windows 2012 Datacenter
SQL Version = 2012 SP 1 (11.0.3000.0)Hi there,
How many hosts are you managing with your VMM server?
The locking job might be the background host refresher job. Did you see any jobs in the jobs view, when the host removal job failed?
If there is no active jobs in the jobs view when this host removal job fails, can you please turn on the VMM tracing, retry the host removal, and paste back the traces for the failed job (search for exception and paste the whole stack)?
Thanks!
Cheng -
Getting error Unable to perform transaction on the record.
Hi,
My requirement is to implement the custom attachment, and to store the data into custom lob table.
my custom table structure is similer to that of standard fnd_lobs table and have inserted the data through EO based VO.
Structure of custom table
CREATE TABLE XXAPL.XXAPL_LOBS
ATTACHMENT_ID NUMBER NOT NULL,
FILE_NAME VARCHAR2(256 BYTE),
FILE_CONTENT_TYPE VARCHAR2(256 BYTE) NOT NULL,
FILE_DATA BLOB,
UPLOAD_DATE DATE,
EXPIRATION_DATE DATE,
PROGRAM_NAME VARCHAR2(32 BYTE),
PROGRAM_TAG VARCHAR2(32 BYTE),
LANGUAGE VARCHAR2(4 BYTE) DEFAULT ( userenv ( 'LANG') ),
ORACLE_CHARSET VARCHAR2(30 BYTE) DEFAULT ( substr ( userenv ( 'LANGUAGE') , instr ( userenv ( 'LANGUAGE') , '.') +1 ) ),
FILE_FORMAT VARCHAR2(10 BYTE) NOT NULL
i have created a simple messegefileupload and submit button on my custom page and written below code on CO:
Process Request Code:
if(!pageContext.isBackNavigationFired(false))
TransactionUnitHelper.startTransactionUnit(pageContext, "AttachmentCreateTxn");
if(!pageContext.isFormSubmission()){
System.out.println("In ProcessRequest of AplAttachmentCO");
am.invokeMethod("initAplAttachment");
else
if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "AttachmentCreateTxn", true))
OADialogPage dialogPage = new OADialogPage(NAVIGATION_ERROR);
pageContext.redirectToDialogPage(dialogPage);
ProcessFormRequest Code:
if (pageContext.getParameter("Upload") != null)
DataObject fileUploadData = (DataObject)pageContext.getNamedDataObject("FileItem");
String strFileName = null;
strFileName = pageContext.getParameter("FileItem");
if(strFileName == null || "".equals(strFileName))
throw new OAException("Please select a File for upload");
fileName = strFileName;
contentType = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
BlobDomain uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
String strItemDescr = pageContext.getParameter("ItemDesc");
OAFormValueBean bean = (OAFormValueBean)webBean.findIndexedChildRecursive("AttachmentId");
String strAttachId = (String)bean.getValue(pageContext);
System.out.println("Attachment Id:" +strAttachId);
int aInt = Integer.parseInt(strAttachId);
Number numAttachId = new Number(aInt);
Serializable[] methodParams = {fileName, contentType , uploadedByteStream , strItemDescr , numAttachId};
Class[] methodParamTypes = {fileName.getClass(), contentType.getClass() , uploadedByteStream.getClass() , strItemDescr.getClass() , numAttachId.getClass()};
am.invokeMethod("setUploadFileRowData", methodParams, methodParamTypes);
am.invokeMethod("apply");
System.out.println("Records committed in lobs table");
if (pageContext.getParameter("AddAnother") != null)
pageContext.forwardImmediatelyToCurrentPage(null,
true, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
if (pageContext.getParameter("cancel") != null)
am.invokeMethod("rollbackShipment");
TransactionUnitHelper.endTransactionUnit(pageContext, "AttachmentCreateTxn");
Code in AM:
public void apply(){
getTransaction().commit();
public void initAplAttachment() {
OAViewObject lobsvo = (OAViewObject)getAplLobsAttachVO1();
if (!lobsvo.isPreparedForExecution())
lobsvo.executeQuery();
Row row = lobsvo.createRow();
lobsvo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
public void setUploadFileRowData(String fName, String fContentType, BlobDomain fileData , String fItemDescr , Number fAttachId)
AplLobsAttachVOImpl VOImpl = (AplLobsAttachVOImpl)getAplLobsAttachVO1();
System.out.println("In setUploadFileRowData method");
System.out.println("In setUploadFileRowData method fAttachId: "+fAttachId);
System.out.println("In setUploadFileRowData method fName: "+fName);
System.out.println("In setUploadFileRowData method fContentType: "+fContentType);
RowSetIterator rowIter = VOImpl.createRowSetIterator("rowIter");
while (rowIter.hasNext())
AplLobsAttachVORowImpl viewRow = (AplLobsAttachVORowImpl)rowIter.next();
viewRow.setFileContentType(fContentType);
viewRow.setFileData(fileData);
viewRow.setFileFormat("IGNORE");
viewRow.setFileName(fName);
rowIter.closeRowSetIterator();
System.out.println("setting on fndlobs done");
The attchemnt id is the sequence generated number, and its defaulting logic is written in EO
public void create(AttributeList attributeList) {
super.create(attributeList);
OADBTransaction transaction = getOADBTransaction();
Number attachmentId = transaction.getSequenceValue("xxapl_po_ship_attch_s");
setAttachmentId(attachmentId);
public void setAttachmentId(Number value) {
System.out.println("In ShipmentsEOImpl value::"+value);
if (getAttachmentId() != null)
System.out.println("In AplLobsAttachEOImpl AttachmentId::"+(Number)getAttachmentId());
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AttachmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
if (value != null)
// Attachment ID must be unique. To verify this, you must check both the
// entity cache and the database. In this case, it's appropriate
// to use findByPrimaryKey() because you're unlikely to get a match, and
// and are therefore unlikely to pull a bunch of large objects into memory.
// Note that findByPrimaryKey() is guaranteed to check all AplLobsAttachment.
// First it checks the entity cache, then it checks the database.
OADBTransaction transaction = getOADBTransaction();
Object[] attachmentKey = {value};
EntityDefImpl attachDefinition = AplLobsAttachEOImpl.getDefinitionObject();
AplLobsAttachEOImpl attachment =
(AplLobsAttachEOImpl)attachDefinition.findByPrimaryKey(transaction, new Key(attachmentKey));
if (attachment != null)
throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
getEntityDef().getFullName(), // EO name
getPrimaryKey(), // EO PK
"AttachmentId", // Attribute Name
value, // Attribute value
"AK", // Message product short name
"FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
setAttributeInternal(ATTACHMENTID, value);
Issue faced:
When i run the page for the first time data gets inserted into custom table perfectly on clicking upload button,
but when clicked on add another button on the same page (which basically redirects to the same upload page and increments the attachment id by 1)
i am getting the below error:
Error
Unable to perform transaction on the record.
Cause: The record contains stale data. The record has been modified by another user.
Action: Cancel the transaction and re-query the record to get the new data.
Have spent entire day to resolve this issue but no luck.
Any help on this will be appreciated, let me know if i am going wrong anywhere.
Thanks nd Regards
AvinashHi,
After, inserting the values please re-execute the VO query.
Also, try to redirect the page with no AM retension
Thanks,
Gaurav -
Frm-40505:ORACLE error: unable to perform query in oracle forms 10g
Hi,
I get error frm-40505:ORACLE error: unable to perform query on oracle form in 10g environment, but the same form works properly in 6i.
Please let me know what do i need to do to correct this problem.
Regards,
PriyaHi everyone,
I have block created on view V_LE_USID_1L (which gives the error frm-40505) . We don't need any updation on this block, so the property 'updateallowed' is set to 'NO'.
To fix this error I modified 'Keymode' property, set it to 'updatable' from 'automatic'. This change solved the problem with frm-40505 but it leads one more problem.
The datablock v_le_usid_1l allows user to enter the text (i.e. updated the field), when the data is saved, no message is shown. When the data is refreshed on the screen, the change done previously on the block will not be seen (this is because the block updateallowed is set to NO), how do we stop the fields of the block being editable?
We don't want to go ahead with this solution as, we might find several similar screens nad its diff to modify each one of them individually. When they work properly in 6i, what it doesn't in 10g? does it require any registry setting?
Regards,
Priya -
Unable to perform the request error while selecting completed tasks in UWL
Hi,
When user is selecting the Completed Task in the UWL, the below error is displaying
error: Unable to perform the request. Try again and if the problem persists, inform your system administrator.
While selecting completed tasks in the drop down, it is showing "Completed Tasks(30)". But after selecting "Completed Tasks(30)" from the drop down, the above error message is getting.
How can we resolve this??
Note: We are using EP 7.0 SP 17. When I checked in sdn, I found that there is a problem with completed tasks earlier to sp14. But in SP14, this issue was fixed. But why we are facing this issue?
Thanks,
VVHi,
Please let us know if you can found any relevant logs on
1) dafault.trc file
<Drive>:\usr\sap\<sys-id>\JC<inst-no>\j2ee\cluster\server0\log\
2) UWL logs:
usr\sap\<version>\JC00\j2ee\cluster\server0\log\applications\sap.com\u
wl
Also Have a look on note 1120556.
Please remember to evaluate the replays, this incentive the SDN to keep growing,
regards,
Fabio -
Hello, I've just bought a Mac compatible Passport Air external hard drive, which is supposed to be compatible with the OS I am using (Mountain Lion) but I keep getting an error message saying Unable to complete backup. An error occurred while creting the backup folder. I've tried all the help suggestions, but nothing with this actual message comes up - it appears to be partititioned correctly etc, so don't know what I'm doing wrong - any help would be greatly appreciated thank you.
Were you not plugged in via USB to begin with?
I would recommend performing some resets just to be on the safe side. Unplug the external HD, and try these steps:
http://support.apple.com/kb/HT3964
http://support.apple.com/kb/HT1379 -
On 11/1/2011, Time Machine (TM) terminated with an error message I did not record. I noted that the drive was full and decided to do a separate complete bootable system backup using Carbon Copy Clone (CCC), before clearing the TM volume and trying to start it over clean. Part way through the full system backup CCC put up a message that there was a Physical Problem "Library/Application Support/Techtool Protection/McIntosh HD/Directory Backup 2011-11-01-16-28-16". That was about the time that TM malfunctioned, so I assumed they were related. After starting CCC over a couple of times, and getting the same error message, I let it go through to completion of the backup, which took three or four hours. I then ran tests using Disk Utility and verified that there was nothing physically wrong with both the internal hard drive and the TM volume. I also erased and reformatted the TM volume. However, every time I started Time Machine, it would record a few GB and terminate with "Unable to complete backup. An error occurred while copying files to the backup volume". I restarted the computer with no change in results. Note that prior to starting the CCC backup, I "Repaired Permissions", "zapped the PRAM" and "re-set the SMC", hoping to have a clean bootable system on the backup. I ran Techtool and no problems were found.
I'm running this on an Intel iMac under 10.5.8 and recording to a 500GB My Passport drive. My hard drive is only about half full at 246 GB. My assessment is that something happened at 16-28-16 on 11/1/2001 to screwup the Backup Directory in the file at "Library/Application Support/Techtool Protection/McIntosh HD/Directory Backup 2011-11-01-16-28-16". My question is, how do I fix it?
I had just completed writing everything above here, explaining the problems I had been encountering for the past 24 hours. I had the Time Machine window standing open on the desktop where I could see it, having recentlycleared it after the last termination. As I was proofing what I had written, I looked at the window and noted that the clock had started a new run for a full back up, since all prior efforts had failed and the TM volume was empty. As I watched and waited for it to fail again, as it had been doing at about 13 GB, it kept going and going until it just finished a complete backup, about 4.5 hours later, with my having done nothing. Now my question would have to be - what could possiibly have happened to make it perform this way? It will be interesting to see if it continue to operate normally, or if the problem will return, in a later backup run.jcm21 wrote:
CCC put up a message that there was a Physical Problem "Library/Application Support/Techtool Protection/McIntosh HD/Directory Backup 2011-11-01-16-28-16"
You should not keep those files for long, and probably shouldn't back them up (if you need them at all -- since you do regular backups, I'm doubtful just how worthwhile that feature is).
"Unable to complete backup. An error occurred while copying files to the backup volume".
One of Apple's maddeningly incomplete messages. Most likely, there's a problem with a file (quite possibly the one CCC didn't like). See #C3 in Time Machine - Troubleshooting for details and instructions on finding and fixing it.
If you continue running the Directory Protection app, be sure to exclude your Time Machine drive from it (as it will just take up lots of room, and won't help repair your backups if there's a problem); and exclude the folders it creates from being backed-up by Time Machine (as they'll create large backups, and you probably can't use the backed-up folders anyway), per #10 in Time Machine - Frequently Asked Questions. -
FRM-40505 Oracle Error: Unable to perform query(URGENT)
Hi I developed a form with a control_block and table_block(based on table)
in same Canvas.
Based on values on control_block and pressing Find button detail block will be queried.
Control_block ->
textitem name "payment_type" char type
text item name "class_code " char type
push button "find"
base table: --> payment_terms(termid,payment_type,class_code,other colums)
table_block is based on above table
Now I have written when-button-pressed trigger on find button..
declare
l_search varchar2(100);
BEGIN
l_search := 'payment_type='|| :control_block .payment_type||' AND class_code='||:control_block .class_code ;
SET_BLOCK_PROPERTY('table_block',DEFAULT_WHERE,l_search);
go_block('table_block');
EXECUTE_QUERY;
EXCEPTION
when others then
null;
END;
I am getting
FRM-40505 Oracle Error: Unable to perform query
please help..You don't need to build the default_where at run time. Just hard-code the WHERE Clause property as:
column_x = :PARAMETER.X
But, if for some compelling reason, you MUST do it at run time this should work:
Set_block_property('MYBLOCK',Default_where,
'COLUMN_X=:PARAMETER.X');
Note that there are NO quotes except for first and last. If you get some sort of error when you query, you should actually see :Parameter.X replaced with :1 when you do Help, Display Error. -
My iTunes won't recognize my iPod 3GS!!! HELP! I had recently updated my iTunes and now upon plugging in my iPod iTunes comes up with a error message. Leaving me unable to sync anything! HELP!
What is the exact error message you are receiving?
B-rock -
Experts,
Please help me out here,Am facing this issue while scheduling a job in BIPublisher.
job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name
Thanks,You are probably installing on a hardened machine.
The "installation guide" says that if you are doing so, you need to create a file named libx11.so.4 and update your LD_LIBRARY_PATH (see http://docs.iplanet.com/docs/manuals/messaging/ims52/ig/unix/overview.htm)but:
1- the library name is libX11.so.4 and
2- for jre a common file is not enough, you need to install SUNWxwplt at least. This will install the library on /usr/openwin/lib.
You can check the results running <server-root>/bin/base/jre/bin/jre
Hope that helps and sorry about my poor english. -
I tried to update software on my Iphone 3 from Itunes after i managed to sync phone to laptop but then i had a message (error 1015) after completing saying itunes has detected an iphone in recovery mode, i am now unable to do anything with my phone, please help!!
You generally get that error code on a jailbroken phone ?
If it is Jailbroken then I am afraid you will get no help here.
Maybe you are looking for
-
Functional and Technical Administration Roles in Solution Manager
Hello A big company has been implementing new functionality in Solution Manager during the last couple of years, they started with System Monitoring and EWA, Maintenance Optimizar, then Project Implementation, now Service Desk and ChaRM. This is co
-
Issue with child and parnet table
how i can identified that which table is chiald and which one is parent table.
-
I use Apple TV's screen saver with a file in my photo library. I believe it is first generation or second Apple TV - not the newest one. If I install newest update - will that change anything with my using this, my favorite feature? I have just und
-
Why can't I buy books with iBooks on my iPad?
I attempt to purchase books with iBooks on my iPad. I can neither purchase the book by clicking on the price nor download a sample. I have no problem purchasing items on iTunes Store and internet connection is fine. This problem has persisted for sev
-
Is there a way to set the recording level in my iPhone? I'm trying to record live music and can't get a recording that isn't distorted. I've tried several apps that have an input level control, but the recordings end up just as distorted but quiete