How to know which type of jdbc driver used in my application
How to know which type of jdbc driver used in my application.
My approach will be....
Type1: you have to have ODBC s/w install on your machine...even the connection string starts with jdbc:odbc....so it can be identifed easily
Type2: you have to install client s/w in your machine...if you are using oracle oci driver ...you need to install oracle client s/w
Type3: you use servername / port to connnect to middleware
Type4: you do not need any client s/w
So, If your application works without any client s/w on your machine....you might be using Type4/Type3 driver.....otherwise Type2
Someone pls add more ....
Similar Messages
-
How to know which type of apple device am using
how to know which type of apple device am using
Check iPad model with the Serial Number
https://selfsolve.apple.com/agreementWarrantyDynamic.do
Settings>General>About>Serial Number -
How to know the location of JDBC Driver/ connection
unable to find JDBC driver and connection location
How can I know the location of "JDBC Driver" for the input box JDBC Driver to confrigure this in ID.
The same for "Connection" too.
urgent input (no links please) will help me.
Thanks
SYHi,
You can ask basis person to get the location of JDBC driver.
http://help.sap.com/saphelp_nw2004s/helpdata/en/80/4f34c587f05048adee640f4c346417/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/frameset.htm
Hope this helps.
Regards,
Moorthy -
How to know which folder my apex is using
Hello dearest friends,
I have upgraded my apex 2.1 to apex 3.2 like a month ago. But I do not have time to study it yet.
Today, I checked it again so I can practice creating programs.
I noticed I got 2 folders with identical contents , they are c:/apex and c:/apex32
c:/apex has also version 3.2 contents. I want to delete the unused one. How do I know which one is being used
by my apex server? I already forgot which one did I used in upgrading my apex.
Thanks a lotHello
Verify that your APEX installation is functioning correctly and that the path for the 'images' folder does not include either of 'C:\apex' or 'C:\apex32'. You may then safely delete both folders. You could also look for a file named something similar to 'install<yyyy-dd-mm..> in each of the folders. This file is the log created by the installation programme. You can use the timestamp on this file to determine which directory the most recent installation occurred from.
Varad -
How to know which clips have not been used
Hi,
I am a noob at this, but getting the hand of it. Here is my question: I started with about 20 video files(2h of footage). From all those files, I created about 60 "subclips" that have neatly been organized in a bin. Then I lined all 60 clips one by one. However, I accidently deleted one of those clips in the middle (and can't undo because it was a while ago) and I don't know which clip is was.
What I would to do is select the bin with the 60 subclips, and identify which one (maybe more than one actually) have NOT been inserted in my sequence. Is there a way to do so? Similar to Excel when you select a formula and it tells you which cells was dependants, could I select my sequence and it tells me which clips are "dependant"? Any other suggestions?
ThanksThank you very much, this is EXACTLY what I wanted. For those reading this and that can't find the video usage column, you need to go to "metadata display" in the project menu/button (top right corner of the window) and select "Metadata display" and then add the "video usage" column.
Thanks again. -
How to know which Smart-Form is being used for Purchase Order print output
Hi Gurus ,
How to find which Smart-Form and and methods/program being used for Purchase Order print output in SRM ?
In ECC we have tcode NACE where we can check all the details.Is there something similar in SRM ?
Please help.
Regards,
SauravThere is no similar transaction in SRM for your purpose. Usually if the customers customize the smartforms, they would choose to use their own form by implementing BADI BBP_OUTPUT_CHANGE_SF. Take a look into your system and see if this BADI is implemented. If so, debug it (by pressing "Print Preview" for a PO for example) and find out what form it is using. Or, if the BADI is not implemented, by default, the system uses form BBP_PO.
-
How to know which service accounts I am using inside my SharePoint server
We were asked to send a list of all the services accounts that are being used inside our SharePoint server, as the system administrators need to apply a new password policy. So to check which accounts I am currently using, I went to these locations:-
From the “IIS Manager” >> Application pool. I checked the identity column for all the domain users.
From >SharePoint CA >> Security >> Configure managed accounts.
So my question is basically if there could be any service accounts inside my SharePoint server, that are not in the above two locations ?
ThanksYes. SharePoint will add all service accounts it uses to the Managed Account list.
This will include accounts like the SharePoint Crawl Account which will not be used to run an Application Pool itself but will need to be part of your password change policy.
this means that in our case we have two accounts inside the "CA>>Security>>Managed Accounts" , and these are the ones used all over the sharepoint server ? is this correct ? -
How to know which version of SQLite is used by the different AIR-Versions?
For AIR 1.0 and 2.0 this post: http://forums.adobe.com/message/2577582#2577582 has the infos, but it is not clear where they come from.
How could one find out about the SQLite-versions in 2.5 and 2.6?
(not even google or any doc that I read about AIR and SQLite mention this)
thx in adance for any hint or answer,
karfauThanks for this info.
Maybe the current version of things like webkit and sqlite could be attached to some readme-like-file in the releases in the future.
Since u answered I would like to use the chance to ask another question:
When reading the SQLite-Docs there are some features, that state:
"available when compiled with the compiler option SQLITE_XYZ"
It would be intresting to know with which compiler options (a list is here: http://www.sqlite.org/compile.html )
the AIR-version has been compiled.(Especially those, that can not be guessed by reading the docs )
Is there any way to find out?
karfau -
How to find out which type of the driver is used in our application?
Hi all,
can anyone tell me how to find out which type of the driver is used in our application?
Thanks in advance,
PhoenioxHi,
Check out this...
Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
List drivers = Collections.list(DriverManager.getDrivers());
for(int i=0;i<drivers.size();i++)
Driver driver = (Driver)drivers.get(i);
String driverName = driver.getClass().getName();
System.out.println("Driver "+i+":::"+driverName);
you need to load the driver and display in the same program.
Then only you'l get the required result.
prakhyath -
How to know which master data objects need to activated in R3
SALES OVERVIEW CUBE -0SD_C03
How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.
its very urgent please advise.
R/3 in RSA5
Sales Master Data
0ACCNT_ASGN_TEXT Account assignment group for this customer
0ACCNT_GRP_TEXT Customer account group
0BILBLK_DL_TEXT Locked
0BILBLK_ITM_TEXT Billing block for item
0BILL_BLOCK_TEXT Billing block in SD document
0BILL_CAT_TEXT Billing Category
0BILL_RELEV_TEXT Relevant for Billing
0BILL_RULE_TEXT Billing rule
0BILL_TYPE_TEXT Billing Type
0CONSUMER_ATTR Consumer
0CONSUMER_LKLS_HIER Consumer
0CONSUMER_TEXT Consumer
0CUST_CLASS_TEXT Customer Classification
0CUST_GROUP_TEXT Customer Group
0CUST_GRP1_TEXT Customer Group 1
0CUST_GRP2_TEXT Customer Group 2
0CUST_GRP3_TEXT Customer Group 3
0CUST_GRP4_TEXT Customer Group 4
0CUST_GRP5_TEXT Customer Group 5
0DEALTYPE_TEXT Sales Deal Type
0DEL_BLOCK_TEXT Delivery block (document header)
0DEL_TYPE_TEXT Delivery Type
0DISTR_CHAN_TEXT Distribution Channel
0DIVISION_TEXT Division
0DLV_BLOCK_TEXT Schedule line blocked for delivery
0DOC_CATEG_TEXT SD Document Category
0DOC_TYPE_TEXT Sales Document Type
0INCOTERMS_TEXT Incoterms (Part 1)
0INDUSTRY_TEXT Industry keys
0IND_CODE_3_TEXT Industry code 3
0IND_CODE_4_TEXT Industry code 4
0IND_CODE_5_TEXT Industry code 5
0IND_CODE_TEXT Industry code
0ITEM_CATEG_TEXT Sales document item category
0ITM_TYPE_TEXT FS item type
0KHERK_TEXT Condition Origin
0MATL_GRP_1_TEXT Material Group1
0MATL_GRP_2_TEXT Material Group 2
0MATL_GRP_3_TEXT Material Group 3
0MATL_GRP_4_TEXT Material Group 4
0MATL_GRP_5_TEXT Material Group 5
0MATL_TYPE_TEXT Material Type
0MAT_STGRP_TEXT Material statistics group
0NIELSEN_ID_TEXT Nielsen ID
0ORD_REASON_TEXT Order reason (reason for the business transaction)
0PICK_INDC_TEXT Indicator for picking control
0PRODCAT_TEXT Product Catalog Number
0PROD_HIER_TEXT Product Hierarchy
0PROMOTION_ATTR Promotion
0PROMOTION_TEXT Promotion
0PROMOTYPE_TEXT Promotion Type
0PROV_GROUP_TEXT Commission Group
0REASON_REJ_TEXT Reason for rejection of quotations and sales orders
0REBATE_GRP_TEXT Volume rebate group
0RECIPCNTRY_TEXT Destination country
0ROUTE_TEXT Route
0SALESDEAL_ATTR Sales deal
0SALESDEAL_TEXT Sales deal
0SALESORG_ATTR Sales organization
0SALESORG_TEXT Sales Organization
0SALES_DIST_TEXT Sales district
0SALES_GRP_TEXT Sales Group
0SALES_OFF_TEXT Sales Office
0SCHD_CATEG_TEXT Schedule line category
0SHIP_POINT_TEXT Shipping point/receiving point
In BW
Base Unit of Measure 0BASE_UOM
Bill-to party 0BILLTOPRTY
Calendar Day 0CALDAY
Calendar Year/Month 0CALMONTH
Calendar Year/Week 0CALWEEK
Change Run ID 0CHNGID
Company code 0COMP_CODE
Cost in statistics currency 0COST_VAL_S
Credit/debit posting (C/D) 0DEB_CRED
Distribution Channel 0DISTR_CHAN
Division 0DIVISION
Number of documents 0DOCUMENTS
Sales Document Category 0DOC_CATEG
Document category /Quotation/Order/Delivery/Invoice 0DOC_CLASS
Number of Document Items 0DOC_ITEMS
Fiscal year / period
Fiscal year variant 0FISCVARNT
Gross weight in kilograms 0GR_WT_KG
Number of Employees 0HDCNT_LAST
Material 0MATERIAL
Net value in statistics currency 0NET_VAL_S
Net weight in kilograms 0NT_WT_KG
Open orders quantity in base unit of measure 0OPORDQTYBM
Net value of open orders in statistics currency 0OPORDVALSC
Payer 0PAYER
Plant 0PLANT
Quantity in base units of measure 0QUANT_B
Record type 0RECORDTP
Request ID 0REQUID
Sales Employee 0SALESEMPLY
Sales Organization 0SALESORG
Sales group 0SALES_GRP
Sales Office 0SALES_OFF
Shipping point 0SHIP_POINT
Ship-To Party 0SHIP_TO
Sold-to party 0SOLD_TO
Statistics Currency 0STAT_CURR
In R3 RSA5 we have all the Master data data sources as mentioned above, and BW also. How to find the related Master data Infosource in R/3 Master data Data sources.
Thanks in advance,
Bhima.
Message was edited by: Bhima Chandra Sekhar GuntlaHi,
<i>How to know which master data objects need to activated from delivery version to active version in R/3 for a particular standard cube like 0SD_C03.</i>
I think, you are looking for master data sources(text,attributes,hier).Am i right?
If so, This cube has almost all SD master data characterstics. So you can activate all the all master data datasources of SD in r/3 (SD-IO).
Any way you requirement does not stop only by using this cube . You will activate all other cubes in SD also. So if you want to activate only needed master data datasources when you are activating a cube, the job becomes senseless. There is no problem(wrong) in activating all master data available under that application , even though you want to activate only one cube.
With rgds,
Anil Kumar Sharma .P -
....in 'DD-MMM-YY' format from an Oracle 8i database and pass it in to the java.util.Date() constructor, I get a IllegalArgumentException. This error doesn't occur when I use the type 2 driver, so it is apparently a driver-specific thing. It happens on both Win32 and Linux.
Has anyone seen this before? Is there a newer version of the Oracle thin (i.e., type 4) driver than is listed here?
http://web77-02.us.oracle.com/software/tech/java/sqlj_jdbc/content.html
Thanks,
Tom
[email protected]Yup, that original post didn't make much sense, did it? Let's try again.
I've got an EJB app that runs on WebLogic 6.0 (on Solaris in production, on Win2K for development) and accesses an Oracle 8i database. This app currently uses the Oracle type 2 JDBC drivers. All is well.
So I wanted to see how it would run on Linux. I've got a Redhat 7.1 box handy, so I installed the JDK and WL6.0 and slapped the ear file on there. Problem! Can't deploy because there are no Oracle drivers on this machine!
Makes sense. So I started looking around, and it seems installing Oracle on a RH 7.1 box involves patching glibc and other such nastiness. So let's just try the type 4 JDBC driver - no glibc patch, no shared object libraries, just good 'ol pure Java talking to Oracle on port 1521.
Once I had the URLs and whatnot set up, the app connected to the DB just fine, created the connection pool, read some data, etc. But when my app read a date from the DB and instantiates a new java.util.Date object, I got an IllegalArgumentException - i.e., the date can't be parsed.
"Hmm... that's odd", I thought, so back I went to my trusty Win2K machine, modified my configuration files to use the type 4 driver and - same error! So I switched back to the type 2 driver - and everything works fine, Dates and all. Hmmm.....
As you correctly state, that Date constructor is deprecated and I should use DateFormats and GregorianCalendars and whatnot instead.
But has anyone seen this weird behavior before - code that works fine on a type 2 driver starts throwing exceptions when used with a type 4 driver? Anyone have any solutions?
Thanks much,
Tom -
WLS 8.1 Type 4 JDBC Driver SQL Server sp_prepare/sp_execute
Hello,
I have a question regarding performance troubleshooting in a production situation using the WLS 8.1 Type 4 JDBC Driver for SQL Server and SQL Server 2000.
This driver compiles a sql statement on the sql server using sp_prepare(), saving a handle to it. It will execute the statement using sp_execute(). Subsequent uses of the same statement will skip the sp_prepare(), and just call sp_execute(). So, ideally, for a particular statement, you should see one sp_prepare, and a lot of sp_execute's.
My WLS app is running along in production, and I detect a performance problem of some sort on the sql server, such as excessive IO, or blocking.
I turn on the sql server profiler, and I can see a bunch of
sp_execute 123, 'one', 'two'
sp_execute 123, 'foo', 'bar'
with bad IO. How do I determine what the original SQL was that was used in the sp_prepare?
The only way I can see to do this is to have the sql server profiler always running to catch every sp_prepare. I can't believe that this is a best practice.
How are you all handling this type of situation?
Thanks,
DaveDave Ballard wrote:
Hi Joe,
Thanks for the suggestions. The main issue I have with both is that they
require a server restart to enable. Can't do that on my production system.
The best I've come up with since I posted is to locate the poor
performer/blocker real-time via sysprocesses, then use the sqlhandle column
to call fn_get_sql to get at least some of the sql submitted with sp_prepare().
Not pretty and difficult to do on a busy system.
What's bugging me about the sp_prepare/sp_execute technique used by the driver is:
1) sp_prepare/sp_execute don't seem to be documented anywhereThey are internal to SQLServer, so it'd be MS to document them or not.
2) It is at best inconvenient to have to troubleshoot performance issues (requiring
a server config change, server restart, and manual reconcile of two different,
possibly very large, logs based on timestamp).
Your idea to disable the stored procedure cache is interesting, but still requires
a server restart to enable, and another to disable.
To me this is a large step backwards in manageability of my system. What I don't
understand is that I don't see much discussion about this topic on any forums,
so I wonder if I'm just missing something here (maybe everyone's using Oracle).No, the same sorts of issues would be needed with Oracle. DBMSes must make tradeoffs
between normal-case runtime performance, and the instrumentation that would be needed
to simultaneously monitor performance problems.
Joe
>
Thanks,
Dave -
Does anyone know of a type 2 JDBC driver for MS SQL Server?
Hi,
Does this help at all?
http://industry.java.sun.com/products/jdbc/drivers
Regards,
Matt
Java Developer Technical Support
Sun Microsystems
http://www.sun.com/developers/support/ -
Does anybody know step to install JDBC driver?
Hi
All,
I have windows xp and i want to install jdbc driver for jdk 1.5.. I have downloaded ojdbc14.jar. but I don't know how to execute that file. I have tried with
java -jar ojdbc14.jar
it gives me following output
C:\>java -jar c:\ojdbc14.jar
Failed to load Main-Class manifest attribute from
c:\ojdbc14.jar
so it is not working.
does anybody know step to install JDBC driver?
Thanks,
Vishal
Message was edited by:
vishal patel
Message was edited by:
vishal patelThe JDBC drivers aren't "installed" like application software. The ojdbc.jar file is a library that contains the driver. To use it in a Java program, two steps are required:
(1) Invoke the driver (using the Class.forName() method is most common), and
(2) include the library in the class path when you run your program.
Here is a sample program I have put together to illustrate:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class JDBCTest {
public static void main(String args[]) throws SQLException, ClassNotFoundException {
Class.forName("oracle.jdbc.OracleDriver");
String dbString = "jdbc:oracle:thin:@localhost:1521:xe";
String username = "forums";
String password = "forums";
Connection connection = DriverManager.getConnection(dbString, username, password);
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery("select 'hi' as my_column from dual");
while(rs.next())
System.out.println(rs.getString("MY_COLUMN"));
rs.close();
statement.close();
connection.close();
}Below, I compile and run this program. You can see the necessity of including the JAR in the class path:
C:\workspace>javac JDBCTest.java
C:\workspace>java JDBCTest
Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at JDBCTest.main(JDBCTest.java:9)
C:\workspace>java -cp ojdbc14.jar;. JDBCTest
hi
C:\workspace>Although no classes in this JAR file are explicitly used by the program (other than the Class.forName() line), it is necessary. Without it, the JVM will return the following error message (to see this first-hand, simply comment out the Class.forName() line in the above program):
C:\workspace>java -cp ojdbc14.jar;. JDBCTest
Exception in thread "main" java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@localhost:1521:xe
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at JDBCTest.main(JDBCTest.java:15)Kind regards,
Christopher L. Simons -
How to know which process is consuming high percentage of cpu?
Hi,
How to check which process is consuming high percentage of cpu ?
how to know the cpu time is atleast 80% of the elapsed time and how to know which code the process is running?
I know we can check high performance cpu can be find by TOP command
but i dont know on solaris?
please help me on this?One way is to use my Snapper script for getting the breakdown ( see http://blog.tanelpoder.com/2007/12/06/oracle-session-snapper-v106-released/ for more info ).
An example snapshot (taken over 60 second period) is below:
SQL> @snapper out,gather=tw 60 1 "select sid from v$session where type = 'USER'"
-- Session Snapper v1.07 by Tanel Poder ( http://www.tanelpoder.com )
HEAD, SID, SNAPSHOT START , SECONDS, TYPE, STATISTIC , DELTA, DELTA/SEC, HDELTA, HDELTA/SEC
DATA, 2, 20080710 11:39:18, 61, TIME, repeated bind elapsed time , 1314, 22, 1.31ms, 21.54us
DATA, 2, 20080710 11:39:18, 61, TIME, parse time elapsed , 21518, 353, 21.52ms, 352.75us
DATA, 2, 20080710 11:39:18, 61, TIME, PL/SQL execution elapsed time , 809888, 13277, 809.89ms, 13.28ms
DATA, 2, 20080710 11:39:18, 61, TIME, DB CPU , 11204956, 183688, 11.2s, 183.69ms
DATA, 2, 20080710 11:39:18, 61, TIME, sql execute elapsed time , 12441308, 203956, 12.44s, 203.96ms
DATA, 2, 20080710 11:39:18, 61, TIME, DB time , 13825800, 226652, 13.83s, 226.65ms
DATA, 2, 20080710 11:39:18, 61, WAIT, read by other session , 4432, 73, 4.43ms, 72.66us
DATA, 2, 20080710 11:39:18, 61, WAIT, log file sync , 1215135, 19920, 1.22s, 19.92ms
DATA, 2, 20080710 11:39:18, 61, WAIT, db file sequential read , 1458168, 23904, 1.46s, 23.9ms
DATA, 2, 20080710 11:39:18, 61, WAIT, enq: TX - row lock contention , 11600, 190, 11.6ms, 190.16us
DATA, 2, 20080710 11:39:18, 61, WAIT, row cache lock , 420, 7, 420us, 6.89us
DATA, 2, 20080710 11:39:18, 61, WAIT, SQL*Net message to client , 1842, 30, 1.84ms, 30.2us
DATA, 2, 20080710 11:39:18, 61, WAIT, SQL*Net message from client , 9490531, 155582, 9.49s, 155.58ms
DATA, 2, 20080710 11:39:18, 61, WAIT, PL/SQL lock timer , 35759582, 586223, 35.76s, 586.22ms
DATA, 2, 20080710 11:39:18, 61, WAIT, events in waitclass Other , 302, 5, 302us, 4.95us
DATA, 20, 20080710 11:39:18, 61, TIME, repeated bind elapsed time , 1332, 22, 1.33ms, 21.84us
DATA, 20, 20080710 11:39:18, 61, TIME, parse time elapsed , 21439, 351, 21.44ms, 351.46us
DATA, 20, 20080710 11:39:18, 61, TIME, PL/SQL execution elapsed time , 799773, 13111, 799.77ms, 13.11ms
DATA, 20, 20080710 11:39:18, 61, TIME, DB CPU , 11303744, 185307, 11.3s, 185.31ms
DATA, 20, 20080710 11:39:18, 61, TIME, sql execute elapsed time , 12404247, 203348, 12.4s, 203.35ms
DATA, 20, 20080710 11:39:18, 61, TIME, DB time , 13792389, 226105, 13.79s, 226.1ms
DATA, 20, 20080710 11:39:18, 61, TIME, sequence load elapsed time , 752, 12, 752us, 12.33us
DATA, 20, 20080710 11:39:18, 61, WAIT, log file sync , 1228759, 20144, 1.23s, 20.14ms
DATA, 20, 20080710 11:39:18, 61, WAIT, db file sequential read , 1339772, 21963, 1.34s, 21.96ms
DATA, 20, 20080710 11:39:18, 61, WAIT, row cache lock , 395, 6, 395us, 6.48us
DATA, 20, 20080710 11:39:18, 61, WAIT, SQL*Net message to client , 1901, 31, 1.9ms, 31.16us
DATA, 20, 20080710 11:39:18, 61, WAIT, SQL*Net message from client , 9496607, 155682, 9.5s, 155.68ms
DATA, 20, 20080710 11:39:18, 61, WAIT, PL/SQL lock timer , 35786481, 586664, 35.79s, 586.66ms
DATA, 20, 20080710 11:39:18, 61, WAIT, events in waitclass Other , 96, 2, 96us, 1.57us
Tanel Poder
http://blog.tanelpoder.com
Maybe you are looking for
-
Question about the format of an external drive.....
Ok quick question... my external is formatted mac OS extended journaled. I need to create a new partition in FAT so that it can be read when I use bootcamp. However when I use disk utility to create a partition it says it would have to format the who
-
Problem with margins shifting when printing.
I have an installation template on an 11x17 sheet with 3/8" margins. There is a "left" and "right" version on each side (basically mirrored) and the intent is that they align front to back when you hold the sheet up to the light. When we print a proo
-
Apple Configurator Wi-Fi password bug? or just need to RTFM?
I've been playing around with the new Apple Configurator for a few days now and have run into a problem when creating profiles that I want to install on a few iPad 2s. I'm either doing something fundamentally wrong and need to RTFM more closely, or
-
How do you remove auto update from my system.. w98 John
-
accidentally cancelled my 5.1.1 update and now my screen shows the apple logo and then it turns black and then the logo over and over again i cant turn it on fully