Webservice creating a KM Folder

Hi,
I want to make a webservice from a java class. When called it should create a folder in a KM repository.
My steps have been:
1.- Create a Java class that creates a KM folder.
2.- A DC of type Java
3.- Create a Webservice from the Java class in the webservice prespective.
I deploy the EAR and Test the webservice throgh the Web Service Navigator. All I am getting are errors like java.lang.NoClassDefFoundError. It seems like it can't find some of the classes, RID, WPUMFactory, etc.
I have added all the JAR's needed in the DC and the Java project. What I have done wrong? Where else should I add the JAR's?
Thanks in advance,
Gregori Coll Ingles.
Thanks in advance,
Gregori Coll Ingles.
Message was edited by: Gregori Coll Ingles
Message was edited by: Gregori Coll Ingles

Hi Darrell,
I guess this could be an option, but I wanted to know if it is posible to do it the way I do.
Anyway I have tried the way you say and I also have problems, and also with libraries. When I build the DC project an error ocurrs saying:
"package com.sapportals.portal.security.usermanagement does not exist
  import com.sapportals.portal.security.usermanagement.IUser;"
The same happens with the rest of libraries.
Regards,
Gregori Coll Ingles.

Similar Messages

  • Error while creating a new folder in resource view of workbench.

    hi
    I am getting this error while creating a new folder from the resources view.
    Please help me in this regard.
    !ENTRY com.adobe.repository.ui.eclipse.forms 4 0 2009-02-19 18:18:36.340
    !MESSAGE REP-001-011: Problem creating a resource folder
    !STACK 0
    com.adobe.repository.ui.eclipse.IDERepositoryException: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
    at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:117)
    at com.adobe.repository.ui.eclipse.core.Repository.createFolder(Repository.java:522)
    at com.adobe.repository.ui.eclipse.actions.NewFolderActionDelegate.workspaceRun(NewFolderAct ionDelegate.java:91)
    at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner$1.run(WorkspaceActi onDelegateRunner.java:76)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
    at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner.run(WorkspaceAction DelegateRunner.java:83)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:539)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at com.adobe.lcide.rcp.Application.run(Unknown Source)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
    at org.eclipse.core.launcher.Main.run(Main.java:977)
    at org.eclipse.core.launcher.Main.main(Main.java:952)
    Caused by: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
    at com.adobe.repository.bindings.dsc.client.ResourceRepositoryClient.writeResource(ResourceR epositoryClient.java:920)
    at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:114)
    ... 31 more
    Thanks
    Ullas

    Thanks Jasmin I did as you told and was able to create folder. But while installing the Event-Dsc and the workflow-dsc I am getting some internal error as given below.
    !ENTRY com.adobe.DSC_Admin_UI 4 4 2009-02-24 15:41:34.984
    !MESSAGE install of C:\Adobe\LiveCycle8.2\deploy\adobe-event-dsc.jar failed
    !STACK 0
    ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:109)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:615)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
    at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
    at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
    at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
    at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
    at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
    at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
    at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:100)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:465)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:394)
    at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
    at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
    at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:152)
    at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
    at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
    at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
    at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
    at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
    at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Caused by: java.lang.ClassNotFoundException: com.adobe.idp.event.bootstrap.EventBootstrapImpl
    at com.adobe.idp.dsc.DSContainerSearchPolicy.findClass(DSContainerSearchPolicy.java:178)
    at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
    at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:403)
    ... 70 more
    As I am using the trial version so I have isnatlled all the products Workbench, Server and the application server in the same machine. My System has 2GB Ram.
    Any help in this will be of great help
    Regards
    Ullas

  • Creating a new folder sometimes drives me wonky

    Have any of you found a work around for this: When I'm in the hierarchical view in the finder and want to create a new folder in one of the panes, the OS can make it difficult. If the pane is completely filled with files or folders, when you control click to bring up the context menu, the OS assumes that you want to pick a choice dealing with whatever file you were hovering over at the time.
    In order to create a new folder in that pane, I either have to do something wonky like create the folder on the desktop and drag it in, or expand the window to get blank space at the bottom of the file list.
    Is there a way to create a folder directly in a filled pane?

    You can also right click on the top of a finder window choose customize from the contextual menu & drag the new folder icon to the top of the finder window.
    Also click on the action icon (gear icon) & choose new folder from the drop down menu.
    Message was edited by: Joe Salafia

  • Syncronising is creating a new folder in Outlook w...

    I have just got a N70 phone and syncronised fine a few times with Microsoft Outlook. All of a sudden i realised that when i syncronised again the phone created a new folder in Microsoft Outlook which I cannot access and cannot delete. As it is called the same as my actual calendar when I go to syncronise again the syn gets confused and doen't do it, getting error report in PC Suite. I tried posinting it to the right folder but it still gets confused!
    I spent a few hours with a very nice person who handles my email accounts to create a new mail account to get rid of the new folder. As soon as we finally managed to get rid of these corrupt folders I syncrnised and they appered in the new account again!
    Really not sure what to do now!

    I forgot to mention that I downloaded the latest version of PC Suite off your website and that the connection is via USB Cable

  • Creating a new folder in a SharePoint library using C# Windows Application.

    I have tried to create a folder within a SharePoint document library. The coding is as follows.
    Text Box Name: txtNewFolderName
    Button Name : btnCreateNewFolder
    private void btnCreateNewFolder_Click(object sender, EventArgs e)
    //String parameters for site URL and site name
    const string siteUrl = "http://thekingsbury/";
    const string siteName = "/SiteDirectory/thekingsbury/";
    //Freeze UI
    Cursor = Cursors.WaitCursor;
    btnCreateNewFolder.Enabled = false;
    //Use SPSite constructor to assign site collection based on top-level URL
    SPSite siteCollection = new SPSite(siteUrl);
    //Assign target site (SPWeb instance) based on site name
    SPWeb site = siteCollection.AllWebs[siteName];
    //Create an instance of SPDocumentLibrary based on the named doc library list
    SPDocumentLibrary docLibrary = (SPDocumentLibrary)site.Lists["Test Library"];
    //Create instance of SPFolderCollection and add a named folder based on forms input,
    //then update library to reflect added folder
    SPFolderCollection myFolders = site.Folders;
    myFolders.Add("http://thekingsbury/Test%20Library/" + txtNewFolderName.Text + "/");
    docLibrary.Update();
    //UI clean-up
    Cursor = Cursors.Default;
    btnCreateNewFolder.Enabled = true;
    Site URL :
    http://thekingsbury/
    Site Name: thekingsbury
    Document Library  : Test Library
    My problem is when I click the button it gives an error as the following.
    The Web application at http://thekingsbury/ could not be found.
    Verify that you have typed the URL correctly.
    If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    The error shows at the following statement.
    "SPSite siteCollection = new SPSite(siteUrl);"
    I created both Windows & Web solutions and the result was the same.
    Note: I have add the reference to the SharePoint using the Microsoft.SharePoint.dll file. And used the "using Microsoft.SharePoint;" statement.
    Please can someone help me on this matter.It's a real paint to me.

    The complete solution using an InfoPath 2010 form is as the below.
    using Microsoft.Office.InfoPath;
    using System;
    using System.Xml;
    using System.Xml.XPath;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Client;
    using Microsoft.SharePoint.Linq;
    namespace Create_Folder_In_SharePoint_Library
    public partial class FormCode
    public void InternalStartup()
    ((ButtonEvent)EventManager.ControlEvents["btnCreateFolder"]).Clicked += new ClickedEventHandler(btnCreateFolder_Clicked);
    public void btnCreateFolder_Clicked(object sender, ClickedEventArgs e)
    SPSite mySite = new SPSite("Http://thekingsbury/");
    SPWeb myWeb = mySite.OpenWeb();
    //Code to retreive the new library.
    XPathNavigator xLibraryName = MainDataSource.CreateNavigator();
    String NewLibraryName = xLibraryName.SelectSingleNode("/my:myFields/my:LibraryName", NamespaceManager).Value;
    //Code to retreive the library description.
    XPathNavigator xLibraryDesc = MainDataSource.CreateNavigator();
    String NewLibDesc = xLibraryDesc.SelectSingleNode("/my:myFields/my:LibraryDescription", NamespaceManager).Value;
    //Code to retreive the new folder name.
    XPathNavigator xFolderName = MainDataSource.CreateNavigator();
    String NewFolderName = xFolderName.SelectSingleNode("/my:myFields/my:FolderName", NamespaceManager).Value;
    //Creating the new library.
    myWeb.Lists.Add(NewLibraryName, NewLibDesc, SPListTemplateType.DocumentLibrary);
    myWeb.Update();
    //Creating the new folder within the new library.
    SPDocumentLibrary newDocLibrary = (SPDocumentLibrary)myWeb.Lists[NewLibraryName];
    SPFolderCollection newFolders = myWeb.Folders;
    newFolders.Add("http://thekingsbury/" + NewLibraryName + "/" + NewFolderName + "/");
    newDocLibrary.Update();
    I think everyone can use this.
     When you are generating a folder always try to avoid reserved characters  : ; # $ % ^ a and suchlike.

  • Db file in Replica was created in wrong folder

    Hello!
    I created db file at \BDB_HOME\BDB_SUBx in Master, but in Replica site db file was created in wrong folder which is BDB_HOME.
    Do I miss something than setting path to DatabaseEnvironmentConfig.CreationDir ?
    \BDB_HOME
    |
    -BDB_SUB1
    -BDB_SUB2
    -BDB_SUB3
    FYI
    Ver.5.1.19 (HA)
    C#
    VisualStudio.Net 2010
    Thanks,
    Osamu

    Hi Osamu,
    This is a known limitation with BDB HA at the moment. This issue is tracked internally in SR #19041. We hope to fix it, but do not guarantee that it will make it, in the next BDB release, 5.2.
    Osamu, if you have access to MOS (MyOracle Support) please consult Note 1250654.1 (Doc ID 1250654.1) -- How to Correctly Replicate a Directory Structure Involving Subdirectories Between Master and Client. This article explains in detail this issue and how to work around it for now.
    For reference, to explain the issue in more detail, suppose on the master the environment directory structure looks something like this:
    \BDB_ENV_HOME
         \BDB_SUBDIR_1
         - DbFile_1_1.db
         - DbFile_1_2.db
         - DbFile_1_N.db
         \BDB_SUBDIR_2
         - DbFile_2_1.db
         - DbFile_2_2.db
         - DbFile_2_N.db
         \BDB_SUBDIR_M
         - DbFile_M_1.db
         - DbFile_M_2.db
         - DbFile_M_N.dbOn the client site, the environment directory structure will be incorrectly replicated and will look something similar to this (with all database files ending up under one of the subdirectories):
    \BDB_ENV_HOME
         \BDB_SUBDIR_1
         \BDB_SUBDIR_2
         \BDB_SUBDIR_M
         - DbFile_1_1.db
         - DbFile_1_2.db
         - DbFile_1_N.db
         - DbFile_2_1.db
         - DbFile_2_2.db
         - DbFile_2_N.db
         - DbFile_M_1.db
         - DbFile_M_2.db
         - DbFile_M_N.dbThe workaround to resolve this issue depends on a manual hot backup. AUTOINIT should be turned off via rep_set_config with DB_REP_CONF_AUTOINIT and 0. Than the client should be bootstrapped with the databases and logs from the master and recovery should be run as described in the Berkeley DB Programmer's Reference Guide, in the Hot failover section.
    Basically, copy all the databases, copy the logs, run catastrophic recovery on the new client environment directory, and start the application. By turning off AUTOINIT you might need to take care of handling the REP_JOIN_FAILURE event error.
    To summarize, the workaround implies the following actions:
    1. On the client environment call DbEnv::rep_set_config like this:
    DbEnv::rep_set_config(DB_REP_CONF_AUTOINIT, 0);With the C# API it's something like:
    DatabaseEnvironmentConfig envConfig = new DatabaseEnvironmentConfig();
    envConfig.RepSystemCfg = new ReplicationConfig();
    envConfig.RepSystemCfg.AutoInit = false;
    DatabaseEnvironment env = DatabaseEnvironment.Open(envHomeDir, envConfig);or you could use the DatabaseEnvironment's class RepAutoInit property.
    2. Handle DB_REP_JOIN_FAILURE on the client environment, which could be returned from DbEnv::rep_process_message. Handling implies setting an event callback function via set_event_notify for DB_EVENT_REP_JOIN_FAILURE like this:
    DbEnv::set_event_notify(eventsHandler);where eventsHandler is a callback function that respects this signature:
    void (*db_event_fcn)(DB_ENV *dbenv, u_int32_t event, void *event_info)and internally checks to see if event is DB_EVENT_REP_JOIN_FAILURE. If it is, it may trigger copying of the backup files from the master onto the client.
    With the C# API you will set an EventNotifyDelegate delegate using the EventNotify property and check the NotificationEvent.
    3. Start the client. Because AUTOINIT is turned off, internal init will not be performed, hence it will not remove the directory structure on the client environment.
    4. If the event callback function gets notified of the DB_EVENT_REP_JOIN_FAILURE it means that the backup of the master (databases and log files of the master) is required on the client. Take a manual hot backup as per the guidelines in the Hot failover section, and copy the database and log files onto the client; this is something that the event callback function can do, when it handles DB_EVENT_REP_JOIN_FAILURE by using something like rsync to copy the files between the machines.
    5. If a backup was copied onto the client, run a catastrophic recovery in the client environment either manually via db_recover -c, or programmatically by specifying the DB_RECOVER_FATAL flag to the client's DbEnv::open call (with the C# API you specify it via RunFatalRecovery)
    6. After the catastrophic recovery will have been performed and the client will have started, all the replication synchronization will work as expected, replication messages will be processed correctly, and the directory structure will be maintained.
    Regards,
    Andrei

  • When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?

    When I create a New Folder (on the desktop or in Finder), the system uses the Generic Document Icon instead of the Generic Folder Icon. How can I change this back?
    All of a sudden I noticed that most of the folders on my computer were no longer using the folder icon, but the generic document icon. I had to manually change back the icon being used by opening Get Info for each folder and copying and pasting the generic folder icon from some folders that remained unchanged. Now whenever I create a New Folder (right click -> "New Folder"), the icon that shows up is the generic document icon (white page with top right corner turned down). And I have to manually change it so it shows up as a folder in Finder or on my desktop. I don't know why or how this switch happened. All of the folders now on my computer look ok, but I need to change the default so when I create a New Folder it uses the correct icon.
    I have also Forced Relaunch of my Finder and rebooted the system. I downloaded Candybar but am not sure what will fix anything, so I haven't proceeded.
    Anyone know how I can do this? Thanks.

    Anyone?

  • I can't save a file to the desktop nor create a new folder

    I extracted 2 pages from a PDF file. They are there according to the "open" dialogue but the second one is not there as an icon. I can attach it to an email but the email won't send - it says the attachments are still downloading. I can't create a new folder on the desktop to save the second PDF into. ***????

    You can write a file with the same extension as long as you lock your file while writing it. As long as your file is locked, your BizTalk receive location will not pick it up.
    So the question here really is, how is your application generating the CSV file? 
    Check the FileShare enumeration: http://msdn.microsoft.com/en-us/library/system.io.fileshare.aspx
    In your case it will be something like this:
    FileStream someFileStream= new FileStream(path, FileMode.Create,
    FileAccess.Write, FileShare.None);
    Glenn Colpaert - Microsoft Integration MVP - Blog : http://blog.codit.eu

  • How to create a smart folder that only selects from a specific directory?

    I am trying to create a smart folder that lists all my iPhoto original content in the last few months. I want this so that my wife can connect into the smart folder over the LAN when copying specific photos to her PC.
    I am have trouble working out how to restrict the search to only those files that exists in the iPhoto directory. When I look at info for a photo is states "Where: /Users/Shared/iPhoto Library/iPhoto Library/Data/2009/....etc etc".
    However if I add an filter for "Where from" begins with "/Users/Shared/... etc etc" it returns nothing. Is there a way to do this?

    Find the iPhoto library file.
    Right click -> Show package contents.
    Double click the Originals folder.
    Type anything in the Search box at the top of the Finder window.
    In the top of the Finder window, click "Originals".
    Click the + (plus) sign next to Save.
    Select Kind is Image.
    Click the + (plus) sign again.
    Select *Created date* is *within last 3 months* (or whatever you want).
    Go to the search box and delete what you typed. Don't hit the X to delete the search text.
    Now save the smart search.
    This is saved in ~\Library\Saved searches. Copy or move it to the desktop where your wife can get access to it.

  • I just installed Lightroom CC. When I try to open it, I get an error message: "An internal error has occurred.  Cannot create the required folder: ..."

    I just installed Lightroom CC. When I try to open it, I get an error message: "An internal error has occurred.  Cannot create the required folder: ..."

    Cannot create the required folder

  • Unable to create the temporary folder. Error 183 when starting Distiller

    New information discovered - see end of message!
    Full error message is (window title is Acrobat Distiller):
    "Unable to create the temporary folder
    Error: 183 - cannot create a file when that file already exists."
    I have no idea what file or what folder it is referring to. This is on an x86 Vista notebook and the message comes up when starting the notebook and also if you manually start Distiller 8. Updating did not help, nor did turning off the UAC, or running Distiller as Administrator. In the latter case, Distiller will open correctly, but the next time you need to use it, it fails. With the UAC turned off, the behavior is for it to show the Distiller window for a fraction of a second and close immediately. I also gave the user full rights to the C:\Program Files\Adobe folder and lower. Made no difference.
    Coincidental with this is that the PDFMOfficeAddIn.dll add-in will not enable in Word - when it is checked, and I hit OK, I get the message:
    "The connected state of Office Add-Ins registered in HKEY_LOCAL_MACHINE cannot be changed."
    All of this is going on when logged in as an administrator. I have seen folks post about this issue, but no answers that actually fiux the problem, just suggest what I have already tried. Anyone seen this one?
    The user is highly mobile, so I am not going to have a chance to work on her computer again until next week.
    NEW INFO
    I tried removing and reinstalling as administrator and the problem remains. However while trying to troubleshoot, I discovered some more details.
    The message is being thrown when acrotray.exe is started as a process in HKLM\Software\Microsoft\Windows\Current Control Set\Run and then tries to run acrodist.exe (which fails, BTW). If I don't let it run there and run acrotray,exe as administrator, then acrodist.exe runs as a process without an error. Additionally, stopping it from running in the registry, and then starting MS Word, the Acrobat add-in does load and even though there is an error thown, it still creates the PDF! I have other Vista 32 notebooks running various Acrobat versions with no problems.
    Another key thing I found out is that Acrobat started throwing the error after an HP Scanjet 8400 and its software were installed. I tried explicitly giving the user (already an administrator) full rights to the Acrobat, HP and Read IRIS directories. Did not help the problem. I have to think that there is some interaction there, but sure don't know what it is.

    what i did to eliminate that error message, i don't think it eliminated th
    e problem but now i can reboot and log in OK, was 2 things:
    i went into my system registry and unchecked to start at startup and then disavled it.
    i also had to go to each adobe icon, right click, go to properites, and than make all selections set to be administator.

  • Time capsule won't back up - Unable to complete backup. An error occurred while creating the backup folder. Any ideas?

    I have tried all the resets, the firmware is the latest version, the green light is on.
    But I get this message "Unable to complete backup. An error occurred while creating the backup folder."
    Any ideas?

    Do setup again.. but make sure both your wireless and your ethernet have ipv6 turned on to local link.
    Done this OK, but no idea about IPv6 - something new to me and rather Appley I think?
    Unplug the WAN for the moment.. Just LAN port TC to the MBPr ethernet via thunderbolt.. (thunderbird was the kids puppet series.. Thunderbirds are go!!). Done - New real people Thunderbirds movie coming out soon I believe!!!
    Reset the TC again.. sorry.. !! You're welcome ... done.
    Make sure the ethernet now has an IP address.. 10.0.1.2 - Yep - done that - on ethernet anyway ...
    You need to open the network preferences to find out. Yep - that's good ...
    ****** I then reconnect the TC WAN to the router - is this right?
    And then I think I start going round in circles ... boot, reboot, restart, reboot again ...
    The final result is green light on TC, but error message when trying TM is "Backup disk is not available".
    Then open the airport utility and you should be able to setup the TC.
    Do as little setup as possible and then run the TM backup and see how it goes.
    I have managed to get Thunderbird to LAN on TC to create a folder on TC and copy a file onto it.
    So I guess the drive is working - it must be the software, settings or perhaps even the operator that isn't quite so clever ...
    I named network RFG, named device RFGTC.  RFG network shown as IP 192.168.0.72
    Wireless router is BT Homehub 3 with IP of 192.168.0.254 - is this issuing new IP addresses when rebooting TC?
    I have three wireless networks here - the BT Homehub3 wireless, the TC wireless, and also a D-link power socket ethernet thingy for an ethernet connection to the telly - DHP-W310AV which is also wireless link.  All are effectively connected to the BT Homehub - is there a conflict there?
    Have several times achieved in Airport Utility schematic with internet shown as green, RFGTC shown as green, light on TC green, but no TM backup run ... "backup disc not available."
    And there are no tall building around here to hurl myself off ... at least you can go to Sydney Harbour bridge - not too far away ... it was my son in Sydney that persuaded me to scrap Windows and go Apple ... it's all his fault ...

  • I have 2 auxillary disk drives for my MacBokk Pro. Time Machine uses one for backup and I use the other for storage, but I am unable to create a new folder or drag and drop files or folders to the aux drive.

    I am unable to create a new folder on either of my auxillary disk drives.  I can access the files and folders that were there when I transferred one of the drives from a PC.  Time machine uses one for backup and I want to use the other to store photos which are large files.  An help would be appreciated.

    Thanks for the reply.  If I reformat the drive will I be able to access the files on it from the MAC.  I do not share the drive with a PC.  The files were originally created on a PC which I no longer use.  I do want to continue to access the files put there by the PC.  I would like to not have to copy them over to the MAC hard drive just to use them.  The second aux drive is new and works fine because it was formatted by the MAC.  I can drag and drop files there and work with just as if they were on the internal drive.

  • [O365] [EWSMA 2.0] [C#] [Windows] How do you create a contact folder that resides under the "My Contacts" node in OWA for O365

    In OWA for Office 365 you can create a contact folder that resides under the "My Contacts" node on "Peoples" tab. This folder ends up appearing under the "Contacts" folder in the exchange store. However, if you attempt to create
    a contact folder under "My Contacts" using Outlook it ends up under "Other Contacts" node in OWA for O365. Even if you attempt to position folder at the root of exchange store it still places it under the "Other Contacts" folder.
    The same is also true if you attempt to create a folder using EWS. Is there a way to create a folder using EWS that will appear under the "My Contacts" node in OWA for O365? I've tried the following with no luck:
    ContactsFolder myContactsFolder = new ContactsFolder(EwsService);
    myContactsFolder.DisplayName = "My contacts folder";
    // Set other properties
    myContactsFolder.Save(WellKnownFolderName.Contacts);
    and
    ContactsFolder myContactsFolder = newContactsFolder(EwsService);
    myContactsFolder.DisplayName = "My contacts folder";
    // Set other properties
    myContactsFolder.Save(WellKnownFolderName.MsgFolderRoot);

    Hi Tony,
    Lots of questions, here goes:
    CAN YOU: Yes.  You can create multiple server nodes.  You can add a server node by going into the Visual Administrator and clicking the add node button.  Make sure you have the required space on the physical drive to accomodate the space needed for the new node (hint: check the space of your existing node).
    PERFORMANCE: Yes, maybe.  If you are running on a 32bit OS, yes, this will definitely improve your performance as you are most likely memory constrained at the moment.  If you are running on an x64 or 64bit OS, you will find that performance will improve but only to the extent that you have memory free and that you have available CPU for the new node.  Remember Java processes are CPU hogs at times, especially during startup, and the more of them you have, the more CPU you need.  Also, watch out for garbage collections.  Be sure to tune your instance to with incrementals and fulls in mind.  Another benefit of multiple nodes is the HA you get by default when you add more than 1 node.  Now if 1 node should crash or restart, your portal is still running and accessible on the other node.
    PARAMETERS: Yes and no.  For java startup parameters, you can create a template under the global --> servers to have your parameters be all the same  When you create a node, those parameters will be used.   But, your currently configured child configuration parameters will not be reflected in the new instance since those parameters are taken from the global (parent).  This is what the global is for and you should consider adjusting the global if you want your child nodes to have consistant values.
    Let me know if you have more questions.
    -jwise

  • How can I create a mail folder where my gmail folders are

    Hi all, I have Mail with my Gmail account. My 'labels' have appeared as folders in my Mail. That's all great and I've learned how to use them effectively so that they all sync when going back to gmail.
    However I cannot create a new 'folder/label' where all the others are. I can only create a new folder as a subfolder and then move it.
    Is there a way to create another 'folder/label' where the existing ones are.
    See this screenshot, so I'd like to create a folder where 'Adobe' and 'Airmiles' folders are and not as a sub folder of 'Adobe/Airmiles' or of [Google Mail].
    Can I do that? I am able to create the folder as a sub folder and then drag and drop where I want it but ideally want to avoid this step.
    Thanks in advance
    Hayley

    Not in Mail. If you referring to not having to use the menu, you can click the + sign at the bottom to create new mailboxes. But you still have to fill in the window with location and name. You can right click to create a new mailbox on an existing one, but not in the main account itself and you still have to fill in the info. It would create a sub folder.
    You can also try it at the gmail website. There might be shortcuts there.

Maybe you are looking for

  • Help - InetAddress.getHostName() returns the ip address

    Hi, After updating two windows XP computers witht the latest windows updates the InetAddress.getHostName() stoped returning the remote computers name and instead returns the ip address. This is how it worked : rx = a custom DataPacket class public In

  • Color behind the tabbs of JTabbedPane in SCROLL layout

    Hi all, This is a repost as no one gave me a solution for this problem. When SCROLL_TAB_LAYOUT is specified, the color behind the tabbs is not the color of its container. With WRAP layout, the color behind the tabbs is the color of its container. Is

  • WebDAV message

    I also am getting a webDAV file system authentication message sporadically that i can't get rid of. I have shut down and/or restarted my computer and run repair permissions and those steps seemed to work for awhile, but now it's back. I don't have th

  • Toshiba 46TL938G loses WLan configuration after shut down

    Hello, 46TL938G unpacked yesterday, upgraded firmware from Internet. Wireless set up with WPS works, but configuration is lost after turning the TV off/ back on. I cannot use assisted configuration because of hidden SSID. In manual mode I always get

  • Uncaught exeption:java.lang.Error when i click on options.

    Hello Guys. I bought my BB 8900 curve last week.I was really happy until 2 days ago.I downloaded appworld to my device.But when i try to open appword it says upgrade your service plan and etc.So try I tought maybe i can change some preferences in adv