How to preserve OSB security settings while deploying a existing project

Hi ,
We are deploying OSB projects using ant scripts, But security settings are getting disabled every time we deploy new version project.
Through console deployment we can preserve those settings , but we need to capture/preserve security settings through ant scripts

We had used the WLST based import scritps provided by Oracle. These have the options for setting the settings while importing the sbconfig jars.
There are below methods that you can invoke to set/unset the settings while import.
> void      setPassphrase(java.lang.String passphrase) Sets the passphrase
> void      setPreserveExistingAccessControlPolicies(boolean preserveExistingAccessControlPolicies) Sets the value of preserveExistingAccessControlPolicies flag across all import operations.
> void      setPreserveExistingCredentials(boolean preserveExistingCredentials) Sets the value of preserveExistingCredentials flag across all import operations.
> void      setPreserveExistingEnvValues(boolean preserveExistingEnvValues) Sets the value of preserveExistingEnvValues flag across all import operations.
> void      setPreserveExistingOperationalValues(boolean preserveExistingOperationalValues) Sets the value of preserveExistingOperationValues flag across all import operations.
> void      setPreserveExistingSecurityAndPolicyConfig (boolean preserveExistingSecurityAndPolicyConfig) Sets the value of preserveExistingSecurityAndPolicyConfig flag across all import operations.
Please refer to http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/importexport/ALSBImportPlan.html for more details.
There should be similar options for the ANT bases scripts as well.
Thanks,
Patrick

Similar Messages

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

  • How to specify the target name while deploying a code in OSB-- Plz Help

    Hi all,
    Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
    Regards
    Prabhu

    Hi Prabhu,
    There are three kind of server architecture possible for OSB -
    1. Single server - Everything gets deployed on Admin server itself
    2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
    3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
    Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
    You may refer-
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

  • How can i access security settings to stop PDF being copied?

    How can i access security settings to stop PDF being copied?
    I'm trying to secure my documents so others can not convert file to word or copy and paste information to edit

    Keep in mind (and Acrobat will alert you to this fact) that protections that you set in Acrobat are enforced by all Adobe products but the 3rd-party PDF Viewers may ignore them. There are even Web sites that will strip protections that you set in Acrobat. This is not a reliable technology these days. Acrobat keeps it mostly for backward compatibility for those users who use only Adobe Acrobat/Reader.

  • How do I reset security settings to open up email attachments

    how do I reset security settings to open up email attachments

    Hi ric69, please provide more information, What software are you using to read your emails? or you might use internet browser to open the emails?
    I'm an HP Employee
    -Please mark Accept As Solution if it solves your problem
    -Please click the Kudos Thumbs up if you would like to say thanks

  • How to change the security settings of tomcat5.0

    hi i am new to servlets. i am using tomcat5.0 to run my servlets.i have created two web applications under webapps directorywith the names ourwa and new ourwa.as part of ourwa i have developed a servlet with name Caller that includes another servlet named Calle of newourwa. to do this i got the Servlet Context object newourwa with the code below
    ServletContext application=getServletContext( );
    ServletContext newapplication=getContext("/newourwa" );
    and i included Calle servlet using this newApplication with the code below
    RequestDispatcher rd=newapplication.getRequestDispatcher("/calle");
    rd.include(request,response);
    i am not getting the ServletContext object of newourwa. so i am getting null pointer exception while running the servlet Caller.
    i read the documentation on servlet context inteface.there is a method with the name get Context( ).in this method they clearly specified that "in a security conscious environment this method returns null".
    please help me by giving answers to the following questions:
    1)wat is the alternative to dispatch the request from one application to another application?
    2)how to change the seurity settings of tomcat5.0?
    thanks.

    There has been a change in the Java security settings, see:
    *http://kb.mozillazine.org/Java#Java_security_prompts
    *"What should I do when I see a security prompt from Java?":<br>http://www.java.com/en/download/help/appsecuritydialogs.xml
    If you visit a website regularly then a possible workaround is to add the URL to the Java Exceptions Site List, see:
    *"Why are Java applications blocked by your security settings?":<br>http://www.java.com/en/download/help/java_blocked.xml
    *"How can I configure the Exception Site List?":<br>http://www.java.com/en/download/faq/exception_sitelist.xml

  • How do I disable security settings on PDF fillable form?

    The PDF fillable form was made in Word and saved as a PDF. I tried copying it then bringing into Acrobat Pro X to make it a fillable form. Saved with Enabled Features but when opened into Reader I get a security warning restricting adding text or placing a signature. I've tried changing setting and can't figure out what is wrong or even if it's possible it fix this.
    Does anyone know how to fix this?
    Kwiley

    It is "The security settings on this document prevent adding text and /or placing a signature on it from Adobe Reader. To fill and sign this document you need to print it out."  These forms need to be fillable because they change and then my client places her signature or her bosses signature on the page.  Is there another way to do this?
    Thanks,
    Kathy

  • How do I change security settings on items in Startup items folder in Library

    I just installed pro tools TEN on my Mac OS X 10.6.8  -When I log in I get a pop up message that says items in the startup items folder in library won't open because of incorrect security settings.  Now it has given me separate pop up windows saying that those items have been disabled.
    So my question is:  How do I "Fix" the security settings on the startup items folder so that these items are not disabled.  I don't need them to automatically open every time I log in, but they are obviously part of Pro Tools, and I need them so that Pro Tools performance is not affected.  The items are:
    DigiDesign Loader
    Pace Support
    How do I Fix it so that they are not disabled, but that they only open when they need to open, and don't affect pro tools performance?
    Thanks for the help,
    Tristan

    It could be that it Reader-enabled. Try: File > Save a Copy
    If that's not it, post exactly what it shows for: File > Properties > Security > File Restrictions Summary

  • How do I change security settings in eprint?

    I need to change my security settings (i.e., who can print to my eprinter) and can't find a place to do it.  Help, please.

    Hi DebbyBennett,
    You can go to your printers tab at ePrintCenter.com and click on the "Change" button next to your printer's email address.  I hope this helps.
    I am an HP employee

  • Getting error while deploying New WebService project on standalone server

    Hi,
    I have created a new Model project for WebService and I am able to test this new webservice project by launching "TalentTasksServiceImpl.java" file locally but getting some error while deploying it on standalone server. See below log for more details,
    08:03:16 PM INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    08:03:16 PM INFO: Unable to load annotation javax.interceptor.Interceptors for parsing. The annotation is ignored.
    08:03:16 PM INFO: GenericWSWarAnnotationListener.parseAnnotatedClass Adding Servlet Mapping with URL pattern /TalentTasksService for annotated WebService class oracle.apps.hcm.talent.common.tasksService.applicationModule.server.TalentTasksServiceImpl
    *08:03:16 PM Error: Could not load endpointInterface oracle.apps.hcm.talent.common.tasksService.TalentTasksService*
    08:03:17 PM #### Deployment incomplete. ####
    08:03:17 PM WSA process exited with code 1.
    I have verified the jar selection mention on this forum link: help..
    Any help on this will be greatly appreciate.

    Yes Frank. Ours is an SDO service created as per [Service enabled Application Modules|http://docs.oracle.com/cd/E23943_01/web.1111/b31974/bcextservices.htm#CJAJGIEB] . We have created the deployment profile as a 'Business Component Service Interface' profile.
    Our attempt to deploy onto standalone from Jdev also fails with the same error. Unsure why the interface is unable to load - Error: Could not load endpointInterface oracle.apps.xyz.common.tasksService.TasksService.
    Does this mean, the deployment process is unable to locate this interface? We have cross checked our deployment profiles quite a few times and could not find anything amiss.

  • Error while deploying ADF Model Project to OIM 11g R2

    Hi
    I am getting the following error when deploying ADF Model Project in OIM 11g R2
    oracle.jbo.NoDefException:JBO-25058: Definition UsrLastName of type Attribute is not found in UsrLastName
    any inputs is appreciated...thanks in advance....

    See if you can find something helpful in the following links:-
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=2329750
    oracle.jbo.NoDefException: Error in Quick Search when we use View  Criteria

  • Error while importing an existing project into workspace

    hi,
    I am trying to import an existing project into workspace but getting an error 'vfamilychange' doest not have a .project file .But while checking into the folder structure of project vfamilychange' shows the .project file is already there.
    Please do suggest.

    Hi,
    To correctly use the project in a new NWDS. Please use the following method (for Windows XP only):
    1.) Navigate to the projects folder. This will be in the "DC" or "Local Development" folders in your "Documents and Settings" folder.
    2.) Inside the project folder you will find an "_comp" folder.
    3.) Zip this entire folder with WinZIP or WinRAR.
    4.) Finally goto the new PC / Location of export. Unzip this archive into a new Folder.
    5.) Open NWDS. Goto File->Import->Existing Project into Workspace.
    6.) Select your folder (where you extracted the archive).
    Hope that helps.
    Thanks.
    p256960

  • How can you maintain security settings with the pornographic sites are already on your computer and an 8 year old is using it. Please contact me and tell me ho

    My 8 yr old granddaughter uses this computer and while I was looking for a way to get rid of yahoo after deciding to dump Firefox because it is constantly quiting I was in the registry and found Yahoo in an area that is filled with pornographic sites. Not knowing how to get rid of this site I deleted the entire section. Looking at your browser doesn't do anything to address this problem and I WILL NOT use a web browser that does not have some type of security for sites that I DON'T WANT MY 8 YR OLD GDAUGHTER LOOKING AT! So buck up and get it done to prevent this.

    See:
    * https://support.mozilla.org/kb/Parental+controls
    * http://kb.mozillazine.org/Parental_controls

  • How To Debug XML Serialization Error while deploy web services

    <b>My Scenario</b>
    I've created a Java Projects with a Class. From there I convert it to Web Service by creating the virtual interface, the web services definition and the web service configuration. After that I deploy to the SAP WAS (SP11). At this instant I only try to deploy the web services with the intension to modify it later for GP to invoke.
    <b>Result</b>
    When deployment the Web Service I get an XML Deserialization error. Error text is below.
    <b>Question</b>
    How do I go about debugging this? What logs are good starting point? Can I capture the entire SOAP response message somehow?
    Thanks
    <b>
    Error Test</b>
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
                              at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
                              ... 27 more
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:681)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
                         Caused by: java.lang.Exception: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/TimeoffService. . Additional info: none
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
                              at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
                              at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:321)
                              at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
                              at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3184)
                              at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:669)
                              at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
                              at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
                              at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                              at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                              at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                              at java.security.AccessController.doPrivileged(Native Method)
                              at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                              at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
                         Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to generate web services deployment files for application sap.com/TimeoffService. . The error refers to application: none, jar: , web service: .
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
                              ... 21 more
                         Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, parsing com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application sap.com/TimeoffService, web service timeoffServiceConfig, location message: type: jar file, location: E:\usr\sap\SIC\DVEBMGS01\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1186995503687\TimeoffService.wsar . . Additional info:
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
                              at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
                              ... 23 more
                         Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to parse source type: zip entry, zip file location: E:\usr\sap\SIC\DVEBMGS01\j2ee\cluster\server0\.\temp\deploy\work\deploying\reader1186995503687\TimeoffService.wsar, entry: dsta/timeoff/test/business/TimeoffServiceVI.videf . Additional info:
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:925)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:817)
                              ... 26 more
                         Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
                              at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
                              at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
                              at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
                              ... 27 more
                              at com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException.writeReplace(WSDeploymentException.java:64)
                              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                              at java.lang.reflect.Method.invoke(Method.java:324)
                              at java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:896)
                              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
                              at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
                              at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
                              at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
                              at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
                              at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
                              at com.sap.engine.services.rmi_p4.DispatchImpl.throwException(DispatchImpl.java:144)
                              at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:322)
                              ... 8 more

    Hi Paul..
       This is a common problem when you are working with webservices, i have worked with them and not always the response of the ws comes like de wsdl says, depends of your wsdl provider.
       I suggest you that checks your response of your webservice with the Enterprise Portal Web Services Checker View
      For see this view in NetWeaver go to Window > Show View > Other > Enterprise Portal Web Services Checker
      Put the wsdl url definition in wsdl url textbox
    and the click in the letter W, this procedure brings you all methods and everything for play with the WEB Services.. and you can check the response of you webservices call funtion, checks that all the tags comes like says in the wsdl
    Good luck
    Joshua

  • How do you change security settings to edit a file?

    I have a form that I created that I would like to make some changes to. When I try to edit the file it tells me that the security setting will not allow me to edit the file. Can anyone help me with this?

    This FAQ describes how to edit a FormsCentral PDF in Acrobat - remember to be careful of the changes you make so you do not break the form submission if it is submitting data to FormsCentral: http://forums.adobe.com/docs/DOC-3661
    Thanks,
    Josh

Maybe you are looking for