Client 10.1.0.3.0 Vs Runtime Service 10.1.0.2.0

My Owb client run on a Win32 box, the Runtime Service run on a Linux ( Suse ) box.
The client is patched with release 10.1.0.3.0 but I cannot find the same patch for linux platforms, so when I try to deploy my project on the Runtime repository the OWB client raise the following error:
RTC-5321: The Runtime Service version and
the Minimum Runtime Platform version are not
compatible. The Runtime Service version
( 10.1.0.2.0 ) must not br less than the Minimum
Runtime Platform version ( 10.1.0.3.0 )
I've tried to export the project on a .mdl file, downgrade my client from 10.1.0.3.0 to 10.1.0.2.0 and import the project but import fails.
What I've to do to deploy a Project created in a Design Repository release 10.1.0.3.0 on a linux Runtime Service?
Thank's
Andrea

The new instant client looks promising on SuSE 9.2.
You need to rework some things, though.
1. setup the dynamic linker:
- add a line "/usr/lib/oracle/10.1.0.2/client/lib" to the file /etc/ld.so.conf
- then run ldconfig
2. create or copy a tnsnames.ora file:
- cd /usr/lib/oracle/10.1.0.2
- md -p network/admin
- copy a tnsnames.ora from somewhere to network/admin/tnsnames.ora
3. add some environment: edit /etc/boot.local
- add a line: export ORACLE_HOME=/usr/lib/oracle/10.1.0.2
- add a line: export TNS_ADMIN=$ORACLE_HOME/network/admin
- add a line: ORACLE_SID=(some TNS name)
4. add another link for convinience
- cd /usr/lib/oracle/10.1.0.2
- ln -s client/lib .
in order to have the so-files also at $ORACLE_HOME/lib which is rather often used in Java-Parameters "-Djava.library.path", for example in JBoss run.sh Scripts.
HTH
Thomas Nagel

Similar Messages

  • Is it a Bug in OWB runtime services?

    Hi,
    I want to share one strange expiriance of OWB. We were suppose to deploy the code on client site. Hence we installed OWB on server and then we need to create runtime repository. I have created runtime repository on the server by passing "localhost" . But when i gone for deploying and execution of the code i got the error "Runtime services not available" .
    After lot of (wasted) effort we finally created new runtime repository but now with IP address of the server and then all worked fine.
    Is this a bug in OWB? any comments ....or any suggestions as to what else could be the issue?

    interesting, you passed as "localhost" not an actual localhost's name. I mean hostname, you s/d always represent Hostname's value not 'localhost' as value for oracle database which is mandatory, which is not mandatory when you go with oracle application, audit browsers... and etc

  • Unable to connect control center and start runtime service

    Hi guys,
    I have owb 10gr2 in my server with repository ods_repo .
    last time when runtime service was working fine that time service name ods is registered.
    Now when our service name is changed from ods to odstest , from that day i am unable to start runtime service and unable to connect control center service.
    I ran following owb script ...and got error in connection
    SQL> @E:\SCRIPTS\important_files\owb_scripts\service_doctor.sql
    There are errors in one or more PL/SQL packages and functionsPlatform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is not availableService script is accessible to the database server
    There is a problem with the repository connection information used tostart the service
    Here is the detailed error message which contains the connectioninformation passed to the service:-
    Cannot connect: user=ODS_REPO host=150.2.0.244 port=1521service-name=ODS
    Please verify that this information is accurate
    If this information is correct, then please use the'set_repository_password.sql' script to reset the stored password
    Is there any file where this connection information
    ODS_REPO host=150.2.0.244 port=1521
    service-name=ODS
    stored so that we can change the service name.
    I ran start_service.sql script also and got same error.
    plz reply and mail also on [email protected]
    as soon as possible

    Hi sir,
    The Actual problem is in our database the service name has been changed from ods to odstest.
    After this changes I was unable to connect our repository ods_repo which was using ods as service name then I tried and able to connect .
    Then next problem came with control center that was not able to open it. Then after update some tables using update stat specify above reply.
    After update I was able to open control center then finally the new problem is location.
    I need to edit the location information with new service name so that I can access the repository and tables and can use them in design center.
    That’s why I am trying to un register first then edit the service name then again register….<I am unable to do this thing>
    I am getting following error when I tried to unregister the ods_target_loc location .
    Error : rtc-5320 : location ods_target_loc has not been registered by the current user.
    And after using the script getting this
    SQL> @E:\oracle10g\oracle\product\10.2.0\OWB_Oracle102_home\owb\misc\unregister_location.sql
    ===========================================================================
    WARNING:
    This script should be used ONLY when a location cannot be unregistered by using
    OWB UI or Scripting. This can happen when the Control Center/Runtime Repository
    where this location was registered is crashed, or deleted, or just cannot be
    reached any more.
    ===========================================================================
    Enter Location Name (ctrl/c to cancel): ODS_TARGET_LOC
    Location ODS_TARGET_LOC is registered in this repository.
    Please use OWB Client UI or Scripting to unregister this location.

  • How do I stop the Runtime Service (UNIX) for a period of time (24 hours)

    Greetings
    Environment:
    OWB Client 10g on Windows XP Professional
    Repository - 9.2.0.4 on UNIX (AIX 5.2)
    Target schema - 9.2.0.4 on UNIX (AIX 5.2)
    I need to stop the Runtime service for 24-48 hours while the database is being upgraded from 9i to 10g. It seems the running service is causing some problems as the database is being started and stopped by the upgrade process (dbma).
    What starts the Runtime service at database startup?
    How can I prevent it from starting for 24-48 hours?
    Anyone else have issues upgrading from 9i to 10g using the migration assistant (dbma)?
    I realize I can stop it with the stop_service.sh script but that won't prevent it from satrting by itself when the database is bounced.
    I looked at the JOB queues but it doesn't seem to be there as a job that can be controlled with the DBMS_JOB package.
    Any help is greatly appreciated.
    -gary

    Hi and thanks for the responses.
    In my case there have been no additions to the server startup script to start the Runtime service, it just starts when the database starts.
    As I stated, I am aware of the start_service.sh and stop_service.sh but these don't prevent the service from starting after a reboot of the server or a bounce of the database.
    Can anyone tell me how the Runtime service starts?
    After a database shutdown and startup I see the Runtime service running as an 'ACTIVE' UNIX process and also one or more Runtime User processes that are 'INACTIVE' but become active when a map is run.
    Any help is appreciated.
    -gary

  • Runtime Service not Available after Copy

    Hi
    OWB 10g,
    Oracle DB 8.1.7.4.12
    I'm trying to copy the whole database, including all OWB and Runtime Repository and reload to another server.
    After that, OWB client works fine but when I try to connect Deployment Manager, the error massage shows: Runtime Service not Availabe. ( the Runtime connection properties are changed to match the new server). I then tried to manually start the runtime service, the error massage shows: Not available. And I then run Service_Doctor, it shows "Platform Service Not Available".
    For what I searched from metalink and here, the solution is always saying 'Reinstall the Runtime Service'.
    Is there any idea that I can make it work without reinstall because I don't want to start from scratch to redeploy and reload all of my data?
    I'm waiting on line.
    Thank you,
    Daming

    Hi Igor,
    I manually change table wb_rt_servuce_nodes with the proper hostname, service name, OWB home name. Also check the value in OWBRT_SYS.OWBRTPS, no problem. But Runtime service still not started. So I give up and then try to do it from scratch.
    I tried to reinstall all the repositories (OWB and runtime ) on the new server and still got the same problem.
    What I've done is drop all the repositories via Runtime Assistant and then done 'drop user rtr cascade' from sqlplus for all the target schemas and rtr/rtu. Then create new reopositories again. After that I restart the database , runtime service not started. Then I tried manually start it, failed.
    Anyidea? Should I reinstall the software?
    Thanks,
    Daming

  • ORA-20029: The runtime service is not currently available

    I have a very similar problem as reportet earlier messages,
    and I tried the suggested actions, but without success.
    are ther some more idears to solve the problem ?
    OWB Version 9.2.0.2
    Platform : RT-Server SUN Solaris ; Oracle-DB 9.2 , OWF 2.6.2
         Client WinXP
    i think all is propperly installed, because
    last week there were no problems
    all worked DEPLOY and EXECUTE of MAPINGS and WORKFLOWS
    possibly the database was restarted during the weekend.
    now on executing (or deploying) a OWB-MAPPING i got:
    RTC-5006: An error occured duriing execution ....
    ORA-20029: The runtime service is not currently available
         ... and some more Errors in stack
    ORA-25207: Enqueue failed, queue OWBRTR_TDWHH9.WB_RT_SERVICE_QUEUE is disabled from enqueueing     
         ... and some more Errors in stack
    ... I tried
    =========
    Run SerciceDoctor:
    OWB> @c:/programme/owb92/owb/rtp/sql/service_doctor
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is not availablePL/SQL procedure successfully completed.
    looking for JOBS
    JOB LOG_U PRIV_ SCHEM LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B INTERVAL fail
    WHAT NLS_ENV
    6 OWBRT OWBRT OWBRT 25.11.2003 18:09:25 25.11.2003 18:15:25
    4 N sysdate + (6/1440) 0
    wb_rti_service_job.check_service(1); NLS_LANGUAGE='AMERIC
    OWB> exec dbms_job.run(6);
    PL/SQL procedure successfully completed.
    OWB> @c:/programme/owb92/owb/rtp/sql/service_doctor
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is not availablePL/SQL procedure successfully completed.
    OWB> @c:/programme/owb92/owb/rtp/sql/stop_service
    Not Available
    PL/SQL procedure successfully completed.
    OWB> @c:/programme/owb92/owb/rtp/sql/start_service
    Not Available
    PL/SQL procedure successfully completed.
    JOB LOG_U PRIV_ SCHEM LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B INTERVAL fail
    WHAT NLS_ENV
    8 OWBRT OWBRT OWBRT 25.11.2003 18:29:11
    0 N sysdate + (6/1440)
    wb_rti_service_job.check_service(1); NLS_LANGUAGE='AMERIC
    1 row selected.
    OWB> exec dbms_job.run(8);
    PL/SQL procedure successfully completed.
    OWB> commit;
    Commit complete.
    OWB> @c:/programme/owb92/owb/rtp/sql/service_doctor
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is not availablePL/SQL procedure successfully completed.
    OWB> show parameter job
    NAME TYPE VALUE
    job_queue_processes integer 10
    ls -lrt /oraapp9/OWB92/owb/log
    ....some older files ...
    -rw-r--r-- 1 ora9r2 oinstall 48164 Nov 20 23:01 owbrtr_tdwh9.log.8
    -rw-r--r-- 1 ora9r2 oinstall 8542 Nov 21 23:02 owbrtr_tdwh9.log.9
    -rw-r--r-- 1 ora9r2 oinstall 5165 Nov 24 23:01 owbrtr_tdwh9.log.10
    -rw-r--r-- 1 ora9r2 oinstall 4396 Nov 25 17:09 owbrtr_tdwh9.log.11
    cat /oraapp9/OWB92/owb/log/owbrtr_tdwh9.log.11
    ===============================================
    23:43:03 [329F3D] Runtime Platform Service Version 9.2.0.2.8 starting
    23:43:03 [329F3D] Platform Repository Name owbrtr_tdwh9 on Service TDWH9 at Host localhost
    23:43:04 [329F3D] Recovery starting
    23:43:04 [329F3D] Recovering execution with audit ID 923
    23:43:04 [329F3D] AuditId=923: Processing execute request
    23:43:04 [329F3D] Recovering execution with audit ID 1333
    23:43:04 [329F3D] AuditId=1333: Processing execute request
    23:43:04 [329F3D] Service startup complete
    23:43:07 [916A2] oracle.wh.runtime.platform.service.controller.RecoveryInProgress: RPE-01008: Recovery of this request is in progress.
         at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.initialize(AdapterContextImpl.java:974)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:770)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:484)
    23:43:08 [916A2] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    23:43:08 [916A2] oracle.wh.runtime.platform.adapter.rtp.AbortedDueToSystemFailure: RPE-01009: Completion of this task could not be c
    ompleted due to an earlier system failure.
         at oracle.wh.runtime.platform.adapter.rtp.NativeExecutionAdapter.execute(NativeExecutionAdapter.java:22)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:63)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:484)
    23:43:08 [329F3D] AuditId=923: Request completed
    23:43:10 [580BE3] oracle.wh.runtime.platform.service.controller.RecoveryInProgress: RPE-01008: Recovery of this request is in progress.
         at oracle.wh.runtime.platform.service.controller.AdapterContextImpl.initialize(AdapterContextImpl.java:974)
         at oracle.wh.runtime.platform.service.controller.ExecutionContextImpl.initialize(ExecutionContextImpl.java:770)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.initialize(ExecutionController.java:32)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:50)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:484)
    23:43:10 [580BE3] Attempting to create adapter 'class.RuntimePlatform.0.NativeExecution'
    23:43:10 [580BE3] oracle.wh.runtime.platform.adapter.rtp.AbortedDueToSystemFailure: RPE-01009: Completion of this task could not be
    completed due to an earlier system failure.
         at oracle.wh.runtime.platform.adapter.rtp.NativeExecutionAdapter.execute(NativeExecutionAdapter.java:22)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:63)
         at oracle.wh.runtime.platform.service.controller.ExecutionController.execute(ExecutionController.java:23)
         at oracle.wh.runtime.platform.service.ExecutionManager.run(ExecutionManager.java:36)
         at java.lang.Thread.run(Thread.java:484)
    23:43:10 [329F3D] AuditId=1333: Request completed
    16:23:54 [329F3D] AuditId=1572: Processing execute request
    16:23:54 [77A7F9] Thread terminating due to fatal exception of type oracle.wh.runtime.platform.adapter.InfrastructureException
    16:33:47 [329F3D] AuditId=1572: Abort request being processed
    16:34:19 [329F3D] AuditId=1580: Processing execute request
    16:34:19 [3FEA1D] Thread terminating due to fatal exception of type oracle.wh.runtime.platform.adapter.InfrastructureException
    16:35:25 [329F3D] AuditId=1580: Abort request being processed
    16:36:05 [329F3D] AuditId=1588: Processing execute request
    16:36:05 [C68C3] Thread terminating due to fatal exception of type oracle.wh.runtime.platform.adapter.InfrastructureException
    16:56:07 [329F3D] AuditId=1588: Abort request being processed
    17:09:31 [329F3D] Service closing down

    I am having the same issue (not being able to connect to my runtime respository. I used to be able to connect just fine but then the database that contains the runtime repository was patched from version 9.2.0.1 to 9.2.0.4 and now I get the rtc-5301 runtime service is not available. I can connect to this database via sqlplus using the runtime user and runtime owner.
    When I ran the start_service.sql I get available, but when I run service_doctor.sql I get:
    All PL/SQL packages and functions are valid
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is not availableSo I went to the wbruntime.log and it contained:
    12:03:58 [F4FB3] Runtime Platform Service Version 9.2.0.2.8 starting
    12:03:58 [F4FB3] Startup due to manual request
    12:03:58 [F4FB3] Platform Repository Name wbruntime on Service whse at Host gsharrowxp
    12:03:58 [F4FB3] oracle.wh.runtime.platform.adapter.InfrastructureException: RPE-01003: An infrastructure condition prevented the request from completing.
    - No more data to read from socket
         at oracle.wh.runtime.platform.service.controller.PlatformDb.disconnect(PlatformDb.java:145)
         at oracle.wh.runtime.platform.service.Service.run(Service.java:333)
         at oracle.wh.runtime.platform.service.Service.main(Service.java:518)
    java.sql.SQLException: No more data to read from socket
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
         at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:1160)
         at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java:963)
         at oracle.jdbc.ttc7.MAREngine.unmarshalSB1(MAREngine.java:893)
         at oracle.jdbc.ttc7.Oclose.receive(Oclose.java:101)
         at oracle.jdbc.ttc7.TTC7Protocol.close(TTC7Protocol.java:684)
         at oracle.jdbc.driver.OracleStatement.close(OracleStatement.java:700)
         at oracle.jdbc.driver.OraclePreparedStatement.exitExplicitCacheToClose(OraclePreparedStatement.java:377)
         at oracle.jdbc.driver.LRUStatementCache.close(LRUStatementCache.java:863)
         at oracle.jdbc.driver.OracleConnection.close_statements(OracleConnection.java:2340)
         at oracle.jdbc.driver.OracleConnection.close(OracleConnection.java:1448)
         at oracle.wh.runtime.platform.common.DatabaseConnectionFactory.close(DatabaseConnectionFactory.java:19)
         at oracle.wh.runtime.platform.service.controller.PlatformDb.disconnect(PlatformDb.java:140)
         at oracle.wh.runtime.platform.service.Service.run(Service.java:333)
         at oracle.wh.runtime.platform.service.Service.main(Service.java:518)
    I am sure this has something to do with the patch, but how do I fix it?
    OWB client 9.2.0.2.8
    owb repository 9.2.0.2.0

  • When does the Runtime Service start up and down

    Hi,
    I'm really concerning when this service will be down by closing some applicaton. Like owb session, it will be shut whenever exit owb client or disconnect from OMB Plus. The session of run time owner start from Runtime Service is always there (can be seen from TOAD).
    Looking forward to your help,
    Thanks,
    Daming

    Daming,
    The runtime platform service is a Java-based program that is being invoked from within the database by a database job. As soon as you start the database the database job becomes active. Once the database shuts down, the runtime platform service goes down. The availability of the runtime platform service is totally unrelated to using the design client.
    If you want to explicitly stop and start the runtime platform serivce while the database is open, run <owb home>\owb\rtp\sql\stop_service.sql and <owb home>\owb\rtp\sql\start_service.sql respectively (connect using the runtime repository owner).
    Thanks,
    Mark.

  • I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    If a phone is sold from one friend to another and wants to use it on a different carrier the friend can contact the carrier it was sold by to request it unlocked.  I know AT&T, Verizon, and Sprint will give you the steps to unlock it as long as the original contract it was bought under has been completed.  eBay/Craigslist is really not the best place to try to get "unlocked phones" from, if it turns out the phone isn't unlocked then I'm really sorry you got stuck with that one and as stevejobsfan said above I would report them immediately and see if you can recover your money.  I sell phones for a living and this happens a lot

  • Unable to access Runtime Services with admin user

    Hi all,
    Trying to access runtime services with admin user returns a "Authentication Denied
    The username or password has been refused by Runtime Services. Please try again."
    Credentials are correct. It seems to be some kind of lockout. I´ve copied this admin user entry in ldap and named it admin2, this "new" user can perfectly log.
    As it could be a lockout I have unlocked the user although the proper tab said there was no locked user.
    The realm is in a openldap.
    Any hint would really be appreciated.

    Hi all,
    Trying to access runtime services with admin user returns a "Authentication Denied
    The username or password has been refused by Runtime Services. Please try again."
    Credentials are correct. It seems to be some kind of lockout. I´ve copied this admin user entry in ldap and named it admin2, this "new" user can perfectly log.
    As it could be a lockout I have unlocked the user although the proper tab said there was no locked user.
    The realm is in a openldap.
    Any hint would really be appreciated.

  • Problem defining a java client on tomcat to call the esb web service

    Dear Support,
    I have a java program that has been incorporated on the oracle SOA suite. We now have a problem defining a java client on tomcat to call the esb web service. The Oracle SOA part is running fine”.
    The software versions we are using :
    1 - Oracle SOA suite on 10.1.3.3 Oracle AS
    2 – Java 1.5
    3 – Tomcat 5.5
    4 – OS XP Professional

    If you have a main method in jour generated WSclient class (by the proxy) add the following code below the //add your own code:
    AddFileResponseType testResponse = myPort.addFile(testRequest);
    where AddFileResponseType is the responsetype of the WS and addFile is the method to call. this is just an example of my own webservice.
    Next stap is to put the cursor in the main method and choos debug or run.
    This should invoke the main method en call the webservice
    I hope this helps you
    Kim

  • Runtime service is shutting down

    Hi,
    I used the stop_service script to shuw down the rtp but it seems it doesn't work correct. I always receive "available" as result. If I try to start a mapping I receive rtc-5006 ora-20006 the request cannot be queued because the platform service is closing down. start_service.sql brings an error in the owb log files runtime service is already running. A database restart will probably solve my problems, but i am not allowed to do so. Any ideas?
    Regards,
    Torsten

    Okay, I killed the "wait" process of the runtime repository owner, started the service again and now everything is fine (or better it seems so).
    Regards,
    Torsten

  • Open source web calendar client to connect Mac OS X Server iCal service?

    Is there any open source web calendar client to connect Mac OS X Server iCal service?

    [Here is a crib sheet for connecting Windows to Samba|http://labs.hoffmanlabs.com/node/1590]

  • ACS runtime service will not start

    Needed to sync up the ACS with the NTP server, which required a reload of the ACS.  Since the reload, the runtime application will not start. Log shows:
    [UTC May 17 15:49:24] error    : 'runtime' process is not running
    [UTC May 17 15:49:24] info     : 'runtime' trying to restart
    [UTC May 17 15:49:24] info     : 'runtime' start: /opt/CSCOacs/bin/exec_wrapper.sh
    [UTC May 17 15:50:24] error    : 'runtime' service timed out and will not be checked anymore
    Unable to find any info on cisco.com knowldedge base.  Have reloaded three times with same result.  Any ideas?

    Jessica,
    There are numerous issue with services on ACS code 5.0, please upgrade it to ACS 5.1
    Go to Cisco.com > support > download software > Security > Cisco Secure Access Control System 5.0 > Secure Access Control System Software >
    5.0.0.21
    Upgrading an ACS server from 5.0 to 5.1 (Installation guide)
    http://www.cisco.com/en/US/docs/net_mgmt/cisco_secure_access_control_system/5.1/installation/guide/csacs_upg.html#wp1167547
    Regds,
    JK
    Do rate helpul posts-

  • How to create a client console to connect to server in windows service using c#

    my code is error
    can you check the code please
    client console code
    partial class Program : ServiceBase
            public static void Main(string[] args)
                serverservice ss = new serverservice();
                ss.myserver();
                    TcpClient tcpc = new TcpClient();
                    Console.WriteLine("connecting.......");
                    tcpc.Connect("10.128.1.116", 80);
                    Console.WriteLine("connected........");
                    Console.Write("enter msg to be transimitt");
                    string str = Console.ReadLine();
                    Stream stm = tcpc.GetStream();
                    ASCIIEncoding asc = new ASCIIEncoding();
                    byte[] ba = asc.GetBytes(str);
                    Console.WriteLine("transmitting..........");
                    stm.Write(ba, 0, ba.Length);
                    byte[] bb = new byte[100];
                    int k = stm.Read(bb, 0, 100);
                    for (int i = 0; i < k; i++)
                        Console.Write(Convert.ToChar(bb[i]));
                    tcpc.Close();
                windows service for server code is
      public partial class serverservice : ServiceBase
            public serverservice()
                InitializeComponent();
            protected override void OnStart(string[] args)
                myserver();
               Thread mythread = new Thread(new ThreadStart(myserver));
                 mythread.Start();
            public void myserver()
                char d;
                IPAddress ipad1 = IPAddress.Parse("10.128.1.116");
                TcpListener tcpc = new TcpListener(ipad1, 80);
                tcpc.Start();
               // System.Diagnostics.Process.Start(@"C:\Users\PC\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\webs\webs\clientconsole\clientconsole\bin\Debug\clientconsole.exe");
                Console.WriteLine("server is running at port 80");
                Console.WriteLine("local end point is" + tcpc.LocalEndpoint);
                Console.WriteLine("waiting for connection");
              // var client=new TestExecutionEngine
                Socket s = tcpc.AcceptSocket();
                Console.WriteLine("connection is accepted from" + s.RemoteEndPoint);
                byte[] b = new byte[100];
                int k = s.Receive(b);
                Console.WriteLine("received");
                for (int i = 0; i < k; i++)
                    d = Convert.ToChar(b[i]);
              Console.WriteLine(char.ToUpper(d));
                ASCIIEncoding asc = new ASCIIEncoding();
                s.Send(asc.GetBytes("msg is recveived"));
                Console.WriteLine("\n send aknwldge");
                s.Close();
                tcpc.Stop();
               protected override void OnStop()
                EventLog.WriteEntry("stopped");

    kavya --
    You have erroneously posted this question in a user forum dedicated to questions about Project Online, an enterprise project management application.  I would recommend you repost your question in a user forum that deals with C sharp programming questions. 
    Hope this helps.
    Dale A. Howard [MVP]

  • How do I tell my clients to configure the connectionstrings for a cloud service?

    I have an application that exists in two forms
    A Windows Service
    A Clouse Service with a Web Worker Role
    Both applications have an encrypted connection string in the app.config;
    for clients using the Windows Service I know how to tell them to change the config file.
    For a cloud service is it possible to edit the configuration file?
    I read something about Azure Settings, but I can't find any good information about that, is that the preferred method for setting environment settings in a Cloud Service?
    Can you remote in to a VM or whatever hosts the Cloud Service?
    Thank you for any help. I am writing the documentation about how to setup the Azure environment and I realized I don't know myself, I only know how to publish with Visual Studio to a cloud service with the values already set. That works, but I can't
    tell a client to use Visual Studio.

    Hi,
    For a cloud service, though it is possible to access instance VMs and do changes on their file system by RDP sessions, but it is not recommended, as you will end up loosing your changes if role instance VMs are restarted.
    If you really want to keep certain settings configurable and which will be shared by all your role instances, best way to do is to utilise the cloud service configurations, typically you mention these settings in .cscfg file and you can also edit those using
    azure management portal.
    You can also access those from your code 
    string settingValue = CloudConfigurationManager.GetSetting("SettingString");
    Read more about it here - http://msdn.microsoft.com/en-us/library/azure/ee405486.aspx
    http://haishibai.blogspot.in/2012/09/windows-azure-cloud-service.html
    Bhushan | Blog |
    LinkedIn | Twitter

Maybe you are looking for

  • Imported movies are scrambled on iMovie 5.0.2

    Yikes! I'm importing a video into iMovie 5.0.2 on a G5 and the picture is all scrambled and broken up. We have none of these problems on the G4 computers here. I can't figure out what makes this different ... except perhaps the operating system. The

  • How do I show "year" in date received or sent columns?

    +My constant struggle with Mail goes on but I am not giving up yet.+ Mail shows me month, day, hour and minute. But not the year of messages received or sent. When I upgraded to Snow Leopard and switched from using Entourage to Mail, I imported all m

  • My Audition 3 won't start in Win 7 64. Help needed...

    When I try to use Audition 3, I get this error message: An error has been detected with a required application library and the product cannot continue. Please reinstall the application. I have reinstalled, but I still get the same error message. Coul

  • Cant' move images from frame to frame inside a Grid in InDesign. Please Help

    When creating a grid in indesign there is an option to move images from frame to frame, and having them rotate around the frames to see where each image is best to be placed. Example I created a grid with 6 images (2 rows and 3 columns) and now i wan

  • Why I can't find "MySessionEJB"

    I hava installed oracle8.1.7 database , Oracle 9i OC4J and jdev9i in my computer.I do a stateless session bean example in jdev9i help.My OC4J server hava successfully started in jdev9i and I haven't configured GIOP as the help has told me,but i met a