Problem when creating new resource in CMSXDB

We installed the CMSXDB sample succesfully.
We can create new users, create new folders; but when adding a documnt (resource) to a folder we get following error.
For an external document:
oracle.otnsamples.cmsxdb.exception.CMSAccessException: IOException in FileUploadUitlsjava.io.IOException: java.sql.SQLException: Invalid argument(s) in call
     at oracle.otnsamples.cmsxdb.useraction.FileUploadUtils.(FileUploadUtils.java:89)
     at oracle.otnsamples.cmsxdb.useraction.DataUtils.resource(DataUtils.java:885)
     at NewResource.jspService(_NewResource.java:73)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
If we try the other option (creation on the fly); we get following error:
oracle.otnsamples.cmsxdb.exception.CMSAccessException: SQLException in createresource in resource method of DataUtils : java.sql.SQLException: SQLException in getCLOB : java.sql.SQLException: Invalid argument(s) in call
     at oracle.otnsamples.cmsxdb.useraction.DataUtils.resource(DataUtils.java:1109)
     at NewResource.jspService(_NewResource.java:73)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) ...
Do you have any idea what can be the cause for this error?

Hi Mark,
The details of the properties that you have to set in Connection.properties file
List of properties to be altered (Mandatory)
DBWebURL=http://incq234a.idc.oracle.com:8080
The HTTP url where the xdb servlet engine is running
Format : http://<hostname_where_db_is_installed>:8080
siteRootPath=/tmp/testsite
The absolute path under which the files will be generated, once a file is sent for externalization and approved by cmsadmin.
The file will be generated under ConnParams.siteRoot/<resource_path>.<content_type>
example: /tmp/testsite/cmshome/news/headlines.html
List of properties to be altered( Optional )
[ we recommend that the default values be used and these properties not be altered ]
DataSourceName=jdbc/CmsdbDS
Name of the datasource, that was entered in J2EE_HOME/config/data-sources.xml
DBUsername=cmsadmin
DBPassword=cmsadmin
[ if any of the below properties are modified, then the corresponding changes have to done in xdbconfig.xml ]
CMSServletContextRoot=/OTNCMSServlet
The context root where the OTNCMSServlet can be accessed. It will be appended with the DBWebURL.i.e
http://localhost:8080/OTNCMSServlet
Once the servlet is deployed to XDB and the xdbconfig.xml file updated with the servlet entry. The Servlet can be accessed from the above URL
TransServletContextRoot =/transformservlet
The context root where the TransformServlet can be accessed. It will be appended with the DBWebURL.i.e
http://localhost:8080/transformservlet
SearchServletContextRoot =/searchservlet
The context root where the SearchServlet can be accessed. It will be appended with the DBWebURL.i.e
http://localhost:8080/searchservlet
We are looking into the resource creation issue, pls update us on wheather you are using the right values for these properties. If you were using any incorrect property values, update it and try deploying and running the app again.
Regards
Elango.

Similar Messages

  • Problem when creating new Objects in ESR

    Hi ,
    When i am trying to create new objects in ESR it is no allowing me to do,i have developed around 80 interfaces as of nowmsuddenly this eeror i getting,anyone experienced this kind of issue.
    *You cannot create new objects since the system is not the original system of the software component version*
    You cannot create new objects since the system is not
    the original system of the software component version (NOT_ORIGINAL_NO_CREATE)
    MESSAGE ID: com.sap.aii.ib.server.oa.rb_all.NOT_ORIGINAL_NO_CREATE
    Regards,
    Raj

    Hi Raja,
    I am new to SAP PI. So i dunno much regarding SAP PI. Hence i am getting same error that not able to create objects in SWCV. I read this discussion but i dunno where to select the 'Modifiable & Original' options, so that i can enable the Objects. Can you please guide me?
    Thanks,
    Amarnath

  • Huge Problem When Create New Lightroom Catalog

    When I created new Lightroom catalogs, I did not notice that it asks where to save it.  So, it saved the catalogs in "Documents".  Now it seems I have two copies of the following:
      - The Lrcat files appear in Documents and on my external drive in a file labeled LRFILES
      -  The original raw files downloaded from the camera appears in Documents and my external drive in a file labeled ORIGINALS
    I trashed the Lrcat files and the originals in Documents.  I was surprised to see that the Lrcat files and original raw files ALSO disappeared (from external storage). Why, how did that happen?
    I recovered the Lrcat files and original raw files and loaded them back onto the external storage.  They appeared in Documents!  Why, how did that happen?
    I tried to relink my Lightroom pictures with the Lrcat file on the external drive.  I can do it one at a time.  It  does not locate all the other ones even though they are all in same file, like what usually happens.
    Goal is to relink all pictures with the originals on the external drive so I can get rid of the duplicate files under "Documents".  How can that be done?

    I don't understand why you are creating so many different catalogs. In most instances, Lightroom is much easier to manage when using a single catalog. When you use the import dialog you need to take care to specify the destination folder where you are going to download. It's all controlled in the right-hand panel of the import dialog. Ideally, you should be working with a single catalog, and choosing a destination folder on your external hard drive if that is where you want to store your images.

  • Strange Permissions problem when creating new Open Directory user

    I just set up a mac lab to authenticate to an Open Directory server which also stores home folders. All of the initial users I created work fine, there were about 50 users that I set up. When I added a new user this morning though, it would not allow him to access anything within his home folder (i.e. nothing worked)
    I went back to the server and took a look at the Users share and noticed that when his accound was created, instead of setting the owner of the folder to his username (xxx123) it was set to his userid number (1024). I did a chown on his directory to his username and he was then able to access his home directory from the clients.
    I realize I found a fix, but I would prefer to not have to do this every time I create a new user. Why is this happening?

    Have you used the "Role" drop-down to "SYSDBA"? - if not, you get the ORA-01017 error.

  • Problem when creating new SO line

    Hello Everyone,
    Through form personalization I have made the sales order lines non-Updatable those having status as "Release to warehouse" and those are having other than this status then it is updatable.
    Suppose, there are two lines already present and second line has status like "Release to warehouse" and if I create a new line and try to save this line then the error message come up i.e. "You attempted to update a record on a block that does not allow updates."
    Please provide the solution.
    Thanks,
    JAK

    Hi Raja,
    I am new to SAP PI. So i dunno much regarding SAP PI. Hence i am getting same error that not able to create objects in SWCV. I read this discussion but i dunno where to select the 'Modifiable & Original' options, so that i can enable the Objects. Can you please guide me?
    Thanks,
    Amarnath

  • 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.1

    Hello,
    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

  • Problems when Creating Pages from Templates in Dreamweaver 8

    When creating new pages from templates in Dreamweaver 8(Ver
    8.0.2). The full path for images is not created
    i.e. in template the code is <img src="main_page_logo.png"
    width="814" height="172" longdesc="Main Page Logo" />
    In the new file the code should be :-
    <img src="../../Templates/main_page_logo.png" width="814"
    height="172" longdesc="Main Page Logo" />
    but only :-
    <img src="main_page_logo.png" width="814" height="172"
    longdesc="Main Page Logo" /> is in the code.
    but this does work in Version 8.0.
    Does anyone know of a setting or fix for this problem

    > Does anyone know of a setting or fix for this problem
    It was regarded as a bug in previous versions, and was fixed
    in the 8.0.2
    release. In normal circumstances, ALL links in a template
    file must be
    relative to the template document, not relative to where you
    intend to save
    the child pages. Thus, there would be no way to have a link
    in your
    template document like the first one you show, e.g.,
    <img src="whatever.png"....
    *unless* the file was actually in the Templates folder (a bad
    idea).
    In 8.0.2, you can set your PREFERENCES for the Templates
    category to NOT
    MANAGE relative links. Be aware that this may have unintended
    consequences
    for you - specifically regarding other relative links in your
    site.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "pgs_it" <[email protected]> wrote in
    message
    news:eivj88$361$[email protected]..
    > When creating new pages from templates in Dreamweaver
    8(Ver 8.0.2). The
    > full
    > path for images is not created
    > i.e. in template the code is <img
    src="main_page_logo.png" width="814"
    > height="172" longdesc="Main Page Logo" />
    > In the new file the code should be :-
    > <img src="../../Templates/main_page_logo.png"
    width="814" height="172"
    > longdesc="Main Page Logo" />
    > but only :-
    > <img src="main_page_logo.png" width="814"
    height="172" longdesc="Main Page
    > Logo" /> is in the code.
    > but this does work in Version 8.0.
    > Does anyone know of a setting or fix for this problem
    >
    >
    >

  • When create new projec "An unexpected severe error has occurred"

    I've update to JDeveloper when create new project i get the following error
    Sep 11, 2010 8:33:43 AM oracle.jdevimpl.rescat2.hook.DTExtensionLoader loadAdapters()
    WARNING: error while registering resource catalog adapter factory [oracle.webcenter.content.internal.model.rc.ContentInitialContextFactory] for connection type [oracle.webcenter.content.internal.model.rc.ContentConnectionType]
    oracle.classloader.util.AnnotatedClassNotFoundException:
         Missing class: oracle.webcenter.content.internal.model.rc.ContentConnectionType
         Dependent class: oracle.jdevimpl.rescat2.hook.DTExtensionLoader
         Loader: ide-global:11.1.1.0.0
         Code-Source: /C:/Oracle/Middleware/jdeveloper/jdev/extensions/oracle.jdevimpl.rescat2.jar
         Configuration: extension jar in C:\Oracle\Middleware\jdeveloper\jdev\extensions
    This load was initiated at ide-global:11.1.1.0.0 using the Class.forName() method.
    The missing class is not available from any code-source or loader in the system.

    Did anyone find out why this is happening?I just installed Jdeveloper and I am facing the same problem
    Cheers
    Sridhar

  • 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

  • Problem when creating a sales order with reference by BAPI

    I am facing one problem when creating Sales Order.
    <b>The scenario is like this while creating SO With reference to an Order type, a new SO will be automatically created with a diff order Type</b>.
    I am using "BAPI_SALESORDER_CREATEFROMDAT2".
    I am calling this BAPI in USEREXIT_REFRESH_DOCUMENT.
    Am I using the right exit to call this Bapi ?
    <b>Problems are like :
    1. Ref Sales Order creating without Sales Unit .
    2. "Object Status does not exist" error msg is coming for Header and Item level(when clicking the status tab and then object status pushbutton).</b> But if testing the bapi from SE37 in test sequence....no such problem persists.
    As for example in case of sales unit,in the debugging mode i have seen that BAPI uses a perform to fill the values in the VBAP structure.But after that when it come back to the main program VBAP remains blank.This ocuurs when the BAPI is called from the exit whereas  if tested from SE37, VBAP retains the value.
    Can u suggest in this ? This is very very urgent............
    Thx in Adv.........................

    Thanks........
    Your suggestion was a great help to me.I have used a custom FM and called it in <b>starting new task</b>.
    Since i am a university fresher working in SAP for nearly 1 year.....can you please explain me the difference between <b>in update task</b> and <b>starting new task</b>.Why the problem was occuring for which you have suggested to call a custom function module.
    what is V1 update and V2 update?Is it attached with asynchronous ans synchronous update.It would be a great help to me if you kindly clear my confusions....
    thanks in advance.

  • 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,
    Nagesh

    Hi 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,
    Omri

    Solved it on my own by deleting and creating the track again (with the same settings!!!)

  • Problem with creating new user in portal = portlet is not visible

    Hi,
    I've got a problem with creating new users in portal. In the Administer tab of the builder is the user portlet not visible.
    How can I make this portlet visible?
    Please Help
    thank you...
    Gilbert

    Hi..my problem slightly similar.
    I created one new user, and didn't select anything from "Public Groups Assignment" and "Privilege Assignment" for him.
    I expect the user will be a public user.
    But, when he try to logged in the portal,
    He cannot see all the PORTLETS related to database values..
    All he can see just LINKS -that all in my portal right now beside the report from database that the user cannot see :)
    So, what did i do wrong?
    Plz Advise, and thanks.

  • Problem in creating new versions for existing DIR using CV01N

    I am working in SAP ERP 6.0 EHP 4.0 system.
    I have problem in creating new versions for existing DIR using CV01N
    I create a DIR version 00 with functional location and mpd cycles. Then when i try to create a new version by copying the contents created from already created document.I change the MPD cycles in the new version and save it.
    once when i display the first document created the mpdcycle specified in version 01 is copied to the 00 version.
    The document is inconsistent where versioning of document doesnot work properly wrt MPDCYCLE and MP HEADER.
    The problem which i found was the document identification guid remains the same for all the document versions getting created.
    The same is working fine in SAP ERP6.0 EHP3.0 sytem.
    Please someone help me in resolving the above issue.
    Regards,
    Prasad.B

    There is a change in the standard code.The reason for the above problem was  because of a missing Enhancemnet point in a standard function module 'CV110_DOC_CREATE_WITH_TEMPLATE'.
    IS-ADEC-MPD  - Enhancement to copy MPD data
    ENHANCEMENT-POINT CV110_DOC_CREATE_WTEMPL_01 SPOTS ES_SAPLCV110.
    +*$*$-Start: CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    +**ENHANCEMENT 1  ZSF_AD_MPD_SAPLCV110.    "active version**+
    +*** copy MPD relevant data from templ. doc to current doc**+
      +**CALL FUNCTION 'MPD02_COPY_MPD_DATA'**+
        +**EXPORTING**+
          +**is_draw = ls_draw**+
        +**TABLES**+
          +**ct_drad = lt_drad.**+
    +*ENDENHANCEMENT.**$*$-End:   CV110_DOC_CREATE_WTEMPL_01----------------------------------------------------------$*$*+
    Created a custom enhancement point similar to SAP ECC6.0 EHP 3.0 system.
    The reason was the buffer was not getting cleared previously.After inserting the above code the DIR's are getting created withot any issues.
    Regards,
    Prasad.B

  • Problem when Creating Project (Composite Application Services) in NWDS

    I've seen a few posts regarding this but I don't feel as if any real solution was given.
    I just installed Netweaver Developer Studio (7.0.15) with the current JDK/JRE (1.6.0_07).  When trying to create a new Composite Application Services project within the Studio, using the new project wizard, I get an error: Problem when Creating Project.
    I get the EJB Module and Dictionary to create within my navigator with no problems, however, during the creation of the metadata, the error occurs.  I do have the metadata folder appear within the navigator, but nothing in it.  None of the other three items are created.
    I have tried the attempt at deleting the metadata folder within my workspace directory and trying again but the same exact result occurs.
    Is there any other solution out there for this problem besides attempting to find older versions of NWDS, etc. that are more "stable"?
    Thank you!

    Durga,
    Very simple but effective solution.
    I had tried uninstalling / re-installing NWDS with no effect but uninstalling / re-installing NWDS AND all java related products on my machine did work.
    Note: For anyone else with this issue in the future.  I installed the Java SDK / JRE 1.4.2_18 with NWDS 7.0.15 in case this is also a possible issue with versions.
    Thanks, Durga!

Maybe you are looking for