Connect using WLST and userConfigFile

Hi
I am using WLST to connect to admin server and do deployments etc. I have a jython script which has the following line to connect (as given in bea docs) :
<p>
<b>connect(userConfigFile=cFile,userKeyFile=kFile,aURL)</b>
</p>
I invoke the script as :
<p>
<b>java weblogic.WLST myscript.py</b>
</p>
I get the following error:
<p><b>
Traceback (innermost last):
(no code object) at line 0
File /buildscripts/webapp/myscript.py", line 33
SyntaxError: non-keyword argument following keyword
</b></p>
Here Line 33 is the connect line.
Am I doing something wrong. What is the right way to connect using a userConfigFile and userKeyFile thru WLST
Thanks
Nitin

Sudarsan Mukundhan <> wrote:
Hi,
I am using the following command
connect(userConfigFile='D:/Command_Line_Scripts/userConfigFile.secure',userKeyFile='D:/Command_Line_Scripts/userKeyFile.secure',url='t3://beaweblogic07:8501')
>
but it throws the exception
Connecting to weblogic server instance running at t3:\beaweblogic07:8501
as userna me weblogicadmin ...
Traceback (innermost last):
File "<input>", line 1, in ?
File "<iostream>", line 74, in connect
WLSTException: 'Error occured while performing connect : Error getting the
initial
context. There is no server running at t3:\\beaweblogic07:8501. Use
dumpStack() t
o view the error stack trace'
Any idea what is wrong here
Thanks
Sudarsan MukundhanHi,
Your server is just not reachable?
B
Schelstraete Bart
[email protected]
http://www.schelstraete.org
http://www.linkedin.com/in/bschelst

Similar Messages

  • Errors while starting admin server using WLST and NodeManager

    Hi I am trying to start admin server using WLST and NodeManager. I started nodemanager and WLST successfully. but when I am trying to nmConnect() command I am getting below errors. Please any one tell me where am I going wrong? I copied dumpStack() optput as well..
    thanks
    manohar
    C:\oracle\Middleware\wlserver_10.3\server\bin>
    C:\oracle\Middleware\wlserver_10.3\server\bin>java weblogic.WLST
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> nmConnect('weblogic','weblogic','localhost','5556')
    Connecting to Node Manager ...
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O
    =T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificat
    e list raised a certificate parsing exception PKIX: Unsupported OID in the Algor
    ithmIdentifier object: 1.2.840.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O
    =T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificat
    e list raised a certificate parsing exception PKIX: Unsupported OID in the Algor
    ithmIdentifier object: 1.2.840.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The
    loading of the trusted certificate list raised a certificate parsing exception
    PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.
    \,LTD.,C=JP". The loading of the trusted certificate list raised a certificate p
    arsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.84
    0.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading
    of the trusted certificate list raised a certificate parsing exception PKIX: Un
    supported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "<iostream>", line 123, in nmConnect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing nmConnect : Cannot connect to Node
    Manager. : I/O error while reading domain directory
    Use dumpStack() to view the full stacktrace
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline> dumpStack()
    This Exception occurred at Tue May 03 10:45:03 EDT 2011.
    weblogic.nodemanager.NMException: I/O error while reading domain directory
    at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClie
    nt.java:299)
    at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClie
    nt.java:312)
    at weblogic.nodemanager.client.NMServerClient.connect(NMServerClient.jav
    a:248)
    at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerCli
    ent.java:199)
    at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerCli
    ent.java:205)
    at weblogic.nodemanager.client.NMServerClient.getVersion(NMServerClient.
    java:52)
    at weblogic.management.scripting.NodeManagerService.verifyConnection(Nod
    eManagerService.java:179)
    at weblogic.management.scripting.NodeManagerService.nmConnect(NodeManage
    rService.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx2.nmConnect$3(<iostream>:118)
    at org.python.pycode._pyx2.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.pycode._pyx16.f$0(<console>:1)
    at org.python.pycode._pyx16.call_function(<console>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    weblogic.nodemanager.NMException: I/O error while reading domain directory
    wls:/offline>
    wls:/offline>

    Hi manohar,
    Please try the following article... (With Node Manager Communication type as "Plain" because it looks like you are getting PKIX security certificate chain message ) Just to isolate the issue
    Topic: Start AdminServer And NodeManager Using WLST
    http://middlewaremagic.com/weblogic/?p=6580
    Thanks
    Ravish Mody

  • Starting admin server using WLST and NodeManager

    Hi I am trying to start admin server using WLST and NodeManager. I started nodemanager and WLST successfully. but when I am trying to nmConnect() command I am getting below errors. Please any one tell me where am I going wrong? I copied dumpStack() optput as well..
    thanks
    manohar
    C:\oracle\Middleware\wlserver_10.3\server\bin>
    C:\oracle\Middleware\wlserver_10.3\server\bin>java weblogic.WLST
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    wls:/offline> nmConnect('weblogic','weblogic','localhost','5556')
    Connecting to Node Manager ...
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O
    =T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificat
    e list raised a certificate parsing exception PKIX: Unsupported OID in the Algor
    ithmIdentifier object: 1.2.840.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O
    =T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificat
    e list raised a certificate parsing exception PKIX: Unsupported OID in the Algor
    ithmIdentifier object: 1.2.840.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The
    loading of the trusted certificate list raised a certificate parsing exception
    PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.
    \,LTD.,C=JP". The loading of the trusted certificate list raised a certificate p
    arsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.84
    0.113549.1.1.11.>
    <May 3, 2011 10:45:02 AM EDT> <Notice> <Security> <BEA-090898> <Ignoring the tru
    sted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading
    of the trusted certificate list raised a certificate parsing exception PKIX: Un
    supported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
    Traceback (innermost last):
    File "<console>", line 1, in ?
    File "<iostream>", line 123, in nmConnect
    File "<iostream>", line 646, in raiseWLSTException
    WLSTException: Error occured while performing nmConnect : Cannot connect to Node
    Manager. : I/O error while reading domain directory
    Use dumpStack() to view the full stacktrace
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline>
    wls:/offline> dumpStack()
    This Exception occurred at Tue May 03 10:45:03 EDT 2011.
    weblogic.nodemanager.NMException: I/O error while reading domain directory
    at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClie
    nt.java:299)
    at weblogic.nodemanager.client.NMServerClient.checkResponse(NMServerClie
    nt.java:312)
    at weblogic.nodemanager.client.NMServerClient.connect(NMServerClient.jav
    a:248)
    at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerCli
    ent.java:199)
    at weblogic.nodemanager.client.NMServerClient.checkConnected(NMServerCli
    ent.java:205)
    at weblogic.nodemanager.client.NMServerClient.getVersion(NMServerClient.
    java:52)
    at weblogic.management.scripting.NodeManagerService.verifyConnection(Nod
    eManagerService.java:179)
    at weblogic.management.scripting.NodeManagerService.nmConnect(NodeManage
    rService.java:173)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyObject.invoke(Unknown Source)
    at org.python.pycode._pyx2.nmConnect$3(<iostream>:118)
    at org.python.pycode._pyx2.call_function(<iostream>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.pycode._pyx16.f$0(<console>:1)
    at org.python.pycode._pyx16.call_function(<console>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:180)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.WLST.main(WLST.java:29)
    weblogic.nodemanager.NMException: I/O error while reading domain directory
    wls:/offline>
    wls:/offline>

    Hi manohar,
    Thank you, Pierluigi for encouraging Middleware Magic Team :)
    manohar, apart from what *"Pierluigi"* has suggested, additionally please notice the following messsage in your StackTrace (whih is basically a NOTICE message but does not look good)
    The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object:In your case it looks like the actual issue is your Certificate which comes by default with JDK. As mentioned in this BUG.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6803022
    Additionally please refer to the following Thread:
    http://forums.oracle.com/forums/message.jspa?messageID=3958098#3958098
    I am suspecting that you need to do the following in order to get rid of Certificate Errors which is the ROOT cause of your issue
    Do the following: After taking a backup of *"$JAVA_HOME/jre/lib/security/cacerts"* file
    cd $JAVA_HOME/jre/lib/security
    cp -p cacerts cacerts.original
    chmod 644 cacerts
    keytool -delete -alias ttelesecglobalrootclass2ca -keystore cacerts
    keytool -delete -alias ttelesecglobalrootclass3ca -keystore cacertsAlso try with Node Manager Communication type as "*Plain*" because it looks like you are getting PKIX security certificate chain message, just to isolate the issue.
    Regards,
    Ravish Mody

  • "Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!

    "Unable to Connect" using Firefox and Windows 7. Have tried all the suggestions on this website to no avail. I need firefox for my work! Please help!
    == This happened ==
    Every time Firefox opened
    == Since I downloaded Firefox

    same here my AV is ESET, i already unblock it but no use can't connect to the internet..

  • Need a Secure Reliable connection Using IDSL and dsl routers

    I need to get a fast secure remote connection to my database. I am using oracle 8i database and the 6i developer for my applications. I need to connect to from remote sites to my office using my internet dsl router.
    I managed to do this using the web remote desktop , but i need to use a differnt method for tow reasons :
    1- I am worried that i might face performance problems when having many remote desk top connections.
    2- I still need security measures where i want to restrict connections to only specific computers that i have identified by reading hard disks serial numbers etc.
    I will appreciate it if any one can help me and show me a suitable way to connect to the data base remotely using the idsl lines while the application (forms and reports runs in the clients computer) or any other methods to connect using the idsl and the routers and not compromise the security issues of restricting the connections based on hardware information.

    Hi,
    it seems to be a JRE Problem. When I use the Kerberos implementation from "Vintela Single Sign-On for Java" I can establish a "aes256" secured LDAP connection to the AD Server.
    This LDAP connection allows to change the passwords of the users stored in the AD.
    The problem is that "Vintela Single Sign-On for Java" is not free, so it would be nice to have a solution which works with the Kerberos implementation of the JRE.
    The error is the same for "aes128" and "aes256" encryption.
    And with Wireshark I can not see any differences in the packets send to the AD and received from the AD.

  • Losing connection using facetime and wifi drops off. Why?

    Try connecting on facetime and when i try it says connection lost and my wifi goes off for a few seconds then comes back on. I tryed turn facetime on and off and it works once. then i try it again and connection is lost and wifi does the same thing.

    Yes, I went to settings and turned wifi off.  Thought at first I wasnt letting it set for a sec or two before shutting the iPad off.  so now I wait like a minute or two  before shutting the iPad down.  didnt  seem to help.  Tried  actually logging out of  facebook when I was  done with it,  worked for about  4 days, and now it has started  coming on and coming online again,,  I  went through my notifications and  shut things off,   Well  see if it works.  thank you.

  • Exception in connect using WLST in Embedded Mode

    If I try to run the example for WLST in embedded mode, I get an exception during the connect:
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'TestDomain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Exception in thread "main" Traceback (innermost last):
      File "<string>", line 1, in ?
      File "<iostream>", line 22, in connect
    WLSTException: 'Error occured while performing connect : Error connecting to the server Use dumpStack() to view the full stacktrace'The server in question is running, and the connect command from an interactive interpreter (from the commandline) works fine. I added a call to dumpStack() in a try-catch and got:
    This Exception occurred at Fri Sep 21 15:16:48 CEST 2007.
    java.lang.NullPointerException
         at com.sun.corba.se.impl.io.ValueHandlerImpl.writeReplace(ValueHandlerImpl.java:452)
         at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.writeRMIIIOPValueType(CDROutputStream_1_0.java:761)
         at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:850)
         at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:864)
         at com.sun.corba.se.impl.encoding.CDROutputStream_1_0.write_value(CDROutputStream_1_0.java:659)
         at com.sun.corba.se.impl.encoding.CDROutputStream.write_value(CDROutputStream.java:232)
         at weblogic.management._RemoteMBeanServer_Stub.addNotificationListener(Unknown Source)
         at weblogic.management.scripting.WLSTHelper.addChangeListener(WLSTHelper.java:327)
         at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:315)
         at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:201)
         at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:60)
         at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:121)
         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:585)
         at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:160)
         at org.python.core.PyMethod.__call__(PyMethod.java:96)
         at org.python.core.PyObject.__call__(PyObject.java:248)
         at org.python.core.PyObject.invoke(PyObject.java:2016)
         at org.python.pycode._pyx6.connect$1(<iostream>:16)
         at org.python.pycode._pyx6.call_function(<iostream>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyTableCode.call(PyTableCode.java:404)
         at org.python.core.PyTableCode.call(PyTableCode.java:274)
         at org.python.core.PyFunction.__call__(PyFunction.java:175)
         at org.python.pycode._pyx14.f$0(<string>:1)
         at org.python.pycode._pyx14.call_function(<string>)
         at org.python.core.PyTableCode.call(PyTableCode.java:208)
         at org.python.core.PyCode.call(PyCode.java:14)
         at org.python.core.Py.runCode(Py.java:1135)
         at org.python.core.Py.exec(Py.java:1157)
         at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:137)
         at weblogic.management.scripting.utils.WLSTInterpreter.exec(WLSTInterpreter.java:367)
         at com.lmco.jsf.alis.obphm.afrs.weblogic.WLSTTest.connect(WLSTTest.java:40)
         at com.lmco.jsf.alis.obphm.afrs.weblogic.WLSTTest.main(WLSTTest.java:81)What am I doing wrong?

    public static void main(String[] args) throws
    Exception{
    Very bad programming practice!Not for a simple test program where you aren't going to do anything useful. In this case, it's exactly the right thing - as soon as the test hits an error, it falls over and dumps a stack trace, which is what it exists to do.
    In general, tho, you're correct, "throws Exception" loosens your contract to the point of meaninglessness.
    G

  • Cannot connect using URLConnection and JSSE

    Hi,
    I am using the following code:
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    I also pass -Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
    as argument to the java VM. However, the code below throws IOException with the message: "HTTPS hostname wrong: should be <mail.yahoo.com>"
    URLConnection con;
    URL url = new URL("https://mail.yahoo.com");
    con = url.openConnection();
    con.connect();
    What can I do?

    Write your own HostnameVerifier, it sounds like mail.yahoo.com isn't sending
    a properly formed certificate.
    P.S. If you're using JSSE in 1.4 or above, the SunJSSE is already installed, and
    the setProperty/addProvider shouldn't be done.

  • Remote connection using SAProuter and Service Connector

    Hello everyone!
    What I am trying to do is to connect to an SAP system of a client of ours.
    This is what I have found out and what works -
    I found out that for such a scenario a SAProuter and the Service Connector somewhow come into play. I worked with the SAProuter and could connect to a test IDES system in our company with the following router string -
    /H/<localsystem_where_SAProuter_is_running>/H/<IP_of_IDES>/S/3200
    This basically means that I would have to connect my SAProuter with the client's SAProuter and the client router would then pass on my connection to their SAP system like this -
    /H/<mySAProuter>/H/<clientSAProuter>/S/<port_client_SAProuter>/W/<client_password_if_specified>
    When this connection is established, I can access the client's SAP system through a SAPGui (Windows or Java) from my side using the connection string as specified above.
    If this works, why do I need a service connector? What would it's function be?
    Another question being - I have been told that a connection can also be established by using a connection from us to SAP and then from SAP to the client's SAP system (this has been suggested by the client). Where does this scenario fit in? If it is indeed possible, what do I need to do to make such a connection work?
    I would appreciate it if someone answers who has actually worked on such a situation.
    Bye!
    Sameer

    The service connector is used by SAP to automatically open your systems for customer messages; it's not relevant in the scenario you describe.
    You can't use SAP's servers as a "stepping stone" to get to another customer's system.... you can directly link the two organizations by allowing the connections through both firewalls to specific saprouters at each end though:
    CustA <> saprouter <> firewall <>  INTERNET <> firewall <> saprouter <> CustB
    It requires coordination between both customers and the use of saprouter strings in the SAPGUI configuration, as you've described.
    Rich

  • Two VM's running on different Host needs to be connected using Bridging and joined to VM's domain

    Hi,
    I am new to the form and vm workstation. Thanks for your inputs in advance.
    I have 2 physical machine running Windows 7 OS.
    On Host1, I have 2 VM's running Windows 2008 Server & XP. I have joined XP to Windows 2008 Server. If I try to join the VM machine running on Host2 to windows server machine running on Host1, I get the DNS error. However I'm able to ping all the vm machines in any direction. Is it possible to join this VM3 to windows server??

    I would suggest you to readjust the wireless settings on your Router....
    On the Linksys Setup Page,reduce the MTU size to 1400 and click on Save Settings.Click on wireless tab.... Here select manual configuration...Wireless Network mode should be mixed...Set the Radio Band to Standard-20MHz and change the Standard channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
    Click on Advanced Wireless Settings....Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304, Change the RTS Threshold to 2304,Click on "Save Settings"...

  • Google apps doesn't connect using exchange option in mail while on 3G

    Hello,
    I have been using google apps for over two years and it has been working perfectly on my iPhone. I set up my email using the exchange option and its been running without incident. I also have my gmail setup using exchange and it too has been working fine for years.  About 2 months ago I had my iPhone 5 replaced by apple under warranty and on the new device  I was no longer able to setup my gmail using exchange. I then read that google stopped supporting exchange for new iOS devices. However, my google apps account continued to work perfectly until a few days ago. It suddenly stopped connecting to my account. I did a few experiments and noticed that it works perfectly when connected via wifi or on Edge but not on 3G. It's strange that it just doesn't connect on 3G. To troubleshoot I deleted the account and added it again but that didn't solve the problem.  I also restored the phone but that didn't help either. Finally I changed my SIM card and that didn't help too.
    Does anyone have any idea why this is and how I can solve this issue?
    Regards,
    Saeed

    buyousuf wrote:
    Thanks for the reply. This explains why my gmail account doesn't work using exchange. However, google apps is a paid service and hence should work using exchange.
    What did google say when you contacted them? It's their service.
    Also, I am able to connect using Edge and wifi but not while on 3G.
    Connect to what? Are you saying Google Apps works on Edge, but not 3G? Or are you saying you can't connect to the Internet at all over 3G?

  • IChat is unable to connect using a .Mac account

    Hello,
    I have tried to connect using iChat and a .Mac account (no, I do not have an AIM membership and am only a .Mac member).
    When I tried to add a friend to the buddy list (there are only Bonjour and AIM lists available, but I'm a member of neither), the AIM list simply says "connecting..." but the connection never completes. I've sometimes waited for hours for the connection.
    At this moment, the settings in the iChat program are:
    server: slogin.oscar.aol.com
    port: 5190
    Use SSL is checked.
    I also tried login.oscar.aol.com, port 5190, and left the SSL option unchecked. Neither method works at all. Is there a reason it won't connect to the server? Also, why does it use an AOL server? Do they host .Mac accounts?
    Ryan

    Same problem here... I haven't been able to get iChat to work in days. I have tried changing to port 443 and my password is perfectly acceptable etc but it hangs on "connecting" and then just disconnects or gives me the message "connection could not be completed because it timed out"
    nothing on my end has been changed in years but Apple was working on system maintenance a few days ago and that is when I lost iChat. The .Mac system status message area says"Due to scheduled maintenance, 100% of members could not access .Mac services. Normal service has been restored." but that is obviously bunk. I am not the only one... a friend of mine locally has the same issue. I think someone at apple has screwed something up!

  • Database connection using sqlplus

    Hi All,
    Can someone please do explain why am getting different result with the following scenarios:
    scenario 1
    1. I installed a database server and created a user ops$user1 identified externally.
    2. I created a unix user user1 (on the same machine) and make it member of oinstall and dba groups, set the environment variables the same as the oracle user.
    3. I create a database user user2 identified by password2
    4. Login as user1
    5. run sqlplus /nolog
    6. conn / <----- connection successful
    7. conn user2/password2 <---- connection successful
    scenario 2
    1. I created instantclient group and user (nologin) with home directory at /opt/instantclient (perm 750).
    2. I installed instantclient together with sqlplus and put it in /opt/instantclient.
    3. I modified the group profile of user1 by removing oinstall and dba, member it to instantclient group.
    4. set environment variables PATH, ORACLE_SID, LD_LIBRARY_PATH, CLASSPATH to include /opt/instantclient folder.
    5. Login as user1
    6. run sqlplus /nolog
    7. conn / <----- got an error, it says ORA-12545: Connect failed because target host or object does not exist
    8. conn user2/password2 <---- the same error
    9. conn user2/password2@oracle_sid <-- successful
    How come when using instantclient I need to supply the oracle sid? What we need is to connect using instantclient and need not to specify the oracle sid. Is this possible?
    Many thanks for those who will reply.

    Here it is:
    SQL> show parameter authent
    NAME_COL_PLUS_SHOW_PARAM
    TYPE
    VALUE_COL_PLUS_SHOW_PARAM
    os_authent_prefix
    string
    ops$
    remote_os_authent
    boolean
    FALSE

  • The unserlying connection was closed .and unexpected error was occured on send.

    Dilip Patil..

    Hi Dilip,
    Generally, the issue is always related to Secure Sockets Layer (SSL). There is a setting named SecureConnectionLevel which is used for both the Report Server Web service and Report Manager in RSReportServer Configuration File. This value is set when you
    configure a URL to use HTTP or HTTPS in the Reporting Services Configuration tool. Valid values range from 0 through 3, where 0 is least secure.
    Based on my research, the value for SecureConnectionLevel always change to 2 that makes some connections use SSL, and will fail because SSL is not configured. To fix this issue, we can create a backup copy of RsReportServer.config which is located in the
    \Program Files\Microsoft SQL Server\MSSQL.n\Reporting Services\ReportServer folder. Then modify the Value for SecureConnectionLevel to 0, restart Reporting Services.
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Database locking using JSP and Oracle database

    Dear All
    I am reading about how to do database locking in general and i want to implement these mechanisms using JSP pages and oracle database, but i have the following questions:-
    1.If i write a “select for update” quesry in the JSP page will it locks the record ? or it will not lock the record because the connection between the JSP pages and the server will be stateless in most online systems?
    2.If i write all my jave code in transaction , something like this:-
    • Begin transaction
    • Commit or
    • Rollback
    Then should i be worried about the locking issues or the database manger will handle the locking mechanisms to insure data integrity(and what the default mechanism (if any) that the oracle database manger use to do the locking)?
    3. If the answer for question 2 is no, then how can i handle the optimistic and the pentemistic locking using JSP pages?
    BR

    One way to solve this issue is as follows:
    * You add a new column to each database table called 'version' which is of int type.
    * Each time you alter any field in a record, you increament the version number.
    * When you read a record and display it, you store the version number in your code
    * when you go to update the record, you write your sql something like this:
    update person set firstName=? where personId=? and version=?
    Where the version is whatever you stored locally. If someone altered the record in the database while your
    end user was looking at it, the version numbers will not match and the sql statement will
    return zero as the number of records it altered. If its zero, inform the end user someone altered the record
    while he was looking at it and weather or not he wants to proceed.
    The chances of two people altering the same record in a table while both are logged in and viewing the same set of data is small so such collisions will be few.
    You only need transactions if you are updating more than one record at a time (in the same table or multiple tables).
    You dont need it for reading records if you use a single sql statement to read (for example: to join multiple tables).
    In general, you get a (pooled) connection, use it, and close it as quickly as possible in a try/catch/finally block. You dont hold onto it for the duration of the user's session. A book on JDBC should help clarify this.

Maybe you are looking for

  • How do I update from iPhoto 7.1.5 to the newest version?

    I don't have much memory on my computer.  I have TONS of photos.  Many are large format and Photoshop files.  I'm trying to get all my photos saved onto iCloud and off my computer, however I need to update my outdated iphoto '08 to the latest version

  • ITunes unexpected errors

    I keep randomly getting the 'iTunes has experienced an unexpected error and needs to close' message. Not sure if its iTunes or Windows, but I was wondering if anyone else had this problem. Happens whether playing music or not, and there's plenty of s

  • How to enable JAAS with jdeveloper

    hi all, I start reading about JAAS and previously i developed an web application and now i want to implement XML based JAAS in it i searched different articles which shows JAAS with DB support, can any one mention any good article with baby steps for

  • Latest Cost estimate itemization Table

    Dear All, Could some one tell the table name where I can fine the particular material's latest released cost estimate date by each item number and item category. I use the CKIS table , but the Costing date field (KADKY)  of  CKIS  is not matching wit

  • This is about ODS thanks

    hai BW gurus    i had a question this is about ODS.    my staging scenario is ODS and Infocube because of the availablity of the chang log for supporting Delta .    in my job here u never know what request is right and what request is wrong and some