Changing connection properties

Can I deploy a jar file with connection properties in a separate, editable file as I wouldnt know the username, SID name. These will be different for each installation?

Thanks for your reply. When I create the jar file it automatically includes the connections.properties in that file. How do How do I:
a: deploy the jar with no connections in it
b: create a separate connections.properties file. When, where and how does this file gets generated?

Similar Messages

  • How to change the properties of the local area connection

    Try to make change in the properties of the local area connection, i.e.  click Start --> Control panel --> Network Connection --> Local Area Connection --> properties. Then select Internet Protocal(TCP/IP), click on the Properties. Normally, the PC is set at Obtain an IP address automatically. Now need to change to Use the following IP address, then enter the IP address, Default gateway address. after that, click OK.
    I am wondering, is Labview could do the setup as described? Once all done, is it possible to change the TCP/IP setting back to "Obtain an IP address automatically"?
    Thanks,
    Test

    Thanks smercurio_fc.
    I tried but not working. The way I try to do is connnecting two PCs directly through Ethernet cable. Then change the IP addresses as mentioned, after that ping another PC. If done manully, working. 
    After run the program you mentioned in your email, I check the "ipconfig /all" in the DOS window, it is still the old IP address. If changed manually, check ipconfig in the DOS window, it is changed.
    Any thoughts?
    Thanks,

  • Problem with Connection Manager. Can't change connection string / Server name

    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin-top:0cm;margin-right:0cm;margin-bottom:10.0pt;margin-left:0cm;line-height:115%;font-size:11.0pt;font-family:'Calibri','sans-serif';}
    .MsoChpDefault
    {font-size:10.0pt;}
    .MsoPapDefault
    {line-height:115%;}
    @page Section1
    {size:612.0pt 792.0pt;margin:72.0pt 72.0pt 72.0pt 72.0pt;}
    div.Section1
    {page:Section1;}
    Hi,
    I have copied a number of SSID packages from a live server to my test server and am trying to get them up and running but I have a problem with the connection. The only thing that is different is the server name. I decided to keep the same connection in the connection manager as it is referenced in a dtsConfig file. I changed the dtsConfig file to reference the new servername [Data Source= new test server name]. I also check my paths and they are pointing to the correct config locations etc.
    I found this post which was similar to my problem but I still get problems with the connection
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1319961&SiteID=1
    I updated the connection by changing the server name in the actual connection. I did this from the data flow tab in the Connection Managers sections (MS Visual Studio). Right clicked - Edit - changed the name of the server name to my test server and selected the database. Test connection was fine, and saved this.
    Once I saved this, the connection string changed to my current test server in the properties of the connection. However when I run the package I get the following error:
    Error: 0xC0202009 at ReportsImport, Connection manager "myconnectionstring": SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "Login timeout expired".
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".
    An OLE DB record is available.  Source: "Microsoft SQL Native Client"  Hresult: 0x80004005  Description: "Named Pipes Provider: Could not open a connection to SQL Server [53]. ".
    Error: 0xC020801C at Myprocess import from file, BuyAtReportsImport [79]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "myconnectionstring" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    Error: 0xC0047017 at Myprocess import from file, DTS.Pipeline: component "ReportsImport" (79) failed validation and returned error code 0xC020801C.
    Error: 0xC004700C at Myprocess import from file, DTS.Pipeline: One or more component failed validation.
    Error: 0xC0024107 at Myprocess import from file: There were errors during task validation.
    So even if I change the existing connection properties and save and Build my package again, my connection properties (connectionstring, servername etc) all revert back to its original data source when I re-open the package. Simply it does not seem to be saving the connection properties i put in.
    What am I doing wrong or how can I change the existing connection manager to look at the new server. The database is  the same and I have full admin privilege on the server.
    I don't want to recreate my packages as there are alot and they are not simple.
    After changing the connection properties, saving and reloading I get a connection error. But this is because it is not retaining the new connection manger setting i entered.
    Incidentally - I created a new SSID to perform a simple connection and write to the the server and it was OK so there is no problem with actually seeing the my test server.
    Thanks in advance

    Yes, the package is in visual studio and I have executed it. There are no errors but in the output i have the error message about my connection. My dtsConfig file is added to the project in the 'Package Configuration Organizer' and path and files are correct. This is the output error:
    Error: 0xC020801C at xx import from file, xxReportsImport [79]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "myconnectionname" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    I will try and run it using dtexec.exe. if I have two config files do i use
    dtsexec.exe /f <packagename> /conf <configfile> /conf <secondconfigfile>

  • JCA adapter outbound connection properties values are not populating ..

    Hi ,
    I am struggling to find a solution for this problem.
    My managed connection factory impl has all the properties as per the java bean spec. I have also implemented hashcode and equals but i still don't see the custom outbound custom properties information populated into my ManagedConnectionFactoryImpl properties. I checked property names in both weblogic-ra.xml and ra.xml. The names are consistent.
    As per this discussion (BINDING.JCA-12510 JCA Resource Adapter location error in SOA 11g Suite i saved the properties using Keyboard entered. I restarted my server and also i can see the saved values
    I also verified the Plan.xml that gets created when the values are updated. Please find the provided the code snippets. Any help appreciated.
    Please let me know if i need to post this in a different forum. We use weblogic 10.3.5 application server. Let me know for any more details.
    Thanks,
    Sri
    For more information:
    Following is the managed connection factory Impl
    package com.cgi.cml.common.sample.connector.ra.outbound;
    import java.beans.PropertyChangeListener;
    import java.beans.PropertyChangeSupport;
    import java.io.PrintWriter;
    import java.io.Serializable;
    import java.util.Iterator;
    import java.util.Set;
    import javax.resource.ResourceException;
    import javax.resource.spi.ConnectionManager;
    import javax.resource.spi.ConnectionRequestInfo;
    import javax.resource.spi.ManagedConnection;
    import javax.resource.spi.ManagedConnectionFactory;
    import javax.security.auth.Subject;
    public class SampleManagedConnectionFactoryImpl
         implements ManagedConnectionFactory, Serializable {
    private transient PropertyChangeSupport changes =new PropertyChangeSupport(this);
         private String databaseFileName = "";
    private String database = "";
    private String user = "";
    private String password = "";
    private String dtdPath = "";
    private String protocol = "";
    private String serverAddress = "";
    private Boolean debugMode = false;
         private PrintWriter writer;
         * Constructor for SampleManagedConnectionFactoryImpl
         public SampleManagedConnectionFactoryImpl() {
         * @see ManagedConnectionFactory#createConnectionFactory(ConnectionManager)
         @Override
         public Object createConnectionFactory(ConnectionManager cm)
              throws ResourceException {
              return new MomapiConnectionFactoryImpl(this, cm);
         * @see ManagedConnectionFactory#createConnectionFactory()
         @Override
         public Object createConnectionFactory() throws ResourceException {
              return new MomapiConnectionFactoryImpl(this, null);
         * @see ManagedConnectionFactory#createManagedConnection(Subject, ConnectionRequestInfo)
         @Override
         public ManagedConnection createManagedConnection(
              Subject subject,
              ConnectionRequestInfo cxRequestInfo)
              throws ResourceException {
              System.out.println("createdManaged Connection called");
              return new SampleManagedConnectionImpl(subject,cxRequestInfo);
         * @see ManagedConnectionFactory#matchManagedConnections(Set, Subject, ConnectionRequestInfo)
         @Override
         public ManagedConnection matchManagedConnections(
              Set connectionSet,
              Subject subject,
              ConnectionRequestInfo cxRequestInfo)
              throws ResourceException {
              System.out.println("match managed Connections called---->"+getDatabaseFileName());
              ManagedConnection match = null;
              Iterator iterator = connectionSet.iterator();
              if (iterator.hasNext()) {
                   match = (ManagedConnection) iterator.next();
              return match;
         * @see ManagedConnectionFactory#setLogWriter(PrintWriter)
         @Override
         public void setLogWriter(PrintWriter writer) throws ResourceException {
              this.writer = writer;
         * @see ManagedConnectionFactory#getLogWriter()
         @Override
         public PrintWriter getLogWriter() throws ResourceException {
              return writer;
    * Checks whether this instance is equal to another.
    * @param obj other object
    * @return true if the two instances are equal, false otherwise
         @Override
    public boolean equals(Object obj)
              System.out.println("equals method called");          
    boolean equal = false;
    if (obj != null)
    if (obj instanceof MomapiManagedConnectionFactoryImpl)
         SampleManagedConnectionFactoryImpl other = (SampleManagedConnectionFactoryImpl) obj;
    equal = (this.databaseFileName).equals(other.databaseFileName) &&
    (this.database).equals(other.database) &&
    (this.user).equals(other.user) &&
    (this.password).equals(other.password) &&
    (this.dtdPath).equals(other.dtdPath) &&
    (this.protocol).equals(other.protocol) &&
              (this.serverAddress).equals(other.serverAddress) &&
              (this.debugMode==other.debugMode);
              System.out.println("equals method returning -->"+ equal);
    return equal;
    * Returns the hashCode of the ConnectionRequestInfoImpl.
    * @return the hash code of this instance
    public int hashCode()
    //The rule here is that if two objects have the same Id
    //i.e. they are equal and the .equals method returns true
    // then the .hashCode method must return the same
    // hash code for those two objects      
    int hashcode = new String("").hashCode();
    if (databaseFileName != null)
    hashcode += databaseFileName.hashCode();
    if (database != null)
    hashcode += database.hashCode();
    if (user != null)
    hashcode += user.hashCode();
    if (password != null)
    hashcode += password.hashCode();
    if (dtdPath != null)
    hashcode += dtdPath.hashCode();
    if (protocol != null)
    hashcode += protocol.hashCode();
    if (serverAddress != null)
    hashcode += serverAddress.hashCode();
              System.out.println("hascode method called and the value is -->"+hashcode);
    return hashcode;
    * Associate PropertyChangeListener with the ManagedConnectionFactory,
    * in order to notify about properties changes.
    * @param lis the PropertyChangeListener to be associated with the
    * ManagedConnectionFactory
    public void addPropertyChangeListener(PropertyChangeListener lis)
         System.out.println("addPropertyChangeListener called");
    changes.addPropertyChangeListener(lis);
    * Delete association of PropertyChangeListener with the
    * ManagedConnectionFactory.
    * @param lis the PropertyChangeListener to be removed
    public void removePropertyChangeListener(PropertyChangeListener lis)
         System.out.println("removePropertyChangeListener called");      
    changes.removePropertyChangeListener(lis);
    public String getDatabaseFileName() {
              return databaseFileName;
         public void setDatabaseFileName(String databaseFileName) {
              this.databaseFileName = databaseFileName;
         public String getDatabase() {
              return database;
         public void setDatabase(String database) {
              System.out.println("hellloooooooooooo---->"+database);
              this.database = database;
         public String getUser() {
              return user;
         public void setUser(String user) {
              this.user = user;
         public String getPassword() {
              return password;
         public void setPassword(String password) {
              this.password = password;
         public String getDtdPath() {
              return dtdPath;
         public void setDtdPath(String dtdPath) {
              this.dtdPath = dtdPath;
         public String getProtocol() {
              return protocol;
         public void setProtocol(String protocol) {
              this.protocol = protocol;
         public String getServerAddress() {
              return serverAddress;
         public void setServerAddress(String serverAddress) {
              this.serverAddress = serverAddress;
         public Boolean isDebugMode() {
              return debugMode;
         public void setDebugMode(Boolean debugMode) {
              this.debugMode = debugMode;
         public PrintWriter getWriter() {
              return writer;
         public void setWriter(PrintWriter writer) {
              this.writer = writer;
    weblogic-ra.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <weblogic-connector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
         xmlns:javaee="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-connector/1.0/weblogic-connector.xsd"
         xmlns="http://xmlns.oracle.com/weblogic/weblogic-connector">
         <jndi-name>jca/sampleRA</jndi-name>
         <enable-access-outside-app>true</enable-access-outside-app>
         <outbound-resource-adapter>
              <connection-definition-group>
                   <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
                   <connection-instance>
                        <jndi-name>jca/sampleCon</jndi-name>
    <connection-properties>
    <properties>
    <property>
    <name>databaseFileName</name>
    </property>
    <property>
    <name>database</name>
    </property>
    <property>
    <name>user</name>
    </property>
    <property>
    <name>password</name>
    </property>
    <property>
    <name>dtdPath</name>
    </property>
    <property>
    <name>protocol</name>
    </property>
    <property>
    <name>serverAddress</name>
    </property>
    <property>
    <name>debugMode</name>
    </property>
    </properties>
    </connection-properties>                
                   </connection-instance>
              </connection-definition-group>
         </outbound-resource-adapter>
    </weblogic-connector>
    ra.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <connector xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java/sun.com/xml/ns/j2ee/connector_1_5.xsd" version="1.5">
    <display-name>MomapiConnector</display-name>
    <vendor-name>CGI</vendor-name>
    <eis-type>SAMPLE</eis-type>
    <resourceadapter-version>1.0</resourceadapter-version>
    <license>
    <license-required>false</license-required>
    </license>
    <resourceadapter>
    <resourceadapter-class>com.cgi.cml.common.sample.connector.ra.SampleResourceAdapterImpl</resourceadapter-class>
    <outbound-resourceadapter>
    <connection-definition>
    <managedconnectionfactory-class>com.cgi.cml.common.sample.connector.ra.outbound.SampleManagedConnectionFactoryImpl</managedconnectionfactory-class>
              <config-property>
         <config-property-name>databaseFileName</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
    <config-property>
         <config-property-name>database</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>user</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>password</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>dtdPath</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>protocol</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>serverAddress</config-property-name>
         <config-property-type>java.lang.String</config-property-type>
         </config-property>
              <config-property>
         <config-property-name>debugMode</config-property-name>
         <config-property-type>java.lang.Boolean</config-property-type>
         </config-property>
              <connectionfactory-interface>javax.resource.cci.ConnectionFactory</connectionfactory-interface>
    <connectionfactory-impl-class>com.cgi.cml.common.my.connector.ra.outbound.SampleConnectionFactoryImpl</connectionfactory-impl-class>
    <connection-interface>javax.resource.cci.Connection</connection-interface>
    <connection-impl-class>com.cgi.cml.common.sample.connector.ra.outbound.SampleConnectionImpl</connection-impl-class>
    </connection-definition>
    <transaction-support>NoTransaction</transaction-support>
         <reauthentication-support>false</reauthentication-support>
    </outbound-resourceadapter>
    </resourceadapter>
    </connector>
    Edited by: 931395 on May 2, 2012 7:43 AM
    Edited by: 931395 on May 2, 2012 8:15 AM

    Arun,
    I tried, no luck and it is giving me the following error. Once the Plan.xml is created I am usinng "update" button on the console to redeploy the application using Plan.xml. When I take this route it gives me 2 options (1. update this application in place with new deployment plan 2. redploy this application using the following deployment files).
    When I use the second option eventhough there is a change in the Plan.xml nothing happens. If I use the first option then I am getting the following exception. If I put the module-override for application then only the ear is getting deployed.
    Thanks,
    Sridhar
    [BaseFlow] : No UpdateListener found or none of the found UpdateListeners accepts URI
    <May 9, 2012 9:37:47 AM EDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1336570667598' for task '10'. Error is: 'weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.'
    weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
         at weblogic.application.internal.flow.DeploymentCallbackFlow.addPendingUpdates(DeploymentCallbackFlow.java:375)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.makePendingUpdates(DeploymentCallbackFlow.java:394)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepareUpdate(DeploymentCallbackFlow.java:407)
         at weblogic.application.internal.BaseDeployment$PrepareUpdateStateChange.next(BaseDeployment.java:685)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    >
    <May 9, 2012 9:37:47 AM EDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating update task for application 'SampleApp'.>
    <May 9, 2012 9:37:47 AM EDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
         at weblogic.application.internal.flow.DeploymentCallbackFlow.addPendingUpdates(DeploymentCallbackFlow.java:375)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.makePendingUpdates(DeploymentCallbackFlow.java:394)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepareUpdate(DeploymentCallbackFlow.java:407)
         at weblogic.application.internal.BaseDeployment$PrepareUpdateStateChange.next(BaseDeployment.java:685)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    >
    <May 9, 2012 9:37:47 AM EDT> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.management.DeploymentException:
    The application SampleApp cannot have the resource META-INF/weblogic-ra.xml updated dynamically. Either:
    1.) The resource does not exist.
    or
    2) The resource cannot be changed dynamically.
    Please ensure the resource uri is correct, and redeploy the entire application for this change to take effect.
         at weblogic.application.internal.flow.DeploymentCallbackFlow.addPendingUpdates(DeploymentCallbackFlow.java:375)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.makePendingUpdates(DeploymentCallbackFlow.java:394)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepareUpdate(DeploymentCallbackFlow.java:407)
         at weblogic.application.internal.BaseDeployment$PrepareUpdateStateChange.next(BaseDeployment.java:685)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepareUpdate(BaseDeployment.java:439)
         at weblogic.application.internal.EarDeployment.prepareUpdate(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepareUpdate(DeploymentStateChecker.java:220)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepareUpdate(AppContainerInvoker.java:149)
         at weblogic.deploy.internal.targetserver.operations.DynamicUpdateOperation.doPrepare(DynamicUpdateOperation.java:130)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    >

  • "Click To Change All Properties" Not Working In Dreamweaver CC For Padding/Margins

    Every time I try to use the "Click To Change All Properties" option in Dreamweaver CC (the chain link icon in the middle of the Magin/Padding box), it never seems to work. Nor does it use the CSS shorthand, it lists the top, bottom, left and right margins/padding separately no matter if I have the chain link icon connected or broken.  If I have it set to link all four sides, then enter a value into the top, nothing happens to the other sides. It's not until I enter a value in to the bottom that it auto fills in the other two sides. Anyone else having this issue?

    Thank you for your help. I think I figured out what I might have been doing wrong when setting the margins. I would first clickt the chain icon to join everything, then enter in a value in the Top box, but I wouldn't see the other boxes update with that same value, so I would immediately click the Bottom value box. Instead, if I just click on the inner white box, just outside of the perimeter of the chain icon, it updates all of the remaining values.
    The shorthand setting worked as well for the Padding/Margins. Thank you!

  • Changing connection at runtime

    How can I change the db connection at
    runtime in a bc4j and jsp application:
    I start from a standard db connection
    read from the app property file and then
    I read from the database connection information and I have to reconnect.
    Thank's in advance
    Mauro

    If you want to change connections, you first have to logout. Besides the logon_screen builtin does not change the connection, but it only sets several application properties.
    In the Forms Help there is an example how to use the logon_screen. It basically comes to the next pl/sql code:
    declare
    MyUsername VARCHAR2(40);
    MyPassword VARCHAR2(40);
    MyConnect VARCHAR2(40);
    begin
    logon_screen;
    MyUsername := Get_Application_Property(USERNAME);
    MyPassword := Get_Application_Property(PASSWORD);
    MyConnect := Get_Application_Property(CONNECT_STRING);
    logout;
    if MyConnect is not null then
    logon(MyUsername,MyPassword&#0124; &#0124;'@'&#0124; &#0124;MyConnect);
    else
    logon(MyUsername,MyPassword);
    end if;
    end;
    null

  • Backend connection properties in JDI transporting

    Hi all,
    I tested JDI scinario2+ and it worked fine.
    But I am wondering how I can change backend connection properties in JDI transporting.
    In the DEV system, the application connects to the DEV oracle, in the QA system it conencts to the QA one.
    Does JDI take care of that type of backend-specific properties?
    Best Regards,
    Nash

    Ni Nash,
    if I got you right you are talking about connections to ABAP-Backend systems.
    The NWDI doesn´t know anything about connections to such systems, so it doesn´t adjust them after transporting your application from e.g. DEV to TEST.
    If you are using Web Dynpro (Java) as a frontend to ABAP-applications, and you are using the Adaptive-RFC, you don´t have to care. Then the Web Dynpro framework gives you the possibility to define logical connections, which you then define in each system using the Web Dynpro content administrator (can be found following the Web Dynpro link on the start page of your WebAS).
    If you are talking about Java-applications, then it´s not that easy. Then you somewhere have to store, which backend-systems you want to use with which system, and you have to extract this information at runtime. For example, you can define a Java-system belonging to a ABAP-system in the SLD and then get this info via the API, but this only works with 1:1-relationships.
    It can be easier using the Configuration Manager of the WebAS, but I can´t give you much information about this.
    @Manohar: could you give him the proper links for that?
    Kind regards,
    Timo

  • What is the safest way for a connection to a db...connect.properties vs ?

    Hi,
    Currently all my sqlj beans use a connect.properties file. So i have something like
    oracle.connect(myclass.class,"connect.properties"); I find this not so secure. If someone ever gets in my box, they have the password in clear text. Is there a way around it? Also if i embed the connection string into the comiled objects of the beans, is that safer? I mean its a pain to then change the password since it has to be changed in all the programs. But then all developers also see the password too, so is it really safer. Does anyone know a way that I can connect securely,
    Thanks for you time in reading this. Im a bit confused.

    They will be able to download everything that was bought with their Apple ID. If they all shared an ID then they switched to their own ID they won't be able to use any apps or music bought with another Apple ID. As I explained in my previous response. There is only one way to share apps and content across multiple Apple ID's and that is home share. So, NO there isn't a "Smooth" way to do it.

  • Cannot save modified connection properties

    SQL Developer 2.1.1.64. I create a database connection and use it for some time. Now I right click on connection to modify its properties. Then I click on Save but the changes are never saved. No matter what I do, the connection keeps pointing to original parameters. When I press Connect, nothing happens. The only way to change is to delete and create a new one. Is there something I am doing wrong?
    Thanks...
    Arun

    There is no output in the console window.
    I will give an example. I have a connection entry like
    Connection Name: ORCL_system
    Username: system
    Password: abcdefg
    Save Password is checked
    Role: default
    Connection type: Basic
    Hostname: server1.abc.com
    Port: 1521
    Service Name: orcl.abc.com
    Now I want to change this entry to use TNS. I right click on ORCL_system and select "Properties" from context menu. I change these properties as:
    Connection Name: ORCL_system
    Username: system
    Password: abcdefg
    Save Password is checked
    Role: default
    Connection type: TNS
    Network alias : ORCL (select this from the drop down list which is generated from my tnsnames.ora file)
    Now I click "Test". I get a success message. This means that SQL Developer has established the connection. I do either of the following actions and they fail:
    a) I click "Save". The changed properties are not saved. If I close SQL Deveoper and start it again, the connection goes back to using "Basic".
    b) I click "Connect" and nothing happens. The SQL Worksheet does not open. The connection properties are not saved if I close SQL Developer.
    I am very sure that this used to work in earlier versions.

  • Problems for change the properties for Primitive shapes?

    Is there a way to change the properties of Cylinder, Sphere, Cone and Box primitives (com.sun.j3d.utils.geometry.Primitive)?
    ie. can you change the radius, height, width, etc after you've already
    created this object to the scene?
    Thanks for any help!

    Hi Anil,
    I did modify the property "SLD.selfregistration.hostName" to a fully qualified domain name, (i.e. fgsappitd.fourlis.net), as mentioned in sap note 804124 (performed also the stop and start of applications mentioned in the sap note. However, I still get the error message, whenever I activate my changes in the Integration Directory,
    "Unable to notify Adapter Engine 'af.fpd.fgsappitd' that is affected by the data changes
    HTTP connection to 'http://fgsappitd:50300/CPACache/invalidate' returns the status code '403' (Forbidden) in response"
    It is strange because although I entered the full qualified host name, the error message still shows, in the message above, only the host name.
    Just to mention here that when I open an interner browser and run URL 'http://fgsappitd:50300/CPACache/invalidate'  it fails. If on the other hand, I open an internet browser an run URL 'http://fgsappitd.fourlis.net:50300/CPACache/invalidate' , it works OK. Therefore, I believe,  the problem I get has to do with the missing full qualified host name.
    Is there something else I need to do? Do I have to restart the system?
    Thanks,
    Filippos

  • MDM-EP SQL/Server Connection Properties

    I created a system in Enterprise Portal(EP) which I want to have connection properties to my local MDM Server which is my SQ/Server on my laptop.
    Using the Connection Test, EP cannot connect. I've tried 'local', the SQL Server name (in my case USTEM05NB028939) and even the IP address of my machine... no can do! I do have an alias set up... I suspect that the Connection Properties for a local MDM server are illusive... does anyone have the protocol for a local SQL/Server connection?

    Hi Tom
    solution is as below
    1) Please ensure EP is updated with latest Business Package of MDM 5.5 SP03.   Download the below Business Packages from www.SWDC.SAP.COM/Server using Service Market Place ID.
                       a. com.sap.mdm.tech.mdm4j.sda
                       b. com.sap.mdm.tech.connector.sda
                       c. BPMDMTECH.sca
                       d.BPMDMAPPL.sca
    2) Ensure your "hosts" file (C:\winnt\system32\drivers\etc\hosts) on your laptop (MDM Server) has the IP address and hostname of the EP Server similarly update the same on EP server with MDM IP address and server details.
                   ( Ex USTEM05NB028939   192.168.12.20) etc in the hosts file
    3) Ensure all Java related patches of MDM are applied on EP which will enable WAS to identify the MDM IViews.
    4)  Go to MDM Console and check the Repository details of the repository that needs to integrate with EP.  Identify the Repository Port that is running the Repository.  Here usually if we have more than one repository in the MDM server we give repository ports like 1234,1235 etc but its imp to leave 5 ports for every repository example if the first repository is using 1234 as repository port then better  user 1240 for the next repository.
    5) Ensure you have accessed MDM Server Repository thru the Admin account of MDM Server from EP.
    6) Also change the Windows Authentication mode of SQL Server to Administrator Mode for SA in SQL Server.
    7) Also kindly mention the 'MDM 5.5 Host Server' as 'USTEM05NB028939' (If USTEM05NB028939 your MDM Server name) rather than Local on your EP.
    Regards
    Veera

  • I want to change connected database of my adf project

    I changed connection on business compenent form Project Properties of model and viewController, but it use old connection.
    Are there another properties that I have to change.
    Oracle - ADF
    Thanks

    Yes, you need to change the datasource that your Application Module is connecting to.
    - Right-click on your App Module and click Configurations...
    - Select the configuration that your view controller uses (usually <App Module name>Local)
    - Click Edit...
    - Change the connection type/name to the desired connection
    - Click all the OK's
    - Test it
    Hope this is what you need

  • Error:Make sure user mapping is correct & all connection properties r right

    Hi,
    I am using SRM 5.0 and EP 7.0 I had imported the verify.der certificate of portal on SRM and changed the profile parameters of SRM to accept tickets.
    And now after creating a system object for Srm on Portal I tried to test the connectivity and it shows the following error.
    "Connection failed. Make sure user mapping is set correctly and all connection properties are correct."
    ANy ideas? Please advice.
    Swetha

    My simple rule is to ignore the message as the test tends to give false negatives. Instead try to access the system with an iView, such as SAP transaction, or use System admin -> support -> SAP application -> scroll down to SAP transaction.
    Cheers

  • Network Connection Properties Access Standard Users

    Hi All,
    I know this is an old issue but i just cannot get it going i've read a couple of forum posts but i don't know whether i am still doing it correctly.
    I am trying to allow domain users to change their network connection properties to allow change of ip addresses as it is slightly different between our 2 offices locally. 
    So i have added the users in to the network configuration operators group and also i have disabled the UAC as
    follows

    Hello again,
    Is NetworkOP a Security group?
    Also have you checked the client's PC and verify if the following group is added in Network Operators group?
    Do you see any errors in RSOP.msc when you try to see the applied policy?
    Please try to logon with different users in NetworkOp group and check if they have access or not?
    Do you have any other policy related to prevent access to network properties?
    User configuration \ Administrative templates \ Network \ Network Connection is a case in point.
    Another step is to make sure the Network Operators group itself is operational, so please create a user locally (Not Administrator) and add it to the Built in Network Operators group and see if they have access to properties.
    Regards.
    Mahdi Tehrani Loves Powershell
    Please kindly click on Propose As Answer or to mark this post as
    and helpfull to other poeple.

  • OBIEE Database Connection Properties.

    Hi All,
    Can some one provide a link or documentation for OBIEE Database Connection Properties. Especially about the Features tab details where in what is feasible to change and what does that effect in connecting to database ?
    We are using 10.1.3.4 version OBIEE.
    Thanks,

    Did you try here already? http://download.oracle.com/docs/cd/E10415_01/doc/nav/portal_booklist.htm

Maybe you are looking for

  • Purchase Order Header Status report

    Hi All, Just wondering in which table /report I could get the values of "STATUS" tab in PO header which has information about Ordered,Delivered,Still to deli.,Invoiced,Downpayments.. Does anyone know from wher i can get this information for list of P

  • Maximum number of podcasts?

    Dear all, For some reason, iTunes refuses to upload more than 3 episodes of a particular video podcast to my 5G iPod. The podcast URL is: http://www.29hdnetwork.com/index.xml and contains a large amount of episodes. I have iTunes configured to update

  • Different status reflect at SO (item) fields!

    Dear gurus! i have actually two questions that bothering me for ages: 1. in schedule line category, if we block the transfer of requirement of availability check, when i create a sales order with this schedule line, this order would not transfer any

  • Reinstalling Acrobat 4.0

    I unistalled Acrobat 6.0, and I want to reinstall it.  To do so, first I have to install 4.0, and then I have to upgrade to 6.0.  I have both of my original disks.  After I insert the 4.0 CD and click on "Install 4.0", nothing happens.  Can anyone su

  • Animating only a few layers in PSE8

    Hi everyone. So I have a little project to do on PSE8, and it involves some animation.  I know how to do the animation, however, I am having a problem.  I will try to explain this easy as possible. I have five layers, one that needs to stay the same,