ORA-24344 when creating new workspace
I am using HTMLDB 2.0 and successfully created several workspaces several months ago. I am now trying to create a new workspace and I get "ORA-24344: success with compilation error. Error provisioning <workspace>." I receive the same error whether I am reusing an existing schema or not. I have made sure there are no invalid views or procedures in the flows_020000 schema and have run ...\rdbms\admin\utlrp.sql just in case. When an existing schema is not reused, the new user does not appear to have been created. My database is 10.2.0.1 and I am running on a Windows Server 2003 system. Does anyone have any ideas?
Thanks,
Bob
Just to recap, when you re-use an existing schema, you get the error but the workspace gets created, you can login to the workspace, everything works? But when you specify a new schema you get the error but the workspace is/is not created (?) and the schema is definitely not created?
Scott
Similar Messages
-
ORA-20001: error 29th ORA-24344 When creating a workspace
Hi,
I just installed APEX 4.0 on 10g (10.2.0.4).
When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error.
ORA-20001: error 29th ORA-24344: success with compilation error
Error provisioning test.
I could not find any errors in PLSQL debug error, and in DBA_ERRORS table.
Could you help me to fix this problem? I ran utlrp.sql to make sure we don't have invalid objects. And I read the installation log and found no errors. XDB, OWA installed.
I have another APEX 4.0 instance on 11g R2, and it works fine.
Thanks
Jung
Edited by: jwryoo on Jul 15, 2010 8:37 AMthanks.
Yes, that's I already checked and confirmed that the privilege is granted.
DBA_ERRORS did not show any errors owned by APEX% users.
But I did see some errors owned by XDB.
PL/SQL: Item ignored
PLS-00201: identifier 'UTL_FILE' must be declared
PL/SQL: Statement ignored
PLS-00201: identifier 'DBMS_LOB' must be declared
It seems the DB has revoked some public access for security reasons.
So, I am trying to ask DBA to grant the privileges to XDB. -
ORA+27478 when requesting new workspace
Hi,
after going through the wizard for creating a new workspace, I get the following errorÖ
ORA-27478: job "APEX_040000.ORACLE_APEX_MAIL_QUEUE" is running
Error requesting Workspace: .
Return to application.
Language: en
Application Express 4.0.0.00.46If I login as the ADMIN user I can see the request but if I try to approve it I get the same error.
The Job monitor reports that the ORACLE_APEX_MAIL_QUEUE job is running.
Not sure where to look for solutions_
Cheers,
AndyThanks,
this is what I get when I am querying the dba_jobs view:
select job, INSTANCE, FAILURES, SCHEMA_USER from dba_jobs;
JOB INSTANCE FAILURES SCHEMA_USER
4001 0 0 APEX_030200
4002 0 0 APEX_030200
23 0 0 SYSMANThis doesn’t look right at all as the schema_user isn't APEX_04..... or am I missing something?
I have alsochecked the job_queue_processes parameter:
show parameter JOB
NAME TYPE VALUE
job_queue_processes integer 1000-Andy
Edited by: A Tael on Aug 6, 2010 9:19 AM
Edited by: A Tael on Aug 6, 2010 9:46 AM -
Keep background image same when creating new workspace
Hi and thanks in advance for any input,
Up until I plugged in a mini-display port to HDMI connection/dongle I would have the same background when I created a new workspace (OSX 10.7 Lion).
Now, when I create a new workspace, the background set's itself to the first picture in a set folder with a default option of rotating the background image after a set period of time.
My question is this: how do I get back to the use case that I am familiar with, where a new workspace has the same background image as the original 'Desktop 1' background?
Thanks for looking,
Jordan from COHey Richard,
What are you Desktop properties set to?
This is an interesting question. My initial (Desktop 1) properties are as follows:
// Properties are set to keep the same background image
However, when I add a new Space, to create Desktop 2, my desktop properties default to:
// Properties of 'New Desktop' (Space) default to Change picture every 10 minutes.
// When I am connected to an external display, the background image of Bonaroo shown in the screen shot becomes the new default; what is odd is that when the external display is not plugged in, another background becomes the default. Odd.
So, replying to your comment made me think of something which ended up being the answer that I have been looking for:
•Why not duplicate the background and place it in its own folder? This way, there would be no other images for it to default to and to change the properties away from, as the folder has not changed.
Indeed a workaround, but the answer to my problems:
One more thing to address:
Even if you don't have random backgrounds set, I would think it a good design idea to make them random. Otherwise users could easily become confused about which desktop they are looking at.
My rebuttal to your design philosophy is that I love the consistency a single background presents. Think of iOS: one background, multiple pages. Users look at the content presented on the page. I regularly use the four finger gesture to enter the 'Exposé' feature of OSX Lion, and this gives me further indication of which desktops arrangement.
I have read other reviews stating that the feature you noted is a great idea, so you are not alone (to have multiple desktop backgrounds for color coding what workspace/desktop/space you are in). My experience was somewhat jarring, however, as I was used to a specific use case of a consistent background; thus I have been posting in an effort to find a solution to my problem. Again, thank you for your insights; you are the one that lead me to a solution, afterall.
// Separate note: expose will rearrange your windows/spaces/workspaces/desktops when you utilize command+tab. This design feature has a distinct iOS feel; as in iOS, your spaces and apps are dynamically rearranged based on the order or applications used.
// Here is a quick photo example illustrating the point:
// (I would have taken a screen shot of the command-tab interface but I cannot take a screen shot while holding down command; I use command-shift-3 for a full screen shot)
1) Apps open in order (for this purpose I am sticking to one application per space and am including two fullscreen apps ): Finder, Safari, System Preferences, Mail
// If I command+tab over to the full screen Mail app, my spaces are now rearranged as follows:
// So now, to further illustrate the point, I can get 'Desktop 2' to be next to Desktop 1 by command-tabbing from Finder [Desktop 1] to System Preferences [Desktop2]; when I enter expose, the spaces are again rearranged to this:
// This is similar to iOS' multitasking where a users multitasking list is dynamically rearranged based on the app that was used last in order to allow the user to gesture to the last app with ease.
Message was edited by: jordoapp -
ORA-30014 When creating new database manually
Greetings!
OS : Windows XP
Oracle Version : 10g
I'm trying to install Peopelsoft Database into a newly created Oracle seed database, I have tested my seed database looging into SYS user.. it works with no issues.
Im going through the Step by step instructions from the people soft installation document.
Step #1
Create Ini.ora for new DB. I named it as HDMO
DB_NAME = HDMO
DB_FILES = 1021
OPEN_CURSORS = 1000
db_block_size = 8192
And placed it into database folder. C:\oracle\product\10.2.0\db_1\database
Step #2
Created ORACLE_SID Environemnt Variable. ORACLE_SID = HDMO
Step #3
Created Windows Service...
oradim -new -sid HDMO -intpwd manager -startmode auto -pfile C:\oracle\product\10.2.0\db_1\database\inithdmo.ora
Database service created succefully, and im able to start & stop activites without issues.
Step #4
Then manual creation of database as mentioned....
REMARK startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
CREATE DATABASE HDMO
maxdatafiles 1021
maxinstances 1
maxlogfiles 8
maxlogmembers 4
CHARACTER SET WE8ISO8859P15
NATIONAL CHARACTER SET UTF8
DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\system01.dbf' SIZE 2000M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED EXTENT MANAGEMENT LOCAL SYSAUX DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\sysaux01.dbf' SIZE 120M REUSE AUTOEXTEND ON NEXT 10240K MAXSIZE UNLIMITED DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE 'C:\oracle\product\10.2.0\oradata\hdmo\temp01.dbf' SIZE 20M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED UNDO TABLESPACE "PSUNDOTS" DATAFILE 'C:\oracle\product\10.2.0\oradata\hdmo\psundots01.dbf' SIZE 300M REUSE
AUTOEXTEND ON NEXT 5120K MAXSIZE UNLIMITED LOGFILE GROUP 1 ('C:\oracle\product\10.2.0\oradata\hdmo\redo01.log') SIZE 100M, GROUP 2 ('C:\oracle\product\10.2.0\oradata\hdmo\redo02.log') SIZE 100M,
GROUP 3 ('C:\oracle\product\10.2.0\oradata\hdmo\redo03.log') SIZE 100M;
Entered into SQLPLUS ' as / sysdba' from Command prompt...
ran above script...
Encountered the following error....
ORA-30014 Operation only supported in Automatic Undo Management Mode
I read some where found that I can get around with it, by adding... UNDO_MANAGEMENT = AUTO in my Inithdmo.ora file.. I did it..
then it yield to diffrent error...
After i login into SQL prompt.. first it says.. "*CONNECTED TO AN IDLE Instance*" then i ran my create database
script... but it says...
ORA-01034 ORacle Not available
Can someone help me here....
Thanks in advance....I tried with the following... Uncommented... (Previosuly it was REMARK ed)
startup nomount pfile=%ORACLE_HOME%\database\inithdmo.ora
there was an error message ORA-01081 Cannot start already running Oracle - shut it down first.
I stop the service and ran the script.. it says NOT CONNECTED to ORACLE.
Is shutdown means stopping the service? -
Unable to create new Workspace
Hi all,
I successfully installed APEX 4.2 inside an Oracle 11g database. On the same server, I have setup a WebLogic 12c server which runs an Admin Server (default) as well as a manually added Managed Server. Inside the Managed Server, I successfully deployed APEX Listener 1.1.4. I was also able to configure the APEX database coupling via http://host:port/apex/listenerConfigure.
Now when I log in to the APEX Administration Console (workspace "INTERNAL") via http://host:port/apex/apex_admin and attempt to create a new workspace "myworkspace", I always end up getting the following error message:
Error provisioning myworkspace.
ORA-20001: Error during the Packaged Application installation.
Has anyone ever encountered the same problem? Can this be due to some access restriction (I'm thinking missing write-permissions in the DB)?
Some background info:
It is possible that something's clashing here with an old DB object: The DB was fully exported from an old machine with a 10g installation and fully imported into Oracle 11g DB on the new machine. The old 10g DB had APEX 3.2 manually installed. That machine was then used to create an APEX workspace and build an application in it.
Is it possible that when I migrated the complete DB, I unwillingly took some DB objects created by the old APEX-version (on the old machine) with me that now clash when I try to use the new APEX version?
Any hint is highly appreciated.
Thanks a lot, regards,
ChrisHi Chris,
as a possible workaround, set "Create demonstration objects in new workspaces" = No in Manage Instance -> Feature Configuration -> Application Development. This will prevent the installation of the Sample Application when a new workspace is created.
After you have done that and created a new workspace, can you login into that workspace and install the Sample Database Application and let us know which error you are getting?
Your problem might be related to the following thread Re: wwv_flow_lists_of_values$ where template applications had been installed on instance level ("Manage Instance -> Manage Shared Components -> Template Applications")
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf
Edited by: Patrick Wolf on Nov 7, 2012 12:39 PM -
I can not save when creating new location i see this error
I CAN N'T SAVE when creating new location i see this error
hi all
when log in to hr responsability and go to location and want to create new location i fil all mandatorey data
and when save new location it can n't save and this error appear below in the tolbar
FRM-40735:ON-INSERT trigger raised unhandled exception ORA- 29273.
have any one can help me to solve this error
my application details
apps 12.1.1 vision instance in hr responsability
also the same error when crating the location in payables respobsabilityTo implement the solution, please execute the following steps:
1. Go into the responsibility: System Administrator
2. Navigate to Profile > System.
3. Clear the value at the Site level for the profile option IRC: Geocode Host.
4. Retest the issue.
5. Migrate the solution as appropriate to other environments.
Edited by: 793535 on Sep 23, 2010 3:35 AM -
When creating new track in stereo... track opens in mono in arrange window
Since upgrading to 8.0.2...weird things are happening to previously saved projects. Stereo tracks are opening up mono and affecting following track. When creating new tracks in stereo.... tracks open mono. I don't know if this is due to 8.0.2 but all these freaky things have happening since. Also, when previewing Apple Loops, I can only hear it on one side, but Loops sounds fine once dragged to arrange window. Is this common or is my computer haunted ? Should I call Ghost Busters ? HELP !!! lol
Hi there,
I'm having the same problem as well: creating new tracks results in a mono software instrument, not the usual stereo software instrument. BUT... "Universal Track Mode" is already checked in my Audio prefs. I unchecked & rechecked it, but to no avail... I'm still only getting mono software instruments.
Any other ideas? No changes have been made to my system, and I'm running the latest version of Logic Pro.
Kirby -
SSMS crash when creating new database diagram
For several years I have been unable to create database diagrams from within SSMS. I have tried every combination of VS2005, VS2008, VS2012 and VS2013 with every combination of SQL2005, SQL2008, SQL2012 and SQL2014.
I have installed, uninstalled, and repaired many dozens of times. I am currently using VS2013 ultimate with SQL2014 express.
I have tried every related 'workaround' that I can find on the internet. Still the problem persists.
Any help would be deeply appreciated.
Here are the relevant details with file versions:
In SSMS, I right-click on a database and choose New Database Diagram. A Blank diagram window appears with the SSMS error dialog:
===================================
Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)
Program Location:
at Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.DocumentObjectSite.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.QueryStatus(Guid& pguidCmdGroup, UInt32 cCmds, OLECMD[] prgCmds, IntPtr pCmdText)
at Microsoft.Internal.VisualStudio.Shell.Interop.IVsTrackSelectionExPrivate.Register()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConnectSelectionContext()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Activate()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService.viewManager_ActiveViewChanged(Object sender, ActiveViewChangedEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at Microsoft.VisualStudio.PlatformUI.ExtensionMethods.RaiseEvent[TEventArgs](EventHandler`1 eventHandler, Object source, TEventArgs args)
at Microsoft.VisualStudio.PlatformUI.Shell.ViewManager.SetActiveView(View view, ActivationType type)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ShowInternal(ShowFlags showFlags)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.<Show>b__26()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.Show()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.<Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show>b__7a()
at Microsoft.VisualStudio.Shell.ThreadHelper.Invoke[TResult](Func`1 method)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.MarshalingWindowFrame.Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame.Show()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VirtualProject.Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection
con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlVirtualProject.CreateDesigner(Urn origUrn, DocumentType editorType, DocumentOptions aeOptions, IManagedConnection con, String fileName)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.CreateDesignerWindow(IManagedConnection mc, DocumentOptions options)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeDesigner(IManagedConnection connection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()
at Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ToolsMenuItemBase.MenuInvokedHandler(Object sender, EventArgs args)
Version info taken from Sql Server Management Studio/Help/About dialog:
Microsoft SQL Server Management Studio 12.0.2000.8
Microsoft Analysis Services Client Tools 12.0.2000.8
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.17358
Microsoft .NET Framework 4.0.30319.18444
Operating System 6.1.7601
DLL versions
c:\Program Files(x86)\Common Files\microsoft shared\Visual Database Tools
dsref80.dll version 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8
msdds.dll 12.0.21005.1
msddsf.dll 12.0.21005.1
msddslm.dll 12.0.21005.1
msdds.mp.dll 12.0.21005.1
msddsp.dll 12.0.21005.1
c:\Program Files(x86)\Common Files\microsoft shared\MSDesigners8\Resources\1033
msddsui.dll 12.0.21005.1Hello,
There is a Connect item related to this issue. This is the link of that Connect item:
https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
Try the workarounds posted there (Workarounds section).
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Run Time Error in e-commerce crm 5.0 when creating new order
Hi all,
I am getting Run Time Error in e-commerce crm 5.0 when creating new order, shopping basket is comming , but while creating order , getting run time error.
Thanks,
NageshHi nagesh,
Are you able to resolve the issue. Please let me know the solution.
I had started a thread with a same problem but in ERP E-commerce. Points will be rewarded if you provide the solution in the thread below
Re: Run Time Error in e-commerce crm 5.0 when creating new order
Thank You
Ram -
Cannot select name when creating new DC
Hi all,
It seems I encounter this kind of problems over and over again when dealing with NWDI )-:
In this thread Cannot select vendor when creating new DC I couldn't select vendor.
I installed a new NWDI system (version is 7.18), did all the post installation steps including the configuration of a name server on the SLD but I cannot select "name" and the vendor I entered is not shown (even if enter it manually I cannot select name so it doesn't help - see snapshot).
[snapshot|http://img134.imageshack.us/i/nwdi.jpg/]
Snapshot: http://img134.imageshack.us/i/nwdi.jpg/
I did name server config on : http://server:port/dtr/system-tools/administration/NameServerConfiguration
Name prefixes are defined under 'Name Reservation -> Development Component Name' - I used <x.y>/* and <x.y>/tst (x.y is namespace like com.omri).
I updated CMS after setting the name server, restart J2EE and did all kind of voodoo without success.
I use local SLD which is part of the J2EE.
I don't get any error messages (from NWDI/SLD/NWDS).
I don't remember this kind of problem with NWDI on 6.40 versions.
Moreover I installed and configured several systems on 7.12 & 7.13 versions without any problems but with 7.14 & 7.18 I've problem with setting the name server...
Please help,
Thanks,
OmriSolved it on my own by deleting and creating the track again (with the same settings!!!)
-
When create new apple id, they always me to contact to itune support, why?
When create new apple id, they always me to contact to itune support, why?
Have you Contacted Support...
http://www.apple.com/support/itunes/contact.html -
ORA-02303 when creating database on Exadata using template with BP12
I get ORA-02303 when creating a RAC database on Exadata. Logs indicate that error happened when applying bundle patch BP12 and probably when running following script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catsnap.sql
CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
Check the following file for errors:
/u01/app/oracle/product/11.2.0.4/dbhome_1/cfgtoollogs/catbundle/catbundle_EXA_ACSES01_GENERATE_2014Dec17_13_07_45.log
Apply script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_APPLY.sql
Rollback script: /u01/app/oracle/product/11.2.0.4/dbhome_1/rdbms/admin/catbundle_EXA_ACSES01_ROLLBACK.sql
Executing script file...
Processing Oracle Database Packages and Types...
CREATE OR REPLACE TYPE SYS.RewriteMessage AS OBJECT(
ERROR at line 1:
ORA-02303: cannot drop or replace a type with type or table dependents
CREATE OR REPLACE TYPE SYS.ExplainMVMessage AS OBJECT (
ERROR at line 1:
ORA-02303: cannot drop or replace a type with type or table dependents
Anyone experienced the same issue??Metalink search points to few bugs. May be opening a SR is a good idea.
-
Refresh document error when creating new document.
I want to refresh document when create new document , but I meet the error.
Output in Console
http://10.173.1.153:6405/biprws/logon/long/
http://10.173.1.153:6405/biprws/raylight/v1/documents
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/dataproviders/DP0/specification
http://10.173.1.153:6405/biprws/raylight/v1/documents/5800/parameters
Exception in thread "main" java.lang.RuntimeException: Failed : HTTP error code : 500
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.getContentJson(CreateWebiReport40Sample.java:323)
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.refreshDocument(CreateWebiReport40Sample.java:186)
at com.sap.oem.restfulws.test.CreateWebiReport40Sample.main(CreateWebiReport40Sample.java:54)
The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
The error in aps_sia.AdaptiveProcessingServer_trace.000001.glf
|D55BC38155E54B03B55B81F16912890373|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.YR
|D55BC38155E54B03B55B81F16912890374|2015 01 30 07:18:32.355|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryUniverseImpl||Failed to find required BusinessItem in universe with identifier DP0.QUANTITY_SOLD
|D55BC38155E54B03B55B81F16912890375|2015 01 30 07:18:32.356|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
|D55BC38155E54B03B55B81F16912890376|2015 01 30 07:18:32.517|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Query generation failed
com.businessobjects.semanticlayer.qt.internal.QTInternalException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
|D55BC38155E54B03B55B81F16912890377|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl||Failed query spec: Query (MAIN_QUERY)
Results: [ [uniqueName=YR] [Identifier=DP0.YR], [uniqueName=QUANTITY SOLD] [Identifier=DP0.QUANTITY_SOLD]]
DrillScope: []
Sorts: []
Condition: DEF: null
|D55BC38155E54B03B55B81F16912890378|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory||ERR_WIS_00002_QT_SQL_FORBIDDEN_OBJECT
|D55BC38155E54B03B55B81F16912890379|2015 01 30 07:18:32.518|+0000|Error| |>>| | |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||com.businessobjects.dsl.services.query.impl.QueryServiceImpl||[ERROR] [QueryService::getQueryExecutionPlan]
com.businessobjects.semanticlayer.qt.QTException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.semanticlayer.qt.internal.QTExceptionFactory.createInternalFromErrorId(QTExceptionFactory.java:33)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:534)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerator.checkIfForbiddenObjects(QueryGenerator.java:845)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.generateExecutionPlanTree(SQLQueryGenerator.java:528)
at com.businessobjects.semanticlayer.qt.sql.internal.SQLQueryGenerator.run(SQLQueryGenerator.java:358)
at com.businessobjects.semanticlayer.qt.internal.QueryGenerationServiceImpl.generateQueryExecutionPlan(QueryGenerationServiceImpl.java:378)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:288)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
|D55BC38155E54B03B55B81F1691289037a|2015 01 30 07:18:32.519|+0000|Error|Error|>>|E| |aps_sia.AdaptiveProcessingServer| 5348|32475|Transport:Shared-258/56| |62|0|2|0|Webi SDK.CorbaServerImpl.doProcess()|mo-cc5c977ef:4708:180.12126:1|webiserver_sia.WebIntelligenceProcessingServer.processDPCommandsEx|localhost:4364:11300.4387:1|.doIt|mo-cc5c977ef:5348:32475.65198:1|CscV7_EgBUWatuP4KmTSP3Q1539|||||||||||Exception caught in SL Service: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
com.businessobjects.dsl.services.query.QueryServiceException: Some objects are not available to your user profile. You cannot refresh this document. See your administrator to request rights. (WIS 00002)
at com.businessobjects.dsl.services.query.impl.QueryServiceImpl.getQueryExecutionPlan(QueryServiceImpl.java:292)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:188)
at com.sap.sl.proxyconsumption.services.queryservice.QueryServiceImpl.generateExecutionPlan(QueryServiceImpl.java:143)
at com.sap.sl.proxyconsumption.protobuf.rpc.QueryRpc$query.callMethod(QueryRpc.java:826)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.callService(DSLBridge.java:238)
at com.sap.sl.proxyconsumption.services.server.DSLBridge.doIt(DSLBridge.java:163)
at com.businessobjects.cdz_ext.slproxybridge.corba.ServerServant.doIt(ServerServant.java:119)
at sun.reflect.GeneratedMethodAccessor148.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invokeHelper(CommonTransportInterceptor.java:118)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.CommonTransportInterceptor.invoke(CommonTransportInterceptor.java:87)
at com.businessobjects.framework.servers.common.proxy.cglib.MethodInterceptorChain.intercept(MethodInterceptorChain.java:136)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA$$EnhancerByCGLIB$$3bd93036.doIt(<generated>)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._OB_op_doIt(serverPOA.java:107)
at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.slproxybridge.serverPOA._invoke(serverPOA.java:83)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.ServantDispatcher.dispatch(ServantDispatcher.java:234)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._do_OB_dispatch(POA_impl.java:1977)
at com.crystaldecisions.thirdparty.com.ooc.OBPortableServer.POA_impl._OB_dispatch(POA_impl.java:1913)
at com.crystaldecisions.thirdparty.com.ooc.OB.DispatchRequest_impl.invoke(DispatchRequest_impl.java:75)
at com.businessobjects.framework.servers.platform.adapters.ebus.orb.ThreadPoolDispatchStrategy$Dispatcher.run(ThreadPoolDispatchStrategy.java:271)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:743)
Java Source code
Java Source Code
package com.sap.oem.restfulws.test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.text.ParseException;
import org.json.JSONException;
import org.json.JSONObject;
public class CreateWebiReport40Sample {
/** CMS System */
private static final String CMS_LOG_HOST = "10.173.1.153:6405";
/** User name used to log in to the CMS */
private static final String CMS_LOG_USER = "Administrator";
/** User password */
private static final String CMS_LOG_PASS = "******";
/** Authentication mode used to log in to the CMS. Here: Enterprise */
private static final String CMS_AUTH_MODE = "secEnterprise";
private static final String WEBI_URL = "/biprws/raylight/v1";
private String logonToken;
private boolean isLogon = false;
private String folderID = "5652";
private String fileName = "eFashioin_IQ_Auto";
private String documentID = "23547";
private String reportID = "1";
private String dataSourceID = "5650";
private String dataProviderID = "DP0";
private String elementID = "8";
private String elementParentID = "2";
private String elementName = "Block 1";
private String axisID = "1";
public static void main(String[] args) throws JSONException,
ParseException, IOException {
CreateWebiReport40Sample webiRep = new CreateWebiReport40Sample();
JSONObject json = null;
String resultStr = null;
webiRep.getLogonToken();
json = webiRep.createDoc();
json = webiRep.addDataSourceInReport();
json = webiRep.refreshDocument();
// json = webiRep.addTableInReport();
// json = webiRep.updateExpressionInAxis();
webiRep.saveDocument();
System.out.println(resultStr);
if (json != null) {
System.out.println(json.toString());
public JSONObject createDoc() throws IOException, ParseException,
JSONException {
String body = "<document>" + "<name>" + this.fileName + "</name>"
+ "<folderId>" + this.folderID + "</folderId>" + "</document>";
JSONObject json = postContentJson("http://" + CMS_LOG_HOST + WEBI_URL
+ "/documents", body);
this.documentID = json.getJSONObject("success").getString("id");
return json;
public JSONObject saveDocument() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID;
String body = "<document>" + " <name>" + this.fileName + "</name>"
+ " <folderId>" + this.folderID + "</folderId>"
+ "</document>";
// System.out.println(urlStr);
JSONObject json = postContentJson(urlStr, body);
return json;
public JSONObject addDataSourceInReport() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/dataproviders";
String body = "<dataprovider>" + "<name>Query 1</name>"
+ "<dataSourceId>" + this.dataSourceID + "</dataSourceId>"
// + "<dataSourceType>unx</dataSourceType>"
+ "</dataprovider>";
JSONObject json = postContentJson(urlStr, body);
this.dataProviderID = json.getJSONObject("success").getString("id");
json = addQueryInDataProvider();
return json;
public JSONObject addTableInReport() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/reports/" + this.reportID + "/elements";
String body = "<element type=\"VTable\">"
+ " <reference>1.B</reference>" + " <name>"
+ this.elementName
+ "</name>"
+ " <parentId>"
+ this.elementParentID
+ "</parentId>"
+ " <position newVerticalPage=\"false\" oneVerticalPage=\"false\" repeatOnEveryVerticalPage=\"false\" newHorizontalPage=\"false\" oneHorizontalPage=\"false\" verticalAnchorId=\"4\" verticalAnchorType=\"End\" horizontalAnchorType=\"None\" y=\"900.0\" x=\"450.0\"/>"
+ " <hide always=\"false\"/>"
+ " <style>"
+ " <border>"
+ " <top style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <bottom style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <left style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " <right style=\"None\" rgb=\"#000000\" thickness=\"None\"/>"
+ " </border>"
+ " <background height=\"0.0\" width=\"0.0\"/>"
+ " <alternateColor rgb=\"#f8fbfc\" frequency=\"2\"/>"
+ " </style>"
+ " <content>"
+ " <axes duplicateRowAggregation=\"true\">"
+ " <axis role=\"Column\">"
+ " <id>1</id>"
+ " <expressions>"
// + " <formula dataObjectId=\""
// + this.dataProviderID
// + ".YR"
// + "\" dataType=\"String\">=[YR]"
// + "</formula>"
// + " <formula dataObjectId=\""
// + this.dataProviderID
// + ".QUANTITY_SOLD"
// + "\" dataType=\"Numeric\">"
// + "=[QUANTITY SOLD]"
// + "</formula>"
+ " </expressions>"
+ " </axis>"
+ " </axes>"
+ " <layout>"
+ " <zone verticalType=\"Body\" horizontalType=\"Body\">"
+ " <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"5\"/>"
+ " <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"6\"/>"
+ " </zone>"
+ " <zone verticalType=\"Header\" horizontalType=\"Body\">"
+ " <child columnSpan=\"1\" column=\"0\" rowSpan=\"1\" row=\"0\" id=\"8\"/>"
+ " <child columnSpan=\"1\" column=\"1\" rowSpan=\"1\" row=\"0\" id=\"9\"/>"
+ " </zone>"
+ " </layout>"
+ " </content>" + "</element>";
JSONObject json = postContentJson(urlStr, body);
this.elementID = json.getJSONObject("success").getString("id");
return json;
public JSONObject updateExpressionInAxis() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/reports/" + this.reportID + "/elements/"
+ this.elementID + "/axes/" + this.axisID + "/expressions";
// int i = 0;
String body = "<expressions>"
+ " <formula dataType=\"String\">=[YR]</formula>"
+ " <formula dataType=\"Numeric\">=[QUANTITY SOLD]</formula>"
+ "</expressions>";
JSONObject json = putXmlContentJson(urlStr, body);
return json;
public JSONObject refreshDocument() throws IOException, ParseException,
JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
// + this.documentID + "/parameters?refresh=true";
+ this.documentID + "/parameters";
// JSONObject json = this.putXmlContentJson(urlStr, "");
JSONObject json = this.getContentJson(urlStr);
return json;
public JSONObject addQueryInDataProvider() throws IOException,
ParseException, JSONException {
String urlStr = "http://" + CMS_LOG_HOST + WEBI_URL + "/documents/"
+ this.documentID + "/dataproviders/" + this.dataProviderID
+ "/specification";
// int i = 0;
String body = "<queryspec:QuerySpec xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\""
+ " xmlns:queryspec=\"http://com.sap.sl.queryspec\" dataProviderId=\""
+ this.dataProviderID
+ "\">"
+ " <queryParameters>"
+ " <duplicatedRowsProperty activated=\"true\" value=\"true\"/>"
+ " <maxRetrievalTimeInSecondsProperty value=\"0\"/>"
+ " <maxRowsRetrievedProperty value=\"0\"/>"
+ " <removeEmptyRowsProperty activated=\"true\" value=\"true\"/>"
+ " <allowOtherUserToEditQueryProperty activated=\"true\" value=\"true\"/>"
+ " <resetContextOnRefreshProperty activated=\"true\" value=\"true\"/>"
+ " <stripQueryProperty/>"
+ " <useBexQueryDefaultValue activated=\"true\" value=\"true\"/>"
+ " </queryParameters>"
+ " <queriesTree xsi:type=\"queryspec:QueryDataNode\">"
+ " <bOQuery name=\"Query\" identifier=\"_"
+ this.documentID
+ "_"
+ this.dataProviderID
+ "_"
+ "query\">"
+ " <resultObjects identifier=\""
+ this.dataProviderID
+ ".YR"
+ "\" name=\"YR\"/>"
+ " <resultObjects identifier=\""
+ this.dataProviderID
+ ".QUANTITY_SOLD"
+ "\" name=\"QUANTITY SOLD\"/>"
+ " <conditionPart/>"
+ " </bOQuery>"
+ " </queriesTree>" + "</queryspec:QuerySpec>";
JSONObject json = putTextContentJson(urlStr, body);
return json;
public String getLogonToken() throws ParseException, IOException,
JSONException {
String body = "<attrs xmlns=\"http://www.sap.com/rws/bip\">"
+ "<attr name=\"userName\" type=\"string\">"
+ CMS_LOG_USER
+ "</attr>"
+ "<attr name=\"password\" type=\"string\">"
+ CMS_LOG_PASS
+ "</attr>"
+ "<attr name=\"auth\" type=\"string\" possibilities=\"secEnterprise,secLDAP,secWinAD\">"
+ CMS_AUTH_MODE + "</attr>" + "</attrs>";
JSONObject json = postContentJson("http://" + CMS_LOG_HOST
+ "/biprws/logon/long/", body);
logonToken = (String) json.get("logonToken");
isLogon = true;
return logonToken;
private JSONObject postContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "POST",
"application/xml; charset=utf-8");
private JSONObject putTextContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "PUT",
"text/xml; charset=utf-8");
private JSONObject putXmlContentJson(String urlStr, String body)
throws IOException, JSONException {
return postAndPutContentJson(urlStr, body, "PUT",
"application/xml; charset=utf-8");
private JSONObject postAndPutContentJson(String urlStr, String body,
String method, String contentType) throws IOException,
JSONException {
System.out.println(urlStr);
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod(method);
if (this.isLogon) {
conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
+ "\"");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Content-Type", contentType);
conn.setDoInput(true);
conn.setDoOutput(true);
int len = body.length();
conn.setRequestProperty("Content-Length", Integer.toString(len));
conn.connect();
OutputStreamWriter out = new OutputStreamWriter(conn.getOutputStream());
out.write(body, 0, len);
out.flush();
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP error code : "
+ conn.getResponseCode());
BufferedReader br = new BufferedReader(new InputStreamReader((conn
.getInputStream())));
String jsontxt = br.readLine();
br.close();
conn.disconnect();
JSONObject json = new JSONObject(jsontxt);
return json;
private JSONObject getContentJson(String urlStr) throws IOException,
JSONException {
System.out.println(urlStr);
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestMethod("GET");
if (this.isLogon) {
conn.setRequestProperty("X-SAP-LogonToken", "\"" + logonToken
+ "\"");
conn.setRequestProperty("Accept", "application/json");
conn.setRequestProperty("Content-Type",
"application/xml; charset=utf-8");
conn.setDoOutput(true);
conn.setDoInput(true);
conn.connect();
if (conn.getResponseCode() != 200) {
throw new RuntimeException("Failed : HTTP error code : "
+ conn.getResponseCode());
BufferedReader br = new BufferedReader(new InputStreamReader((conn
.getInputStream())));
String jsontxt = br.readLine();
br.close();
JSONObject json = new JSONObject(jsontxt);
conn.disconnect();
return json;
Welcome your adviceHi Kevin,
I think you have to set the query specification for the data provider you created. If you don't, no object is available (that'w why you received a such error).
Best regards,
Anthony -
Shortdump when creating new Application set
Hi All,
We have a newly installed BPC system (BPC 7.0, SP 02).
We are facing issues when creating new Application Set. Although on the .Net server it shows that the creation of appset was successful, in SM37 Copy AppSet job is terminated with Shortdump "Raise_Exception, X_Message".
I can see the new appset in RSA1, however not all dimensions and applications are copied from Apshell.
I've seen SAP Note: 1420399, which says that this type of issue happens when the user does not have sufficient access. But we are facing same issue with admin user who has full access.
Any pointers in resolving this issue would be highly appreciated.
Thanks in advance.
Regards,
MeeraPlease verify you have followed the following steps from the installation guide.
These steps are required for proper functioning of the Business Planning and Consolidation software:
1. Set the /CPMB/ namespace to changeable:
a) Go to transaction SE06 and choose System Change Option.
b) Make sure that the BPC Addon is set to Restricted Modifiability.
c) Set the /CPMB/ namespace to Modifiable.
2. Set the /B28/ namespace to changeable:
a) Go to transaction SE06 and choose System Change Option.
b) Make sure that the BPC Addon is set to Restricted Modifiability.
c) Set the /B28/ namespace to Modifiable.
Thanks and best regards,
[Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
SAP BusinessObjects
Enterprise Performance Management
Regional Implementation Group
Maybe you are looking for
-
I am having a bit of a issue with saving downloads to a specific folder. It will allow me choose a folder, i.e root of a folder, but will not allow me drill down. Any ideas? Thanks
-
[Solved] Nm-applet in Openbox doesn't save WiFi password
Hi guys! In this days I'm working on a Openbox desktop on my eeepc 1005HA... For the wifi connection I have to use network-manager because wicd doesn't work well with the encription of my university (WPA2 Enterprise Tkip + cert)... But nm-applet ever
-
Sender email address verification
During my recent DNS server outage (caused by XO DSL suddenly turning on filtering of port 53), I noticed something quite interesting with .Mac server and I am wondering if there is a way for Tiger server users to EASILY implement the same feature to
-
Is there any standard program provided by SAP related to CASH VOUCHER, EXPENSE VOUCHER, and BANK PAYMENT VOUCHER. Plz give me details on that. I need urgently and first time I am going to work on that. Thanks.
-
Setting JDBC Transaction Isolation
https://community.jboss.org/wiki/ConfigDataSources As explained in the above URL, with JBoss, you can set the JDBC transaction isolation level in the xml file that contains the JDBC connection information. I've been doing some googling, but I'm not c