Issue in ASE 15.0.3 : suer_name(), user_name() in side store Proc in cross database , giving unexpected result

We have this problem in ASE 15.0.3 and proc is created (cross database) with login having sa_role ..
No problem in ASE 15,5 ...
Version : -Enterprise/15.0.3/EBF 16374/P/x86_64/Enterprise Linux/ase1503/2669/64-
1) Create login ajaysa with sa_role
2) Create two procedure in two databases as below using login ajaysa and grant exec permission to publoc
3) Create login akp and add in both databases as below
4) Now login using akp into ASE server and execute both procedure, still showing suser_name as akp and user_name as dbo
1) Create login ajaysa with sa_role
sp_addlogin 'ajaysa',<password>
go
grant role sa_role to 'ajaysa'
go
2) Create two procedure in two databases as below using login ajaysa and grant exec permission to publoc
================
use DB1
go
create proc sp_akp
as
select SP_AKP=suser_name(),user_name()
go
grant exec on sp_akp to public
go
=====================
use DB2
go
create proc sp_kosik
as
exec DB1.DBO.sp_akp
go
grant exec on sp_kosik to public
go
=================
3) Create login akp and add in both databases as below
sp_addlogin akp,<password>
go
use DB1
go
sp_adduser akp
go
use DB2
go
sp_adduser akp
go
=======
4) Now login using akp into ASE server and execute both procedure
EXEC DB1.DBO.sp_akp
SP_AKP
akp akp
EXEC DB2.DBO.sp_kosik
SP_AKP
akp dbo
Delete
4 minutes ago

This error is resolved after following the logs in C:\ATG\ATG10.1.1\CIM\log\cim.log. The root cause is I used http as protocol instead of t3 while specifying weblogic admin url.
http://localhost:7001 instead of t3://localhost:7001
Thanks.

Similar Messages

  • Issue with BPM while calling store proc

    Hi All,
    We are using BPM to execute/call the store procedure for look up. We are sending the correct request; bu we are not get the expected output form BPM during runtime. No issue with store proc ,we doudble checked
    Is there any way to debug the BPM part of it. Plz advise Any bok or suggestion will be appreciated.
    Thanks & Regards,
    Mohan

    Integration Process monitoring:
    https://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/ab3f538e-0d01-0010-07b7-802c90b67eec&overridelayout=true
    Regards,
    Manjusha.

  • IPad I bought from friend has speaker issues. Am I able to take it to Apple Store and still be covered under the 1 year complimentary Applecare?

    iPad I bought from friend has speaker issues. Am I able to take it to Apple Store and still be covered under the 1 year complimentary Applecare?

    Yes, so long as it's within the original purchase year (ie, the purchase from Apple, not from your friend).
    Matt

  • My apps keep closing, all of the ones that i purchased from the app store. They started doing this unexpectant, please help me. what can i do to fix this issue?

    my apps keep closing, all of the ones that i purchased from the app store. They started doing this unexpectant, please help me. what can i do to fix this issue?

    Apps crashing
    See:
    iOS: Troubleshooting applications purchased from the App Store
    Contact the developer/go to their support site if only one app.
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • Issue in opening reports in Disconnected Analytics at Client side.

    Hi Gurus,
    I have successfully configured the disconnected analytics.
    The repository name = disconnected.rpd
    In the Connection Pool tab, below information is given :
    User name = Disconnected
    Username/password = dba/dba
    Call interface =Default(ODBC 3.5)
    In the Database tab, below information is given:
    Database : SQL Anywhere 9
    On the client side, when I open the report "channel_report" in answers, it is giving me below error :
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: 28000 code: -103 message: [Sybase][ODBC Driver][Adaptive Server Anywhere]Invalid user ID or password. (HY000)
    SQL Issued: SELECT Channels."Channel Class" saw_0, Channels."Channel Desc" saw_1 FROM SH ORDER BY saw_0, saw_1
    Can anyone know how to resolve it?
    ~ John
    Edited by: user541642 on Sep 16, 2011 4:40 AM

    Hi Gurus,
    I have successfully configured the disconnected analytics.
    The repository name = disconnected.rpd
    In the Connection Pool tab, below information is given :
    User name = Disconnected
    Username/password = dba/dba
    Call interface =Default(ODBC 3.5)
    In the Database tab, below information is given:
    Database : SQL Anywhere 9
    On the client side, when I open the report "channel_report" in answers, it is giving me below error :
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: 28000 code: -103 message: [Sybase][ODBC Driver][Adaptive Server Anywhere]Invalid user ID or password. (HY000)
    SQL Issued: SELECT Channels."Channel Class" saw_0, Channels."Channel Desc" saw_1 FROM SH ORDER BY saw_0, saw_1
    Can anyone know how to resolve it?
    ~ John
    Edited by: user541642 on Sep 16, 2011 4:40 AM

  • Certificates Issue... Contact Apple Care and went to store, no answer

    Hello everyone.
    I'm having an issue with the certificates when using the internet. I really have no clue what im talking about with all this stuff so I'll explain what I can. When I go to log on a page, I get certificate security warnings. I get the warning when I log into the apple discussions page, when I log into yahoo mail, when I go to my mail application. It does it in Mail, Entourage, Safari, and Firefox. The guy at AppleCare said he had no idea on how to fix it (after being on the phone with him for an hour, which is unusual) and the guy at the apple store said they get it on their computers and he has it on his home computer and had no idea how to do it. Then he asked the three guys next to him and they didnt know how to fix it. In the store, we backed up my laptop and did a whole bunch of crap to it, including creating a new account (everything I did in the store, I did on the phone too). I have no idea how to fix it. Anyone have any ideas? It never use to do it when I first had my computer. If anyone needs more information, just post. Thanks.

    There's none in mine, but those settings have always been off, I don't think it would store anything with those off.
    You might try turning them on and seeing what happens. Perhaps, at the very least, it will load up Certificates so it will stop showing anything you've already visited.
    Did you try rebuilding permissions or rebuilding launch services database?
    I have no idea if those will work but I've found that simply trying different things sometimes works even if you don't know why.
    I would say to trash Safari preferences but you are saying it happens in other apps as well.
    This is a puzzler, with those two settings in Keychain Access off you should not be getting those messages. Perhaps you need to trash Keychain Access preferences and caches, but beware that you will have to redo any other passwords you have set.
    Kevin
    http://www.bearbyte.blogspot.com/

  • IPad App issue ..!! adt.bat -target ipa-app-store app hangsss..!!

    Hi Team,
    I have created an iPad App.
    adt.bat -package -target ipa-app-store  :  makes an .ipa which installs on my iPad, but fails to run it brings up splash screen and halts
    adt.bat -package -target ipa-test : makes an .ipa which installs on my iPad, but fails to run  it brings up splash screen and halts
    adt.bat -package -target ipa-test-interpreter : makes an .ipa which installs on my iPad and successfully runs
    After issue, i create a simple app using just one label , still the same issue
    I am using correct distribution provision and certificates .
    help appreciated..!!

    I did eventually figure it out. At the time I didn't know how to embed an XML file, so I was taking the file and converting it to a reallly long string. It was in the format of:
    xmlString += "<xmlTag>stuff</xmlTag>";
    xmlString += "<otherTag>stuff</otherTag>";
    There were three files, the shortest of which was over 1000 lines long. For some reason the compiler just choked on that. If I had even one of them in there it wouldn't compile for the app store. The moment I removed them, everything could compile just fine. That was when I figured out how to just embed the XML files and everything has worked since. Interestingly, my compile times for test and debug mode dropped by half once I did that; so it was clearly causing some issues for the compiler in general.
    If you don't have a file like the one I just described, I would recommend commenting out almost everything in your main file and compiling it. If you have an empty project, everything should compile correctly. Start adding things back in one at a time until you get the problem. That was how I ended up nailing down what was happening for us.

  • Issues with color panel and other windows on right side of flash

    Ok the issue I'm having with flash is that the windows on the right side of my flash window do not snap up when I collapse a window. I am attaching a screen shot to better explain this issue.
    As you can see I have the color panel collapsed up, when I expand this panel and it goes down everything shifts down. however when I collapse it back up a huge gap is left behind in CS5.5 as is displayed in screen shot number 2. In CS4 I never had this problem. I could expand and collapse panels as I saw fit with no problems what so ever. Everytime now that I expand a panel and collapse it, the library or other panels do not move up with the collapsing. This causes a workspace issue. and forces me to drag up the library via the black line that is just above it but below the align panel so that I have better access to my library or properties panel for when I'm working. I find this highly annoying and would like it if there could be a fix produced to make it so this collapsing issue can be fixed and I don't have to waste time dragging up the library/properties panel everytime I need to access stuff in my library when I have a huge list of graphics I'm going through.
    Thanks
    h_cline2

    I already tried that, first thing I thought of before coming to the forums for a solution.
    Thanks anyways.
    Any other ideas?

  • Issues syncing apps between itunes and ios devices - changed itunes store

    I have had an iTunes store account for several years with the same apple ID.  Initially I connected that apple ID to the Belgian store and about 2 years ago I changed to the UK store, but still with the same apple ID. 
    Since I have several IOS devices, I prefer to use iTunes to update any apps I have downloaded and then sync them onto all my IOS devices using my local network rather than downloading accross the internet each time.  When I view the apps in my library it says a number of updates are available (right now there are 9).  but when I click on the button to go to the store and retrieve the updates - itunes store says "No Updates are currently avaialable" and suggests I sign in with a different ID.  However, I don't have a different ID. 
    This seems to be that any of the apps I puurchased in the Belgian store prior to switch to the UK will not update.   For a while, as a resolution, I was able to download updates on one or more of my IOS devices sucesfully whicever store I purchased them from and then when I synced back to iTunes, it updated them in the library.  Wasn't very pretty but it worked. 
    Now after upgrading to iTunes 11, although I can still update the apps on my IOS devices, when I sync it no longer transfers the updates to the iTunes library - I haven't had iTunes 11 long enough to determine if it's related to the same store switch issue or if it's a general problem.
    Anybody got any similar experiences or solutions to consolidate all my purchased apps (which ever store) into one, so updating is transparenet again?

    (A) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.
    (B) Reset all settings
    Settings>General>Reset>Reset all settings
    Note: Data will not be affected but settings will be reset.

  • Hi. New iPad Air for Xmas. Intermittent issues with Safari closing suddenly or just suddenly opening App Store on a second tab. HELP!

    Hi
    There is an intermittent issue with either Safari just closing suddenly (looking at other discussions, believe this is to do with the RAM - wish this had been mentioned in at least one review of iPad Air I investigated before purchasing) however the most irritating issue is this constant 'jumping' from whatever I'm reading to the App Store which has been just automatically opened on another tab.. App Store is either showing William Hill app (never looked at or downloaded this) or on some occasions, some random game app which again, I've never looked at or downloaded... (I've checked the pages I've been reading &amp; none of these are pop-ups or ads on these pages either...)
    Any ideas?

    I have this issue too. I don't think it's a problem with anyone's iPad or iPhone, it's internet advertisers who have worked out how to automatically trigger sending a person to the App Store just by loading a web page. I've seen William Hill and various games come through on the App Store with this technique.
    This could mean Apple have no protection in Safari for preventing redirects to the App Store without a user specifically triggering it (like the way pop-ups used to happen before pop-up blockers were invented). Although I suspect that Apple wouldn't be that blasé about that sort of thing. More likely I think is the advertisers are binding a page event like onscroll which shouldn't allow this but was perhaps overlooked by Safari's developers. Apple need to make an update to Safari to prevent anything but ontap/onclick events from opening the App Store.
    You should perhaps consider banning apps on the App Store using this advertising technique. They'd soon start behaving if they thought their app could be de-listed!!!

  • TURBOTAX 2014 CD DOES NOT PERMIT OFFLINE PRINT OR SAVE TO PDF.  YOU CAN ONLY SAVE TO PDF OR PRINT IF ONLINE.  BIG SECURITY ISSUE.  INTUIT IN WSJ ARTICLE BLAMES APPLE, SAYING APP STORE SOFTWARE RESULTED IN THIS.  TRUE?

    Starting this year, Turbotax CD/download versions will not permit people to print tax forms when offline. If you try to print while not connected to the Internet, you receive the warning “There was a problem connecting to Intuit’s Secure Print Service.  Please check your Internet connection or try again later.”  Indeed, Paragraph 9 of the Intuit Software End User License Agreement states:  "You may save your return as a PDF file and understand it may be processed on Intuit servers, not as part of the Software."
    Even if you wish to protect your data by not exposing it to the Internet, Turbotax will not let you without sharing your entire return first with them.  They prohibit you from only printing locally on home, cable-connected printers.
    The result of this is that people who tried to be safe by never going online with tax data, are this year being forced by Intuit software to expose all their sensitive tax information files to the Internet and Intuit print server, even though they do not wish to. Turbotax is putting you at risk.
    On Feb 19 the Wall Street Journal quoted an Intuit spokesperson blaming Apple:  According to Julie Miller, an Intuit spokeswoman, TurboTax made the change “because the Mac product requires a special, third-party code library to support offline printing.” And she says, “based on Apple App Store guidelines, we could no longer distribute the third-party library with our software.”   She said the change in the TurboTax Mac software was first made for 2013 tax returns, but last year customers had the option of printing returns without being connected to the Internet.
    So is Apple to blame that I now have to expose my sensitive tax data to Intuit just to be allowed to save to PDF on my hard disk?  And it's all Apple's fault?
    Can anyone clarify this?

    Thank you for this an the other posts.  Particularly for Barney,
    I have just discovered that Turbotax actually permits you to print (and save to PDF) documents from the Help
    Center built into the program, even when you are OFFLINE.  Works just like normal printing is supposed to.  It just won't let you print actual tax forms. So I guess they were willing to violate Apple’s rules when you print information from their help center offline, but you just can't do the same with your own tax forms.  Clearly this shows that what Intuit told Forbes was a fabrication.
    They do in fact have the proper code in the program for printing and saving to PDF.  They just deny you usage of that code for printing your tax returns, which they want to copy.  I don’t think there can be any doubt about what they are doing.  Surely they are not deceiving apple by allowing the limited print function?
    We can only hope that a brave journalist will challenge them on this, since Intuit will not respond to customers.
    Thank you for any views on this points.

  • Apple store log in issues, keeps getting error can't connect to itunes/apple store

    Pls. Help i can't connect to the apple store, needs to download an app. My psswrd is correct, i can log in to facetime but not on the apple store

    Cannot connect to iTune Store
    http://support.apple.com/kb/ts1368

  • Having an issue with itunes purchase, message shows "could not complete itunes store request, requested resource not found." My account has been debited for the price of the download, but I dont have the download.

    Need some help, I was downloading an album when the message "could not complete itunes store request, requested resource not found."  "Error in the itunes store please try again later." My account has been deducted for the amount of the album, but I dont have it downloaded on my computer. Please help!!! Thank you!!!

    Does the purchases show in your Purchased list?
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"? Ones with a green checkmark are solved.
    Next contact iTunes by:
    Contact iTunes

  • DB Adapters inserting data into 2 diff tables of same database giving issue

    Hello,
    I am using Oracle soa suite 11g BPEL.
    I need to insert data in 4 different tables of same Oracle database with the requirement of rollback all data if error occurs anywhere.
    I have configured the DB adapater as XA enabled on console .
    In code:-
    I am using 2 DBAdapters to insert data one by one in 2 diff tables of same DB (using INSERT ONLY operations). Before each invoke activity i am using a transformation activity to prepare the input variable of the DBAdapter.
    When i run this code i get below error:-
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'insert' failed due to: DBWriteInteractionSpec Execute Failed Exception. insert failed. Descriptor name: [DBINS_DIANA.XxontPoiHdrsIface]. Caused by java.sql.BatchUpdateException: ORA-02049: timeout: distributed transaction waiting for lock . ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
    If i use a wait activity between the 2 invokes i get the data inserted fine , but that means the transactions between inserts would be committed which i want to be rollback fully in case of any errors.
    Can anyone have a clue what is wrong here?
    Thanks
    Shivani

    Hi Anagha,
    Have a look at these links:
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/676b3c255b1475e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/d5653fd1d3b81ae10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
    Regards,
    Chandra

  • Issue with upper case in cyrillic characters - error with SID generation

    Hi all,
    I have a problem loading a cyrillic string into a characteristic in a DSO.
    I get an error message when trying to activate the data in the DSO.
    The characteristic is a CHAR18 with the "lowercase letters" unmarked and there is an abap
    routine to convert the string in upper case.
    According to the error message, the string seems to be converted because the error shows the string in upper case ( the input was in lower case)  but the DSO data is not activated:
    " Value 'НЕУСТОЙКА 3498' (hex. '041D0415042304210422041E0419041A041000200033003400')
    of characteristic A2_ALLOCN contains invalid characters",
    I am working in an unicode system and I don´t know what is wrong...
    Any input will be highly appreciate it.
    Thanks in advance,
    Elena

    Value 'НЕУСТОЙКА 3498'
    Seems to be value contains invalid character.  Й
    If you need to populate invalid char into target  maintain this in t- code RSKC , Then system allows the Invalide chars into the target
    Donu2019t need edit this ivalue manually in PSA with required value and reconstruct from PSA.
    With Regards,
    Kishore.
    Edited by: Siv Kishore on Apr 22, 2009 11:37 AM
    Edited by: Siv Kishore on Apr 22, 2009 11:39 AM

Maybe you are looking for