Problem in accessing huge data resultset
HI,
Am generating a weekly report in my code. My sql queries(query1 =18495 and query2=532000) results in 5.5 lacs of records. Given below is my code. Am using Jboss-4.2.x running on solaris 10. Oracle 9i is my backend DB . Using the driver version of Oracle JDBC Driver version - 9.0.2.0.0 with connection pool.
Below code was running successfully for long time but all of sudden it stopped working without any exception or error. The query 1 is getting executed successfully but while accessing the resultset its getting hanged without any exception even for 3 - 4 days. In my log am getting this message ""========SQL query1 execution completed ======" after that no exception or error. Query1 always constantly result in 18495 records only, here there is no dynamic data to the query. But in the query2 the date will be changed to the current date of the report day. The problem is the processing of resultset for query1 itself is got hanged.
Any one knows any other way to access this huge resultset in more effective way without failure.
Thanks in advance
Karthi
ArrayList reportList = new ArrayList();
buffer.append("SELECT SR.DEVICE_CONTACT , TO_CHAR(SR.PROVISION_DATE,'mm/dd/yyyy HH24:mi:ss') , ")
.append("(SELECT CD.CODE FROM CODE CD WHERE CD.CODE_ID = SR.SUBSCRIBER_STATUS) , TO_CHAR(UP.STATUS_EFFECTIVE_DATE,'mm/dd/yyyy HH24:mi:ss') , ")
.append("SR.DEVICE_TYPE, DECODE(SR.MAKE_MODEL_UPDATE,1,'Y','N') , (SELECT UDI.OS_VERSION FROM USER_DEVICE_INFORMATION UDI WHERE SR.SUBSCRIBER_ID = UDI.USER_ID) ,")
.append("(SELECT TO_CHAR(max(MD.LAST_MODIFIED_DATE),'mm/dd/yyyy HH24:mi:ss') FROM MENU_DOWNLOAD MD WHERE SR.DEVICE_CONTACT=MD.DEVICE_CONTACT) ")
.append("FROM SUBSCRIBER_REGISTRATION SR, USER_PROFILE UP WHERE SR.SUBSCRIBER_ID = UP.EXTERNAL_USER_ID AND (SR.PROVISION_DATE <= TO_DATE('10/26/2007 23:00:00','MM/dd/yyyy HH24:mi:ss'))");
preparedStatement = connection.prepareStatement(buffer.toString(),ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY );
//preparedStatement.setFetchSize(1000);
rs = preparedStatement.executeQuery();
Logger.log(ServerLogger.SEVERITY_DEBUG,THIS_CLASS,THIS_METHOD,
"========SQL query1 execution completed ======"+System.currentTimeMillis());
//rs.setFetchSize(100);
rs.setFetchSize(500);
while (rs.next())
ReportBean reportBean = new ReportBean();
reportBean .setMdn(rs.getString(1));
reportBean .setActivationDate(rs.getString(2));
reportBean .setSubscriberStatus(rs.getString(3));
reportBean .setLastUpdatedDateofStatus(rs.getString(4));
reportBean .setDeviceType(rs.getString(5));
reportBean .setPhoneChangeFlag(rs.getString(6));
reportBean .setDeviceOS(rs.getString(7));
reportBean .setLastActivityDate(rs.getString(8));
reportList.add(reportBean);
rs.close();
closeStatement(preparedStatement);
//query 2 block execution started
buffer= new StringBuffer();
buffer.append("SELECT SR.DEVICE_CONTACT , ")
.append("TO_CHAR(SR.PROVISION_DATE,'mm/dd/yyyy HH24:mi:ss') , ")
.append("(SELECT CD.CODE FROM CODE CD WHERE CD.CODE_ID = SR.SUBSCRIBER_STATUS) , ")
.append("TO_CHAR(UP.STATUS_EFFECTIVE_DATE,'mm/dd/yyyy HH24:mi:ss') , ")
.append("SR.DEVICE_TYPE, DECODE(SR.MAKE_MODEL_UPDATE,1,'Y','N') , ")
.append("(SELECT UDI.OS_VERSION FROM USER_DEVICE_INFORMATION UDI WHERE UP.USER_ID = UDI.USER_ID) ,")
.append("(SELECT TO_CHAR(MD.LAST_MODIFIED_DATE,'mm/dd/yyyy HH24:mi:ss') FROM MENU_DOWNLOAD MD ")
.append("WHERE UP.USER_ID=MD.USER_ID) FROM SUBSCRIBER_REGISTRATION SR,USER_PROFILE UP ")
.append("WHERE SR.SUBSCRIBER_ID = UP.EXTERNAL_USER_ID AND SR.PROVISION_DATE >TO_DATE('10/26/2007 23:00:00','MM/dd/yyyy HH24:mi:ss')")
.append("AND (SR.REQUEST_TIME <= TO_DATE('03/22/2009 00:01:00','MM/dd/yyyy HH24:mi:ss'))");
preparedStatement = connection.prepareStatement(buffer.toString(),ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_ONLY );
rs = preparedStatement.executeQuery();
revoLogger.log(ServerLogger.SEVERITY_DEBUG,THIS_CLASS,THIS_METHOD,
"========SQL query2 execution completed ======"+System.currentTimeMillis());
//rs.setFetchSize(100);
rs.setFetchSize(500);
while (rs.next())
ReportBean reportBean = new ReportBean();
reportBean .setMdn(rs.getString(1));
reportBean .setActivationDate(rs.getString(2));
reportBean .setSubscriberStatus(rs.getString(3));
reportBean .setLastUpdatedDateofStatus(rs.getString(4));
reportBean .setDeviceType(rs.getString(5));
reportBean .setPhoneChangeFlag(rs.getString(6));
reportBean .setDeviceOS(rs.getString(7));
reportBean .setLastActivityDate(rs.getString(8));
reportList.add(reportBean );
rs.close();
Similar Messages
-
Hi gurus, need your help.
When we run the query for the report we get an error in Web Intellegence .
This error may be two types. And their rotation occurs randomly.
First error: There is no memory available. Please close document to free memory (WIO 30280)
Second error: An internal error occurred while calling the 'processDPCommands' API. (ERR_WIS_30270)
When we try reopen WEB Intelligence, or reloading servers or machine, we have no any results and get error again.
I was try change different parametrs in universe designer for connection and universe, in central managment console for WEBI, but it's not solve problem
This query select data from huge table (4,7 million rows), and when I use limit for maximum rows in WEBI my report working correctly.
Is there any way to solve these problems associated with large data? What is invoke this problem when we try to get full data?
We use Business Objects Enterprise XI 3.1 version 12.4.0.966
Our system Windows Server R2 Enterprise 2008 SP1 (64-bit system), Processor Intel 2.67 GHz (2 processors), RAM 8 Gb.
Thanks.
RuslanHi Brad,
here we are talking about XI3.1 which has the limitations inherited from the operating system. as this blog post explains with plenty of details.
In BI4.0 you can leverage larger datasets without any problems however you need to properly size and configure the services.
There are several documents out there:
How to configure the APS http://scn.sap.com/docs/DOC-31711
Companion Guide
https://service.sap.com/~sapdownload/011000358700000307202011E/SBO_BI_4_0_Companion_V4.pdf
Web Intelligence Sizing Guide
https://service.sap.com/~sapdownload/011000358700001403692011E/BI_4_0_WEBI_NEW.pdf
Best regards,
Simone -
Problem in accessing HTML data
Hi Frens,
I m getting some html data from my servlet. But From Server
it is sending the data in html format. There, It is sending the
data in CDATA format. Here I get some problem in displaying the
data in Flex. I have following questions:
1. How can I parse that XML data into HTML data, Since that
data comes from many mail servers, I don't have idea, whether they
are properly formatted or not. I am getting this data in xml
format. How can i convert it back to HTML format?
2. The 2nd Problem is that it may contain some images also,
So will component is suitable for me to display the data? Example
is a mail, If it has some html data, along with images. Which
component is suitable for this?
Please help to get out this problem.
ThksIf I knew a data service was returning HTML to me, I would
use resultFormat="text" and just accept the data as-is. Then you
can assign it to the htmlText property of a TextArea.
The Flash Player has limited HTML capabilities. It can
display images using the <img> HTML tag.
Depending on your needs you might want to look at Apollo
which has an HTML UI component which can display real, complete
HTML. -
Problem with accessing apex_collection data
Hello,
I got a problem with a apex_collection. I'm trying to fill this collection within a loop threw a database-cursor. It's part of a process (on load - before header). It looks like following:
loop
FETCH curs_1 INTO l_key;
EXIT WHEN curs_1%NOTFOUND;
select v.name, p.price
into l_name, l_price
from table_1 v, table_2 p
where v.key = l_key
and p.fkey = v.key;
APEX_COLLECTION.ADD_MEMBER(p_collection_name => 'temp_collection',
p_c001 => to_char(l_key),
p_c002 => l_name,
p_c003 => to_char(l_price));
l_temp := l_temp||l_name||chr(10);
end loop;As you can see I'm filling a temporary variable (l_temp). When I display this variable within an element it shows the correct values. But when i make a select on the collection there is no data found in the report. The report is at the same page as the process. Query for the report is:
SELECT c001, c002
FROM APEX_collections
WHERE collection_name = 'temp_collection'I hope somebody can help.
Thank you in advance
SebastianAll collection names are allways UPPERCASE. If you use lowercase, it will not find it and no error message will be issued.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------ -
Problem in migrating huge data from mysql to oracle using OMWB.
I'm using OMWB to migrate my mysql db to oracle db.Mysql db contains some 43 tables and all of them were copied to oracle db except a table "as_db" which contains some 503 mb of data.The table contains 3 columns and two of them were integer type and one is of medium blob.While migrating i'm not getting any error.After migrating i opened the table in the oracle.The table alone created but there were no datas.But all other table contains data.
Then i generated the ctl file usiing SQL*loader for that particular table alone and tried to execute but it also fails by giving the Column size exceeds for blob.
How i handle this issue?
Thanks in Advance,
Jai.MLooks like you may have to save you blobs out as files and load them individually thru the sqlldr process. I know this has normally been done thru raw to blob
What way is your blob data being saved out in the extract data file.
Barry -
Problem accessing basic data types
Hi,
I am a newbie at using JNI so please don't mind if I am asking something trivial.
I have a JNI wrapper for a native C code. The C code is a Gtk+ application using GLib library. This library has it's own basic data types. For example, "gchar" corresponding to "char". I have generated the JNI Wrappers using the tool named "Swig" which is an interface between the C and other programming languages such as Java. What Swig has come up with is since "gchar" is not understood by it as "char" so it has taken the "gchar" as come Reference Type and generated another class for it. And instead of accepting simple char it is expecting a long.
Even if I pass a numerical value like 11111 after instantiating this newly generated gchar class while running the program the JVM is crashing complaining SIGSEGV recieved from the underlying libraries.
I am confused first of all since the error is not understood and secondly how can I tell the JNI that gchar is similar to char.
What approach should I follow to solve the problem that I am facing? Any feedback on this will be appreciated.
Thanks & RegardsAt run time you can see all the data........ like what i have shown...
but if you clearly see, DATE will be in the internal format..but if you print it, it will be in dd:mm:yyyy
can you suggest me if i have a dynamic field symbol (table data) ,,,, How can i convert data types dynamically..
if it is a static internal table i am achieving with WRITE TO statement.....but i have huge data in field symbols...
Instead of all these , please specify the exact problem your are facing . What is it with date field ? . In SAP while printing the internal format will be converted to external. What is your requirement with this date field?
My output looks some thing like this:
04 36876 15.09.2011 39600 1999
06 36960 15.09.2011 39600 2632
07 36874 15.09.2011 39541 9232
My expected output
04 36.876 15.09.2011 39.600 1.999
06 36.960 15.09.2011 39.600 2.632
07 36.874 15.09.2011 39.541 9.232
I dont see any problems mentioned in your date field. Both your actual and expected outputs reflects the same in date field.
In SCN you will only get solutions if your question is precise.
Kesav -
Problem while accessing a complex data type
hi,
I am getting a problem while accessing a complex data type
I have a wsdl as:
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="OutlookReminderService" targetNamespace="http://ws.aftek.com/outlook-reminder" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns2="http://ws.aftek.com/outlook-reminder/schemas" xmlns:ns3="http://java.sun.com/jax-rpc-ri/internal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.aftek.com/outlook-reminder" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <types>
- <schema targetNamespace="http://ws.aftek.com/outlook-reminder/schemas" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://ws.aftek.com/outlook-reminder/schemas" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<import namespace="http://java.sun.com/jax-rpc-ri/internal" />
- <complexType name="TaskVO">
- <sequence>
<element name="dueDate" type="long" />
<element name="percentageComplete" type="int" />
<element name="priorty" type="int" />
<element name="reminderDate" type="long" />
<element name="reminderSet" type="boolean" />
<element name="startDate" type="long" />
<element name="status" type="int" />
<element name="subject" type="string" />
<element name="taskId" type="string" />
</sequence>
</complexType>
- <complexType name="NoSuchUserException">
- <sequence>
<element name="message" type="string" />
</sequence>
</complexType>
- <complexType name="ArrayOfContactVO">
- <complexContent>
- <restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:ContactVO[]" />
</restriction>
</complexContent>
</complexType>
- <complexType name="ContactVO">
- <sequence>
<element name="birthDate" type="long" />
<element name="companyAddress" type="string" />
<element name="companyName" type="string" />
<element name="emailID1" type="string" />
<element name="emailID2" type="string" />
<element name="emailID3" type="string" />
<element name="faxNumber" type="string" />
<element name="firstName" type="string" />
<element name="homeAddress" type="string" />
<element name="lastName" type="string" />
<element name="middleName" type="string" />
<element name="mobileNumber" type="string" />
<element name="phoneNumber" type="string" />
<element name="workContactNumber" type="string" />
</sequence>
</complexType>
</schema>
- <schema targetNamespace="http://java.sun.com/jax-rpc-ri/internal" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://java.sun.com/jax-rpc-ri/internal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<import namespace="http://ws.aftek.com/outlook-reminder/schemas" />
- <complexType name="arrayList">
- <complexContent>
- <extension base="tns:list">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="list">
- <complexContent>
- <extension base="tns:collection">
<sequence />
</extension>
</complexContent>
</complexType>
- <complexType name="collection">
- <complexContent>
- <restriction base="soap11-enc:Array">
<attribute ref="soap11-enc:arrayType" wsdl:arrayType="anyType[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</types>
<message name="OutlookServer_addTaskResponse" />
- <message name="OutlookServer_getListResponse">
<part name="result" type="ns3:arrayList" />
</message>
- <message name="OutlookServer_getContactListResponse">
<part name="result" type="ns2:ArrayOfContactVO" />
</message>
- <message name="NoSuchUserException">
<part name="NoSuchUserException" type="ns2:NoSuchUserException" />
</message>
- <message name="OutlookServer_getContactList">
<part name="String_1" type="xsd:string" />
</message>
- <message name="OutlookServer_getList">
<part name="String_1" type="xsd:string" />
</message>
- <message name="OutlookServer_addTask">
<part name="String_1" type="xsd:string" />
<part name="TaskVO_2" type="ns2:TaskVO" />
</message>
- <message name="OutlookServer_reminderOccurredResponse">
<part name="result" type="xsd:boolean" />
</message>
- <message name="OutlookServer_reminderOccurred">
<part name="String_1" type="xsd:string" />
<part name="TaskVO_2" type="ns2:TaskVO" />
</message>
- <portType name="OutlookServer">
- <operation name="addTask" parameterOrder="String_1 TaskVO_2">
<input message="tns:OutlookServer_addTask" />
<output message="tns:OutlookServer_addTaskResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="getContactList" parameterOrder="String_1">
<input message="tns:OutlookServer_getContactList" />
<output message="tns:OutlookServer_getContactListResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="getList" parameterOrder="String_1">
<input message="tns:OutlookServer_getList" />
<output message="tns:OutlookServer_getListResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
- <operation name="reminderOccurred" parameterOrder="String_1 TaskVO_2">
<input message="tns:OutlookServer_reminderOccurred" />
<output message="tns:OutlookServer_reminderOccurredResponse" />
<fault message="tns:NoSuchUserException" name="NoSuchUserException" />
</operation>
</portType>
- <binding name="OutlookServerBinding" type="tns:OutlookServer">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="addTask">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="getContactList">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="getList">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
- <operation name="reminderOccurred">
<soap:operation soapAction="" />
- <input>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</input>
- <output>
<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</output>
- <fault name="NoSuchUserException">
<soap:fault encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" name="NoSuchUserException" namespace="http://ws.aftek.com/outlook-reminder" use="encoded" />
</fault>
</operation>
</binding>
- <service name="OutlookReminderService">
- <port binding="tns:OutlookServerBinding" name="OutlookServerPort">
<soap:address location="http://truptid:8080/outlook-reminder-service/outlook" />
</port>
</service>
</definitions>
My client is :
private static String BODY_NAMESPACE_VALUE = "http://ws.abc.com/outlook-reminder";
private static String ENCODING_STYLE_PROPERTY = "javax.xml.rpc.encodingstyle.namespace.uri";
private static String NS_XSD = "http://www.w3.org/2001/XMLSchema";
private static String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
try{
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(new QName("OutlookReminderService"));
QName port =new QName("OutlookReminderService","OutlookServerPort");
Call call =service.createCall(port);
call.setTargetEndpointAddress("http://localhost:8080/outlook-reminder-service/outlook?wsdl");
call.setProperty(Call.SOAPACTION_USE_PROPERTY, new Boolean(true));
call.setProperty(Call.SOAPACTION_URI_PROPERTY, "");
call.setProperty(ENCODING_STYLE_PROPERTY, URI_ENCODING);
call.getReturnType();
call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "getList"));
QName QNAME_TYPE_STRING = new QName(NS_XSD, "string");
call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN);
//http://ws.aftek.com/outlook-reminder/schemas
QName QNAME_TYPE_VO = new QName("http://schemas.xmlsoap.org/soap/encoding/", "Array");
System.out.println("Before Add Parameter");
// call.addParameter("result", QNAME_TYPE_VO, ParameterMode.OUT);
call.setReturnType(QNAME_TYPE_VO,ArrayList.class);
System.out.println("After Add Parameter");
Object[] params ={oUserVO.getUserName()};
oArrayList =(ArrayList)call.invoke(params);
System.out.println("After Invoked");
//System.out.println("invoked"+ arrayList);
catch(SOAPFaultException faultException)
moLogger.debug("SOAPFaultException : ", faultException);
catch(RemoteException oremoteException)
moLogger.debug("RemoteException", oremoteException);
catch(ServiceException oServiceException)
moLogger.debug("ServiceException", oServiceException); }
Error got is :
trailing block elements must have an id attribute
at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deserializeMultiRefObjects(SOAPDeserializationContext.java:81)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:239)
at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103)
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492)
at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:255)
at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
java.lang.NullPointerException
at com.ail.dhg.poc.business.dao.ContactDAO.getList(ContactDAO.java:277)
at com.ail.dhg.poc.business.facade.ContactFacade.getList(ContactFacade.java:189)
at com.ail.dhg.poc.business.AcceptInput.main(AcceptInput.java:72)
Message was edited by:
trupti_dUse lower case letters for your variable names (name, pwd). The code works then.
package com.bluenile.bean;
import java.io.*;
public class Bean1 implements Serializable
private String name="Uname";
private String pwd="Pword";
public String getName()
return name;
public String getPwd()
return pwd;
void setName(String name)
this.name = name;
void setPwd(String pwd)
this.pwd = pwd;
<HTML>
<BODY BGCOLOR="#FFFFFF">
<%@ page language="java" contentType="text/html" %>
<jsp:useBean id="b1" class="com.bluenile.bean.Bean1" />
<ul>
<li>Name : <jsp:getProperty name="b1" property="name" />
<li>Pwd : <jsp:getProperty name="b1" property="pwd" />
</ul>
</BODY>
</HTML> -
My iPhone is split from front panel on top, and back cover of my is swollen too. I am not able to use my phone and I cannot access my data in the phone. Please suggest what could be the cause of this problem?
It sounds like the battery might have gone bad, and is swelling and causing the symptoms you describe. Do not attempt to use the phone, but take it to Apple for evaluation.
-
Verizon Chat advises pdf attachment non-download from AOL email is a software problem and directs me to Apple Support. I see "can't access cellular data network" in an instant before the file's icon is replaced by the file's name. In Inbox three emails in a row show there is an attachment. My iPad 3rd gen. runs 7.1.
You have Acrobat Pro on your system. It will try to open PDFs, and of course it will fail. You must uninstall it. Then, you will need a PDF reader. So install Adobe Reader. That seems quite simple, but perhaps something is wrong. If anything goes wrong with these two steps (1) uninstall Acrobat Pro (2) install Adobe Reader, then please let us know the details.
-
Problem of security using ADO from Labview to connect to Access 2000 Data Base
I have a problem using ADO from Labview to connect to Access 2000 Data Base.
First I open a ADO_DB_Engine and create a Workspace as an ODBCDirect. After I execute the open_data_base using the workspace. Here you can specify the parameter connect with /type of connection / user / password.
The problem is the following:
Although you configure a password for the Administrator user in Access, you can read/writte to data base from Labview using ADO without any security and without putting the user and password in the parameter connect. I need to access with security to data base using users and permissions but it seems that the parameter connect does not operate.
I attach
you a example of the vis and database. Remember create a ODBC connect with BD3.mdb
Thanks a lot
Peter Mst
Attachments:
SECURITY.zip 70 KB
BD3.mdb 112 KBHi Kahn,
If you use ADODB_connection -> Connection.Open and set in connection string :
"Provider=Microsoft.Jet.OLEDB.4.0; Jet OLEDBystem Database=c:\.....\Protegida5.mdw; Password=pepe;user ID=jose; Data Source:c:\......\BD5.mdb";
and after connection.execute ->
INSERT INTO tabla1 VALUES (5,'XXX'
you will be able to access to the database with security using the provider=Microsoft.Jet.OLEDB.4.0. With this provider you have to use the path and the name of the database file c:\.....\mdb file. From this way the problem is solved. (SEE SAMPLE_ADO_W2_JET.VI).
BD5.mdb have the following administrator user: user:jose / passwordepe (Protegida5.mdw)
The problem is when you want to
use ODBC and DSN. The name of this ODBC Provider is MSDASQL;. If you use this type of connection you can not enter to the database I attach you.
This database has a new administrator owner. I deleted the default administrator. If you support the default administrator you can connect to database by ODBC / DSN but the security disappear because you can always enter to database with any password, user o PC.
FINALLY I HAVE 3 QUESTIONS FOR Application Engineers of National Instruments or someone who knows these subjects before deciding the best way to connect locally o remotely with security to Access from Labview:
1.- Is it possible to enter to Database BD5.mdb from ODBC and DSN with this owner?
2.- I want to connect remotely to Access database too. Is it possible to use Microsoft.Jet.OLEDB.4.0 using the path (.mdb file) without DSN?
3. Which is the optimal Provider for Microsoft Access?
I thank you beforehand for your technical support.
Peter Mst.
Attachments:
BD5.mdb 116 KB
Protegida5.mdw 112 KB
sample_ADO_W2_JET.vi 45 KB -
Problem in accessing data to remote pc
Hi,
I have a problem on accessing file on the remote pc, im using
coldfusion
then im trying to get file from a remote pc but its not
working im using
cfdirecrtory can somebody help me in my problem please...
Thanks in advance,,
johncheck that the user CF is running under has proper
permissions to access
the remote location. CF runs as a local user, so would not
normally
have access rights to remote locations...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com -
does oracle spatial can work with huge data, i am no trying to do overlay on two geometry column, one of them has more than twenty thousand record. I have valid these data but when i do overlay with SDO_GEOM.SDO_INTERSECTION() then the system halt without any responce, why ?????
I've found new solution. Use WebDocument for migration
-
ORA-12705: Cannot access NLS data files or invalid environment specified
Hi,
I am using Oracle 10g Express, ojdbc14.jar , apache tomcat 5 server on Linux (Fedora 6).
In CustDisp.JSP I have following code:
<%
try {
Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
out.println("JDBC driver loaded.<br>");
catch (ClassNotFoundException e) {
%>
error :<br>
<%=e.toString() %>
<%
String sql = "SELECT custid, fname, lname FROM customers";
try {
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
out.println("Connection made.<br><br>");
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sql);
%>
When Itry to access http://localhost:8080/jsps/CustDisp.jsp,I get following error:
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified.
When I display enviorenment parameters in this JSP, I get follwing:
JDBC driver loaded.
Oracle Home = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server
Language = en_US.UTF8
NLS Language = AMERICAN_AMERICA.AL32UTF8
Path = /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
Class Path = /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar
Charset = null
Home = /usr/share/tomcat5
Log Name = tomcat
LD LIB PATH = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib:/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar:
Locale = en_US
nls data directory : /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data
I have checked permissions for nls data folder, they are :
Owner: Oracle
Folder Access: Create and delete files
Group: Dba
Folder Access: Access files
Others
Folder Access: Access files
Execute: Allow executing file as program.
I have written a java program and used same drivers,customers table and connection i.e
Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
String sql = "SELECT custid, fname, lname FROM customers";
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
it works fine and displays customers.
Only when I try to access my CustDisp.JSP, I get
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified. Error.
Can some one please help me sorting out this problem?
Thanks in advance.
AQKHi,
Relevant code for CustDisp.JSP is given below:
<%@ page session="false" %>
<%@ page import="java.io.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.*" %>
<%@ page import="oracle.jdbc.*" %>
<%
try {
Class.forName ("oracle.jdbc.driver.OracleDriver").newInstance();
out.println("JDBC driver loaded.<br>");
catch (ClassNotFoundException e) {
%>
error :
<%=e.toString() %>
<%
String sql = "SELECT custid, fname, lname FROM customers";
try {
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:XE","myid", "mypassword");
out.println("Connection made.<br><br>");
Statement s = con.createStatement();
ResultSet rs = s.executeQuery(sql);
%>
Permissions for nls data folder
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/
are :
Owner: Oracle
Folder Access: Create and delete files
Group: tomcat
Folder Access: Access files
Others
Folder Access: Access files
Execute: Allow executing file as program.
In CustDisp.JSP I have following code which accesses ojdbc14.jar
// Check access to the nls data files.
cfile = "";
try{
File myfile = new File("/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/nls/data/ojdbc14.jar");
if (myfile.exists() == true){
cfile="ojdbc14.jar exists in the data directory. Its length is "+ myfile.length()+" It can be read =" myfile.canRead() " , can be written = " + myfile.canWrite();
}else{
cfile="ojdbc14.jar does not exist.";
catch (Exception er){
%>
error in reading file:<br>
<%=er.toString() %>
<%
This code gives following output:
File ojdbc14.jar exists in the data directory. Its length is 1536979 It can be read =true , can be written = false
Every things seems to be OK but when I try to access http://localhost:8080/jsps/CustDisp.jsp, Iget:
Sql Error:
java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified
Best regards.
AQK -
Unable to access the data and table fields from handheld
Hi,
I've created a Testing.sdf file on the local pc using SQL Server Management Studio, creating table, fields and insert some data. in local pc i can access the the data as normal. the problem is after i moved the file to handheld device i
cannot access the data within the table, it shown error 'Failed to retrieve data for this request. (Microsoft.SqlServer.SmoEnum)' . I tried to google it, but still got no solution.
Thanks,'Name Space
Imports System.Data.SqlServerCe
'String Connection
'Data Source = D:\SKUDWN3 .sdf'
Public Sub CreateDB(ByVal StrConn As String)
'Declaration
Dim cn As SqlCeConnection = Nothing
Dim cm As SqlCeCommand = Nothing
Dim SQLEngine As SqlCeEngine = Nothing
Dim rs As SqlCeResultSet = Nothing
Dim rec As SqlServerCe.SqlCeUpdatableRecord = Nothing
'Tables -
Const TB_SKUDWN3 As String = "SKUDWN3"
'Fields TB_SKUDWN3
Const FL_SKUDWN3_UPC As String = "UPC"
Const FL_SKUDWN3_SKU As String = "SKU"
Const FL_SKUDWN3_LD As String = "LD"
Const FL_SKUDWN3_SD As String = "SD"
Const FL_SKUDWN3_AN As String = "AN"
Const FL_SKUDWN3_Price As String = "Price"
Const FL_SKUDWN3_GST_FLAG As String = "GSTFLAG"
'Create Database
SQLEngine = New SqlCeEngine(StrConn)
SQLEngine.CreateDatabase()
SQLEngine.Dispose()
'Open Connection
If IsNothing(cn) Then cn = New SqlCeConnection(StrConn)
If cn.State = Data.ConnectionState.Closed Then cn.Open()
cm = cn.CreateCommand
'Create Table, Fields
cm.CommandText = "CREATE TABLE " & TB_SKUDWN3 & " (" & FL_SKUDWN3_UPC & " NVARCHAR (13)," & _
" " & FL_SKUDWN3_SKU & " NVARCHAR (9), " & FL_SKUDWN3_LD & " NVARCHAR(30)," & _
" " & FL_SKUDWN3_SD & " NVARCHAR (18), " & FL_SKUDWN3_AN & " NVARCHAR(15), " & _
" " & FL_SKUDWN3_Price & " NVARCHAR (10), " & FL_SKUDWN3_GST_FLAG & " BIT)"
cm.ExecuteNonQuery()
'Close Connection
cm = Nothing
If Not IsNothing(cn) Then
If cn.State = ConnectionState.Open Then cn.Close()
cn.Close()
cn.Dispose()
End If
End Sub
'The DB was successfully created, but after moving to Handheld the fields of table can't be accessed -
Unable to access the data from Data Management Gateway: Query timeout expired
Hi,
Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
1. The gateway is in running status.
2. Data source is also in ready status and test connection worked fine too.
3. Below is the error in System Health -
Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.
Error code: 4025
4. Below is the error in Event Viewer.
Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
5. This is the correlational id for latest refresh failure
is
f9030dd8-af4c-4225-8674-50ce85a770d0
6.
Refresh History error is –
Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
managed IDataReader interface was being used: Query timeout expired.
Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
Thanks,
RichaNever mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
Thanks.
Maybe you are looking for
-
Iphoto is currently a shared file on my Mac and I no longer want to share it. How do I completely remove access to it if i am the Admin to the computer? Thanks in advance...
-
How to Configure Recurring post in OUtgoing payments
hi ,Plz help to configure recurring post for Post dated transactoin
-
Since the IOS 5 update my iPad seems to run a lot slower connecting to websites and general use? Can anyone help?
-
Hi AR-experts, Has anyone experiences with the software avviso (= AR-management tool) respectively interfaces from SAP to avviso (per ALE or file transfer) ? could you spread some light to that matter? thank you Andreas
-
PI System Support Pack Upgraded from 04 to 07
Hi Guys, In PI system basis people upgraded support pack 04 to 07. how i will check the PI system functionality after upgrading support package 04 to 07... first basis people upgrated in PI Development system. after they will do in PI Quality and PI