SEVERE Failed to created RMI-IIOP server because: null

i use jdk1.3.1_04, j2sdkee1.3 on Windows 2000 Professional.
When i tried to start J2EE server using "j2ee -verbose", log file shows the message "SEVERE Failed to created RMI-IIOP server because: null" .
I have been looking for the reason of this message in this forum...
but it seems i cant find it..
PLEASE SOMEBODY HELP ME !!!! i really dont know the reason..
TIA

screen message is the following.
C:\>C:\jdk1.3.1_04\bin\java -Xmx128m -Djavax.net.ssl.trustStore=C:\j2sdkee1.3\li
b\security\cacerts.jks -Djava.security.auth.policy=C:\j2sdkee1.3\lib\security\ja
as.policy -Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERS
ISTENT_SSL:1060 -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.
xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=C:\j2sdkee1.3
-Dcom.sun.jms.service.jdbc.dbpath=C:\j2sdkee1.3\repository\lobtae\db\ -Djms.prop
erties=C:\j2sdkee1.3\config\jms_service.properties -Djava.security.policy==C:\j2
sdkee1.3\lib\security\server.policy -Djava.security.auth.login.config=C:\j2sdkee
1.3\lib\security\login.config -Dcom.sun.enterprise.home=C:\j2sdkee1.3 -classpath
C:\j2sdkee1.3\lib\system\cloudscape.jar;C:\j2sdkee1.3\lib\system\tools.jar;C:\j
2sdkee1.3\lib\cloudscape\RmiJdbc.jar;C:\j2sdkee1.3\lib\cloudscape\cloudclient.ja
r;C:\j2sdkee1.3\lib\classes;C:\j2sdkee1.3\classes;C:\j2sdkee1.3\lib\j2ee.jar;C:\
j2sdkee1.3\lib\locale;;C:\jdk1.3.1_04\lib\tools.jar;C:\j2sdkee1.3\lib\jhall.jar
com.sun.enterprise.server.J2EEServer -verbose
J2EE server listen port: 1050
Naming service started:1050
Binding DataSource, name = jdbc/DB1, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/InventoryDB, url = jdbc:cloudscape:rmi:Cloudscap
eDB;create=true
Binding DataSource, name = jdbc/DB2, url = jdbc:cloudscape:rmi:CloudscapeDB;crea
te=true
Binding DataSource, name = jdbc/Cloudscape, url = jdbc:cloudscape:rmi:Cloudscape
DB;create=true
Binding DataSource, name = jdbc/EstoreDB, url = jdbc:cloudscape:rmi:CloudscapeDB
;create=true
Binding DataSource, name = jdbc/XACloudscape, url = jdbc/XACloudscape__xa
Binding DataSource, name = jdbc/XACloudscape__xa, dataSource = COM.cloudscape.co
re.RemoteXaDataSource@1318b
Starting JMS service...
C:\>

Similar Messages

  • Failed to Create identity on server err: 115

    I have an NW6.5 sp6 (plus several post sp6 patches). I am using eDirectory
    rights to restrict access to a web folder.
    With the exception of two people in my eDir group everyone can access the
    url with their eDir username and password.
    I cannot see what is wrong with the remaining two users. They are in the
    eDir group in the same ou.
    The Apache error log shows:
    failed to create identity for
    cn=username.ou=container.ou=container.o=organisati on on server servername
    err: 115 errno:
    Any ideas? I am stumped.
    tom

    Hi Tom,
    "Tom Cummings" <[email protected]> wrote in news:4829CEF4.E8E7.0010.0
    @nowhere.com:
    > I have an NW6.5 sp6 (plus several post sp6 patches). I am using eDirectory
    > rights to restrict access to a web folder.
    > With the exception of two people in my eDir group everyone can access the
    > url with their eDir username and password.
    >
    > I cannot see what is wrong with the remaining two users. They are in the
    > eDir group in the same ou.
    >
    > The Apache error log shows:
    >
    > failed to create identity for
    > cn=username.ou=container.ou=container.o=organisati on on server servername
    > err: 115 errno:
    >
    > Any ideas? I am stumped.
    check if these users have the UID populated; I guess these 2 users were
    created with nwadm32 instead of C1 which doesnt set the IUD field.
    Gnter.

  • Distributed transactions across RMI-IIOP client to RMI-IIOP server do not work

    Hi,
              Based on the links below:
              http://e-docs.bea.com/wls/docs61/jta/trxrmi.html#1018506
              http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
              It appears that is possible to have distributed transactions across RMI-IIOP
              clients and RMI-IIOP applications (servers).
              I followed up the "Transactions Sample RMI Code" section but it appears that
              the transaction context is not propagated from client to server. I am also
              surprised by the note:
              Note: These code fragments do not derive from any of the sample applications
              that ship with WebLogic Server. They merely illustrate the use of the
              UserTransaction object within an RMI application.
              The above note suggests that there is no sample code available.
              Is there anyone who successfully had RMI-IIOP applications (servers)
              participating in distributed transactions?
              Is there any sample code that illustrates RMI-IIOP applications (servers)
              participating in distributed transactions?
              If anyone thinks that this should work I will post my code that does not
              work.
              Regards,
              Dan Cimpoesu
              

    But if you look to the diagram:
    http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1040200
    it suggests that transactional context is passed from clients to RMI-IIOP
    servers.
    Am I wrong?
    Dan
    "Andy Piper" <[email protected]> wrote in message
    news:[email protected]..
    "Dan Cimpoesu" <[email protected]> writes:
    Transactions over IIOP are not supported or implemented in WLS 6.1 or
    previous. This is a feature of WLS 7.0. In 7.0 we implement OTS.
    andy
    Hi,
    Based on the links below:
    http://e-docs.bea.com/wls/docs61/jta/trxrmi.html#1018506
    http://e-docs.bea.com/wls/docs61/jta/gstrx.html#1067532
    It appears that is possible to have distributed transactions across
    RMI-IIOP
    clients and RMI-IIOP applications (servers).
    I followed up the "Transactions Sample RMI Code" section but it appearsthat
    the transaction context is not propagated from client to server. I amalso
    surprised by the note:
    Note: These code fragments do not derive from any of the sampleapplications
    that ship with WebLogic Server. They merely illustrate the use of the
    UserTransaction object within an RMI application.
    The above note suggests that there is no sample code available.
    Is there anyone who successfully had RMI-IIOP applications (servers)
    participating in distributed transactions?
    Is there any sample code that illustrates RMI-IIOP applications(servers)
    participating in distributed transactions?
    If anyone thinks that this should work I will post my code that does not
    work.
    Regards,
    Dan Cimpoesu

  • Fail to create SQL query report because of ORA-00923

    Hi expert,
    I would like to SQL query report using the following query:
    select min(identified_date) first_identified,
    max(actual_COMPLETE) last_closed,
    count(id) total_issues,
    sum(decode(status,'Open',1,0)) open_issues,
    sum(decode(status,'Pending',1,0)) pending_issues,
    sum(decode(status,'Resolved',1,0)) closed_issues,
    sum(decode(status,'Will Not Resolve',1,0)) not_resolve_issues,
    sum(decode(status,
    'Open',decode(priority,null,1,0),
    0)) open_no_prior,
    sum(decode(status,
    'Open',decode(priority,1,1,0),
    0)) open_prior_1,
    sum(decode(status,
    'Open',decode(priority,'2',1,0),
    0)) open_prior_2
    sum(decode(status,
    'Open',decode(priority,3,1,0),
    0)) open_prior_3,
    sum(decode(status,
    'Open',decode(priority,'4',1,0),
    0)) open_prior_4,
    sum(decode(status,
    'Open',decode(priority,5,1,0),
    0)) open_prior_5
    from SOFTPROJ_issues
    where project_id = :P83_PROJECT
    However, I got the following error during the steps of creation:
    1 error has occurred
    Query cannot be parsed, please check the syntax of your query. (ORA-00923: FROM¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿)
    I wonder why if it is getting the error because I could create the report with the following query without problems:
    select min(identified_date) first_identified,
    max(actual_COMPLETE) last_closed,
    count(id) total_issues,
    sum(decode(status,'Open',1,0)) open_issues,
    sum(decode(status,'Pending',1,0)) pending_issues,
    sum(decode(status,'Resolved',1,0)) closed_issues,
    sum(decode(status,'Will Not Resolve',1,0)) not_resolve_issues,
    sum(decode(status,
    'Open',decode(priority,null,1,0),
    0)) open_no_prior,
    sum(decode(status,
    'Open',decode(priority,1,1,0),
    0)) open_prior_1,
    sum(decode(status,
    'Open',decode(priority,3,1,0),
    0)) open_prior_3,
    sum(decode(status,
    'Open',decode(priority,5,1,0),
    0)) open_prior_5
    from SOFTPROJ_issues
    where project_id = :P83_PROJECT
    1 error has occurred
    Query cannot be parsed, please check the syntax of your query. (ORA-00923: FROM¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿)
    The difference is to add the followings only:
    sum(decode(status,
    'Open',decode(priority,'2',1,0),
    0)) open_prior_2
    sum(decode(status,
    'Open',decode(priority,'4',1,0),
    0)) open_prior_4,
    Does anyone have any idea to resolve the issue?
    Thanks in advance,
    Rui

    By putting a comma after open_prior_2:
    sum(decode(status,
    'Open',decode(priority,'2',1,0),
    0)) open_prior_2,Sima

  • Screwey rmi-iiop behavior

    I got the rmi-iiop example code to work just fine, but I tried extending
    it a little and strangeness ensues. Here's what I did:
    I'm using a stock weblogic 6.0 install on solaris 8 (sparc). I added
    the following new method to the Trader interface:
    public void func(javax.naming.Name n) throws RemoteException;
    and I added the implementation of that method to TraderBean like so:
    public void func(javax.naming.Name n) {
    System.out.prinltn("n [" + n + "]");
    I then added a call to the new Trader function to the end of the
    example() method in Client, just before the trader is removed:
    try {
    com.sun.jndi.ldap.LdapName lname =
    new com.sun.jndi.ldap.LdapName("a=b");
    trader.func(lname);
    } catch (javax.naming.NamingException ne) {
    ne.printStackTrace();
    Then I compiled everything using the supplied build.sh, copied the
    ejb_over_iiop.jar into config/mydomain/applications, and ran
    startWebLogic.sh int the config/mydomain directory to start the server.
    I then run the client like so (using the 1.3 java version included with
    weblogic 6.0):
    java -cp
    /opt/bea/wlserver6.0/config/examples/clientclasses:/opt/bea/wlserver6.0/config/mydomain/applications:/opt/bea/wlserver6.0/lib/weblogic.jar
    examples.rmi_iiop.ejb.rmi_iiop.Client iiop://localhost:7001
    And I get the following output:
    Beginning statelessSession.Client...
    Creating a trader
    Buying 100 shares of BEAS.
    Buying 200 shares of MSFT.
    Buying 300 shares of AMZN.
    Buying 400 shares of HWP.
    Selling 100 shares of BEAS.
    Selling 200 shares of MSFT.
    Selling 300 shares of AMZN.
    Selling 400 shares of HWP.
    There was an exception while creating and using the Trader.
    This indicates that there was a problem communicating with the server:
    java.rmi.RemoteException: CORBA UNKNOWN 0 No; nested exception is:
    org.omg.CORBA.UNKNOWN: minor code: 0 completed: No
    End statelessSession.Client...
    Basically the call to the new method fails, and the server communication
    error it produces doesn't provide much information. So question #1 is,
    what's going on here?
    And here's the really weird part: if I change the method signatures in
    Trader and TraderBean so that the argument type is the concrete class
    com.sun.jndi.ldap.LdapName instead of the interface javax.naming.Name
    (which does extend java.io.Serializable, incidentally), it works fine!
    I tried this with my own interfaces and concrete classes, and I get the
    same strange behavior: calling methods with interface argument types on
    the ejb via rmi-iiop fails with the above cryptic error, but methods
    with concrete argument types work fine.
    I also tried this out on a non-ejb rmi-iiop server object using jdk 1.3
    but not weblogic. In that case both interfaces and concrete method
    argument types work just fine.
    Now I'm wondering if this could be a bug in weblogic.ejbc's iiop
    generation. Can anyone else verify this problem?
    Edwin Park
    [email protected]

    Comments in line...
    Edwin Park wrote:
    I got the rmi-iiop example code to work just fine, but I tried extending
    it a little and strangeness ensues. Here's what I did:
    I'm using a stock weblogic 6.0 install on solaris 8 (sparc). I added
    the following new method to the Trader interface:
    public void func(javax.naming.Name n) throws RemoteException;
    and I added the implementation of that method to TraderBean like so:
    public void func(javax.naming.Name n) {
    System.out.prinltn("n [" + n + "]");
    I then added a call to the new Trader function to the end of the
    example() method in Client, just before the trader is removed:
    try {
    com.sun.jndi.ldap.LdapName lname =
    new com.sun.jndi.ldap.LdapName("a=b");
    trader.func(lname);
    } catch (javax.naming.NamingException ne) {
    ne.printStackTrace();
    Then I compiled everything using the supplied build.sh, copied the
    ejb_over_iiop.jar into config/mydomain/applications, and ran
    startWebLogic.sh int the config/mydomain directory to start the server.
    I then run the client like so (using the 1.3 java version included with
    weblogic 6.0):
    java -cp
    /opt/bea/wlserver6.0/config/examples/clientclasses:/opt/bea/wlserver6.0/config/mydomain/applications:/opt/bea/wlserver6.0/lib/weblogic.jar
    examples.rmi_iiop.ejb.rmi_iiop.Client iiop://localhost:7001
    And I get the following output:
    Beginning statelessSession.Client...
    Creating a trader
    Buying 100 shares of BEAS.
    Buying 200 shares of MSFT.
    Buying 300 shares of AMZN.
    Buying 400 shares of HWP.
    Selling 100 shares of BEAS.
    Selling 200 shares of MSFT.
    Selling 300 shares of AMZN.
    Selling 400 shares of HWP.
    There was an exception while creating and using the Trader.
    This indicates that there was a problem communicating with the server:
    java.rmi.RemoteException: CORBA UNKNOWN 0 No; nested exception is:
    org.omg.CORBA.UNKNOWN: minor code: 0 completed: No
    End statelessSession.Client...
    Basically the call to the new method fails, and the server communication
    error it produces doesn't provide much information. So question #1 is,
    what's going on here?
    Marshaling through the interface apparently fails. What orb are you using on the client?
    >
    And here's the really weird part: if I change the method signatures in
    Trader and TraderBean so that the argument type is the concrete class
    com.sun.jndi.ldap.LdapName instead of the interface javax.naming.Name
    (which does extend java.io.Serializable, incidentally), it works fine!It appears that marshaling an interface (or abstract class) fails, but marshaling a concrete class succeeds.
    >
    >
    I tried this with my own interfaces and concrete classes, and I get the
    same strange behavior: calling methods with interface argument types on
    the ejb via rmi-iiop fails with the above cryptic error, but methods
    with concrete argument types work fine.
    I also tried this out on a non-ejb rmi-iiop server object using jdk 1.3
    but not weblogic. In that case both interfaces and concrete method
    argument types work just fine.
    Now I'm wondering if this could be a bug in weblogic.ejbc's iiop
    generation. Can anyone else verify this problem?I'll look into this.
    >
    >
    Edwin Park
    [email protected]

  • RMI-IIOP Example for Java SE 6

    Hi.
    Can someone provide me an example (link or code) of how to write an RMI-IIOP remote object, bind it to jndi (glassfish) and then call it from within the glassfish application server (I'm calling from an EJB).
    The guide available at http://java.sun.com/javase/6/docs/technotes/guides/rmi-iiop/tutorial.html is unfortunately not helpful because it the code there does not work when binding the remote object in glassfish JNDI (using empty InitialContext constructor) as opposed to the orbd daemon that is described in the guide.
    Am I not allowed to bind RMI-IIOP objects in glassfish application server JNDI, i.e. do I have to use orbd?
    Do you have to generate stubs for the remote objects in Java SE6? The tutorial says to do it but the exception I get on glassfish application server is not from the _<interface-name>Stub.java but rather from <interface-name>_DynamicStub.java.
    Any help is greatly appreciated!

    Are you trying to create an RMI-IIOP server inside an
    Application Server (Glassfish)?I'm not really sure about how it all works but I don't think so. I am exporting my Remote objects (using PortableRemoteObject) from a standalone Java SE client app. Relating this to normal RMI I had assumed that this automatically started an RMI-IIOP server on an anonomous port, although I now see that the javadoc says that the export method only "Makes a server object ready to receive remote calls.", whatever that means. So if calling the export method doesn't start an RMI-IIOP server then I'm guessing I would have to start one, and then yes, if possible, I would like to do it in glassfish and avoid starting up more applications.
    I am guessing I am missing something fundamental here..
    The tutorial uses the JNDI Registry (tnameserv). (and
    it works fine)Is that what is automatically started when glassfish application server is started?
    Have you looked into using a Portable Object Adapter?No, I have not. I want to keep it as simple and close to regular RMI though, so if possible I would like to avoid POA.

  • Plant Connectivity Error failed to create ConnectivityAgentProxy

    Dear experts,
    I currently installed installed PCo on a XP Machine and after I change the network ID of the PC and the workgroup the agent instance is not able to start properly. I receive the following message:
    10.10.2011 22:28:32,.,6,1016,TEST_OPC,Error,Host,failed to create ConnectivityAgentProxy,"The server process could not be started because the configured identity is incorrect.  Check the username and password.
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at SAP.Manufacturing.Connectivity.IPCoAgentControl.Start()
       at SAP.Manufacturing.Connectivity.ConnectivityAgentProxy.Start()
       at SAP.Manufacturing.Connectivity.WcfHost.Start()"
    10.10.2011 22:28:32,.,8,1016,TEST_OPC,Error,ServiceFaultManager,Manufacturing Fault: REASON = The server process could not be started because the configured identity is incorrect.  Check the username and password.
    As the other applications like OPC Scout are able to connect to the DCOM (at least this is my understanding) in order to query the OCP Server, it seems to me that there is a Plant Connectivity problem. I tried to find out where the settings ConnectivityAgentProxy are detailed - I thought something like an .ini, .xml file - but unfortunately I did not find anything. Do you have any suggestion, advice?
    Thanks in advance,
    Florin
    Before I start with installing image of the PC with the image before doing the network id name change i would like to ask you if there is any setting, configuration file

    Do you have a named user entered for the Agent Instance Service User name/password?  If so, you may have to delete and re-enter the name\password to reset this.  If you are using DCOM over a workgroup, the same workgroup user name/password must be set up on both the PCo server and the OPC Server PC's.
    Hope this helps.
    - Steve

  • RMI-IIOP client - CORBA Server

    I already have a CORBA server in C++ which has already been written. I am trying to develop an RMI-IIOP client which would talk to this CORBA Server.
    The CORBA server has several interfaces that I would like to use with my RMI-IIOP client. How do I proceed?? Can somebody give me an example of an RMI-IIOP client? Basically my question is: how do I take the IDL and build an RMI-IIOP client with it???

    Hello
    I already have a CORBA server in C++ which has already
    been written. I am trying to develop an RMI-IIOP
    client which would talk to this CORBA Server.
    The CORBA server has several interfaces that I would
    like to use with my RMI-IIOP client. How do I
    proceed?? Can somebody give me an example of an
    RMI-IIOP client? Basically my question is: how do I
    take the IDL and build an RMI-IIOP client with it???The steps to do are the following:
    * Creating the Remote interface
    * Using the rmic compiler to genarate the IDL and the client stub.
    * Generating stub and skeleton of the C++ server using that IDL (the one you already made is no longer compatible)
    * Bulding up the new C++ server
    * Using a nameservice (tnameserver for example) and binding your server to that.
    * Writing the RMI-IIOP client
    I proceeded like this (using Visibroker 4.5 on the server side) and I was able to do it... but as you can see from my last post, I wasn't able to pass Strings from the client to the server.
    Bye

  • Sharepoint server 2013 configuration issue - failed to create configuration database

    Hi All,
    I have installed the SharePoint server 2013. After installing the SharePoint products, the configuration stops at failure of creating configuration database.
    Some system configuration & info:
    - 1 Domain controller server run Active Directory services on Windows server 2008 R2 SP1 (PC1 with name DC.Brainfiniti.com)
    - 1 Server which is used for installing Sharepoint server 2013 and MS SQL server 2008 R2 SP1 (PC2 with name App.Brainfiniti.com)
    - All of PCs were satisfied the requirement of Sharepoint server 2013
    - Firewall turned off & No antivirus tool was installed.
    - During installing of Sharepoint, choose "Complete" option: Farm mode and use SQL Server instead of SQL Express.
    - During configuration, created a new farm with a domain user account.
    - Use domain account to log on and install, configure in Sharepoint & SQL server (PC2)
    ATTEMPTS:
    1. Tried install and set up all of steps with just 1 account - domain administrator.
    2. Tried with separate domain account:
    - SQL Service account use for:
    + Install SQL server 2008
    + Connect all SQL services
    + Admin for SQL server
    - Setup account use for:
    + Member of local administrator group in PC2
    + Install Sharepoint
    + Run Configuration wizard
    + Was granted permission in SQL database: dbcreator, securityadmin, sysadmin and deselect serveradmin role.
    + Was choose for the database account in configuration database step
    Also tried with SQL service account in this step.
    3. Tried with Standalone mode for Sharepoint installing
    4. Trie with domain name: Brainfiniti.local
    5. Tried with some another solution from topic relate to database configuration in our community but not successful.
    But all attempts are failed at this configuration database step :'(
    Please correct me if I am going wrong by missing something or do I need to start/install some services.
    Screenshot Attached
    Sorry! Cannot add screenshot because my account is still not verified. Will add later.
    LOG ENTRY:
    01/23/2013 06:58:28  1  INF        Entering function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
    01/23/2013 06:58:28  1  INF          Found a task by the name of adminvs in the task collection
    01/23/2013 06:58:28  1  INF          Entering function TaskCommon.GenerateRandomUnUsedPort
    01/23/2013 06:58:28  1  INF            Entering function TaskCommon.EnsureIIs
    01/23/2013 06:58:28  1  INF              Entering function PreRequisiteChecks.IsIisInstalled
    01/23/2013 06:58:28  1  INF                Entering function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF                  Version of IIS is 7
    01/23/2013 06:58:28  1  INF                Leaving function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF              Leaving function PreRequisiteChecks.IsIisInstalled
    01/23/2013 06:58:28  1  INF              Entering function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF                Version of IIS is 7
    01/23/2013 06:58:28  1  INF              Leaving function PreRequisiteChecks.IsRightVersionOfIis
    01/23/2013 06:58:28  1  INF              Entering function ServiceHelper.Start
    01/23/2013 06:58:28  1  INF                Trying to start service W3SVC and waiting 180 sec to do so
    01/23/2013 06:58:28  1  INF                service W3SVC is Running, nothing to do
    01/23/2013 06:58:28  1  INF                starting service W3SVC (it may already be started)
    01/23/2013 06:58:28  1  INF              Leaving function ServiceHelper.Start
    01/23/2013 06:58:28  1  INF            Leaving function TaskCommon.EnsureIIs
    01/23/2013 06:58:28  1  INF            Trying to see if port 40993 is free on machine APP.  Min port we will try is 1024, Max port we will try is 49151
    01/23/2013 06:58:30  1  INF            A SocketException was thrown with
    SocketError ConnectionRefused
    01/23/2013 06:58:30  1  INF            Connect has been refused for port 40993, so we will consider this a free port
    01/23/2013 06:58:30  1  INF            Have not found a free port yet.  Number of tries is 1.  Min port we will try is 1024, Max port we will try is 49151
    01/23/2013 06:58:30  1  INF            Adding port 40993 to the exclusion list so it is not chosen again during this run
    01/23/2013 06:58:30  1  INF          Leaving function TaskCommon.GenerateRandomUnUsedPort
    01/23/2013 06:58:30  1  INF        Leaving function CreateCentralAdministrationSiteForm.CreateCentralAdministrationSiteFormInitializeBeforeShow
    I just post a part of its logs which contain "error" string because it's too long.
    According this log, there is a error in port connection but i've turned firewall off ???
    Please help me with this mix up :'(
    p/s: sorry for my English!
    Thanks,
    Hien Hoang

    Below is the logs entry with "ERR" marked line:
    01/23/2013 07:03:17  9  INF                    Now joining to farm at server app.brainfiniti.com database SharePoint_Config
    01/23/2013 07:04:12  9  ERR                    Task configdb has failed with an unknown exception
    01/23/2013 07:04:12  9  ERR                    Exception: System.Security.Principal.IdentityNotMappedException: Some or all identity references could not
    be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                      Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                        Resource id to be retrieved is ExceptionInfo for language English (United States)
    01/23/2013 07:04:12  9  INF                        Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. 
    Additional exception information: {1}
    01/23/2013 07:04:12  9  INF                      Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                    Leaving function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  INF                      Entering function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                        Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                          Resource id to be retrieved is ExceptionInfo for language English (United
    States)
    01/23/2013 07:04:12  9  INF                          Resource retrieved id ExceptionInfo is An exception of type {0} was thrown. 
    Additional exception information: {1}
    01/23/2013 07:04:12  9  INF                        Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                      Leaving function Common.BuildExceptionMessage
    01/23/2013 07:04:12  9  INF                    Leaving function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  ERR                    An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception
    information: Some or all identity references could not be translated.
    System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                    Entering function Common.BuildExceptionInformation
    01/23/2013 07:04:12  9  INF                    Entering function TaskBase.OnTaskStop
    01/23/2013 07:04:12  9  INF                      Creating the OnTaskStop event for task configdb
    01/23/2013 07:04:12  9  ERR                      Task configdb has failed
    01/23/2013 07:04:12  9  INF                      friendlyMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  9  INF                      debugMessage for task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  9  INF                      Entering function TaskBase.FireTaskStateChanged
    01/23/2013 07:04:12  9  INF                        Firing the OnTaskStateChanged event for task configdb
    01/23/2013 07:04:12  9  INF                        Entering function TaskDriver.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                            Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName
    for language English (United States)
    01/23/2013 07:04:12  9  INF                            Resource retrieved id ConfigurationDatabaseTaskDisplayName
    is configuration database
    01/23/2013 07:04:12  9  INF                          Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  9  INF                          Received an TaskStateEventHandler event.  task:configdb TaskBase.State:stopped
    01/23/2013 07:04:12  9  INF                          Entering function TasksQueue.IncrementTaskFailed
    01/23/2013 07:04:12  9  INF                            Incremented the number of tasks failed to 1
    01/23/2013 07:04:12  9  INF                          Leaving function TasksQueue.IncrementTaskFailed
    01/23/2013 07:04:12  9  INF                          Task configdb has stopped and failed.  Total failed is now 1
    01/23/2013 07:04:12  9  INF                        Leaving function TaskDriver.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                        Entering function PsconfigBaseForm.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Invoking the UI thread with the task state chagne event
    01/23/2013 07:04:12  1  INF                          Entering function ConfigurationProgressForm.InvokeTaskStateEventHandler
    01/23/2013 07:04:12  1  INF                            Received an TaskStateEventHandler event.  task:configdb
    TaskBase.State:stopped TaskBase.TaskResultconfigdb
    01/23/2013 07:04:12  1  INF                            Acquiring the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Releasing the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Acquiring the reader lock to retrieve the state
    01/23/2013 07:04:12  1  INF                            Releasing the reader lock to retrieve the state
    01/23/2013 07:04:12  1  ERR                            Task configdb has stopped and failed.  Total failed
    is now 1
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    disconnect
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter disconnect in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    connect
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter connect in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function Command.this[string key]
    01/23/2013 07:04:12  1  INF                              Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                                Found value in collection for key
    create
    01/23/2013 07:04:12  1  INF                              Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  1  INF                              Found parameter create in collection
    01/23/2013 07:04:12  1  INF                            Leaving function Command.this[string key]
    01/23/2013 07:04:12  1  INF                            Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  1  INF                              Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
    for language English (United States)
    01/23/2013 07:04:12  1  INF                              Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel
    is Failed to create the configuration database.
    01/23/2013 07:04:12  1  INF                            Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  1  INF                            Updating the task label below the progress bar Failed to
    create the configuration database.
    01/23/2013 07:04:12  1  INF                            Entering function FormParameterCollection.Add
    01/23/2013 07:04:12  1  INF                            Leaving function FormParameterCollection.Add
    01/23/2013 07:04:12  1  INF                            Last message from task configdb is An exception of type System.Security.Principal.IdentityNotMappedException
    was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Not running in high contrast, so we will paint the background
    with our trademarked image
    01/23/2013 07:04:12  1  INF                            Updating the task additional notification information below
    the progress bar An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception information: Some or all identity references could not be translated.
    01/23/2013 07:04:12  1  INF                          Leaving function ConfigurationProgressForm.InvokeTaskStateEventHandler
    01/23/2013 07:04:12  9  INF                          Sleeping an extra 1 ms so things don't go too fast for the user for this
    task
    01/23/2013 07:04:12  1  INF                          Not running in high contrast, so we will paint the background with our
    trademarked image
    01/23/2013 07:04:12  9  INF                        Leaving function PsconfigBaseForm.TaskStateEventHandler
    01/23/2013 07:04:12  9  INF                      Leaving function TaskBase.FireTaskStateChanged
    01/23/2013 07:04:12  9  INF                    Leaving function TaskBase.OnTaskStop
    01/23/2013 07:04:12  9  INF                  Leaving function TaskThread.ExecuteTask
    01/23/2013 07:04:12  4  INF                  Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  INF                    Resource id to be retrieved is ConfigurationDatabaseTaskDisplayName for language English (United States)
    01/23/2013 07:04:12  4  INF                    Resource retrieved id ConfigurationDatabaseTaskDisplayName is configuration database
    01/23/2013 07:04:12  4  INF                  Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  ERR                  Task configuration database failed, so stopping execution of the engine
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key disconnect
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter disconnect in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key connect
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter connect in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function Command.this[string key]
    01/23/2013 07:04:12  4  INF                    Entering function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                      Found value in collection for key create
    01/23/2013 07:04:12  4  INF                    Leaving function CommandCollectionBase.Get
    01/23/2013 07:04:12  4  INF                    Found parameter create in collection
    01/23/2013 07:04:12  4  INF                  Leaving function Command.this[string key]
    01/23/2013 07:04:12  4  INF                  Entering function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  INF                    Resource id to be retrieved is ConfigurationDatabaseTaskCreateFailConfigDisplayLabel for language English
    (United States)
    01/23/2013 07:04:12  4  INF                    Resource retrieved id ConfigurationDatabaseTaskCreateFailConfigDisplayLabel is Failed to create the configuration
    database.
    01/23/2013 07:04:12  4  INF                  Leaving function StringResourceManager.GetResourceString
    01/23/2013 07:04:12  4  ERR                  Failed to create the configuration database.
    An exception of type System.Security.Principal.IdentityNotMappedException was thrown.  Additional exception information: Some or all identity references could not be translated.
    System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
       at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
       at System.Security.Principal.NTAccount.Translate(Type targetType)
       at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
       at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceCertificate.ProvisionLocal()
       at Microsoft.SharePoint.Administration.Claims.SPSecurityTokenServiceApplication.ProvisionLocal(SPServiceInstance serviceInstance)
       at Microsoft.SharePoint.Administration.SPIisWebServiceInstance.Provision()
       at Microsoft.SharePoint.Administration.SPFarm.Join(Boolean skipRegisterAsDistributedCacheHost)
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.CreateOrConnectConfigDb()
       at Microsoft.SharePoint.PostSetupConfiguration.ConfigurationDatabaseTask.Run()
       at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()
    01/23/2013 07:04:12  4  INF                  Entering function TaskDriver.NotifyTaskSummary

  • The distribution agent failed to create temporary files in 'C:\Program Files\Microsoft SQL Server\110\COM' directory. System returned errorcode 5.

    One of my replication job failed with below error, which means job failed because of permission issue on the folder. To resolve that, I have granted the permission and it started working fine. Now the question is as my job was running fine since long time
    without any issue then how suddenly the permission of the folder got omitted automatically? I am sure that no one deleted the permission from the folder and as the server is part of SQL cluster no failover occurs.
    Error:-The distribution agent failed to create temporary files in 'C:\Program Files\Microsoft SQL Server\110\COM' directory. System returned errorcode 5.
    Rahul

    Hi Rahul,
    Error code 5 indicates that the error is "access is denied."  Please make sure that the COM folder is excluded from any antivirus scan that occurs on the system.
    If the issue still persists, I recommend you use
    Process Monitor to find out a bit more about the accounts and access requests involved. Then grant write permission to the exact COM folder for the account that is running the SQL Server Agent service. For more details, please review the following similar
    thread.
    http://www.sqlservercentral.com/Forums/Topic1364832-1550-1.aspx
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • How write rmi-iiop over ssl with weblogic server 6.1 - No server found

    //New
    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.3
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    I have also try
    env.put ("java.naming.provider.url", "corbaloc:iiop://localhost:7002");
    but it throws the following error
    javax.naming.InvalidNameException: url does not conatin !!!
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

    "oliver" <[email protected]> writes:
    The SSL support is poorly doc'd right now. We have fixed this and
    updated the way you do things in SP2. Please either wait for SP2 or
    contact support.
    andy
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.3
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    I have also try
    env.put ("java.naming.provider.url", "corbaloc:iiop://localhost:7002");
    but it throws the following error
    javax.naming.InvalidNameException: url does not conatin !!!
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

  • How write rmi-iiop over ssl with weblogic server 6.1?

    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.4
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    } else {
    env.put ("java.naming.provider.url", "rmi://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

    "oliver" <[email protected]> writes:
    First off 1.4 isn't supported as yet. That is probably part of the problem.
    You also must use a corba URL from the client in order for this to work for instance:
    If you are using WLInitialContextFactory:
    corbaloc:iiop:localhost:7001/NameService
    If you are using CNCtxFactory:
    iiop://localhost:7001
    Using rmi: is the wrong thing to do - that will use jrmp or t3.
    However, I suggest that you raise a call with support since there is
    some other trickiness with getting SSL working. We hope to have this
    much improved in SP2.
    andy
    Hello,
    I have written an appication like this:
    - An EJB server running on Weblogic server 6.1
    (named: BankServerHome)
    -A java client calling the BankServer.
    Platform: windows 2000 - jdk1.4
    Now I want to secure the communication with SSL protocol.
    I have done this:
    -generate a key peer with weblogic service named certificate.
    -send the CSR to a CA and place the answer into the weblogic
    server certificate directory.
    -update path for ServerCertificateChainFileName,
    ServerCertificateFileName, ServerKeyFileName into config.xml.
    -launch weblogicServer
         -> server certificate is recognized
         -> listening port 7001 and 7002.
    (-stop weblogicServer!)
    At now, all is all right, errors come hereafter:
    Then I follow the guideline "Programming weblogic Security" (version of 30/07/2001).
    "To use RMI over IIOP over SSL with a Java client, do the following:
    2. Extend the java.rmi.server.RMISocketFactory class to handle SSL socket
    connections. Be sure to specify the port on which WebLogic Server listens for
    SSL connections. For an example of a class that extends the
    java.rmi.server.RMISocketFactory class, see Listing 4-22.
    3. Run the ejbc compiler with the -d option.
    4. Add your extension of the java.rmi.server.RMISocketFactory class to the
    CLASSPATH of the Java client.
    5. Use the following command options when starting the Java client:
    -xbootclasspath/a:%CLASSPATH%
    -Dorg.omg.CORBA.ORBSocketFactoryClass=implementation of java.rmi.server.RMISocketFactory
    -Dssl.certs=directory location of digital certificate for Java client
    -Dssl.key=directory location of private key for Java client"
    At step 3. I found into documentation that -d is linked to a directory name.
    When I run ejbc with this option -d I have the message:
    "ERROR: You must specify an output directory or jar with the -d option to weblogic.ejbc."
    % So what option can I use to run ejbc for secure usage?
    At step 5. Whatever I write for -Dorg.omg.CORBA.ORBSocketFactoryClass,
    this pointed class is not instanciated.
    Then I can not create a socket with my client.
    The folowing exception is raised:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException:
    No server found at T3S://localhost:7002]
    So, my questions are:
    % Why -Dorg.omg.CORBA.ORBSocketFactoryClass must be known by the client and not
    the server?
    My java client part, managing connection is:
    -------------------BEGIN OF CONNECTION MANAGER-------------------
    Properties env = new Properties ();
    // Shouldn't have to do this, but for now you must
    if ( factory.equals ("weblogic.jndi.WLInitialContextFactory") ) {
    env.put ("java.naming.provider.url", "t3s://localhost:7002");
    } else {
    env.put ("java.naming.provider.url", "rmi://localhost:7002");
    InitialContext context = new InitialContext (env);
    BankSessionServerHome bssh = (BankServerHome) context.lookup("BankServerHome");
    BankServer = bssh.create();
    -------------------END OF CONNECTION MANAGER-------------------
    % What is the code for the java client allowing connection with the ejb?
    % And better, can I have a sample example for rmi-iiop over ssl?
    (...wlserver6.1\samples\examples\iiop\ejb\stateless\rmiclient\client.java do not
    speak ssl!)
    Any help will be appreciate from you...
    Best Regards.
    Oliver

  • Error OCCURRED: Failed to connect to LiveCycle server via RMI. Make sure that the server is running

    I have installed LifeCycle trial version .
    and trying to convert pdf to rtf
    using following initialization
    Properties connectionProps = new Properties();
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
    connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
    //Create a ServiceClientFactory instance
    ServiceClientFactory factory = ServiceClientFactory.createInstance(connectionProps);
    but i am getting error like following though i have started jboss which is inside lifecycle folder by run.bat
    ERROR IS:Error OCCURRED: Failed to connect to LiveCycle server via RMI. Make sure that the server is running and accessible to this client.

    May be you could use "netstat" or other tools like "ActivePorts" to ensure that ports established are correct.
    Also try if jnp://127.0.0.1:1099 works or not, if ports are correct.

  • ClassCastException for RMI-IIOP client hitting CORBA server

    I am writing a RMI-IIOP client to connect to an existing CORBA C++ server. I started out with writing a RMI Interface mimicking the IDL and then converting into a stub using rmic -iiop option. I then use COSNaming to connect to the server. When I narrow the reference using PortableRemoteObject.narrow(), I get a ClassCastException. Probably because the object that I get from naming service will be a CORBA object which cannot be casted to RMI Interface object.
    Exception in thread "main" java.lang.ClassCastException
    at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.att.cswd.poc.RMIIIOPClient.IMSConnect(RMIIIOPClient.java:46)
    at com.att.cswd.poc.RMIIIOPClient.main(RMIIIOPClient.java:27)
    Caused by: java.lang.ClassCastException: Object is not of remote type com.att.cswd.poc.CORBAInterface
    at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:221)
    ... 3 more
    Code
                                    CORBAInterface ims;
              String tranCode="CRTUN130";
              byte[][] input_segs = null;
               try {
                    Hashtable hm = new Hashtable();
                    hm.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
                    hm.put("java.naming.provider.url", "corbaloc:iiop:BSYS.MVS.SC.COM:14050/NameService");
                    Context initialNamingContext = new InitialContext(hm);
                   Object objref = initialNamingContext.lookup("O2K/AdapterInterface");
                   ims = (CORBAInterface) PortableRemoteObject.narrow(objref, CORBAInterface.class);
                   byte output_segs[][] = ims.run_transaction_binary(tranCode, input_segs);               
                   System.out.println ("Response is " + output_segs);
              } catch (NamingException e) {
                   e.printStackTrace();
              } catch (RemoteException e) {
                   e.printStackTrace();
              }

    I am writing a RMI-IIOP client to connect to an existing CORBA C++ serverAs it says in [the Javadoc|http://java.sun.com/j2se/1.5.0/docs/guide/rmi-iiop/rmiiiopUsing.html#when], you can't do that. For RMI/IIOP you have to start with a PortableRemoteObject and rmic -iiop. You can use a C++ client to that but you can't use an RMI/IIOP client to a C++ server.
    Use IDLJ.

  • Message says: "can not get mail, the connection to the server failed" . Now I'm confused because all the mail shows up perfectly.

    I just upgraded to the 5s. I have several mail accounts and I'm getting a message that says: "can not get mail, the connection to the server failed" . Now I'm confused because all the mail shows up perfectly.

    Well it does it every time I go to mail and is driving me nuts. It never happened on my iPhone5, just on this 5s.

Maybe you are looking for

  • Unit tests for Swing models?

    Does anyone know if someone has made some unit test to test the various Swing models? I didn't find much in a search and checking the OpenJDK6 source bundle there are only about 20 tests (!) for specific bugs. Specifically I'm looking for a test for

  • Printing Issues in Lightroom 4

    Hi All,  I was wondering if anyone can help me here.  When I go to print a specific photo and then go to preview, it's showing me a different photo.  What am I doing wrong?  Thanks Norma

  • How to pass tables in Guided Procedures from VC

    Hi experts! I'am working in a workflow scenario, more precisely an approve-reject workflow scenario. I've defined all the start and the end points belonging to the respective iviews (I mean the sender and the approver iviews), following the  [Modelin

  • Mail crashes when saving attachments

    Had this since Snow Leopard. When I get a mail with an attachment and select save it crashes instantly. I can drag the attachment off the email - ie to the desktop, but it's annoying when I forget I have something that doesn't do what it's supposed t

  • Problem with Emailing the Internal table data as an excel attachment

    Hi Friends, I am facing problem with Emailing an internal table data as an excel file. I am using standard function module "SO_NEW_DOCUMENT_ATT_SEND_API1" which is using SOLI structure can have record with 255 character length. But my Internal table