EJB lookup on Remote Server or different domain fails

Hi,
I am having two different domain (domain1,domain2) respectvely. My ABC.ear j2eee application is deployed on domain2 and its iiop port is 33703.In domain1 i have xyz.war (web application) and it's IIOP port is 3700 .In xyz.war i am having CallEJB.jsp file.In this Jsp file i want to lookup an EJB Service called PaymentEJB(JNDI Name is ejb/PaymentEJB).
The code is below
InitialContext context=new InitialContext();
Object objRef=context.lookup("corbaname:iiop:andaman:33703#ejb/PaymentEJB");
I am getting the following error.
[#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
My doubt is
1.While starting domain1 and domain2 iiop listeners are started on the port 3700 and 33703.in that case why EJB lookup tries to create listener on one more time.
2.I am looking the 33703 port only.but it tries to create port on 3700 why?
3.It was working till JES2005Q1.Is there any patch i need to install? or i need to change anything in my code.
I am frustrated with this error for past one week.I will be happy if some body will give me the peace of mind(thru some solution).

Hi
I found the solution for this issue.
To lookup the EJB applications in web component,we should not set any thing in the Initial Context.i.e the lookup should be
InitialContext initContext=new InitialContext();
Object objref = initContext.lookup("java:comp/env/ejb/"+ejbName_);
This will get you the Home object of the EJB you are looking.
In your web.xml you should have the entry like below.(Just replace the ejbname which you are looking for)
<ejb-ref>
<ejb-ref-name>ejb/GetAssertionEJB</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>com.ssertion.GetAssertionHome</home>
<remote>com.assertion.GetAssertionRemote</remote>
</ejb-ref>
In your sun-wb.xml,you should have the entry like below(Just replace the ejbname which you are looking for)
<ejb-ref>
<ejb-ref-name>ejb/GetAssertionEJB</ejb-ref-name>
<jndi-name>corbaname:iiop:<hostname>:<iiopport>#ejb/GetAssertionEJB</jndi-name>
</ejb-ref>
Hope this works.

Similar Messages

  • Access to local DataSource tries to connect to remote server after ejb call to remote server

    I've run into a problem with code that worked fine under WebLogic 6.1 SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
              I have two weblogic instances running in separate domains (InstanceA and InstanceB). The two domains have the same crentential configured to setup the trust relationship.
              InstanceA runs on my local machine. It contains Stateless Session Beans StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
              InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
              A function A1Func1 in StatelessSessionBeanA1
              1) creates an initial context to connect to InstanceB
              2) calls a method B1Func1 on StatelessSessionBeanB1
              3) closes that context to InstanceB
              4) Calls a method A2Func1 on StatelessSessionBeanA2
              5) manipulates several entity beans
              6) returns
              A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
              Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a Connection from the DataSourceA1, it gets an exception:
              java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
              at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              ... enters my application code
              A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have the "RequiresNew" transaction attribute. This causes steps 1,2,3,4 to work, but in step 5, when the entity beans attempt to get a connection from DataSourceA1, it runs into the same exception
              java.sql.SQLException: Could not get remote server connection url = t3://(IP/port of InstanceB)
              at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
              Any ideas why calling out to StatelessSessionBeanB1 would cause things inside the same transaction to try to get their datasource from InstanceB? Again, this code worked fine under WebLogic 6.1
              And ideas would be appreciated.
              Thanks,
              --Andy
              

              As a follow up, no solution, but a workaround - we changed the transaction setting
              on B1Func1 (which was a read type method) on InstanceB's StatelessSessionBeanB1
              to NotSupported, and everything started working again.
              --Andy
              Andrew Delpha <[email protected]> wrote:
              >I've run into a problem with code that worked fine under WebLogic 6.1
              >SP4, but I'm having difficulty migrating it to WebLogic 8.1 SP2.
              >
              >I have two weblogic instances running in separate domains (InstanceA
              >and InstanceB). The two domains have the same crentential configured
              >to setup the trust relationship.
              >
              >InstanceA runs on my local machine. It contains Stateless Session Beans
              >StatelessSessionBeanA1, StatelessSessionBeanA2, and DataSourceA1
              >
              >InstanceB runs on a different machine. It contains StatelessSessionBeanB1.
              >
              >
              >A function A1Func1 in StatelessSessionBeanA1
              >1) creates an initial context to connect to InstanceB
              >2) calls a method B1Func1 on StatelessSessionBeanB1
              >3) closes that context to InstanceB
              >4) Calls a method A2Func1 on StatelessSessionBeanA2
              >5) manipulates several entity beans
              >6) returns
              >
              >A1Func1, A2Func1, B1Func1 have the "Required" transaction attribute set.
              >
              >
              >Steps 1,2,3 work fine, but on step 4, when A2Func1 attempts to get a
              >Connection from the DataSourceA1, it gets an exception:
              >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
              >of InstanceB)
              > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              > ... enters my application code
              >
              >A2Func1 works fine elsewhere, so on a hunch, I tried making A2Func1 have
              >the "RequiresNew" transaction attribute. This causes steps 1,2,3,4
              >to work, but in step 5, when the entity beans attempt to get a connection
              >from DataSourceA1, it runs into the same exception
              >java.sql.SQLException: Could not get remote server connection url = t3://(IP/port
              >of InstanceB)
              > at weblogic.jdbc.jts.Driver.createRemoteConnection(Driver.java:305)
              > at weblogic.jdbc.jts.Driver.connect(Driver.java:157)
              > at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:305)
              > at weblogic.ejb20.cmp.rdbms.RDBMSPersistenceManager.getConnection(RDBMSPersistenceManager.java:2247)
              >
              >Any ideas why calling out to StatelessSessionBeanB1 would cause things
              >inside the same transaction to try to get their datasource from InstanceB?
              > Again, this code worked fine under WebLogic 6.1
              >
              >And ideas would be appreciated.
              >Thanks,
              >--Andy
              

  • EJB lookup returned stub from a different classloader.

    I've written an EJB for doing authenitcation. This EJB is accessed by an security-mbean (BEA's login module).
    - The EJB is deployed in an EAR.
    - The EJB-stubs are extracted and is included as part of the MBEAN Jar.
    When I hit a webapp causing the EJB lookup to occur, the stub object returned is created by the webapp's classloader. This cause a ClassCastException when trying to cast the returned home interface into the home interface of the MBEAN's classloader.
    Note that all this is happening on the same BEA server running WLS8.1.
    I don't want to put the EJB jar on the system classpath so I can redeploy the EJB, the Application's EAR and the MBEAN to a cluster.
    -alex

    Robert Greig <[email protected]> wrote:
    Thanks for responding to my question, which newsgroup is more appropriate for
    my line of question?
    But before I move this thread, I would like to add:
    I've already handled the recursion problem on top of the ejb-lookup before JNDI
    becomes avaliable (while doing server startup) problem.
    The advantage with the EJB model is this. By changing the host/port configuration,
    I can switch between a local-authentication server or a remote provide authentication
    server network configuration.
    If I were to include the necessary classes in the mbean JAR from our application,
    there maybe resources issues since I now have 2 classloaders loading my server-portion
    of classes. Not sure how that will workout with resources and all. This model
    has the disadvantage of any classes I have in the mbean JAR will require updates
    outside my EAR. This wroks against the EAR deployment model.
    -alex
    Alex Cheung wrote:
    I've written an EJB for doing authenitcation. This EJB is accessedby an security-mbean (BEA's login module).
    - The EJB is deployed in an EAR.
    - The EJB-stubs are extracted and is included as part of the MBEANJar.
    This isn't a good approach. You are pretty much stuffed mainly for the
    reasons you outline.
    Also note that if you continue to go down this road you will have to
    handle the potential recursion (i.e accessing an EJB will invoke a
    security call to your provider!).
    Why do you need to implement this as an EJB? The main advantages of EJBs
    are security and container managed transactions neither of which is
    relevant here surely?
    Robert

  • Create EJB Control For Remote Server

    I'm having trouble creating an EJB control for a EJB residing in a remote server.
    First, I've a JAR containing the remote/home interfaces and added it as a Library in the WLW 8.1 application.
    When creating a new EJB Control, there's no way to successfully create the control.
    At the STEP 2 GUI:
    I am able to specify a JNDI-NAME, but the home/bean interface fields are empty. If I click on "Browse application EJBs..." button, nothing is available. If I click on "Browse server EJBs", it only shows EJBs in the current server.
    Thanks

    Hi
    I believe you are on Workshop8.1 Spx.
    This is a known issue. The reason the ejb does not show up as an application ejb because we have just the interfaces as a library and not the whole EJB.
    Since the EJB's are not deployed on the server it will not show up either.
    Unfortunately there is no way to point to a remote domain and get all the ejb's deployed there.
    Workaround:
    You can deploy the ejb locally, create the ejbcontrol and then undeploy the EJB. You need to manually change the home jndiname to use the remote server url.
    Thanks
    Vimala

  • Lync 2013 FE server certificate - different domain name

    Hi,
    I am implementing a small Lync infrastructure with the following components in a Resource Forest - Account Forest type implementation with a bi-directional Trust between the two forests:
      1 x Lync 2013 FE Standard,   1 x Mediation server  and  1 x Office Web App server
    Both AD forests have their PKI CAs, the certificate on the FE server is signed by the CA from the Account domain. All servers and workstations have both Root certificates implemented.
    User’s SIP domain name (account forest) is different from the FE server (resource forest) domain name.
    Question: When internal users sign-in to Lync they get a warning prompt as follows:
    “Lync cannot verify that the server is trusted for your sign-in address. Connect anyway?”
    Users can select to connect and everything functions correctly, however, I would like to get rid of the warning message at the beginning.
    Any idea what may be wrong, is something missing on the certificate ?
    Thanks for your help,
    Luca

    You can try to edit the internal web services FQDN and ensure your other populated DNS records point to a FQDN that matches the sip domain, or use the TrustModelData workaround here:http://support.microsoft.com/kb/2833618
    Here are a couple extra articles that dive in to what's happening: http://terenceluk.blogspot.com/2013/04/signing-into-lync-2013-client-presents.html?m=1
    http://blogs.technet.com/b/jenstr/archive/2011/02/10/lync-cannot-verify-that-the-server-is-trusted-for-your-sign-in-address.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Hyper-V Remote Admin on a Domain - Failed to connect to root\cimv2

    I'm trying to configure our Hyper-V server so that a user on our domain has administrative control.  Our Hyper-V server is on the domain running 2008 R2 (named SERVER85 below), and the client is on Win 7 Ent x64 (named DEV03 below, username accuraty\jkessel).
    In the output below you can see that it appears we might have a problem with this user's access to the WMI path root\CIMv2, but if I pull up the advanced security settings for that node in WMI, I see:
    Name: Justin Kessel ([email protected])
    Apply to: This namespace and subnamespaces
    Permissions allowed: "Enable Account" and "Remote Enable" (no others, no denies).
    IMHO, the server, the desktop, and user are all fairly "vanilla" with nothing unusual going on.  Maybe one thing worth noting: our Small Business Server 2008 (i.e. domain controller) is running as a VPS on SERVER85, so SERVER85 never boots with the
    domain controller on.  This hasn't ever caused problems except that the machine always thinks it's firewall should be in the "work" configuration instead of the "domain" configuration.  I tested running the HVRemote script while the SERVER85 firewall
    was turned off, and I get exactly the same results below.
    One more note: this user currently can logon through RDP to SERVER85 and administer Hyper-V just fine.  This user is *not* a domain admin or an admin on that server - I've simply provided him with the right permissions to be able to RDP and admin Hyper-V
    only.
    We used HVRemote and it output this info when run on the client:
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    Hyper-V Remote Management Configuration & Checkup Utility
    John Howard, Hyper-V Team, Microsoft Corporation.
    http://blogs.technet.com/jhoward
    Version 0.7 7th August 2009
    INFO: Computername is DEV03
    INFO: Computer is in domain accuraty.local
    INFO: Current user is ACCURATY\JKessel
    INFO: Assuming /mode:client as the Hyper-V role is not installed
    INFO: Build 7600.16617.amd64fre.win7_gdr.100618-1621
    INFO: Detected Windows 7/Windows Server 2008 R2 OS
    INFO: Remote Server Administration Tools are installed
    INFO: Hyper-V Tools Windows feature is enabled
    DACL for COM Security Access Permissions
    \Everyone    (S-1-1-0)
         Allow: LocalLaunch RemoteLaunch (7)
    NT AUTHORITY\ANONYMOUS LOGON    (S-1-5-7)
         Allow: LocalLaunch (3)
    BUILTIN\Distributed COM Users    (S-1-5-32-562)
         Allow: LocalLaunch RemoteLaunch (7)
    BUILTIN\Performance Log Users    (S-1-5-32-559)
         Allow: LocalLaunch RemoteLaunch (7)
    ANONYMOUS LOGON Machine DCOM Access
    ANONYMOUS LOGON does not have remote access
      This setting should only be enabled if required as security on this
      machine will be lowered. This computer is in a domain. It is not
      required if the server(s) being managed are in the same or trusted
      domains.
      Use hvremote /mode:client /anondcom:enable to turn on
    Firewall Settings for Hyper-V Management Clients
    Domain Firewall Profile is active
       Enabled:  Hyper-V Management Clients - WMI (Async-In)
       Enabled:  Hyper-V Management Clients - WMI (TCP-Out)
       Enabled:  Hyper-V Management Clients - WMI (TCP-In)
       Enabled:  Hyper-V Management Clients - WMI (DCOM-In)
    Windows Firewall exception rule(s) for mmc.exe
    Domain Firewall Profile is active
       Enabled:  Microsoft Management Console (UDP)
       Enabled:  Microsoft Management Console (TCP)
    Additional configuration may be necessary
      This computer is in a domain. If the target server is in a workgroup,
      you may need to set credentials for the server for Hyper-V Remote
      Management to operate correctly. This step should not be necssary if
      the target server is in the same or trusted domain as this computer.
      If necessary, from a *NON* elevated command prompt, enter:
         cmdkey /add:ServerComputerName /user:ServerComputerName\UserName /pass
      Note that you MUST enter ServerComputerName to BOTH parameters.
      You will be prompted for a password after entering the command.
    IP Configuration
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : DEV03
       Primary Dns Suffix  . . . . . . . : accuraty.local
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : accuraty.local
    Ethernet adapter Local Area Connection:
       Connection-specific DNS Suffix  . : accuraty.local
       Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
       Physical Address. . . . . . . . . : 00-19-D1-05-57-01
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::4406:b48c:dea3:de50%11(Preferred)
       IPv4 Address. . . . . . . . . . . : 172.16.48.185(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Wednesday, November 10, 2010 3:19:23 AM
       Lease Expires . . . . . . . . . . : Monday, December 20, 2010 9:39:25 AM
       Default Gateway . . . . . . . . . : 172.16.48.1
       DHCP Server . . . . . . . . . . . : 172.16.48.210
       DHCPv6 IAID . . . . . . . . . . . : 234887633
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-13-62-35-81-00-19-D1-05-57-01
       DNS Servers . . . . . . . . . . . : 172.16.48.210
    66.209.192.5
    8.8.8.8
                                           66.209.192.15
    8.8.4.4
    4.2.2.1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.accuraty.local:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Teredo Tunneling Pseudo-Interface:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Stored Credentials
    Currently stored credentials:
        Target: WindowsLive:[email protected]
        Type: Generic
        User:
    [email protected]
        Local machine persistence
        Target: LegacyGeneric:target=WindowsLive:(token):[email protected];serviceuri=contacts.msn.com
        Type: Generic
        User:
    [email protected]
        Local machine persistence
        Target: Domain:target=TERMSRV/server85
        Type: Domain Password
        User: ACCURATY\jkessel
        Local machine persistence
        Target: WindowsLive:target=virtualapp/didlogical
        Type: Generic
        User: 02mybhosqazs
        Local machine persistence
    Testing connectivity to server:server85
    1: - nslookup for DNS verification.
         Note that failure is OK if you don't have a DNS infrastructure
    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    Server:  sbs01.accuraty.local
    Address:  172.16.48.210
    Name:    server85.accuraty.local
    Address:  172.16.48.201
    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    2: - ping attempt (ping -4 -n -1 server85)
         Note the ping may timeout - that is OK. However, if you get an
         error that server85 could not be found, you need to fix DNS
         or add an entry to the hosts file. Test 3 will fail and provide more
         guidance.
         This may take a second or two...
    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    Pinging server85.accuraty.local [172.16.48.201] with 32 bytes of data:
    Reply from 172.16.48.201: bytes=32 time<1ms TTL=128
    Ping statistics for 172.16.48.201:
        Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
    3: - Connect to root\cimv2 WMI namespace
    ***** Failed to connect to root\cimv2
    ***** Error:     -2147024891 Access is denied.
    ***** Namespace: root\cimv2
         FAIL - Was unable to connect. Diagnosis steps:
         - Have you run hvremote /add:user or hvremote /add:domain\user
           on server85 to grant access?
         - Are you sure the server name 'server85' is correct?
         - Did you use cmdkey if needed? More information higher up.
         - Did you restart server85 after running hvremote /add for
           the very first time? (Subsequent adds, no restart needed.)
         - Is DNS operating correctly and was server85 found?
           Look at the output of tests 1 and 2 above to verify that the
           IPv4 address matches the output of 'ipconfig /all' when run on
           server85. If you do not have a DNS infrastructure,
           edit \windows\system32\drivers\etc on DEV03
           to add an entry for server85.
    INFO: Are running the latest version
    3 warning(s) or error(s) were found in the configuration. Review the
    detailed output above to determine whether you need to take further action.
    Summary is below.
    1: Anonymous Logon does not have remote access (may be ok)
    2: You *may* need to set credentials for access to the server
    3: Cannot connect to root\cimv2 on server85
    I'd greatly appreciate some help!
    Thanks!

    Hi,
    It seems that you were using Hyper-V Remote Management Configuration Utility from the link
    http://code.msdn.microsoft.com/HVRemote, if so, you can refer to the following link.
    Configure Hyper-V Remote Management in seconds
    http://blogs.technet.com/jhoward/archive/2008/11/14/configure-hyper-v-remote-management-in-seconds.aspx
    By the way, if you want to perform the further research about Hyper-V Remote Management Configuration Utility, it is recommend that you to get further
    support in the corresponding community so that you can get the most qualified pool of respondents. Thanks for your understanding.
    For your convenience, I have list the related link as followed.
    Discussions for Hyper-V Remote Management Configuration Utility
    http://code.msdn.microsoft.com/HVRemote/Thread/List.aspx
    Best Regards,
    Vincent Hu

  • Registry.lookup() return Remote object from different ip address

    I've got this error using
    Registry reg = LocateRegistry.getRegistry(serverName, Registry.REGISTRY_PORT);
    service = (ILogin) reg.lookup("service");and when I use debugger I've got this
    RegistryImpl_Stub[UnicastRef [liveRef: [endpoint:[10.240.161.66:1099](remote),objID:[0:0:0, 0]]]]
    Proxy[ILogin,RemoteObjectInvocationHandler[UnicastRef [liveRef: [endpoint:[10.240.161.54:2074](remote),objID:[-4308ea07:116adade605:-7fff, 9133145996543447416]]]]]Why the Registry return a service from different IP address ?
    I've run this code for several times and it works. But today it cannot connect to the RMIServer.
    Any idea ?

    Thanks, i found my missing prppertis is
    // optional. Defaults to localhost. Only needed if web server is running
    // on a different host than the appserver
    props.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
    // optional. Defaults to 3700. Only needed if target orb port is not 3700.
    props.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
    to set the port and host back

  • SCCM, Database Server in Different Domain

    Hi, I have this scenario in SCCM
    2012, I am installing a CAS and two
    primary sites and are in a domain
    A, and database servers
    are in a domain B, A and
    B domains have trust relationship,
    when installed showed no
    problems, but replication between
    data bases between Primarys and
    CAS are generating replication problems, generating
    errors that SSB can not create
    certificates, which I do,
    thanks for your help
    Leonardo Ramirez MCTS System Center Configuration Manager

    Hi,
    Is, SQL Server 2008 R2,  Service Pack 1, CU 6, the ports is fixed assigned in SQL and SSB, i did test with telnet, from cas.A.com to sqlcluster.B.com ports 445, 135 and ports fixed assigned SQL, SSB, the connection is successful, using custom SQL Instance.
    thank you for your help
    Leonardo Ramirez MCTS System Center Configuration Manager

  • Deployment as command for Enable Remote Server Administration Tools keeps failing

    trying to deploy cmd /c EnableFeatures.cmd with following commands in file
    dism /online /enable-feature /featurename:RemoteServerAdministrationTools
    dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles
    dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD
    dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS
    dism /online /enable-feature /featurename:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns
    it fails with error 740 Elevated permissions are required to run DISM
    I am deploying program with option Run with Administrative Rights under Environment Tab of program properties
    Help..
    Reviewed logs and found errors
    DISM   DISM Package Manager: PID=3200 Unknown features were specified on the command-line. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine(hr:0x800f080c)
     DISM   DISM Package Manager: PID=3200 Failed to get the Feature List from the command line. - CPackageManagerCLIHandler::Private_ProcessFeatureChange
    DISM   DISM Package Manager: PID=3200 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f080c)
    If I run .cmd file from SCCM client as administrator it works, but I have to push in environment for hundreds of machines and somehow its not running with elevated administrator rights..
    Spend lot of time but getting nowhere..
    I would greatly appreciate if anybody could provide me any clues
    Same commands worked before for Windows 732bit machine but not it fails on x32 and x64 bit both.

    Thank for quick reply, I have already deployed  RSAT successfully
    I installed PSTools on test machine and
    Used "psexec -i -s cmd" to open a cmd in system context manually and copied .bat script to c:\windows\system32 and run from command prompt, it works fine on test machine..
    But how would I implement it using SCCM because our client machines doesn't have pstools?
    Please provide more details Torsen I haven't deployed apps using psexec so far..
    RJ
    There's no need to "deploy" using psexec - use psexec as a method to verify the scripts/commands are valid and functional when executed in the LocalSystem context (because LocalSystem context is exactly what ConfigMgr is using when you tick "run
    as admin").
    So, that worked.
    How are you packaging/launching this via ConfigMgr?
    Are you using "package" ?
    Are you using "run command line" ?
    Or AppModel/Application ?
    Maybe, you are using run-command-line, or package-without-source - if so, I guess that your script is trying to run from UNC off the DP and this is what DISM is objecting to?
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Accessing a remote server from withing pl/sql

    Can anybody throw light on how to send a request to a remote server from within pl/sql. Based on a request from the client i need to reach the remote server (with a different web server capable of sending data ), get the details from it proccess the data sent by it and send the response back to the client.
    can anybody let me know if this is possible or is there someway of doing this..

    I think you may have the answer to my question (funny, but the one supposed to answer is asking).
    How can i make an application that can lookup EJBs in a remote server?
    I tried doing like i did from a servlet but every kind of exceptions arrise when i run it with the java command.
    From what i could understand from your question this is not the way i should do it. So, which one is the way?
    Greetings,
    Nicol�s

  • Unable to use Power Shell AD cmdlets on Remote Server

    1.Enter-PSSession
    PS C:\Users\09094080> Enter-PSSession -ComputerName 'oadb1' -Credential 'quantacn\qsmcoa'
    [oadb1]: PS C:\Users\qsmcoa\Documents>
    2.Import-Module ActiveDirectory
    [oadb1]: PS C:\Users\qsmcoa\Documents> Import-Module ActiveDirectory
    警告: Error initializing default drive: 'Unable to contact the server. This may be because this
     server does not exist, it is currently down, or it does not have the Active Directory Web
    Services running.'.
    [oadb1]: PS C:\Users\qsmcoa\Documents>
     3. run the Active Directory WebServices
    [oadb1]: PS C:\Users\qsmcoa\Documents> Import-Module ActiveDirectory
    [oadb1]: PS C:\Users\qsmcoa\Documents>
    4. Get-ADUser  throw exception.
    Whey? What can I do?
    [oadb1]: PS C:\Users\qsmcoa\Documents> Import-Module ActiveDirectory
    [oadb1]: PS C:\Users\qsmcoa\Documents> Get-ADUser '09094080'
    Unable to contact the server. This may be because this server does not exist, it is currently down, or it does not have
     the Active Directory Web Services running.
        + CategoryInfo          :
        + FullyQualifiedErrorId : Unable to contact the server. This may be because this server does not exist, it is curr
       ently down, or it does not have the Active Directory Web Services running.,Microsoft.ActiveDirectory.Management.Co
      mmands.GetADUser

    Make sure port TCP 9389 to access Active Directory Web Services is open from your remote server to your Domain Controller(s). It was my problem this morning...
    Only now when I import-module ACtiveDirectory I get the following Message :
    WARNING : Error initializing default drive : "A local error has occurred".
    and I can't seem to find troubleshooting information anywhere...

  • Building Flex Application with Flex Builder installed in a remote server

    Building Flex Application with Flex Builder installed in a remote server and different developers accessing it via VNC etc
    I have a requirement as below..........this is mainly to look for a solution where we can see a environment.............where we can stop developer to install flex builder locally, download/check out code locally and work locally ..............Please have a look ........
    1. There is Remote Server hosting our source code say 1st Remote Server
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server via VNC etc log in to their workspace
    5. Each developer check out code in their workspace by connecting to 1st Remote Server.
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ? I heard Cloud Computing is something that world is looking to represent this kind of solution .............not sure though

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • Run as different domain user.

    Hi, 
    Need to test a new Windows login in SSMS.  
    I setup a shortcut as below but I seem access SSMS using the domain account I specified in the shortcut, even though I have been prompted for the password. 
    C:\Windows\System32\runas.exe /netonly /user:rkh\sqlmonitor "C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe" 
    Any ideas? 

    Are you trying to connect the SQL server from machine(SSMS) in different domain ?
    Try below link , it really works for me, i using this to connect to SQL server in different Domain
    1) Create generic Credential in Credential Manager(control panel) with sql server(with port) and username/password
    2)Run as with the username which is specified in the generic Credential(may be you can create short cut if you frequently access the SQL Server)
    C:\Windows\System32\runas.exe /netonly /user:[domain]\[username] “C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\Ssms.exe”
    Note: in SSMS it will display the local userid(domain id) in object explorer, you can verify tin by running(suser_name())
    Refer
    http://www.mssqltips.com/sqlservertip/3250/connect-to-sql-servers-in-another-domain-using-windows-authentication/
    Thanks
    Saravana Kumar C

  • How to lookup an EJB from JSP on a Remote Server in JES2005Q4

    Hi,
    I am having two different domain (domain1,domain2) respectvely. My ABC.ear j2eee application is deployed on domain2 and its iiop port is 33703.In domain1 i have xyz.war (web application) and it's IIOP port is 3700 .In xyz.war i am having CallEJB.jsp file.In this Jsp file i want to lookup an EJB Service called PaymentEJB(JNDI Name is ejb/PaymentEJB).
    The code is below
    InitialContext context=new InitialContext();
    Object objRef=context.lookup("corbaname:iiop:andaman:33703#ejb/PaymentEJB");
    I am getting the following error.
    [#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
    My doubt is
    1.While starting domain1 and domain2 iiop listeners are started on the port 3700 and 33703.in that case why EJB lookup tries to create listener on one more time.
    2.I am looking the 33703 port only.but it tries to create port on 3700 why?
    3.It was working till JES2005Q1.Is there any patch i need to install? or i need to change anything in my code.
    I am frustrated with this error for past one week.I will be happy if some body will give me the peace of mind(thru some solution).

    Hi,
    I am having two different domain (domain1,domain2) respectvely. My ABC.ear j2eee application is deployed on domain2 and its iiop port is 33703.In domain1 i have xyz.war (web application) and it's IIOP port is 3700 .In xyz.war i am having CallEJB.jsp file.In this Jsp file i want to lookup an EJB Service called PaymentEJB(JNDI Name is ejb/PaymentEJB).
    The code is below
    InitialContext context=new InitialContext();
    Object objRef=context.lookup("corbaname:iiop:andaman:33703#ejb/PaymentEJB");
    I am getting the following error.
    [#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
    My doubt is
    1.While starting domain1 and domain2 iiop listeners are started on the port 3700 and 33703.in that case why EJB lookup tries to create listener on one more time.
    2.I am looking the 33703 port only.but it tries to create port on 3700 why?
    3.It was working till JES2005Q1.Is there any patch i need to install? or i need to change anything in my code.
    I am frustrated with this error for past one week.I will be happy if some body will give me the peace of mind(thru some solution).

  • JNDI EJB Lookup fails on Remote Server

    Hi,
    I am having two different domain (domain1,domain2) respectvely. My ABC.ear j2eee application is deployed on domain2 and its iiop port is 33703.In domain1 i have xyz.war (web application) and it's IIOP port is 3700 .In xyz.war i am having CallEJB.jsp file.In this Jsp file i want to lookup an EJB Service called PaymentEJB(JNDI Name is ejb/PaymentEJB).
    The code is below
    InitialContext context=new InitialContext();
    Object objRef=context.lookup("corbaname:iiop:andaman:33703#ejb/PaymentEJB");
    I am getting the following error.
    [#|2005-12-14T16:42:03.422+0530|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.resource.corba._DEFAULT_.rpc.transport|_ThreadID=11;|"IOP00410216: (COMM_FAILURE) Unable to create IIOP listener on the specified host/port: all interfaces/3700"
    org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 216 completed: No
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFailed(ORBUtilSystemException.java:2661)
    My doubt is
    1.While starting domain1 and domain2 iiop listeners are started on the port 3700 and 33703.in that case why EJB lookup tries to create listener on one more time.
    2.I am looking the 33703 port only.but it tries to create port on 3700 why?
    3.It was working till JES2005Q1.Is there any patch i need to install? or i need to change anything in my code.
    I am frustrated with this error for past one week.I will be happy if some body will give me the peace of mind(thru some solution).

    http://docs.sun.com/source/819-0079/dgjndi.html
    This might help.

Maybe you are looking for

  • Slow calc time with SET CREATEBLOCKONEQ OFF for block creation

    Hello everyone, I have a problem with the slow execution of one of my calc scripts: A simplified version of my calc script to calculate 6 accounts looks like this: SET UPDATECALC OFF; SET FRMLBOTTOMUP ON; SET CREATEBLOCKONEQ ON; SET CREATENONMISSINGB

  • KKS1- Target cost version found zero

    Hi, We are using PPPI route for the creation of Process order..plant person convert planned order to process order, but due to some reason they can not confirm that order and finally without GR/GI they can do TECO the order...Now at the month end whe

  • How to delete  Business partner in solution manger.

    hi friends I have two business partner BP1 & BP 2 assigned to  xxx user(1 user). but i want to delete the BP1 and it was not in use. i have tried below transcation but i can not delete  Program : BUPA_TEST_DELETE tcode : BUPA_DEL > given BP1  and exe

  • Delivery in background with respect to SO number

    Hi experts, Anyone kindly help me for the following case... In my workflow scenario, If sales order gets created, mail has to be sent to every user. Also for that sales order, delivery should be created in background and again mail has to be sent to

  • I keep getting kicked out of my itunes!

    Everytime I go into iTunes I last about maybe a minute then it freezes on me and kicks me out! Microsoft just states "iTunes has stopped working. A problem caused the program to stop working correctly. Windows will close the program and notify you if