Oracle8i /oracle9i with websphere3.5 (OraclePrepareStatement.setFormOf Use)
Currently, I'm using data source in WebSphere instead of
DriverManager.getConnection() to getting the database connection.
Although I'm able to get the connection, but I failed to call
OraclePrepareStatetement and OraclePrepareStatetement.setFormOfUse in
classes12.zip. I'm only able to get it done when I'm change to use
DriverManager.getConnection() instead of WebSphere data source.
Does it means Websphere data source unable work with Oracle JDBC
features ?
If can what should I do so that I can use WebSphere Data source and
OraclePrepareStatement together ?
Currently, I'm using Oracle9i or Oracle8i, WebSphere3.5 Advance
edition and Java jdk1.2.2.
I'm alreday set the classpath to include classes12.zip in solaris
environment and command line in websphere console.
I am not familiar with Websphere ... Did you try posting this to the OTN JDBC forum ?
Similar Messages
-
How to insert a CLOB in Oracle8.0 with JDBC
Hi,
I'm having trouble to insert a CLOB into a table with java. I'm using JDK1.1.8 and Oracle8.0
I've to insert more 4000 char String into that field. What can I do? Any example is very appreciate.This is a problem with the driver. It is a known bug/issue.
You have to use the dbms_lob.write procedure and append data to the clob inside a loop.
i.e. do something like (pseudo-code)
while(file.not_end)
char[] buffer= file.read(start_pos,bytes_read);
dmbs_lob.write(buffer);
start_pos = start_pos+ bytes_read;
null -
I would love some help with this issue. I have configured my SharePoint foundation 2010 site to use Claims Based Auth with Certificate authentication method with ADFS 2.0 I have a test account set up with lab.acme.com to use the ACS.
When I log into my site using Windows Auth, everything is great. However when I log in and select my ACS token issuer, I get sent, to the logon page of the ADFS, after selected the ADFS method. My browser prompt me which Certificate identity I want
to use to log in and after 3-5 second
and return me the logon page with error message “Authentication failed”
I base my setup on the technet article
http://blogs.technet.com/b/speschka/archive/2010/07/30/configuring-sharepoint-2010-and-adfs-v2-end-to-end.aspx
I validated than all my certificate are valid and able to retrieve the crl
I got in eventlog id 300
The Federation Service failed to issue a token as a result of an error during processing of the WS-Trust request.
Request type: http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue
Additional Data
Exception details:
Microsoft.IdentityModel.SecurityTokenService.FailedAuthenticationException: MSIS3019: Authentication failed. ---> System.IdentityModel.Tokens.SecurityTokenValidationException:
ID4070: The X.509 certificate 'CN=Me, OU=People, O=Acme., C=COM' chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed
correctly, but one of the CA certificates is not trusted by the policy provider.
at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
--- End of inner exception stack trace ---
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.BeginGetScope(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.SecurityTokenService.SecurityTokenService.BeginIssue(IClaimsPrincipal principal, RequestSecurityToken request, AsyncCallback callback, Object state)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.DispatchRequestAsyncResult..ctor(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginDispatchRequest(DispatchContext dispatchContext, AsyncCallback asyncCallback, Object asyncState)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.ProcessCoreAsyncResult..ctor(WSTrustServiceContract contract, DispatchContext dispatchContext, MessageVersion messageVersion, WSTrustResponseSerializer responseSerializer, WSTrustSerializationContext
serializationContext, AsyncCallback asyncCallback, Object asyncState)
at Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract.BeginProcessCore(Message requestMessage, WSTrustRequestSerializer requestSerializer, WSTrustResponseSerializer responseSerializer, String requestAction, String responseAction, String
trustNamespace, AsyncCallback callback, Object state)
System.IdentityModel.Tokens.SecurityTokenValidationException: ID4070: The X.509 certificate 'CN=Me, OU=People, O=acme., C=com' chain building
failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. 'A certification chain processed correctly, but one of the CA certificates is not trusted by the policy provider.
at Microsoft.IdentityModel.X509CertificateChain.Build(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509NTAuthChainTrustValidator.Validate(X509Certificate2 certificate)
at Microsoft.IdentityModel.Tokens.X509SecurityTokenHandler.ValidateToken(SecurityToken token)
at Microsoft.IdentityModel.Tokens.SecurityTokenElement.GetSubject()
at Microsoft.IdentityServer.Service.SecurityTokenService.MSISSecurityTokenService.GetOnBehalfOfPrincipal(RequestSecurityToken request, IClaimsPrincipal callerPrincipal)
thx
Stef71This is perfectly correct on my case I was not adding the root properly you must add the CA and the ADFS as well, which is twice you can see below my results.
on my case was :
PS C:\Users\administrator.domain> $root = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
cer\SP2K10\ad0001.cer")
PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "domain.ad0001" -Certificate $root
Certificate : [Subject]
CN=domain.AD0001CA, DC=domain, DC=com
[Issuer]
CN=domain.AD0001CA, DC=portal, DC=com
[Serial Number]
blablabla
[Not Before]
22/07/2014 11:32:05
[Not After]
22/07/2024 11:42:00
[Thumbprint]
blablabla
Name : domain.ad0001
TypeName : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
DisplayName : domain.ad0001
Id : blablabla
Status : Online
Parent : SPTrustedRootAuthorityManager
Version : 17164
Properties : {}
Farm : SPFarm Name=SharePoint_Config
UpgradedPersistedProperties : {}
PS C:\Users\administrator.domain> $cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2("C:\
cer\SP2K10\ADFS_Signing.cer")
PS C:\Users\administrator.domain> New-SPTrustedRootAuthority -Name "Token Signing Cert" -Certificate $cert
Certificate : [Subject]
CN=ADFS Signing - adfs.domain
[Issuer]
CN=ADFS Signing - adfs.domain
[Serial Number]
blablabla
[Not Before]
23/07/2014 07:14:03
[Not After]
23/07/2015 07:14:03
[Thumbprint]
blablabla
Name : Token Signing Cert
TypeName : Microsoft.SharePoint.Administration.SPTrustedRootAuthority
DisplayName : Token Signing Cert
Id : blablabla
Status : Online
Parent : SPTrustedRootAuthorityManager
Version : 17184
Properties : {}
Farm : SPFarm Name=SharePoint_Config
UpgradedPersistedProperties : {}
PS C:\Users\administrator.PORTAL> -
I recently upgraded from a 2011 MBA to a 2012 MBA due to the larger capacity SSD. The 2011 MBA running Lion and Mountain Lion worked with every video projector for lectures. The new 2012 MBA is hit or miss with video projectors. It is not an adapter problem. I have multiple Apple mini-display to VGA adapters with the latest firmware. They all work just fine with the 2011 MBA. Re-starting the 2012 MBA with the adapter and projector connected has not helped.
It it not acceptable to have a laptop that works with projectors some of the time. Apple is aware of the problem. Is the only choice to go back to the 2011 MBA?
RCI installed 10.8.2 update today with my 2012 MBA. The details of the update include: Resolves a video issue with some VGA projectors when connected to certain Mac notebooks.
I tried using the MBA with a video projector and it found the correct resolution and connected with the projector automatically. Using detect displays in the disoplay preference pane wasn't even necessary.
I hope this is the fix I have been waiting for with the 2012 MBA.
Thank you Apple.
RC
(http://support.apple.com/kb/HT5460) -
Every time I try to back up my Macbook Pro with an external hard drive using Time Machine, I receive the error of "the disk does not have enough space". I have a 500GB external hard drive and only 120GB Macbook. It worked fine before the latest Maverick's update. Any help would be greatly appreciated.
My guess would be it has created an entirely new backup of your drive when you upgraded to Mavericks.
See Here: http://pondini.org/TM/1.html
And here: http://pondini.org/TM/9.html
Peruse the whole site. There is a lot of information there. -
How do I activate a used iPhone 3 with no SIM card for use as an ipod touch?
How do I activate a used iPhone 3G with no SIM card for use like an iPod Touch? It was apparently on AT&T previously and I have another iPhone 3 that is active on AT&T if that is helpful. Thanks!
Copied from the link provided.
Follow these steps to use your iPhone without a wireless service plan:
Insert the SIM card from your new, activated iPhone or one that was previously used to activate the original iPhone.
Connect the iPhone to iTunes on a computer connected to the Internet.
Once iTunes activates the device, you're free to use the iPhone as if it were an iPod touch. -
I have a Macbook with OS 10.6.8 using Itunes 10.4.1 to sync my Iphone4. The itunes do not sync my contacts ... No error messages .... nothing ... just do not work ... However, It is working for apps, calendar and email. Does anybody have a clue what is going on ? tks
There is also an option to reset all data on the device with the next sync.
MJ -
I am automating the process of sending appointment reminders to my clients. I started with an alert with an email in calendar using the clients email address as a custom entry in my me card in my contacts. this was resulting in three emails being sent with slightly different versions of the same address (see my previous post). Heating someone else's suggestion I created a workflow file to send an email and calling that file from an alert on my calendar. This is working and sends only one email to the client.
My calendar is on I cloud and I access it from three different computers so I can keep my appointment calendar current. The files that send the email only exist on one computer. My other computers show error messages when those emails get sent. It seems that each computer wants to send the email. It's a small problem but is there a way that I could not get those alerts.
But appreciate any thoughts about this. It seems like both problems might be related to the iCloud system.
Thank you in advance,
MichaelGood work, catch so far Michael, does seem to be a "feature" of iCloud syncing, not sure what you could do to disable it.
-
I have huge lag with Safari's Reading List using a rMBP. I have probably 80 articles saved, which is likely the cause of the lag. Is there any way to export that list of articles so as to be able to delete them from Reading List but still have a record of the articles I intend to read?
I'm currently dealing with this issue myself, except that my rMBP has NO articles in the reading list. It's a brand new rMBP too, purchased just this week, with the 2.6 Ghz Processor & 16GB of RAM.
Let's see what we can find. I may just take it back to the Apple Store. -
Problem with flash on IE11 after using adobe cleaner
Problem with flash on IE11 after using adobe cleaner to remove a trial version of photoshop because there was not any entry on add/remove applications in windows 8.1
Its to frustrating to reinstall everything. I tried everything from your support page with no luck…Link for Download & Install & Setup & Activation problems may help
-Online Chat http://www.adobe.com/support/download-install/supportinfo/ -
I have an old iPhone 3S, that was used with Bell. My friend lost her phone and I lend her this one, which she unlock to use with Rogers. I got it back and want to use as an iPod not the phone, but when I connected to iTunes I am getting this message: "There is no SIM card installed in the iPhone you are attempting to activate. Please diconnect and insert a SIM card".
I went to Bell and Rogers where we tried inserting active cards but message never changed.
On the phone itself I am able to get wifi but finish with "Your phone could not be activated because the activation server is temporary anavailable."
I run diagnostic from iTunes:everything is working properly, only message out of normal is "iTunes is not running in safe mode"
How can I sinc this phone with iTunes, so I can use it to lisen to music?
Any help will be apriacietedI can not get to iPhone screen, so no way to get to Settings. That is the problem. When I connect phone to iTunes I get screen asking to insert SIN card. On the phone I'm getting Cinfigure screen asking Launguage , Country or Region, Wi-Fi, ( I can connect to my home wi-fi), and last screen "Activating your iPhone". After two minutes of waiting IM getting message: Your iPhone could not be activated because the activation server in temporary unavailable. try connecting to iTunes or try later or contat apple.com/support.
Like I mention, I went to Bell as well Rogers store and tried to insert active SIM card with no results.
Yes, my friend unlock the phone to use with Rogers but I don't know where -
I want to cut and paste iCal entries on iPad. Have seen a number of questions raised but no definitive answer - is it possible or not?
(I use Bento but that doesn't sync with ICal now so can use that solution)
Hope to hear helpful news soon....
CNo, the camera connection kit only supports the copying of photos and videos to the Photos app, it doesn't support copying content off the iPad. For your second camera instead of the SD reader part of the kit, does the iPad to camera cable not work with it for direct transfer to the iPad ?
For Lightroom and Nikon software again no - you can only install apps that are available in the iTunes app store on your computer and the App Store app on the iPad, 'normal' PC and Mac (OS X) software are not compatible with the iPad (iOS). There are some apps that perform fairly basic editing functions that are available in the store, but nothing as sophisticated as, for example, Lightroom. -
ppl i fed up with my mac air while using my exchange email account, it takes ages to refresh and it doesn't send or receive instantly , no clue although that the same setting and server names has been set up on my iPhone and it is working totally fine
Install ClamXav and run a scan with that. It should pick up any trojans.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101 -
I can't find the 2G, 3G and LTE options after updating to iOS8.1, can anyone help me with this? I'm using iPhone5s
I have check on my service provider about the correct APN settings, but unfortunately doesnt work still..
-
my wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the primary photo iCloud account and thus our shared photo system. We are running yosemite OS X 10.10 and iOS 8.0.2... Is there any way to do this?
my wife and I share an iCloud account for photo library and iCloud drive mainly for our family photo management, but we use different accounts for iMessage/facetime/calendar/etc. With Yosemite, I can't use continuity/handoff without dumping the primary photo iCloud account and thus our shared photo system. We are running yosemite OS X 10.10 and iOS 8.0.2... Is there any way to do this?
Maybe you are looking for
-
Failed to retrieve the data source in Business Objects Explorer
I have built a universe with Designer suits and separate measurements of paramentros and bound by, ran on Web Intelligence, but when I try to use the Business Objects Explorer is reported the following message: Failed to retrieve the data source deta
-
What is the significance of Relationship Owner in JPA?
Hi, We indicate the relationship owner through "mappedBy"? What is the benefit of the Relationship Owner? What are the properties? Thanks, Rajesh
-
Is it possible to write programs in java for Itanium processor?
-
REP-0309: Unable to connect to the specified database after three attempts.
Hi, I am getting the following error in cloned instance when I developed one custom report (rdf) and copied that report into custom top reports folder. and ran that report using custom responsbility. that report query is like this select user_name,us
-
What happened to my old font on my new iMAC?
Recently got a new iMAC to replace a 6 year old iMAC. I installed the same Adobe CS2 software on both computers. However, some fonts - Papyrus - for example, that I frequently used on the old iMAC, are missing when I try to view or use them on the n