Unsupporten operation exception
I use MySQL on XP with the latest MyODBC (stable and development), jsdk1.4.1 and Forte.
Blob blob = result_set.getBlob("pic");
gives me a
java.lang.UnsupportedOperationException
at sun.jdbc.odbc.JdbcOdbcResultSet.getBlob(JdbcOdbcResultSet.java:4219)
The blob is a standard 'blob' in MySQL and the excecution statement goes fine.
I hope somebody know this because I can not find any clue anywhere. I followed the example in jGuru, so I thought it would work...
Thanks for your help.
Dragos
Hi,
JDBC is a specification which tell what all methods could be called on a specific database object. In ResultSet interface, it is said that getBlob() could be called to return Blob data from backend storage. But the jdbc driver which u are using, haven't implemented the getBlob() method; instead, it throws an "Unsupported operation" exception. Workaround is to choose a driver other than the one u are using (and has implemeneted these methods properly) or try using other functions instead of getBlob(). Hope this helps..
regards Stallon
Similar Messages
-
PDF render operation exception
Dear Colleagues,
I had a table on PDF(interactive form) if i use cardinality 1..n i am getting some dump after execution of wda.
when i investigate by debuging the PDF Function module i found the follwind exeception.
i don't have any interger fields in my Table Node.. all are CHAR and CURR fields only.
the same way it is working for other table. (here also i was having INT1 field then i change to NUMC or CHAR is is working
please help.
ADS: com.adobe.ProcessingException: XMLFM Exception - PDF render operation exception, reason code: 29216 : Invalid value: '0.00' for 'integer' property; [Error Log file "2008.12.16.154549SAFPMAHESH.pdf" written to /usr/sap/D01/SYS/global/AdobeDocumentServ
Thanks,
Mahesh.GattuDear Friends,
I have debuged for further to investigate the issue..
there is one function call
CALL FUNCTION 'FPCOMP_CREATE_PDX' in this include 'LFPCOMPFRM'.
this is returning sy-subrc = 1 if i keep cardinaltiy 1..n in case cardinaltiy 0..n it is returning sy-subrc = 0.
but i need to initialize the table for that i need to user cardinaltiy 1..n or i need to user the bind_table in initilization.
please help me if you have any idea to fix this issue.
Thanks,
Mahesh.Gattu -
Online Adobe WD ABAP-PDF render operation exception, InvalidXDPException
Hi,
I have a online interactive form in WD ABAP. I want to save this form in background in a spool. For this, I am using methods of the inteface IF_FP_PDF_OBJECT. Here is my code.
Get Template
try.
cl_fp_wb_helper=>form_layout_exists( i_name = p_xdp ).
catch cx_fp_api_usage.
catch cx_fp_api_repository into l_except.
if l_except->textid =
cx_fp_api_repository=>object_already_exists.
l_xdp = cl_fp_wb_helper=>form_layout_url( i_name = p_xdp
i_dest_path = 'X' ).
endif.
endtry.
l_pdfobj->set_template( xftfile = l_xdp ). " Set Template
l_pdfobj->set_data( formdata = lv_pdfstring ). " lv_pdfstring is the pdfsource on adobe UI Element
l_pdfobj->set_task_renderpdf( ).
l_pdfobj->set_task_renderpdl( pdltype = 'pdf'
xdcname = l_xdcname ).
l_pdfobj->execute( ). " Execute
call method l_pdfobj->get_pdl
importing pdldata = out_pdldata
renderpagecount = pdlcount.
For the execute method, I get the exception ADS: com.adobe.ProcessingException: XMLFM Exception - PDF render operation exception, reason code: 0 : InvalidXDPException: Unsupported file format(200101).
Does anyone know what is wrong here?The error is because of the PDF format is not suitable....
I don't know how to solve this issue in wdabap .... please try with another pdf template if it is possible.
Thanks and Regards
shanto aloor -
ADS - render operation exception error - XMLFM Exception
Hello,
I am getting the following error on JAVA ADS whenever we use ADS. THis is coming sporadically, not all the time. daily we are getting this error around 10 to 20 times.
ECM Job runs on ABAP side which call ADS running on different host. ADS configuration is correct as same job works fine 80% of time.
Servers are also not over loaded.
Here is the log file
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:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.adobe.ProcessingException: XMLFM Exception - PDF render operation exception, reason code: 0 : Unhandled exception in RenderAll; [Error Log file "2010.02.16.153456SAFPRM99078.pdf" written to /usr/sap/ECP/SYS/global//AdobeDocumentServices/renderErrorLog/errorFiles]
at com.adobe.ads.operation.Render.execute(Unknown Source)
at com.adobe.ads.operation.ADSOperation.doWork(Unknown Source)
... 29 more
Caused by: com.adobe.ProcessingException: XMLFM Exception - PDF render operation exception, reason code: 0 : Unhandled exception in RenderAll
at com.adobe.ads.operation.support.RemoteRenderer.renderAllRemote(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown Source)
at com.adobe.ads.operation.support.RemoteRenderer.renderAll(Unknown Source)
at com.adobe.ads.operation.Render.renderWithoutCache(Unknown Source)
... 31 more
Caused by: com.adobe.document.xmlform.RenderException: IDL:com/adobe/document/xmlform/RenderException:1.0
at com.adobe.document.xmlform.RenderExceptionHelper.read(Unknown Source)
at com.adobe.document.xmlform._FormFactoryStub.renderAll(Unknown Source)
... 35 more
There are lot of posts for this kind of error but no one has suggested any solutions. We are NW2004 S 7.01 SP3.
Any help ?
Thanks!I also looked at server.log and it throws unable to allocate memory error
#1.5^H#0003BA39F793002800004DA20000178200047E8C0AFEE50F#1265039851840#/System/Server/comadobedocumentXMLFormService##com.adobe.document.XMLFormService#Guest#0
##n/a##817614000f4a11df81930003ba39f793#SAPEngine_Application_Thread[impl:3]_29##0#0#Fatal#1#com.adobe.document.XMLFormService#Plain###$$$/com/adobe/document/
xmlform/msg.XFA=XMLForm, renderAll : 16583, Unable to allocate memory#
Not sure which memory it is ? -
ADFv: Unsupported operation exception.
Hi ,
I am using for development my newly application as JDeveloper11gR2/ADF11g
Currently I am getting Error When I doing Multiple row selection(select all row) by pressing Ctrl+A then a error shows as "ADFv: Unsupported operation exception." . But it works selected all row after prompting that error! :)
I have search over google but did not find any solution .
Did any one faced such problem? Please let me know with your solution .
Jun 30, 2009 10:17:46 PM oracle.adfinternal.view.faces.config.rich.Registration1Configurator handleError
SEVERE: Server Exception during PPR, #3
java.lang.UnsupportedOperationException: ADFv: Unsupported operation exception.
at oracle.adfinternal.view.faces.model.binding.CurrencyRowKeySet.invertAll(CurrencyRowKeySet.java:95)
at oracle.adfinternal.view.faces.renderkit.rich.TableRendererUtils.decodeSelectedRowKeys(TableRendererUtils.java:448)
at oracle.adfinternal.view.faces.renderkit.rich.table.BaseTableRenderer.decodeIncompatiblePropertyKey(BaseTableRenderer.java:208)
at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:203)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1089)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:714)
at org.apache.myfaces.trinidad.component.UIXTable.decode(UIXTable.java:136)
at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1113)
at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1030)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at org.apache.myfaces.trinidad.component.UIXDecorateCollection.invokeOnComponent(UIXDecorateCollection.java:137)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:153)
at oracle.adf.view.rich.component.fragment.UIXPageTemplate.invokeOnComponent(UIXPageTemplate.java:208)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:664)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:303)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:181)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:85)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:257)
at oracle.security.jps.wls.JpsWlsSubjectResolver.runJaasMode(JpsWlsSubjectResolver.java:250)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:100)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:65)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Please Help me!
Regards
zakir
===Based on the following note in JDeveloper 11g User Guide, i have removed the property settings for selectionListener and selectedRowKeys propery value in the table where multiple selection is enabled. These proper settings are set by default as the signle row selection is table's default behaviour. Removing these property values are fixed the error.
Note: You should not select the Row Selection checkbox, because
when you do, JDeveloper automatically binds the
selectionListener attribute to the makeCurrent method on the
CollectionModel class and the selectedRowKeys attribute to the
selectedRow property on that class. Both are designed to work only
for single selection tables. Make sure that for any table for which you
need multiple selection, that neither of these attributes are populated.
Thanks
Annadurai. -
when i log on to the Database Control on a linux machine and enter OS password oracle userand sys pasword it display remote Operation exception. what could be the cause
I just installed oracle 10g release for windows. However during the installation process I get an error stating (Oracle Configuration Assistant "failed")
The error message looked like (ORA-12560:TNS:protocol adapter error).
Any Ideas. -
Virtual machine - keyboard operation exception by Vsphere client 5.1
1. Install the Vsphere client 5.1 on local PC (Win7).
2. Visit the servers on ESxi-5.1 using Vsphere client.
3. keyboard operation exception, for example, open the browser and press the [w] key, then the browser closed; left-click the icon on the desktop, the icon was selected, etc...
4. check the event log on local pc(Win7), error log list in the below:
Log Name: Application
Source: Application Error
Date: 2014/3/13 9:47:40
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Description:
Faulting application name: vmware-vmrc.exe, version: 8.0.0.20447, time stamp: 0x5000cb95
Faulting module name: vmwarecui.dll, version: 8.0.0.20447, time stamp: 0x5000ca42
Exception code: 0xc0000005
Fault offset: 0x002f7a73
Faulting process id: 0x2610
Faulting application start time: 0x01cf3e5e26c56546
Faulting application path: C:\Program Files (x86)\Common Files\VMware\VMware Remote Console Plug-in 5.1\Internet Explorer\vmware-vmrc.exe
Faulting module path: C:\Program Files (x86)\Common Files\VMware\VMware Remote Console Plug-in 5.1\Internet Explorer\vmwarecui.dll
Report Id: 75a10df9-aa51-11e3-9706-d8215aeee3b6
Event Xml:
<Event xmlns. (links)">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-03-13T01:47:40.000000000Z" />
<EventRecordID>54912</EventRecordID>
<Channel>Application</Channel>
<Security />
</System>
<EventData>
<Data>vmware-vmrc.exe</Data>
<Data>8.0.0.20447</Data>
<Data>5000cb95</Data>
<Data>vmwarecui.dll</Data>
<Data>8.0.0.20447</Data>
<Data>5000ca42</Data>
<Data>c0000005</Data>
<Data>002f7a73</Data>
<Data>2610</Data>
<Data>01cf3e5e26c56546</Data>
<Data>C:\Program Files (x86)\Common Files\VMware\VMware Remote Console Plug-in 5.1\Internet Explorer\vmware-vmrc.exe</Data>
<Data>C:\Program Files (x86)\Common Files\VMware\VMware Remote Console Plug-in 5.1\Internet Explorer\vmwarecui.dll</Data>
<Data>75a10df9-aa51-11e3-9706-d8215aeee3b6</Data>
</EventData>
</Event>
Addtional Info:
Install the Vsphere client 4.1 on local PC (Win7) works well.
Look forward to your help and thanks in advance.
The event log display once I open the Vsphere client, and re-install the App, this issue also exist.Probably want to go to VMware for support for their products. This forum is specifically for Microsoft Virtual Server 2005.
http://www.vmware.com/support.html -
"there were not enough threads in the threadpool object to complete the operation" exception
Post Author: crystalmatrix
CA Forum: .NET
I have a WinForm application using a Crystal Report Viewer control that in turn connects to a CR web service to display report. The client side application runs on WinXP SP1 with .Net framework 1.1, and the server is Win2k with ASP.Net 1.1. I am using CR XI out of the box.
Users would periodically get "there were not enough threads in the threadpool object to complete the operation." exception when trying to launch the report viewer connected to the web service. The web service is a standard example implementation derived from CrystalDecisions.Web.Services.ReportServiceBase class. The problem usually happens when the user tries to open multiple report viewer forms, but once they get the error, it would continue to happen even after the user shuts down all viewer forms and then tries to launch a new one.
There are some posts on the web regarding multiple asynchronous HttpWebRequest draining threadpool when running simultaneously and each one taking a long time to complete. However, our reports all run pretty quickly and results are usually returned before the next report starts to run. So my question is: does Crystal Report Viewer control has a problem with web service in that it may hold the HttpWebRequest thread even after the report is returned, or any other problem that may prevents the asynchronous thread being released back to the Threadpool? Anyone has experienced similar problems and has a workaround?
Any advice is appreciated.Find your serial number quickly
-
I am getting an exception near computerSettings.Put();Its throwing an exception as You do not have security rights to perform this operation..Can i know exactly when does this error occur..
Details of Error:
ConfigMgr Error Object:
instance of SMS_ExtendedStatus
CauseInfo = "5";
Description = "CSspMachineExtProperties: ERROR_ACCESS_DENIED: ";
ErrorCode = 1112017925;
File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\sspmachineextprops.cpp";
Line = 958;
ObjectInfo = "";
Operation = "PutInstance";
ParameterInfo = "";
ProviderName = "ExtnProv";
StatusCode = 2147749889;
stack trace:
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put(ReportProgress progressReport)
at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlResultObject.Put()
at TestWqlManage.Program.CreateComputerVariable(WqlConnectionManager connection, String siteCode, List`1 variables, Int32 computerId) in /path/path/path
ComputerVariable Method where exception occurs
public static string CreateComputerVariable(WqlConnectionManager connection, string siteCode, List<ComputerVariableDC> variables, int computerId)
try
// Get the computer settings.
IResultObject computerSettings = null;
IResultObject computerSettingsQuery = connection.QueryProcessor.ExecuteQuery(
"Select * from SMS_MachineSettings where ResourceId = '" + computerId + "'");
foreach (IResultObject settings in computerSettingsQuery)
computerSettings = settings;
if (computerSettings == null) // It doesn't exist, so create it.
computerSettings = connection.CreateInstance(@"SMS_MachineSettings");
computerSettings["ResourceID"].IntegerValue = computerId;
computerSettings["SourceSite"].StringValue = siteCode;
computerSettings["LocaleID"].IntegerValue = 1033;
computerSettings.Put();
computerSettings.Get();
// Create the computer variable.
List<IResultObject> computerVariables = computerSettings.GetArrayItems("MachineVariables");
foreach (ComputerVariableDC variable in variables)
IResultObject computerVariable = connection.CreateEmbeddedObjectInstance("SMS_MachineVariable");
computerVariable["Name"].StringValue = variable.Name;
computerVariable["Value"].StringValue = variable.Value;
computerVariable["IsMasked"].BooleanValue = false;
computerVariables.Add(computerVariable);
computerSettings.SetArrayItems("MachineVariables", computerVariables);
computerSettings.Put();
return computerId.ToString();
catch (SmsException e)
Console.WriteLine("Failed to create computer variable: " + e.Message);
//throw;
//return e.Message;
throw e;Hi,
What's the error when you create a computer variable manually?
Please make sure you have give "Modify Resource" permission to this user. You could see it in Administration workspace -> Security -> Security Roles -> Full Administrator -> Collections -> Modify Resource.
Best Regards,
Joyce
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
ClassNotFoundException error for Business Operation Exceptions
I am using WLPI 2.0 with Weblogic 6.0.
I have written a business operation that calls a method in a java class which
throws an exception. When
I perform the business operation and pass good data, it does what is expected.
However, when I call
the method with bad data and the method has to throw the exception, the method
in the java class
throws the exception but WLPI opens a dialog with the error ClassNotFoundException
with the name of
the fully qualified exception class that I threw.
I have tried putting the class files in a jar file and including the jar file
in the CLASSPATH of the WLI
server as well as leaving the classes in a subdirectory and including the subdirectory
in the CLASSPATH.
WLPI has no problem find the class that performs the business process, however,
it can't find the
Exception class (which is in the same directory) that the business process class
throws when there is a
failure. I have the same package names in both files, so I'm not sure why it is
not finding it.
Can anyone think of what "t" I don't have crossed?
My calls and definition of the business operation looks almost exactly like one
of the examples. I just
seem to be missing one little thing.
EddieFolks,
Never mind. I had the CLASSPATH in the WLPI server set, but
didn't realize you had to update the worklist classpath as well.
I would have realized this if the worklist would have needed the
external class I was calling in the business operation, but now
see how the worklist must have at least the exception class.
Eddie
"Eddie Arnold" <[email protected]> wrote:
>
I am using WLPI 2.0 with Weblogic 6.0.
I have written a business operation that calls a method in a java class
which
throws an exception. When
I perform the business operation and pass good data, it does what is
expected.
However, when I call
the method with bad data and the method has to throw the exception, the
method
in the java class
throws the exception but WLPI opens a dialog with the error ClassNotFoundException
with the name of
the fully qualified exception class that I threw.
I have tried putting the class files in a jar file and including the
jar file
in the CLASSPATH of the WLI
server as well as leaving the classes in a subdirectory and including
the subdirectory
in the CLASSPATH.
WLPI has no problem find the class that performs the business process,
however,
it can't find the
Exception class (which is in the same directory) that the business process
class
throws when there is a
failure. I have the same package names in both files, so I'm not sure
why it is
not finding it.
Can anyone think of what "t" I don't have crossed?
My calls and definition of the business operation looks almost exactly
like one
of the examples. I just
seem to be missing one little thing.
Eddie -
Set operations & tables with different columns
I have a problem. I have 3 tables - Countries, Locations & Departments. I want to output the country_id and country_name from the countries tables for countries that have no departments. Locations has country_id and location_id columns and departments has location_id and department_id columns. All is in Database 11g. I can produce a table which gives me the locations with departments or without departments as follows:
select location_id from locations intersect select location_id from departments;
This gives me a list of locations with departments. Conversely I can get a list of locations without departments as follows:
select location_id from locations minus select location_id from departments;
However, to combine this output with the countries table I need to produce country_id in the output. However, when I try to add country_id to my code from above as follows:
select country_id, location_id from locations intersect select to_char(null), location_id from departments;
I get no rows found. I understand why. There is no intersection between country_id in locations and the null output from departments (where there is no country_id column). Alternatively, if I try as follow:
select country_id, location_id from locations minus select to_char(null), location_id from departments;
I get rows with every country_id whether they have departments or not. Again, I understand why. I am essentially subtracting nothing (the to_char(null) from departments) from the country_id column in locations and getting the entire country_id column as output.
How can I use set operations to produce the country_id column? I also do not want to show the location_id problem.
This problem is repeated when I try for the final country_id, country_name final output. The countries table has these columns. However, the locations table does not have the country_name column. It only has the country_id column. So a query such as this one:
select country_id, country_name from countries intersect country_id, to_char(null) from locations;
presents me with the same problem as above. The country_id column intersects nicely, but the country_name file does not intersect as it does not exist in the locations table. Again, how can I use set operations to produce the country_id and country_name columns.Hi,
the method I outlined for you above should be fine. It doesn't matter that there are one-to-many relationships which may cause repeated output rows; set operations (except for UNION ALL ) always return distinct rows.
Can you do a query on the countries table, that shows all countries?
Can you do a query involving all 3 tables inner-joined, that shows the countries that are related to locations and departments? (Repeated rows are okay.)
Then you can do a MINUS, to get only the countries that are not related to departments.
If you get stuck, post a little sample data (CREATE TABLE and INSERT statements), the results you want from tha data, your best attemptat a query, and a description of the problem (including the full error message, if any). -
CO11N operation wise confirmation inconsistency
Hi all,
I have a scenario like, 8 operations with last operation milestone confirmation in a production order. Letz say we have 500 as total target quantity and in operation 0010 they confirmed all 500 and from operation 0020 onwards they do partial confirmation say 20, 20, etc. At operation 0040 if they have yield of 19, they enter remaining 1 as quality notification (unplanned scrap)and continue to confirm next operation. In operation 0050 they have to enter yield as 19 only even though yield as 20 'coz they have opn adherence check (OPK4) active. As expected SAP thrown an error 'Up to yield 19, opn/0040 predecessor confirmed'. They just want to have a warning and continue enter 20 at opn 0040 and next successive opns. But I am afraid they can enter anything if they if we simply check that in OPK4 as warning message issued. Do we have any other solution other than changing in OPK4?
Another thing is how can they confirm 20 in operation 0030 and 40 in opn 0040, and some other number in opn 0050 though the target quantity is 500 which is being confirmed at the last operation?
I appreciate 4 your valuable suggestions ..
Thanks
Sree...Hi Vivek,
Thanks for your reply and Sorry for my late response..i Iwill explain the actuual business scenario :
We have total qty is 200 confirmation is done in 4 group 50 each.
For example we have Op10/confirmation optional,Op20/confirmation optional,Op30/confirmation optional and Op40/ milesstoine confirmation..All the Opns are confirmed through milestone atg last operation except in case there is scrap qty is present that particular opn is manually confirmed. For first group of 50, we have 49 yield + 1 scrap at Op20 which is maually confirmed. similarly it requires manual confirmation for all the groups weather are not scrap present for remaining groups. Business does not follow any Opn sequence like they may confirm group 1 at Op20 and froup 2 at Op40 and so on..there may be different quiantities confirmed at different steps of routing. For this I configured adherence check to warning but the requirement also include Op10 to be confirmed whenver Op20 is confirmed though none of them is milestone. Also Op20 to b confirmed whenever Op40 uis confirmed in step 2 or 3 or 4 though it was manually confimred for step 1. I have checked enahancements but none of them seem to satisfy the requirements. I really appreciate your suggestson to solve this one.
Thanks
Sree... -
Retrying Email Service fails for the stalled Operations:
Hi,
Some of the send email operations randomly fails due to invalid recipients address or some connectivity issues with SMTP server. Once we do the corrections to the service, and retry those stalled operations, its erring out with Java Nullpointer exception.
Stalled operations work fine for other operations except for email service. Is this a Engineering issue with the Adobe design or do we need to change any configuration settings to make that work?
Thanks for your time.
Regards,
KrishnaHi Aashish,
Thanks for the response. Yes, it works good for new operations. It fails with Null pointer exception if I retry the stalled ones after corrections.
This was the initial error -
Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, response: 421: com.adobe.idp.dsc.email.ConnectionFailedException: Failed to connect to email server: adobemailer@xxxxx. Reason: Could not connect to SMTP host: xxxxx, port: 25, response: 421
We corrected the problems with SMTP server and when we retried this stalled operation, this is what we see -
( Email has an attachment, I 'm thinking adobe is not catching up the attachments when I retry it again)
com.adobe.idp.DocumentError: com.adobe.idp.DocumentError: java.lang.IllegalStateException: No transaction
at com.adobe.idp.Document.getDataBuffer(Document.java:2134)
at com.adobe.idp.dsc.email.EmailServiceImpl.assembleAttachments(EmailServiceImpl.java:533)
at com.adobe.idp.dsc.email.EmailServiceImpl.setMessageBody(EmailServiceImpl.java:496)
at com.adobe.idp.dsc.email.EmailServiceImpl.sendWithMapOfAttachments(EmailServiceImpl.java:4 26)
at sun.reflect.GeneratedMethodAccessor7169.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
Regards,
Krishna -
ADS render exception , how to solve it?
Hi,
I got the following error when trying to test a adobe form in trans sfp using the Run button, could you pls tell me what's wrong there?
the form can be activated successuflly.
#Processing exception during a "Render" operation.#Request start time: Fri Feb 09 17:24:34 GMT+08:00 2007#com.adobe.ProcessingError: PDF render operation exception, reason code: 29411 : Failure to register $layout - $layout already exists.##Exception Stac
br.junHello,
Thank you for your response.
Where is the table : ADS_LICENSED_FORMS ?
When debug SAP, the error of java caused by is : com.adobe.document.xmlform.RenderException : IDL:com/adobe/document/xmlform/RenderException:1.0...
Thierry -
Getting exceptions while trying to set index
I'm trying to create an index using the following code:
NamedCache cache = this.getPrimaryDAO().getCache();
cache.addIndex(new ReflectionExtractor("getStateCode"), true, null);
I get the following Unsupported operation exception:
java.lang.UnsupportedOperationException
at com.tangosol.coherence.component.util.CacheHandler.addIndex(CacheHandler.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1)
at com.geico.oasis.coverage.VehicleCoverageDAOCacheImpl.populateCache(VehicleCoverageDAOCacheImpl.java:66)
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:324)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:163)
at $Proxy2.populateCache(Unknown Source)
at com.geico.oasis.cache.SimpleCacheExplorer.main(SimpleCacheExplorer.java:152)
I'm not sure why this exception occurs and can't find the classes
com.tangosol.coherence.component.util.CacheHandler and
com.tangosol.coherence.component.util.SafeNamedCache
in the javadoc.
I am absolutely positive that the "getStateCode" method exists in the cache objects.Gary,
Thanks for your help regarding the distributed scheme. I have another question regarding indexes.
I was able to add indexes to a cache. This cache holds objects which contain all the rows in one of our database tables.
I run a sql query using hibernate on the database table, and then run the same query using filters on the cache. I am not noticing a significant performance gain. Is there something I'm doing wrong?
Here's what I'm trying to do:QueryMap cache = (QueryMap)this.getPrimaryDAO().getCache();
Filter filterStateEq = new EqualsFilter("getStateCode", state);
Filter filterCompanyEq = new EqualsFilter("getCompanyCode", company);
Filter filterCoverageEq = new EqualsFilter("getCovCode", coverage);
Filter filterEffDateLE = new DateLessEqualsFilter("getEffectiveDate", effectiveDate);
Filter filterExpDateGE = new DateGreaterEqualsFilter("getExpirationDate", effectiveDate);
Filter filterAnd = new AllFilter(new Filter[]
{filterStateEq, filterCompanyEq, filterLobEq, filterEffDateLE, filterExpDateGE});
Set filteredSet = cache.keySet(filter);Basically I'm trying to simulate a sql query:
select * from <table> where state = <state@gt;
and company = <company>
and covcode = <covcode>
and ......
Maybe you are looking for
-
I have uninstalled and reinstalled 4 times, have added plugins to firefox and to no avail. I have contacted support twice, was disconnected once and the second time was told to uninstall and reinstall and my account was closed as fixed. I have rein
-
DMS Document Type - Repository
Hi Experts, Need a help. Is this possible to link DMS document type (created with help of DC20) with dedicated content repository (OAC0)? Regards Adam
-
How to get the coordinate of any character in just a single text frame?
I am using Illustrator CS5. Better solutions in c# language.
-
ABAP Runtime error when using RSPC
Hi Team, I am getting ABAP runtime error when using RSPC in my system.For the same user id in other systems this transaction is working fine.Pls help me. regds Sha
-
What is the difference between E-Series and Commun...
Both E-series and Communicators are business phones,then what is the difference between them? What is so special that there are two types of smartphones.