JAVA-IBM-1.4.2

Hi everybody!
I have may be the trivial problem.
I need for install java-ibm-1.4.2 linux x86_64 because of sap note that says sap doesnt provide the java for linux please visit the ibm site for download.
I`ve visited the ibm http://www.ibm.com/developerworks/java/jdk/linux/download.html
but there is no correct links to download. always links has broken.
Can any one take me the files.
actual version is IBMJava2-JRE-AMD64-1.4.2-13.10.x86_64.tgz  IBMJava2-SDK-AMD64-1.4.2-13.10.x86_64.tgz

Hi,
If you have valid subscription from RedHat, you can install IBM JDK using below command.
# yum install jdk-1.4.2-ibm-sap
It will install below package
java-1.4.2-ibm-sap-devel-1.4.2.13.9.sap-1jpp.1.el5
java-1.4.2-ibm-sap-1.4.2.13.9.sap-1jpp.1.el5
Regards.
Rajesh Narkhede

Similar Messages

  • Nw2004s Java - IBM SDK - How to fine tune

    Hello,
    Can you anyone let me know about tunning  IBM SDK parameters on Linux using configtool ?
    We have already set some parameters as per SAP Note for IBM SDK.
    Still not sure, how to set the following in the configtool
    1. HeapDumppath
    2. HeapDumpon CtrlBreak
    If I XX:HeapDumpPath=/usr/sap/dumps , JVM is not starting. The same setting Sun JAVA JDK on Solaris is working fine.
    I believe the syntax is different for IBM SDK than Sun JDK.
    Thanks in Advance for your help !
    kandy

    Hi,
    Please check the following SAP Notes:
    Note 1004255 - How to create a full HPROF heap dump of J2EE Engine 6.40/7.0
    Note 1053495 - Settings to get a heapdump with IBM JVM on AIX
    Note 710146 - How to change J2EE Engine JVM Settings
    Hope That helps.
    Regards,
    Siddhesh

  • How is Sun Java & IBM XML Certifications helpful

    Sun Java Certifications
    http://educational-world.blogspot.com/2007/06/sun-java-certifications.html
    IBM � XML Certification
    http://educational-world.blogspot.com/2007/10/ibm-certified-solution-developer-xml-11.html

    Sun Java Certifications
    http://educational-world.blogspot.com/2007/06/sun-java-certifications.html
    IBM � XML Certification
    http://educational-world.blogspot.com/2007/10/ibm-certified-solution-developer-xml-11.html

  • Anyone tried to deploy IBM's Java resource adapter for IMS on WLS6.1sp2?

              Has anyone had success or attempted to deploy the IMS Connector
              for Java (IBM's resource adapter) on WLS6.1sp2? I would like to
              use this to connect WebLogic to IMS via IMS Connect 1.2?
              Thanks
              Sam
              

              "Sam Naylor" <[email protected]> wrote:
              >
              >Has anyone had success or attempted to deploy the IMS Connector
              >for Java (IBM's resource adapter) on WLS6.1sp2? I would like to
              >use this to connect WebLogic to IMS via IMS Connect 1.2?
              >
              >Thanks
              >Sam
              Sam,
              I was wondering if you were able to use the IMN Connector RAR file. I was able
              to deploy but that was teh extent of my effort.
              Appreciate you insight!
              

  • Adobe Print Services in Java Instance on iSeries

    Comment by moderator: An english overview of this thread is given in an answer to this posting.
    Sehr geehrter Herr Hoelters,
    wir möchten gerne GTS on System i fahren. Für fast alle Module aus GTS
    braucht man die JAVA Instanz. Das soweit ist wohl kein Problem.
    Für die Adobe Printing Services brauchen wir die Java Instanz auch.
    Nun gibt es wie unten aus dem Buch zitiert non supported Platforms.
    Im Hinweis Hinweis 925741 wird eine Lösung mit einem zusätzlichen
    Applikationsserver empfohlen.
    Dadurch stellt sich raus, das wir doch einen zusätzlichen Windows
    Server für diese ADS benötigen.
    In der PAM kann man folgende Informationen finden:
    Freigaben Adobe Document Services Datenbank-Plattformen DB2/400...
    freigeg.
    Datenbankversion Betriebssystemversion Datum Status
    DB2/400 V5R3 WINDOWS SERVER 2003/IA32 32BIT 05.12.2005 Freigegeben
    DB2/400 V5R4 WINDOWS SERVER 2003/IA32 32BIT 14.02.2006 Freigegeben
    Bedeutet das jetzt das ich die ADS nicht ohne Windows Server nutzen
    kann ?
    mit freundlichen Grüßen
    Carsten Schulz
    Erstens:
    Book: Global Trade Services Using SAP® GTS 7.0
    Page 13
    Depending on our process, it can be necessary to set up the following
    additional instances:
    SAP NetWeaver Java Stack
    All print forms in SAP GTS are available in Adobe print technology. If
    you want to use printing functions the Adobe Document Server (ADS) is
    required that is icluded in the delivery of SAP NetWeaver Java Stack.
    Printing documents and forms can be necessary in the following areas:
    - SAP Customs Management
    - SAP Risk Management Preference Processing
    - SAP Risk Management Letter of Credit
    Zweitens:
    Book: SAP NetWeaver 2004s SR1 Java: IBM eServer iSeries
    2.4 Running Adobe Document Services on Non-Supported Platforms
    Adobe document services (ADS) are currently not supported to run
    natively on all platforms supported by
    SAP systems based on SAP NetWeaver, in particular on 64-bit platforms.
    Procedure
    To use ADS in SAP landscapes on non-supported platforms, install an
    additional standalone AS Java on a
    platform supported by ADS.
    For more information, see SAP Note 925741.
    Drittens:
    Hinweis 925741 - Adobe Doc. Services (ADS) auf nicht unterstützt.
    Plattformen
    Hinweis zu IBM iSeries
    Zusätzlich zu der beschriebenen Lösung können Sie einen zusätzlichen
    Microsoft-Windows-Applikationsserver für die ADS im Java-Stack
    einsetzen, wenn Ihre Umgebung auf einem IBM-iSeries-Server installiert
    ist.
    Message was edited by:
            Carsten Schulz
    Message was edited by:
            Carsten Schulz

    Hello.
    This question and its answer might be interesting for the non german speaking members of this community, too. So I made a short translation of the discussion. Not in every detail but it should be sufficient to get the idea. If you have any further questions don't hesitate to ask here. For future discussions I would like to encourage all of you to use english as the forum language. The members of this community are distributed all over the world and using english is the only way to get feedback from most of them.
    Now to the question:
    Mr Schulz is interested in using GTS on a system i. To use the Adobe Printing Services support in GTS it is necessary to set up a Adobe Document Server (ADS). At the moment ADS does not run natively on system i. The PAM states that ADS runs on DB2/400 using a windows server. SAP Note 925741 suggests to run an additional application server. The question is now if there is no way to run a ADS on a system i without a windows server.
    The answer given by Mr Hölters can be outlined as follows:
    In fact ADS is not supported under i5/OS. To allow usage of ADS without introducing a second database platform to your system landscape there is a solution given in SAP Note 925741. Instead of having a second NetWeaver installation on a different platform you can add an additional dialog instance to your application server running on system i. If this dialog instance is running under Windows you can install ADS there and don't have to use a second database platform.
    With kind regards,
    Jan Stallkamp

  • Z/OS Java under WLM stopped working

    We are running WBIFN 1.1 on Z/OS 1.4. It uses DB2 V7 at RSU0512. The java runs under stored procedures, was working at install, but now we get:
    java.lang.ExceptionInInitializerError
    Here are the full messages:
    DSNX961I DSNX9WLS ATTEMPT TO PERFORM JNI FUNCTION FindClass 576
    FAILED FOR STORED PROCEDURE . SSN= D2KT PROC= D2KTWLM ASID=
    01EF CLASS= METHOD= ERROR INFO=
    java.lang.ExceptionInInitializerError
    pq76769 version of DSNX9JVM
    opening stdin, stdout, and stderr files in directory /tmp/java
    JVM classpath option string before translate for JVM:
    '-Dibm.jvm.shareable.application.class.path=/var/mq/wbiftst:/usr/lpp/dbms/db2t/classes'
    JVM trusted.middleware.class.path before translate for JVM:
    '-Dibm.jvm.trusted.middleware.class.path=/usr/lpp/dbms/db2710/d2kt/classes/db2j2classes.zip'
    libpath after setenv/getenv: /usr/lpp/dbms/db2710/d2kt/lib:/usr/lpp/java/IBM/J1.3/bin:/usr/lpp/java/IBM/J1.3/bin/classic
    JVM properties file string before translate for JVM:
    '-Xoptionsfile=/var/mq/wbiftst/jvmsp'
    turning on JVM debugging with options:
    -Dibm.jvm.events.output=/tmp/java/resetEvents.txt
    -Dibm.jvm.unresettable.events.level=max
    error loading JDBC driver
    toString string from error is: java.lang.ExceptionInInitializerError
    Return parm is -15
    can anyone help?

    The recently released Java 7 Update 11 has been blocked by Apple through its XProtect anti-malware feature in OS X.
    Oracle issued the latest update to Java earlier this month to fix a serious zero-day security flaw. The threat was so serious that the U.S. Department of Homeland Security had recommended that all Java 7 users disable or uninstall the software until a patch was issued.
    Apple took action on its own and quietly disabled the plugin through its OS X anti-malware system. And as noted by MacGeneration on Thursday, Apple has again updated its OS X XProtect list, this time to block Java 7 Update 11.
    Because Oracle has yet to issue a newer version of Java that addresses any outstanding issues, Mac users are prevented from running Java on their system.
    Over the last few years, Apple has moved to gradually remove Java from OS X. The Mac maker dropped the Java runtime from the default installation for OS X 10.7 Lion when the operating system update launched in 2010. Java vulnerabilities have been a common exploit used by malicious hackers looking to exploit the OS X platform.
    Most notably, the "Flashback" trojan that spread last year was said to have infected as many as 600,000 Macs worldwide at its peak. Apple addressed the issue by releasing a removal tool specifically tailored for the malware, and also disabled the Java runtime in its Safari web browser starting with version 5.1.7.
    Javascript should not be disabled (it has nothing to do with Java).

  • Install Error - IBM-java2

    Greetings -- I am getting an error that no one can nail down.  I have to install this version of IBM Java:                  
    ibm-java2-ibmpc-jre-50-win-i386.exe. 
    Everything looks like it is installing correctly until the end where I get the error:
    ERROR
        Cannot Continue
                                      This is non IBM system, cannot continue Installation
                                                                                  EXIT
    Of course this is a lenovo T61 / Product ID: 7661  / Family G35  /  XP
    Any suggestions--Am I missing a prerequisite or what...?
    Thanks in advance for your help...ftpgetme
    Solved!
    Go to Solution.

    Hi ftpgetme,
    Welcome to the forum!
    You are missing this:- 
    The IBM Java2 JRE is only for updating IBM Personal Computing products manufactured prior to 1 Apr 2005.
    Required for installation:
    - Computer must be an IBM system. This program will not install on non-IBM systems.
    - Computer must have been manufactured prior to 1 Apr 2005.
    - Computer must be running Microsoft Windows Me, 2000, or XP. Or must be updated with the latest WMI classes if running an older Microsoft operating system.
    - User must have Administrator level access.
    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-56888
    Your T61 was not obviously manufactured in 2005.
    Hope it helps.
    Maliha (I don't work for lenovo)
    ThinkPads:- T400[Win 7], T60[Win 7], IBM 240[Win XP]
    IdeaPad: U350
    Apple:- Macbook Air [Snow Leopard]
    Did someone help you today? Compliment them with a Kudos!
    Was your question answered today? Mark it as an Accepted Solution! 
      Lenovo Deutsche Community     Lenovo Comunidad en Español 
    Visit my YouTube Channel

  • Learning Java Classes etc.

    I'm fairly new to Java. I have had three seperate programming classes on development, but always get deployed as a project manager, so don't get much chance to practice coding, except on my own.
    I have three sets of java modules, classes and objects on my computer:
    1.) Sun Java - Default for Browser support
    2.) Visual Cafe
    3.) Visual Age for Java (IBM)
    What I don't have, because of lack of opportunity, is command of the class modules, objects, etc. I have learned, as project manager, that what seperates the good programmers from the novice is his/her command of classes, modules, beans, objects, etc.
    On my own computer, I have been frustrated by having three duplicate sets, which took up over 400MB of hard drive. I therefore am trying to get them all into one directory. I spent a week about a month ago moving all the files and changing the pointers in Windows with REGEDIT. I'm still not sure I was truly successful. If any of you have experience in configuring any of these your advice is coveted.
    What I would like is for other programmers to join me in a self help project, using MySQL and a web interface, to database all the class modules, beans, objects, etc. into a database complete with programming functional description and listed parameter interfaces.
    This would let me see, learn, and be able to use these code snipets, at a quick view.
    It could also be a resource for other programmers to go to to get new objects etc. I feel this would propel the use of JAVA forward like no other resource.
    I know as a project manager, I would like such a source to point the developers to, when they are having coding problems. I feel that this would keep the wheel from being re-invented over and over and would help all in the industry with project budgets.
    If this excites you email me at:
    [email protected]
    Thanks!
    Nyle Davis

    I don't want to sound stupid in this reply, but I see nothing that I can say that will not sound stupid unless we go back to the two (2) basic rules of programming/CS we were taught in our first CS class 101, (sorry if your prof did you the injustice of not hammering these home to you) which are:
    1. Never Never Never Never Never Never Never Never Never Never Never Never Assume anything
    2. Never Never Never Never Never Never Never Never Never Never Never Never be Ambiguous
    Having stated those I find all the API and DOC information in violation of both of these rules, basically they say nothing to me because they 1.) assume you already now what they are talking about and have previous knowledge on each subject at hand, that is you are a pro already, such as yourself and 2.) Do not thuroughly explain what they do, how they interact, what their purpose and intent are, what function they perform, how they interact with others etc. I find most have multiple interfaces but absolutely no documentation on the interfaces, which is the most important part.
    That is why I want to launch my project. Skilled persons working with the Java project everyday, with proper mentoring, and being surrounded by other pros with the right mental positioning and mindframe Java is a slam dunk, but for the person, totally on their own, though the language itself is rather self explainitory (at some levels), they face re-inventing all the class modules and/or building all kinds of modules, unless there is a totally self explaintary databased and indexed source with better documentation than currently exists.
    Though I feel you take personal offense at this, it will not hurt JAVA but only help it. To make JAVA the preferred language, this kind of simplicity needs to be there. The easier anything is the more people use it, thus the more prolific it becomes. I personally find JAVA class modules confusing and totally ambiguous, at least from the DOC descriptions.
    Most OO developers trash on Big Blue but one thing IBM did well, that no one since has done as good is their programming and help manuals. I have not seen any of the "Johnny come Lately" companies, MicroSoft and Sun included, even come close in simplicity of and thuroughness of documentation of any programming commands, languages, etc.
    I would want to return to this level of thuroughness in the database proposed. I would not post any submittals that did not completely pass the documentation and simplicity of use tests. Rather I would return email to the submitter asking for thurough documentation. I can even invision building a documentation template to make sure the documentation is complete enough.
    To me documentation is not complete if, the first time I try to use something whether program command or class module, it does not do exactly as advertised, without tweaking, and with no rework.
    Unfortunenately my experience with JAVA has been anything but that. Everything I try to do has to be reworked and/or tweaked more than once to make it work. Not good. And when I do finally get it to work and/or understand some of the basic functionality, I still find myself tweaking it again and again in different deployments.
    To me a program command and/or class module should work the same always, regardless of the deployment. Therefore if environment, application, and/or deployment changes the action/interaction of the command/class module and this was not documented then the documentation is not complete.
    Big Blue understood that not all commands would work the same on all platforms, so they published "Application" manuals for the various platforms that explained the variances. That kind of information is still missing from JAVA.
    Since the DOC is associated with the class module itself, and if the module was say tested originally only on MS Windows, but not tested on Linux, then the DOC file is good only for Windows. Currently there is no way to upgrade that for other platforms, unless Sun or the originator decides to be generous, which hardly ever happens.
    If the database I'm proposing get built, and you find a class module, built for Windows and apply it to Linux, you will tweak it to get it to work correctly with the new platform. With the database the module would be advertised as "for Windows only", but once you apply it to Linux, you could then log to the database, upload the Linux version, explain the reason for the changes and when/where in Linux it work and how, basically suplementing the documentation and code and then all other programmers would benefit from your share work.
    That is what I invision for the database, a shared resource.
    Maybe I'm being to verbose here, but I have a lot of frustration with this. My favorite language is REXX. I can program REXX on any platform, any application and at any level from Gen2 to OO. REXX after reading the programming manuals, is self explaintary.
    REXX along with JAVA and C/C++ in in the PL1 programming family, using same or similar syntax. Therefore JAVA should be easy for me, right? But this is not the case, though the language is fairly easy and somewhat explaintary, I have searched the web, multiple multiple times to find a complete command reference that explains each and every JAVA command, with full documentation. I still have not found such a resource. I have compiled a group of resources (over 12) to help me with this task and still so many of the commands are explained so vaughly that using just the programming language alone, by itself, without any class modules, is not an easy proposition.
    Then jump into class modules to try to keep from re-inventing the wheel and the confusion get even greater.
    Now do you understand?

  • Java and OES2 SP3

    Good day,
    Had a question concerning the following:
    1.) There was a TID in regard to JAVA no longer being included in the Channel updates any longer, does anyone have that TID number, or know if this is still relevant?
    2.) What is the latest version of JAVA on OES2 SP3?
    Thank you,
    DS

    Hey Ds,
    Originally Posted by dschaldenovell
    1.) There was a TID in regard to JAVA no longer being included in the Channel updates any longer, does anyone have that TID number, or know if this is still relevant?
    Java IBM 1.6 and 1.7 are still in the update channels AFAIK (for SLES 11), where did you remember reading that?
    You do realize OES2 SP3 is out of general support (since July last year/2013)?
    Originally Posted by dschaldenovell
    2.) What is the latest version of JAVA on OES2 SP3?
    Can't check, all my OES2 SP3 servers have been upgraded to OES11. A quick look on an SMT server shows this one : http://download.novell.com/Download?...d=KfMV2KXyWVs~ (java-1_6_0-ibm-1.6.0_sr14.0-0.11.1.x86_64.rpm / java-1_6_0-ibm 8657)
    I'm curious why you are inquiring for this?
    Cheers,
    Willem

  • Getting Error While Uploading Clause Document in SAP Sourcing 9.0

    Hi,
    --------------------system description--------------
    SAP Sourcing 9.0
    SAP NW7.31 AS JAVA
    IBM DB2 9.7
    I am getting error while executing clause document.
    ----------------------Error Description---------------
    Login with buyer link into the system-> it has all authorizations
    then Goto -> Contract Management -> Clause Library -> Clause list -> Click on New button -> Click on Add button -> Browse Document
    it is showing POPUP with Error that "There is a problem with the Contract Generation web service Contact your system administrator"
    Thanks and Regards,
    Murtaza Najmi

    Hi Gary,
    it is standalone system i have, everything i have installed on one server.
    i have already checked with restarting IIS server, and i can see word service while running url in contractgen.serviceurl, word service is running fine on browser but when i upload the document a popup window comes with error as i have shown above in my query
    Thanks once again Gary for replying
    Thanks and Regards,
    Murtaza Najmi

  • Performance of the J2EE server for BI 70

    Hi
    We currently are running BI 70 on as 20GB(memory in *BASE), 1.5 CPU (power 6) system.
    We have close to 100 users on the system and primarliy use the excel based Bex analyzer for reporting,
    We want to start using the BI-Java stack for web based reporting, but right now its kind of a little slow, esp going in their the first time after the system restarts..( which is kind of understable..)..and even after then...
    We have already implemneted these notes for performance:
    Note 990892 - iSeries Java properties in SAP system environment
    Note 717376 - iSeries VM Settings for SAP WebAS Java (IBM Classic JVM)
    and are noticing little improvement...but still not as good as we would like it to be...
    The question we have in mind is if:
    we should start thinking about running the Java server in a separate memory pool? Right now
    the "SERVER0" job is running in *BASE...same as where our ABAP stack is running...We only have two memory pools on the system(machine and *Base)
    Which configuration is better in terms of performance, for both ABAP and JAVA? We do not want the ABAP performance to go down...( faulting rates right now is less than 100/s...but goes up when we run BI-JAVA)
    Running both ABAP and JAVA in the same (one big HUGE) memory pool
    OR
    Spliiiting up the *BASE and allocating maybe like 5- 5.5 GB to another pool and run the J2EE in that seperate memory pool, as mentioned in one of the SAP notes??
    Thanks for all your suggestions...
    Sap ques

    Hi,
    As pointed out in previous posts, moving to V6.1 and IT4J is going to result in the biggest performance improvement.  However, since you will not be moving to V6.1 anytime soon there are some other JVM tuning and configurations that can be done to improve performance of Classic JVM.
    First, as specified in earlier posts, you will want to run your Java systems in their own memory pool, regardless of whether they are standalone systems or dual stack systems.  The next thing you are going to want to look at is the JVM heap settings.  You will want to adjust your Java heap settings based on your actual workload.  The recommended default settings are not ideal under every situation, so it is best tune and configure the JVM based on analysis of the JVM from running the workload.  Most Classic JVM performance issues are a result of Xmx and Xms not being properly set for the workload.
    There is some fairly straight forward analysis that can be performed in order to optimally tune your JVM.  More information can be found at http://www-03.ibm.com/systems/i/advantages/sapj2ee/index.html.  To start, you should download from the website, the SAP NetWeaver Java on IBM i5/OS Redpaper and the "Getting the Most from Your SAP Application Server on IBM i" presentation.
    Regards,
    Kolby

  • Hi gurus, can any one explain me about Badi & Bapi with eg.?

    Hi gurus,
    Can any one explain me about Badi & Bapi with examples.
    Regards
    Raghu

    Hi Raghu
    1) Badis means:
    The BAdIs of the enhancement concept are not treated as standalone objects, but are integrated in the overall concept. Thus, the tools for defining BAdIs are part of the Enhancement Builder included in the ABAP Workbench.
    Transaction SE18, up to now the only entry point for defining classic BAdIs, now manages classic and new BAdIs. When an existing BAdI is displayed or changed, it analyzes whether the BAdI is a classic or a new one, and then switches to the respective tool. In the case of a new BAdI, this tool is the enhancement spot editor
    2) Bapis means:
    BAPIs can be called within the R/3 System from external application systems and other programs. BAPIs are the communication standard for business applications. BAPI interface technology forms the basis for the following developments:
    Connecting:
    New R/3 components, for example, Advanced Planner and Optimizer (APO) and Business Information Warehouse (BW).
    Non-SAP software
    Legacy systems
    Isolating components within the R/3 System in the context of Business Framework
    Distributed R/3 scenarios with asynchronous connections using Application Link Enabling (ALE)
    Connecting R/3 Systems to the Internet using Internet Application Components (IACs)
    PC programs as frontends to the R/3 System, for example, Visual Basic (Microsoft) or Visual Age for Java (IBM).
    Workflow applications that extend beyond system boundaries
    Customers' and partners' own developments
    Thanks
    Trinath

  • Use Selector to multiplex Pipe.SourceChannels?

    Hi,
    i am a little confused. I 'd like an object to have some references to multiple Pipe.SourceChannels and periodically check for incomig data. MultiPortEcho.java seems to do what i want, but by using SocketChannels.
    Do i have to do something similar? Create a Selector, get the keys and check for OP_ACCEPT and OP_READ?
    MultiPortEcho.java
    ibm.com/developerWorks
    import java.io.*;
    import java.net.*;
    import java.nio.*;
    import java.nio.channels.*;
    import java.util.*;
    public class MultiPortEcho
      private int ports[];
      private ByteBuffer echoBuffer = ByteBuffer.allocate( 1024 );
      public MultiPortEcho( int ports[] ) throws IOException {
        this.ports = ports;
        go();
      private void go() throws IOException {
        // Create a new selector
        Selector selector = Selector.open();
        // Open a listener on each port, and register each one
        // with the selector
        for (int i=0; i<ports.length; ++i) {
          ServerSocketChannel ssc = ServerSocketChannel.open();
          ssc.configureBlocking( false );
          ServerSocket ss = ssc.socket();
          InetSocketAddress address = new InetSocketAddress( ports[i] );
          ss.bind( address );
          SelectionKey key = ssc.register( selector, SelectionKey.OP_ACCEPT );
          System.out.println( "Going to listen on "+ports[i] );
        while (true) {
          int num = selector.select();
          Set selectedKeys = selector.selectedKeys();
          Iterator it = selectedKeys.iterator();
          while (it.hasNext()) {
            SelectionKey key = (SelectionKey)it.next();
            if ((key.readyOps() & SelectionKey.OP_ACCEPT)
              == SelectionKey.OP_ACCEPT) {
              // Accept the new connection
              ServerSocketChannel ssc = (ServerSocketChannel)key.channel();
              SocketChannel sc = ssc.accept();
              sc.configureBlocking( false );
              // Add the new connection to the selector
              SelectionKey newKey = sc.register( selector, SelectionKey.OP_READ );
              it.remove();
              System.out.println( "Got connection from "+sc );
            } else if ((key.readyOps() & SelectionKey.OP_READ)
              == SelectionKey.OP_READ) {
              // Read the data
              SocketChannel sc = (SocketChannel)key.channel();
              // Echo data
              int bytesEchoed = 0;
              while (true) {
                echoBuffer.clear();
                int r = sc.read( echoBuffer );
                if (r<=0) {
                  break;
                echoBuffer.flip();
                sc.write( echoBuffer );
                bytesEchoed += r;
              System.out.println( "Echoed "+bytesEchoed+" from "+sc );
              it.remove();
    //System.out.println( "going to clear" );
    //      selectedKeys.clear();
    //System.out.println( "cleared" );
      static public void main( String args[] ) throws Exception {
        if (args.length<=0) {
          System.err.println( "Usage: java MultiPortEcho port [port port ...]" );
          System.exit( 1 );
        int ports[] = new int[args.length];
        for (int i=0; i<args.length; ++i) {
          ports[i] = Integer.parseInt( args[i] );
        new MultiPortEcho( ports );
    }Message was edited by:
    uig

    You don't have to worry about OP_ACCEPT with Pipe because there are no server pipes. You already have both sides of the Pipe by construction, so just implement the OP_READ part.

  • JIT compiler "jitc" not found

    Hi,
    I've just installed JVM 1.4.2 for Unix Systems Services on z/OS 1.4 mainframe.
    When I issue the command java -version I get the following:
    # java -version
    Could not load dll : /usr/lpp/java/IBM/J1.4/bin/libjitc.so
    : EDC5157I An internal error has occurred.
    Warning: JIT compiler "jitc" not found. Will use interpreter.
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2, J2RE 1.4.2 IBM z/OS Persistent Reusable VM build cm142-
    20070329 (SR8) (JIT disabled))
    I have check for libjitc.so in the java directory and it is there. Java compiles and runs fine. Can anyone help?

    OS/400 interprets Java methods until reaching the threshold specified by the os400.jit.mmi.threshold Java system property. After reaching the threshold, OS/400 uses the JIT compiler to compile methods into native machine instructions.
    To use the Just-In-Time compiler, you need to set the compiler value to jitc (default it isn't). You can set the value by adding an environment variable or setting the java.compiler system property. Select one method from the list below to set the compiler value:
    * From a command line prompt on your iSeries server, add the environment variable by using the Add Environment Variable (ADDENVVAR) command. Then, run your Java program using the Run Java (RUNJVA) command or JAVA command. For example, use:
    ADDENVVAR ENVVAR (JAVA_COMPILER) VALUE(jitc)
    JAVA CLASS(Test)
    * Set the java.compiler system property on the iSeries command line. For example, enter JAVA CLASS(Test) PROP((java.compiler jitc))
    * Set the java.compiler system property on the Qshell Interpreter command line. For example, enter java -Djava.compiler=jitc Test
    Once you set this value, the JIT compiler optimizes all of the Java code before running it.

  • JRE in Oracle 81701 - difficulties......

    When starting the Oracle Management Server for Oracle 8.1.7.0.1, sometimes the start command (oemctrl start oms) hangs and sometimes completes, but the OMS is nonresponsive. Also a large number of jre processes are started, mostly inactive. i.e. 66 jre processes using 1200408K (out of 1416952K) of memory.
    Distribution: Redhat 7.0
    Sysconfig: AMD 1200 Athlon, 256MB mem, 1035MB swap
    Kernel: 2.2.16
    Libs:glibc 2.2-12 (glibc-common 2.2-12 for i386 vice i686)
    Oracle 8.1.7.0.1 with stubs patch.
    Java: IBM JDK 1.1.8
    I have been told this is the result of the Oracle JRE having troubles with the glibc 2.2 libaries.
    The question? is this so... if so, a workaround or fix?
    thanks
    Larry Johnson, KeepItSimpleEngineering,Inc.

    Hi friends,
    While I install Oracle 8.1.7 in RedHat 7.0,
    I have found below alert messages...
    Error in involking target install of
    makefile /u01/app/oracle/product/8.1.7/
    network/lib/ins_net_service.mk
    Do you have the same problem while you
    install Oracle 8.1.7 in RH 7.0???
    Thanks for advice
    null

Maybe you are looking for

  • Creative cloud subscription page in Chinese

    Creative cloud subscription page in Chinese  and not the same format as the eglish page or what the help pages are showing nor is there any of updating my information. account is not working and there is no way to get through

  • MacBook CD/DVD drive won't read discs

    I have just updated the new OXS 10.9 for my Macbook Pro. Then I found that I insert the discs, the drive makes the repetitive 'hunting' sound of a drive that can't recognise a disc. It will eventually give up and eject the disc.

  • Installing Aperure on my latop

    Hi there, I currently run Aperture 2.1.4 on my iMac but would like to install it on my laptop. I do not have disks since my purchase was via download. What files do I need to copy in order to install on the laptop? My Macbook Pro is running Snow Leop

  • Cover for 20GB Zen Creative (bla

    Does anyone know where I can get some kind of case of cover for my 20GB creative zen? Amazon only seems to have cases for the micro/vision/sleek models. Any help would be welcome. Cheers, Christina

  • WLC 5508 - What is the use of service port.

    Hi, I am getting hard to understand use of service port in wlc 5508, Even after reading so much post and cisco note I am not understanig the use of (Even basic use) service port. As I understand service port should be access port and should be in dif