Document Connection
I am having trouble getting a connection to our SharePoint
2010 Server using Microsoft "Document Connection" Application. I did managed to get a connection to SharePoint at one point however as soon as I tried to upload a document I received an error 39, although
it uploads the document. Thereafter each mouse click results in this error 39 popping up.
I disconnected and removed the saved SharePoint connection in doing so I cannot reconnect to SP it says “connection failed”, I am sure it is an authentication issue perhaps something to do with our firewall or/and
proxy server as I know Macs work a little differently to PC’s on this front but that does not explain why it worked and now doesn't.<u5:p> I</u5:p> have no idea what is blocking
the connection.
Any help is appreciated
I am using Office 11 14,3.9
Mac OS = Snow Leopard
Thanks in advanced
Steve
Using Microsoft Document Connection on a Mac
Introducing Microsoft Document Connection
Document Connection | OfficeforMacHelp.com
Similar Messages
-
What is Microsoft Document Connection for the Mac? What does it do?
What is Microsoft Document Connection for the Mac? What does it do?
http://lmgtfy.com/?q=What+is+Microsoft+Document+Connection+for+mac
-
Problems with Document Connect
I have a problem with Document Connect. I am unable access office live workspace.
I have been on the help line with microsoft but they were unable to help.
Then I went to an apple store and was informed by one of the sales assistance that Document Connect never worked with the apple. Well what was the point in having it then?I wish I knew what Document Connect is. I'd bet I could fix it. Not really, but what is it?
-
Document Connection Client - Error 234882975
Hi, I have been using the MSFT Document Connection client (version 14.3.9) on Mac OS Lion 10.7.5 to access files stored on SharePoint (on an Office 365 subscription) for several years.
Yesterday I had an internet outage while trying to access files via DC on SharePoint. Since then, when trying to connect to
a particular directory, I get Error 234882975. The error occurs ONLY when trying to access the directory that I
was uploading files to when the internet outage occurred. All other directories work just fine from the DC client. Restarting, rebooting have not effect. I fear I will never again be able to access that directory. And the directory itself on SharePoint is
just fine; I've had to resort to using a Windows machine to get to it. Can access it from Windows with no issues.
Does anyone know a solution to this? ThanksHi,
According to your post, my understanding is that you could not access a particular library using the Mac OS.
To narrow down the issue, you can use your account in other Mac OS to check whether it works.
You can also use the other browsers to check whether the issue is related to the browsers.
If it works, you can clear the your browser cache, then check whether it works.
What’s more, you can back up the library then restore the library or save your library as a template, then create a new library using the template to check whether you can access it.
As this is the forum for the SharePoint server, I recommend you can post your question to the forum for SharePoint Online:
http://community.office365.com/en-us/forums/154.aspx.
More experts will assist you, then you will get more information relation to SharePoint Online.
Thank you for your understanding and support.
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Connecting visio diagrams (plus other MS documents)
I have been tasked with modelling our business from both a business and technical 'what we have now' viewpoint
I'm using Visio 2007 for this and have started with a very high level diagram
I've now started breaking this down into smaller chunks
The issue here is, without going out and investing in an expensive piece software such as i-server by Orbus (done a bit of research in this
area), I can't see how I can get the diagrams to interact in some way
I really want to be able to link to sub diagrams and even word or Excel files where relevant, in a less 'stand alone' way
Is my approach wrong here i.e. am I missing some important functionality with Visio
OR should I be using a later version
Do products such as Office 365 offer improved document connectivity in this area?
Thanks
Damian.almost all of the MS office products support hyperlinking between documents. It is not uncommon for users to link Visio charts to Word using the Word documents as backup (of course the use of OLE still works for linking and embedding).
al
Al Edlund Visio MVP -
I am unable to get my hp pavilion entertainment pc to recognize an external monitor - orion
please help
is it my resolution settings?
I am using windows vista
thanksHello lindalou63,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
I understand you are having issues when trying to connect an external monitor to your computer running Windows Vista. I am providing you with an HP Support document: Connecting Monitors and TVs to Your PC (Windows Vista and XP), which will walk you through the steps required to correctly connect a monitor to a computer running both Windows Vista and XP. I would suggest you review the document and ensure you have followed all the steps provided. This should resolve your issue and let you get back to enjoying your computer again.
Please re-post if you require additional assistance. Thank you for posting on the HP Forums. Have a great day!
Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
Dunidar
I work on behalf of HP
Find out a bit more about me by checking out my profile!
"Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter -
Passing prompt value to a LiveOffice document
Hi all,
I've SAP BW Query as the data source having two prompts of one which is date, and I built a LiveOffice document connecting a WebI report. The prompt values in LiveOffice document are displayed as for ex : comp code : 2000 [0COMPCODE].[2000] and date as 10/0320 [0CALMONTH].[032010]. In case of Comp code I'm passing only 2000 removing the rest of the text and it works fine, but whereas when I modified date prompt in LO document like Comp code its throwing an error while refreshing.
Getdocument Information Exception (Error WIS : 10901). In details I can see that date is being passed 32010 instead of 032010 even though I tried to change the format of that particular cell.
Any solution to this problem ?
ThanksHi Fred,
The date format in BEX Query is mmyyyy and I'm trying to pass the same in LO but its going as myyyy, for ex : 032010 is passed as 32010. -
Not able to open office documents from SharePoint site using Forms auth on a Mac with Office 2011
I posted the same question on the Mac Office forum (http://answers.microsoft.com/en-us/mac/forum/macoffice2011-macstart/not-able-to-open-office-documents-from-sharepoint/7fba517b-ebd1-4e90-a54a-c70c5f035146?tm=1418836613595) but figured it's probably more
of a SharePoint question so I'm going to try here as well.
We just discovered an issue where a user logs into a SharePoint site using Forms based authentication. When clicking on an Office file they get
'Sorry, this site hasn't been shared with you' message:
The user can download the file and can also open the file within the browser (Office Web apps). This SharePoint site is on a Web app that uses mixed authentication (forms for external partners) and Windows/Kerberos for internal employees.
When logging into this same site as an internal user I am able to open the file just fine.
I checked the 'Microsoft Document Connection' settings and selected and deselected 'Enable Basic Authentication' and neither helped.
I also tried to add the site URL under 'Microsoft Document Connection' -> Add connection -> Connect to a SharePoint site. When I put the site URL in and click 'Connect', I get an error saying that 'Only connection to SharePoint or OneDrive
servers are supported' message. If I try the same thing as an internal user using Windows/Kerberos authentication I am able to connect to the site just fine.
Any ideas??Hi Szamir,
As you are using Form Based authentication to open the documents from SharePoint site, I recommend to check the things below:
Make sure that the user has permission to view the documents in the site.
Please select "Sign me in automatically" when you sign in the login page.
More references:
https://social.technet.microsoft.com/Forums/en-US/ae8cc886-c362-4709-8575-07d339144714/not-able-to-open-microsoft-office-documentsdocxxls-etc-from-document-library-in-a-fba-site-in?forum=sharepointgeneralprevious
http://manojvnair.blogspot.com/2011/06/login-prompt-while-opening-office.html
Best regards.
Thanks
Victoria Xia
TechNet Community Support -
Connecting an External Monitor to a HP Pavilion 15t-n200
I have a HP Pavilion 15t-n200 laptop computer and I'm trying to hook up an external monitor.
I tried connecting directly to a monitor with an HDMI cable and this didn't work. So I bought a HDMI to VGA adaptor, and still no luck.
In both instances, I hooked up the monitor and pressed the F4 key to select how I select the other display. But none of the choices: Duplicate, Extend, or Second Screen Only seem to work. In fact, nothing happens when I make any of these selections.
Am I missing a step?JKinnicutt wrote:
Still no luck.
I updated the BIOS and the video drivers and it's still not working.
Pressing Fn F4 opens the selection for how I want to view the external monitor. And clicking something makes the laptop screen go black and then back on. (Unless I select Second Screen Only, then the laptop screen stays black). But the external monitor never displays anything.
What is your operating system?
Follow this document -
Connecting a Monitor, Projector or TV (Windows 8)
Go through Page 23, 24 in this manual
NOTE:
To see the computer screen image on an external VGA monitor or projected for a presentation, connect a monitor or projector to the computer's VGA port.
To connect a monitor or projector:
1. Connect the VGA cable adapter to the HDMI port.
2. From the monitor or projector, connect to the VGA port on the computer
3. Press f4 to alternate the screen image between 3 display states:
● View the screen image on the computer.
● View the screen image on the external device (monitor or projector).
● View the screen image simultaneously on both the computer and external device.
Each time you press f4, the display state changes
Additonal Read: Connecting a TV or Monitor to your Windows 7 PC using HDMI
HD Graphic drivers need to be updated only if HDMI to HDMI is port is connected.
If nothing works, change the adpater and cable and see.
Regards
Visruth
++Please click KUDOS / White thumb to say thanks
++Please click ACCEPT AS SOLUTION to help others, find this solution faster
**I'm a Volunteer, I do not work for HP** -
every computer in my house runs fine except the macbook pro on wifi, I have tried everything, changed channels, etc.. All ipads, iphones, macbook air and even the windows pc runs fine, all except the pro, it runs at .2 mbps. I don't know what else to try?
Thanks.
Hardware Information:
MacBook Pro (Retina, Mid 2012)
MacBook Pro - model: MacBookPro10,1
1 2.3 GHz Intel Core i7 CPU: 4 cores
8 GB RAM
Video Information:
Intel HD Graphics 4000 - VRAM: 1024 MB
NVIDIA GeForce GT 650M - VRAM: 1024 MB
System Software:
OS X 10.9.1 (13B42) - Uptime: 0 days 0:3:31
Disk Information:
APPLE SSD SM256E disk0 : (251 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
MacbookHD (disk0s2) /: 250.14 GB (215.81 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
TOSHIBA External USB 3.0 1 TB
EFI (disk1s1) <not mounted>: 209.7 MB
time machine (disk1s2) /Volumes/time machine: 999.86 GB (828.3 GB free)
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
FireWire Information:
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Kernel Extensions:
Problem System Launch Daemons:
[System] com.seagate.TBDecorator.plist 3rd-Party support link
Problem System Launch Agents:
[System] com.paragon.NTFS.notify.plist 3rd-Party support link
[System] com.paragon.NTFS.vendor.plist 3rd-Party support link
Launch Daemons:
[System] com.adobe.fpsaud.plist 3rd-Party support link
[System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
[System] com.oracle.java.Helper-Tool.plist 3rd-Party support link
Launch Agents:
[System] com.oracle.java.Java-Updater.plist 3rd-Party support link
[System] com.seagate.SeagateStorageGauge.plist 3rd-Party support link
User Launch Agents:
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
User Login Items:
iTunesHelper
Degrees
Internet Plug-ins:
FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
QuickTime Plugin: Version: 7.7.3
AdobePDFViewerNPAPI: Version: 11.0.04 - SDK 10.6 3rd-Party support link
AdobePDFViewer: Version: 11.0.04 - SDK 10.6 3rd-Party support link
Flash Player: Version: 11.9.900.170 - SDK 10.6 Outdated! Update
Default Browser: Version: 537 - SDK 10.9
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
Silverlight: Version: 5.1.20913.0 - SDK 10.6 3rd-Party support link
JavaAppletPlugin: Version: Java 7 Update 45 Outdated! Update
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
3rd Party Preference Panes:
Flash Player 3rd-Party support link
Java 3rd-Party support link
Paragon NTFS for Mac ® OS X 3rd-Party support link
Tuxera NTFS 3rd-Party support link
Bad Fonts:
None
Old Applications:
/Library/Application Support/Microsoft/MERP2.0
Microsoft Error Reporting: Version: 2.2.8 - SDK 10.4 3rd-Party support link
Microsoft Ship Asserts: Version: 1.1.3 - SDK 10.4 3rd-Party support link
Solver: Version: 1.0 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
SLLauncher: Version: 1.0 - SDK 10.5 3rd-Party support link
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
/Applications/Microsoft Office 2011/Office
Open XML for Excel: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Office Setup Assistant: Version: 14.2.0 - SDK 10.5 3rd-Party support link
Microsoft Alerts Daemon: Version: 14.3.9 - SDK 10.5 3rd-Party support link
SyncServicesAgent: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Database Daemon: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Graph: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Database Utility: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Office Reminders: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Upload Center: Version: 14.3.9 - SDK 10.5 3rd-Party support link
My Day: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Chart Converter: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Clip Gallery: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Epson Printer Utility 4: Version: 9.16 - SDK 10.5 3rd-Party support link
/Library/Printers/EPSON/InkjetPrinter2/Utility/UT4/Epson Printer Utility 4.app
/Applications/Microsoft Office 2011
Microsoft PowerPoint: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Excel: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Outlook: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Word: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Document Connection: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Language Register: Version: 14.3.9 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
Microsoft AutoUpdate: Version: 2.3.6 - SDK 10.4 3rd-Party support link
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
BatchImageResizer: Version: 1.5.7 - SDK 10.4 3rd-Party support link
Time Machine:
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Destinations:
time machine [Local] (Last used)
Total size: 0 B
Total number of backups: (null)
Size of backup disk: Excellent
Backup size 0 B > (Disk size 0 B X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
20% PhotoStreamAgent
2% WindowServer
2% EtreCheck
1% hidd
0% ps
Top Processes by Memory:
188 MB mds_stores
172 MB Safari
139 MB Finder
115 MB WindowServer
90 MB Dock
Virtual Memory Information:
4.12 GB Free RAM
2.75 GB Active RAM
307 MB Inactive RAM
843 MB Wired RAM
223 MB Page-ins
0 B Page-outs -
How do I save NEW documents from Office 2011 to SP2010?
Hi,
We are using Office 2011 for Mac, with Safari and SP2010 for collaboration room and document libraries.
Accessing, opening, reading and saving existing documents from SP2010 works all fine.
But if I, after having opened and edited a Word document, want to do a "save as" to Sharepoint, how do I do it without having to temporarily store the document somewhere else.
The "Share - Save to Sharepoint" in Office could be useful if I only could browse thru the folder hierarchy in the saved Sharepoint Locations. I have too many folder to add them all as "Sharepoint Locations".
I have also tried to MS Document Connection, but as long as I cannot see the Document Connection from Office, it doesn't help much.
Any advice?.I'm not a Mac user, that's my caveat, however there is a button on the ribbon for SharePoint Document Libraries on the Library Tab called Connect To Office.
If that works with Office 2011 you'll start seeing your SharePoint site as a place where you can store documents in Office.
Otherwise, you need to click "New" in teh library itself and have SharePoint open Office for you.
w: http://www.the-north.com/sharepoint | t: @JMcAllisterCH | c: http://www.b-i.com -
Connecting an IdeaPad U400 to a HDMI receiver
Hi group. I have a U400 with all the latest drivers running on Windows 8. I can connect the laptop to a projector/monitor directly, but I can't connect to the projector/monitor via an HDMI receiver (Denon 889). The laptop can't detect the external display. I've tried changing to various resolutions to no avail. I've also experimented turning on the devices in different order. I've tried this under Windows 7 as well with no success. I have no problems connecting another laptop (Acer 5920G) to the HDMI receiver.
Does anyone have experience connecting a U400 (or U series laptop) to an HDMI receiver. Please share any experience you may have. Thanks in advance.JKinnicutt wrote:
Still no luck.
I updated the BIOS and the video drivers and it's still not working.
Pressing Fn F4 opens the selection for how I want to view the external monitor. And clicking something makes the laptop screen go black and then back on. (Unless I select Second Screen Only, then the laptop screen stays black). But the external monitor never displays anything.
What is your operating system?
Follow this document -
Connecting a Monitor, Projector or TV (Windows 8)
Go through Page 23, 24 in this manual
NOTE:
To see the computer screen image on an external VGA monitor or projected for a presentation, connect a monitor or projector to the computer's VGA port.
To connect a monitor or projector:
1. Connect the VGA cable adapter to the HDMI port.
2. From the monitor or projector, connect to the VGA port on the computer
3. Press f4 to alternate the screen image between 3 display states:
● View the screen image on the computer.
● View the screen image on the external device (monitor or projector).
● View the screen image simultaneously on both the computer and external device.
Each time you press f4, the display state changes
Additonal Read: Connecting a TV or Monitor to your Windows 7 PC using HDMI
HD Graphic drivers need to be updated only if HDMI to HDMI is port is connected.
If nothing works, change the adpater and cable and see.
Regards
Visruth
++Please click KUDOS / White thumb to say thanks
++Please click ACCEPT AS SOLUTION to help others, find this solution faster
**I'm a Volunteer, I do not work for HP** -
Hi ,
Can anyone give some pointers about how to connect BW with R3??Dear Samir,
Try these
1) From RSA1--->Goto Source System option.....Create a New Source System.
2) On the screen enter the URL or TCP_IP address of your ECC system.
3) test the connection between BW to ECC
Also look At these documents,
Connection between Source Systems and BW
http://help.sap.com/saphelp_nw70/helpdata/en/00/dc54384ac9a81be10000009b38f8cf/frameset.htm
Creating SAP Source Systems
http://help.sap.com/saphelp_nw70/helpdata/en/ac/4a4e38493e4774e10000009b38f889/frameset.htm
BW connectivity(.doc)
http://help.sap.com/bp_biv335/BI_EN/BBLibrary/documentation/B84_BB_ConfigGuide_EN_DE.doc
hope this helps
See this Setp by step help from SAP for DB Connect Creation
Creating Database Management Systems as Source Systems
http://help.sap.com/saphelp_nw04s/helpdata/en/50/63d6b37bda7f4a92e2dec21b14ceee/content.htm
SM59 is used to create RFC Destination. You have to create a destination system to send and receive data from and to BW in SM59
Hope it helps you,Revert me back if you have any queries
Assign points if helpful
Regards
Bala -
In CRMD_ORDER, in document flow, You can see and display documents connected with currently displayed contract - among them emails.
But the information about them is limited: there is main body, attachments, and basic attributes (title, size, owner, create/modify time and a few others). Business requirement is that headers (to, cc, bcc) should also be visible in case of e-mails (at least those sent from CIC). The required information is available in system (CIC even displays it).
I found out that email (document) display is done by SO33 function group, and wanted to use include LSO33F01, form html_display_document (displaying mail body on screen 1100) to add required headers to mail body for display purposes only. I wanted to use implicit enhancement points. But when I tried to, I found out that's not possible ('Object FUGR SO33 is part of the central basis and therefore cannot be enhanced'). I also found no helpful user exits/BAdIs.
Question: how can I add required information to email display in CRMD_ORDER (other than editing SAP program) ?
Thank You
Marcin SawickiAny suggestions on how to add information on document display screen of CRMD_ORDER? Please?
-
Obtaining an oracle.sql.STRUCT through a pooled JDBC connection
Hello,
I am using WebLogic Server 10 and and Oracle 10 and I am trying to obtain a vendor-specific oracle.sql.STRUCT from a ResultSet using a pooled connection defined in Weblogic. I need the vendor-specific object, rather than simply the java.sql.Struct implementation, because a third party library requires it.
What gets returned in the ResultSet is a non-exposed WebLogic wrapper object which implements java.sql.Struct, but which cannot be cast to an oracle.sql.STRUCT. I can use reflection on this object to find and call the getVendorObj() method to obtain the oracle.sql.STRUCT, but this solution is not acceptable because this is not a published API and is not guaranteed not to change in future versions.
How can I reliably obtain a vendor-specific implementation of java.sql.Struct through a WebLogic connection pool in WebLogic Server 10?
Thanks for any advice,
-Dan Schwemleindan schwemlein wrote:
Joe,
Thanks again. With your guidance, I have arrived at the following approach, which I'll post for the benefit of others, and which I'd be thankful if you would validate:
1) Import the jar com.bea.core.datasource-1.0.0.0.jar from %BEA_HOME%\modules, which is the only location of the class WLConnection, which is the only class with the getVendorConnection() method you refer to.
2) Get the logical connection from the pooled data source, cast it to a WLConnection, call getVendorConnection() to obtain an OracleConnection (from the ojdbc jar), and use this connection to obtain the required oracle.sql.STRUCT from an OracleResultSet.
3) Be aware of the limitations and follow the guidelines in the document http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html#1043646 regarding security, error handling, releasing resources (close only the logical connection), etc.
Does this sound like the approach you had in mind?
Thanks again,
-Danyes.
Joe
>
Re: Obtaining an oracle.sql.STRUCT through a pooled JDBC connection
Posted: Jul 16, 2007 3:21 PM
dan schwemlein wrote:
Thanks for the quick response!I was working today...
Thank you for the information about the connection being closed.
I will look into using this configuration setting.
You say that you can describe a way to get a handle on an unwrapped
pool object using some documented WLS-specific code. Are you referring
here to the getVendorConnection() method?yes.
This method does not help me
get the oracle.sql.STRUCT object, because even the connection returned
by getVendorConnection() returns a wrapped WL java.sql.Struct object
from a call to getObject().I don't believe it. If you are running in WLS, with a local pool,
the getVendorConnection() will give you the Oracle connection,
which will give you an Oracle statement, etc, down to an oracle
STRUCT object. Once you have a direct reference to the oracle connection,
we're not in the picture when it returns something to you.
It would be great if getVendorObj() were
documented and could be counted on in future versions. To use this
method, one would still have to access it via Java reflection, because
the wrapper class and its getVendorObj() method would be exposed in an
API, correct? Could this method be exposed in the API, so that reflection
doesn't need to be used, or it is exposed somewhere that isn't documented?getVendorObj() is not yet exposed or therefore supported for the general
wrapped object, so you would have to start from the connection and
derive all subobjects from it.
Thanks again,
-Dan Schwemlein
Hello,
I am using WebLogic Server 10 and and Oracle 10 and I am trying to obtain a
vendor-specific oracle.sql.STRUCT from a ResultSet using a pooled connection
defined in Weblogic. I need the vendor-specific object, rather than simply
the java.sql.Struct implementation, because a third party library requires it.
What gets returned in the ResultSet is a non-exposed WebLogic wrapper object
which implements java.sql.Struct, but which cannot be cast to an oracle.sql.STRUCT.
I can use reflection on this object to find and call the getVendorObj() method to
obtain the oracle.sql.STRUCT, but this solution is not acceptable because this is
not a published API and is not guaranteed not to change in future versions.Understood. We all benefit from sticking to the J2EE standards,
but we could also wish Oracle had done so with it's driver objects.
I will assume your code is running in the WebLogic server, because
an external JVM can never access the real driver object, which will
always really be in the WLS JVM. No active JDBC object is serializable.
How can I reliably obtain a vendor-specific implementation of java.sql.Struct
through a WebLogic connection pool in WebLogic Server 10?There is no way to get a handle on an unwrapped pool object without using some
WLS-specific code, though I can describe a way with documented methods,
and/or I can get our documentation altered to say we'll support the
getVendorObj() method. We introspect every vendor object, and for those
implementations that have done the wise thing, projecting any non-standard
methods as an Interface, we are able to also project that Interface so
the vndor example code should work. However, in some poorly-done
cases, such as for some Oracle stuff, there is either no Interface,
or the Oracle code has extensions that take java.sql objects as input,
(at least that's the signature of the method) but two lines into the
method, the Oracle code assumes and casts the java.sql object to a concrete
Oracle object. In these use cases you need the direct unwrapped object.
We provide and document Connection.getVendorConnection(), and intend
getVendorObj() to serve the same for subobjects, but note the dangers
and responsibilities: We rely on our wrappers to implement the security
and thread-safety of our pooling system. Because user code can get
unrestricted access to the actual connection from most JDBC objects,
we can never trust that we have complete control once a vendor object
is exposed. Therefore, by default we will close and replace every JDBC
connection so exposed, as soon as the current thread is finished with
the pool connection. This hurts performance. We also document a pool
config setting that will tell us that you take responsibility for any such
problems, and not to close connections just because they've been exposed.
HTH,
Joe
Thanks for any advice,
-Dan Schwemlein
Maybe you are looking for
-
Retrieving data from a dead iMac
How do I retrieve the data from my white iMac G5 that has a fried logic board? Can I do this myself? And if so how?
-
Printing in Elements 12 is pixilated, but all my other elements programs are fine?
I can not print the exact same file in Elements 12. In elements 12 it prints very pixelated and in Elements 9 and 10 it prints perfect. Help?
-
I am trying to figure out if this an issue that I need to fix in my Thunderbird, or if it has to do with Chrome, which is set as my default browser. If someone could let me know how to fix it if it IS a Thunderbird issue, or if I should take it up wi
-
Apps menu of creative cloud is empty. Just have a message saying download error.
Apps menu of creative cloud is empty. Just has a message saying download error. It gives me a button for downloading creative cloud (which I already have installed!). If I try and install any app, I get the same error. I initially installed creative
-
Whitespaces in prototype-file used by pkgmk
Hello, my problem has to do with software packaging. I copied all the package objects into one directory and ran # pkgproto my-dir > prototype to get a prototype-file for use with pkgmk. A pkginfo-file was also made. Unfortunately I have pathes conta