Sun MQ on IBM P-series Linux machines

Don't have P handy so....
Will Sun MQ run on a IBM P-series Linux (RH AS 3.x). Would like to use it as the JMS provider for a J2EE container.
If not, shouldn't the doc. say x86 Linux-only (well, the prereqs DO say Pentium 2 or above for the processor....)
Thanks

Oracle supports the configuration you have planned.
We once thought about this combination but the advantages of running AIX 5.2/5.3 outweighed the benefits of running Linux on P Series.

Similar Messages

  • How to connect weblogic 8.1 to IBM MQ Series from remote machines?

    Hi,
              I am trying to connect WebLogic 8.1 to IBM MQ Series 6.0 both are running in a seperate machines.Can we do using JNDI services? Can anyone help me to fix this issue?

    I'm cutting/pasting my notes on the topic, including MQ specific notes. Start with the Integrating Remote JMS Providers FAQ (link below). You can also search this newsgroup for answers.
              Tom
              JMS Integration of Foreign Vendors with BEA WebLogic Server
              The following notes are derived mostly from "http://dev2dev.bea.com/technologies/jms/index.jsp".
              For additional questions, a good forum for WebLogic questions in general is "newsgroups.bea.com". These can be mined for information by using Google's newsgroup search function.
              JMS Integration Overview
              - For integration with "non-Java" and/or "non-JMS" platforms, see "Non-Java Integration Options" below.
              - For a foreign JMS vendor to participate in a WL transaction it must support XA. Specifically, it must support the javax.jms.XA* interfaces.
              - In WL versions 6.0 and up it is possible to make synchronous calls to foreign JMS vendors participate in a WL transaction as long as the foreign vendor supports XA.
              - WL 6.0 and 6.1 MDBs can be driven by foreign vendors non-transactionally. They can be driven transactionally by a select few foreign vendors (MQ is not part of the select few)
              - WL 7.0 and later, MDBs can be driven by foreign vendors transactionally and non-transationally.
              - WL 6.1 and later WL provides a messaging bridge feature. Messaging bridges forward messages between any two JMS destinations, including foreign destinations, and can transfer messages transactionally or non-transactionally.
              - WL 8.1 JMS provides additional features that simplify transactional and JNDI integration of foreign vendors. See http://edocs.bea.com/wls/docs81/jms/intro.html#jms_features and http://e-docs.bea.com/wls/docs81/faq/interop.html
              Integration with 8.1 Details
              To start, first read the "Integrating Remote JMS Providers FAQ" (released in Dec 2004) at:
              http://e-docs.bea.com/wls/docs81/faq/interop.html
              A good overview of 8.1 JMS interop capability is the presentation "Integrating Foreign JMS Providers with BEA WebLogic Server" here:
              http://www.bea.com/content/files/eworld/presentations/Wed_03_05_03/Application_Servers/1097-Foreign_JMS_Providers_WLS.pdf
              This document refers to helpful new 8.1 features, which simplify integration. These include:
              http://edocs.bea.com/wls/docs81/ConsoleHelp/jms_config.html#accessing_foreign_providers
              http://edocs.bea.com/wls/docs81/jms/j2ee_components.html#1033768
              And are also summarized here (under interoperability):
              http://edocs.bea.com/wls/docs81/jms/intro.html#jms_features
              Also read the MDB documentation, which extensively covers integrating foreign vendors:
              http://edocs.bea.com/wls/docs81/ejb/message_beans.html
              The 8.1 features are likely sufficient for most 8.1 integration needs, but you may want to refer to the "Using Foreign JMS Providers With WLS" white-paper mentioned below, which is 7.0 specific but contains specific examples of configuring non-WebLogic JMS vendors. See also notes on "MQ" below.
              Integration with 6.1 and 7.0 Details
              Read the "Using Foreign JMS Providers With WLS" white-paper:
              http://dev2dev.bea.com/products/wlserver/whitepapers/jmsproviders.jsp
              Note that this white-paper does not take into account 8.1 features.
              For 7.0 read the extensive 8.1 MDB documentation, which largely also applies to 7.0:
              http://edocs.bea.com/wls/docs81/ejb/message_beans.html
              Non-Java Integration Options
              - WL JMS has a JNI based C client which is available for Windows and some UNIX platforms. This C client supports 7.0 and up, and will be officially packaged with WLS in 9.0 (virtually unchanged). The C API is currently only supported through the jms newsgroup. See "JMS C API", here:
              http://dev2dev.bea.com/technologies/jms/index.jsp
              - WL supports direct Windows COM access through its "JCOM" feature. This doesn't include the JMS API, but one can invoke EJBs which in turn invoke JMS. See
              http://e-docs.bea.com/wls/docs61/jcom.html
              http://e-docs.bea.com/wls/docs70/jcom/
              http://e-docs.bea.com/wls/docs81/jcom/
              - Similar to JCOM, but more advanced and supported on more platforms, WL supports access via the standard IIOP protocol. You can use the BEA Tuxedo C client for this purpose (no license fee). This doesn't include the JMS API, but one can invoke EJBs which in turn invoke JMS. See
              http://e-docs.bea.com/wls/docs81/rmi_iiop/
              http://e-docs.bea.com/wls/docs70/rmi_iiop/
              http://e-docs.bea.com/wls/docs61/rmi_iiop/
              Unlike most other approaches, the IIOP client approach also allows the client to begin and commit user (JTA) transactions (not configured).
              - If you already have a BEA Tuxedo license, one option is communicate through BEA Tuxedo (which has various APIs on Windows) and configure a WebLogic Server to respond to these requests via the WTC bridge. Search for "WTC" in the BEA docs. Unlike most other approaches, the Tuxedo API approach also allows the client to begin and commit user (JTA) transactions.
              - Another approach is to interop via web-service standards. Or even to simply to invoke a servlet on the WL server using a basic HTTP call from the client. These operation in turn can invoke the JMS API. There is a white-paper on "Interoperability Study of BEA WebLogic Workshop 8.1 and Microsoft .NET 1.1 Web Services", that demonstrates web-services here:
              http://ftpna2.bea.com/pub/downloads/WebLogic-DotNet-Interop.pdf
              - Yet another approach is to use a third party product that is designed to wrap any JMS vendor. There are even open source versions. In no particular order, here are some examples: Open3 WinJMS, CodeMesh, Active JMS, SpiritSoft
              - Finally, there are .NET/C/C++ integration libraries that are not specific to JMS, some examples are JNBridge, Jace, and CodeMesh.
              Notes on MQ Remote Capable XA Clients
              Until recently, IBM MQ JMS clients could not work transactionally unless they were running on the same host as their MQ server. This is a limitation unique to MQ that was relaxed with the introduction of IBM's new "WebSphere MQ Extended Transactional Client". See:
              http://publibfp.boulder.ibm.com/epubs/pdf/csqzar00.pdf
              The product is new, and for some reason, configuration of this client seems to be tricky, even when WebLogic is not involved at all. Oddly, the main sticking point seems to be simply making sure that class paths refer to the required IBM jars:
              - Required on WLS where MQ objects are bound into JNDI:
              com.ibm.mq.jar, com.ibm.mqjms.jar
              - Required only if MQ objects are bound into JNDI on a different server:
              com.ibm.mq.jar
              If there are problems when using this client, first get it to work using a pure IBM client without any BEA classes involved. Once that is working, search the WL JMS newsgroup for answers and/or contact BEA customer support.
              Notes on Oracle AQ Integration
              If problems are encountered integrating Oracle's built-in queuing (Oracle AQ) JMS client, there is publicly available wrapper code that can aid integrating AQ directly into MDBs, JMS, or the messaging bridge. The solution is titled "Startup class to bind AQ/Referenceable objects to WLS JNDI", is not supported by BEA, and is posted to:
              http://dev2dev.bea.com/codelibrary/code/startupclass.jsp (older version)
              http://xa-compliant-oracleaq.projects.dev2dev.bea.com (newer version)
              Caveats:
              It may be that the solution doesn't directly support concurrent consumers. Perhaps Oracle requires that concurrent consumers each have a unique JMS connection? As a work-around, parallel message processing can be achieved indirectly by forwarding AQ messages into a WL JMS destination - which do support concurrent processing.
              Up-to-date versions of Oracle may be required. For more information, google search the weblogic.developer.interest.jms newsgroup for "Oracle" and "AQ".
              MDB Thread Pool Notes
              WL7.0SP? and WL8.1 and later support the "dispatch-policy" field to specify which thread pool an MDB uses to run its instances. In most cases this field should be configured to help address potential performance issues and/or dead-locks:
              http://edocs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#dispatch-policy
              (Note that "dispatch-policy" is ignored for non-transactional foreign vendors; in this case, the MDB "onMessage" callback runs in the foreign vendor's thread.)
              MDB Concurrency Notes
              Queue MDBs driven by foreign providers can run multiple instances concurrently. Topic MDBs driven by foreign providers are limited to one instance (not sure, but transactional foreign driven topic MDBs may not have this limitation). The size of the thread pool that the MDB runs in and the "max-beans-in-free-pool" descriptor limit how many instances run concurrently.
              Design Guide-Lines and Performance Tuning Notes
              The "WebLogic JMS Performance Guide" white-paper contains detailed design, performance, and tuning information for Clustering, Messaging Bridge, JMS, and MDBs.
              http://dev2dev.bea.com/products/wlserver/whitepapers/WL_JMS_Perform_GD.jsp

  • Problem with setTraficClass()  in Linux machine

    Hi
    We are facing some problem with setTraficClass() method in java.net.Socket . When we try to set a value 34 using this method in windows it is not setting. when try to see the Ip header in the packet using wireshark it is showing 00.
    After lot of googling we found in sun forum that in Windows os there is no support for TOS/DSCP. if we want to set a value we need to add a registry parameter. Now it is setting in Windows XP [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4696356]
    But our problem is we are trying to run the same thing on linux machine RedHat 2.6.18.92.e15-pae-1686 it is setting 00 . Please find the code bellow
    Is there any setting we need to do in linux machine to call the setTraficClass() method. I am new to linux and not able to fix this issue.
    Please help me
    Thanks in advance.
    Sethu
    Server code
    import java.net.*;
    import java.io.*;
    class server
    public static void main(String args[]) throws Exception
    byte[] receive_data = new byte[1024];
    byte[] send_data = new byte[1024];
    int recv_port;
    DatagramSocket server_socket = new DatagramSocket(5000);
    System.out.println ("UDPServer Waiting for client on port 5000");
    while(true)
    DatagramPacket receive_packet = new DatagramPacket(receive_data,
    receive_data.length);
    server_socket.receive(receive_packet);
    server_socket.getTraficClass()
    String data = new String(receive_packet.getData(),0 ,0
    ,receive_packet.getLength());
    System.out.println("socketIP"+server_socket.getTrafficClass());
    server_socket.setTrafficClass(0x18);
    InetAddress IPAddress = receive_packet.getAddress();
    recv_port = receive_packet.getPort();
    if (data.equals("q") || data.equals("Q"))
    break;
    else
    System.out.println("( " + IPAddress + " , " + recv_port
    + " ) said :" + data );
    Client code
    import java.net.*;
    import java.io.*;
    class Client
    public static void main(String args[]) throws Exception
    byte[] send_data = new byte[1024];
    BufferedReader infromuser =
    new BufferedReader(new InputStreamReader(System.in));
    DatagramSocket client_socket = new DatagramSocket();
    InetAddress IPAddress = InetAddress.getByName("127.0.0.1");
    while (true)
    System.out.println("Type Something (q or Q to quit): ");
    String data = infromuser.readLine();
    if (data.equals("q") || data.equals("Q"))
    break;
    else
    send_data = data.getBytes();
    DatagramPacket send_packet = new DatagramPacket(send_data,
    send_data.length,
    IPAddress, 5000);
    client_socket.setTraficClass(34)
    client_socket.send(send_packet);
    client_socket.close();

    Hi,
    when I use setsockopt() API on linux machine. I am able to set the DSCP value in the UDP socket.
    I can see the visibility of DSCP marking on the wireShark.
    when I use the setTraficClass(34) API on linux machine. I am not able to set the DSCP value in the UDP socket. It
    always takes the default value as 0. I cant see the visibility of DSCP marking on the wireShark.
    setSockopt() API supported in Linux machine. Why not SetTrafficClass() API?.
    Is there any changes required to make the SetTrafficClass() API to work on Linux platform?.

  • Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    Hi All,
              I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues.
              Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use
              QualityOfService="Duplicate-okay".
              Error:
              <Oct 16, 2003 6:03:35 PM PDT> <Error> <MessagingBridge> <BEA-200015> <An error occurred in bridge "MQSeries WebLogic Bridge" during the transfer of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowledge(Ljavax/jms/MessageV).>
              <Oct 16, 2003 6:03:35 PM PDT> <Warning> <MessagingBridge> <BEA-200026> <Bridge "MQSeries WebLogic Bridge" encountered some problems in one of its adapters or underlying systems. It stopped transferring messages and will try to reconnect to the adapters shortly. (The exception caught was weblogic.jms.bridge.internal.MessagingBridgeException.)>
              Any suggestions or comments will be really appreciated.
              Thanks
              Suresh
              

    It is weird that nothing shows up in the log after you turned on the debug.
              Actually I knew somebody has run into the same problem once.
              The problem disappeared after he did something on the MQSeries side (like
              restart the system and something else). I did not know exactly what he did.
              I am not sure if that will help you but worth trying.
              If that does work either, I'd suggest that you contact the BEA Customer Support
              and somebody will look at it for you in depth.
              Thanks,
              Dongbo
              Suresh wrote:
              > Thanks for following up on this.
              >
              > This bridge works with 6.1 app server and we are trying to use the same stuff
              > for 8.1 app server too. No, we are not using XAConnectionFactory.
              >
              > Suresh
              >
              > Dongbo Xiao <[email protected]> wrote:
              > >Is there any chance that the JMS connection factory on the MQSeries
              > >side is a XAConnectionFactory?
              > >
              > >Suresh wrote:
              > >
              > >> I am using the debug options (-Dweblogic.Debug.DebugMessagingBridgeStartup="true"
              > >> -Dweblogic.Debug.DebugMessagingBridgeRuntime="true") in my stratip
              > >script,
              > >> but, thats the maximum stack trace I can get. I am using jms-notran-adp.rar
              > >for
              > >> both QOS. Bridge is working fine when I use Exactly-once and repeatedly
              > >getting
              > >> the same message when I use Duplicate_okay. My destination queue is
              > >not able to
              > >> ackowledge the messge to the sender.
              > >>
              > >> Here I am giving nodes from my config.xml
              > >>
              > >> <MessagingBridge AsyncEnabled="false" BatchInterval="40000"
              > >> Name="MQSeries WebLogic Bridge"
              > >> QualityOfService="Duplicate-okay"
              > >> SourceDestination="MQSeries Inbound Destination" Started="true"
              > >> TargetDestination="WebLogic Inbound Destination" Targets="myserver"/>
              > >> <JMSBridgeDestination
              > >> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
              > >> ConnectionFactoryJNDIName="jms.InboundMessageConnectionFactory"
              > >> ConnectionURL="t3://myserver:7001"
              > >> DestinationJNDIName="jms.InboundMessageQueue"
              > >> DestinationType="Queue"
              > >> InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
              > >> Name="WebLogic Inbound Destination" UserName="username" UserPassword="pwd"/>
              > >> <JMSBridgeDestination
              > >> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
              > >> ConnectionFactoryJNDIName="cn=MQ_BROKER_1,ou=inboundConnectionFactories,ou=mqseries,ou=jms,ou=Systems"
              > >> ConnectionURL="ldap://ldapServer:389/o=myroot"
              > >> DestinationJNDIName="cn=queue2,ou=queue,ou=mqseries,ou=jms,ou=Systems"
              > >> InitialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
              > >> Name="MQSeries Inbound Destination"
              > >> UserName="cn=admin,o=myroot" UserPassword="pwd"/>
              > >> <Application Name="jms-notran-adp"
              > >> Path="C:\bea\weblogic81\server\lib" StagingMode="nostage" TwoPhase="true">
              > >> <ConnectorComponent Name="jms-notran-adp"
              > >> Targets="rdoddapaneni3" URI="jms-notran-adp.rar"/>
              > >> </Application>
              > >>
              > >> Thanks
              > >>
              > >> Tom Barnes <[email protected]> wrote:
              > >> >By the way, if you are looking to improve performance, transactional
              > >> >mode may actually be the fastest. See the JMS Performance
              > >> >Guide white-paper on dev2dev for details.
              > >> >
              > >> >Suresh wrote:
              > >> >
              > >> >> Hi All,
              > >> >>
              > >> >> I am trying to create a bridge between Weblogic 8.1 App Server and
              > >> >IBM MQ Series 5.2 and i am facing issues.
              > >> >>
              > >> >> Bridge works fine if i use QualityOfService="Atmost-once" and i
              > >am
              > >> >getting following error when i use
              > >> >> QualityOfService="Duplicate-okay".
              > >> >>
              > >> >> Error:
              > >> >>
              > >> >> <Oct 16, 2003 6:03:35 PM PDT> <Error> <MessagingBridge> <BEA-200015>
              > >> ><An error occurred in bridge "MQSeries WebLogic Bridge" during the
              > >transfer
              > >> >of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowledge(Ljavax/jms/MessageV).>
              > >> >
              > >> >> <Oct 16, 2003 6:03:35 PM PDT> <Warning> <MessagingBridge> <BEA-200026>
              > >> ><Bridge "MQSeries WebLogic Bridge" encountered some problems in one
              > >> >of its adapters or underlying systems. It stopped transferring messages
              > >> >and will try to reconnect to the adapters shortly. (The exception
              > >caught
              > >> >was weblogic.jms.bridge.internal.MessagingBridgeException.)>
              > >> >>
              > >> >> Any suggestions or comments will be really appreciated.
              > >> >>
              > >> >> Thanks
              > >> >> Suresh
              > >> >
              > >
              

  • Numlock Problem with Sun Solaris 10 remote login into Linux

    Hi,
    I am using a Sun Solaris 10 system in a network. The Num lock key works fine when launching application locally on the the Solaris system.
    However, when I login from the Solaris 10 machines remotely into a Linux machine, set the display to my machine(i.e solaris 10) and then launch GUI applications, the Num Lock key does not work as expected.
    Can any of you help me with this issue ?? Is this a documented problem ?
    Is there any workaround for this issue ??
    Thanks in advance
    Regards,
    Philip

    dj_phil, any luck on finding the problem and/or solution here?
    thanks -12

  • Install jdk1.5 on linux machine

    Hi,
    I need to install jdk1.5 on linux machine.
    I downloaded jdk-1_5_0_10-linux-i586.bin to /users/sarayu/downloads and followed the below steps to install.
    a) chmod 777 jdk-1_5_0_10-linux-i586.bin
    b) In /users/sarayu/downloads directory I ran the binary file as
    ./jdk-1_5_0_10-linux-i586.bin
    I feel that jdk1.5 is not installed on linux machine and I didn't find the directory named as jdk-1_5_0_10.
    =======================
    For inquiries please contact: Sun Microsystems, Inc., 4150
    Network Circle, Santa Clara, California 95054, U.S.A.
    (LFI#143333/Form ID#011801)
    Do you agree to the above license terms? [yes or no]
    yes
    usage: tail [+/-[n][lbc][f]] [file]
    tail [+/-[n][l]r] [file]
    ./jdk-1_5_0_10-linux-i586.bin: test: argument expected
    =====================================================
    Please let me know how to resolve this one.
    Thanks ,
    Sarayu.
    Message was edited by:
    Sarayu_Geethajali

    This web page should help you diagnose and troubleshoot your installation related issue:
    http://java.sun.com/j2se/1.5.0/install-linux.html

  • Problem running application on JDev on linux machine

    i get the following exception when i try to run my application from JDev on my linux machine
    oracle.jsp.parse.JspParseException:
    /adflib/sdk/templateDefNoForm.jspx: Line # 175, <jsp:directive.include file="/sdk/requiredJavaScript.jspx" xmlns:jsp="http://java.sun.com/JSP/Page"/>
    Error: Include file not found: /sdk/requiredJavaScript.jspx
    Can I do something to get rid of it?

    Confirmed:
    I'm seeing intermittent IOExceptions with beta1 and beta2. These never happened in Java 1.4.2.
    There are no stack traces available on the server (tomcat logs + jnlpDownloadServlet.log).
    All the client sees is:
    An error occurred while launching/running the application.
    Title: ScheduleWorldLocalhost
    Vendor: Web Service Solutions, Inc.
    Category: Download Error
    Unable to load resource: http://localhost/sw/ScheduleWorldLocalhost.jnlp
    Exception:
    JNLPException[category: Download Error : Exception: java.io.IOException: Stream closed. : LaunchDesc: null ]
    at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(DownloadProtocol.java:425)
    at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:602)
    at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(DownloadProtocol.java:684)
    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(LaunchDownload.java:145)
    at com.sun.javaws.Launcher.downloadResources(Launcher.java:946)
    at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:335)
    at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
    at com.sun.javaws.Launcher.run(Launcher.java:165)
    at java.lang.Thread.run(Thread.java:595)

  • Applet unable to connect to a remote linux machine

    I have an applet running on my system. There is a server running on the linux machine. while trying to connect to this server from my applet the following exception is obtained.
    java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.20.244:5222 connect,resolve)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkConnect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.jabber.applet.connection.ContinuousConnection.connect(ContinuousConnection.java:148)
         at org.jabber.applet.communication.JabberComm.connect(JabberComm.java:129)
         at org.jabber.applet.JabberApplet.logonUser(JabberApplet.java:1016)
         at org.jabber.applet.JabberApplet.logonDialog(JabberApplet.java:645)
         at org.jabber.applet.JabberApplet.logonDialog(JabberApplet.java:633)
         at org.jabber.applet.JabberApplet.init(JabberApplet.java:407)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    from the applet can i connect to the remote server?
    how could the connection be obtained
    thanks in advance
    zeta

    There could be compatibility issues. Refer to "WebLogic Server Compatibility".
    Link: [http://download.oracle.com/docs/cd/E12839_01/web.1111/e14529/compatibility.htm#INRMP118]
    Are you using a JMS bridge between the two domains?
    Edited by: Manish Chellappan on Sep 3, 2009 3:35 PM

  • 'java': "Could not reserve enough space on heap" on 48G Linux machine

    I have installed the 64bit version of jdk-1.6.0-17 from java.sun.com on my RedHat Linux machine with 48G internal memory.
    All the java commands return :
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    strace shows that java is trying to allocate 25% of my memory, ie 12G, and my virtual memory limit is 6G.
    The 32bit 1.6.0-16 did not expose this behaviour. I haven't tried the 32bit version of 1.6.0-17, sorry, but I do need those 64 bits. And I haven't tried the 64bit 1.6.0-16 either, should I?
    After finally finding out how to pass -Xmx4096M to jar,javah,javac,java many programs compile fine, but when I compile an app (containing main):
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    at com.sun.tools.javac.util.ListBuffer.append(ListBuffer.java:110)
    at com.sun.tools.javac.util.ListBuffer.appendList(ListBuffer.java:120)
    at com.sun.tools.javac.parser.Parser.classOrInterfaceBody(Parser.java:2408)
    at com.sun.tools.javac.parser.Parser.classDeclaration(Parser.java:2253)
    at com.sun.tools.javac.parser.Parser.classOrInterfaceOrEnumDeclaration(Parser.java:2191)
    at com.sun.tools.javac.parser.Parser.typeDeclaration(Parser.java:2180)
    at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java:2126)
    at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:509)
    at com.sun.tools.javac.main.JavaCompiler.complete(JavaCompiler.java:646)
    at com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1869)
    at com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1777)
    at com.sun.tools.javac.code.Symbol.complete(Symbol.java:386)
    at com.sun.tools.javac.code.Symbol$ClassSymbol.complete(Symbol.java:758)
    at com.sun.tools.javac.jvm.ClassReader.loadClass(ClassReader.java:1951)
    at com.sun.tools.javac.comp.Resolve.loadClass(Resolve.java:842)
    at com.sun.tools.javac.comp.Resolve.findGlobalType(Resolve.java:901)
    at com.sun.tools.javac.comp.Resolve.findType(Resolve.java:961)
    at com.sun.tools.javac.comp.Resolve.findIdent(Resolve.java:986)
    at com.sun.tools.javac.comp.Resolve.resolveIdent(Resolve.java:1162)
    at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:1714)
    at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1547)
    at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:360)
    at com.sun.tools.javac.comp.Attr.attribType(Attr.java:390)
    at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:607)
    at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:691)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    at com.sun.tools.javac.comp.MemberEnter.signature(MemberEnter.java:350)
    at com.sun.tools.javac.comp.MemberEnter.visitMethodDef(MemberEnter.java:560)
    at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:639)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:387)
    at com.sun.tools.javac.comp.MemberEnter.memberEnter(MemberEnter.java:399)
    at com.sun.tools.javac.comp.MemberEnter.finishClass(MemberEnter.java:410)
    make: *** [Sample.class] Error 3
    Running without the 6G limit and setting Xmx12000M doesn't help.
    I hope someone can shed some light into what's going on here. Why on earth would Java think it needs 12G memory to run? And why, when it gets it, is it still not enough?
    Thanks,
    Calle

    tschodt wrote:
    Cramgo wrote:
    strace shows that java is trying to allocate 25% of my memory, ie 12G, and my virtual memory limit is 6G.Maybe you have found a bug, the default max heap size calculation is supposed to cap it at 1G.
    [http://java.sun.com/performance/reference/whitepapers/tuning.html#section4.1.1]
    So should I report it somewhere or what?
    After finally finding out how to pass -Xmx4096M to jar,javah,javac,java many programs compile fine
    Are you setting one of [_JAVA_OPTIONS|http://java.sun.com/j2se/1.5.0/docs/guide/2d/flags.html] or [JAVA_TOOLS_OPTIONS|http://java.sun.com/javase/6/docs/platform/jvmti/jvmti.html#tooloptions] for all shells?
    No, passing -Xmx4096m to java, and -J-Xmx4096m to javac, javah and jar. Is JAVA_OPTIONS or JAVA_TOOLS_OPTIONS better, how do I use those?
    but when I compile an app (containing main):
    The system is out of resources.
    Consult the following stack trace for details.
    java.lang.OutOfMemoryError: Java heap space
    make: *** [Sample.class] Error 3Running without the 6G limit and setting Xmx12000M doesn't help.Forgot to specify -Xms and-Xmx?Promise not to laugh. Seems like I somehow got rid of that m.... running with a heap size of 12000 bytes might be a bit sparse, admittedly. ;) Caught it when I added -Xms...
    I hope someone can shed some light into what's going on here. Why on earth would Java think it needs 12G memory to run? And why, when it gets it, is it still not enough?OK so I now can compile again, great. Would be lovely to get rid of the -Xmx but I can live with that...

  • Connection from SAP 4.0B System to IBM MQ Series

    Hi
    is it possible to connect <b>SAP 4.0B</b> System with <b>IBM MQ Series 6.0</b>,is the connection supported by SAP 4.0B?
    If supported I am confused with what is the <b>RFC Destination</b> to be used
    is it <b>R/3 Connections</b> or <b>TCP/IP connections</b>
    Thanks in advance
    Warm regards
    Rajasekhar

    Hi Anup
    Thanku for your valuable input, here in the TCP/IP connections can you please suggest what are the
    <b>ACTIVATION TYPE</b> to be used there are 4 radio buttons, is it the
    <b>Registered Server Program</b> OR
    <b>Start On Application server</b>OR
    <b>Start on Explicit Host</b> OR
    <b>Start on Front End Work Station</b>
    if it is the registered server program what are the values to be used for <b>PROGRAM ID</b>
    is it required to make any changes in <b>SAPRFC INI File</b>     
    Thanks in advance
    Warm regards
    Rajasekhar

  • Relative path for Download directory folder.I created a firefox profile and i wanted to use this profile in multiple machines.I wanted to use a relative path for download directory with respect to the profile folder.I need this on Linux machines

    I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
    I need to have a relative path to my download directory with respect to the profile folder.
    Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??

    That is not a practically empty xinitrc - that file only needs one line: exec WM.  Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
    Is slim involved?  Probably.  That is the source of many problems.  But to start narrowing this down, I have 3 suggestions:
    1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
    2) at a tty in runlevel 3 use "xinit" instead of "startx".  Startx is fine most of the time, but it is essentially just a complex wrapper for xinit.  That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult.  So for now just use a vanilla 'xinit'.
    3) remove dbus-launch from your exec line in xinitrc.  This is done by console-kit so it is redundant and potentially problematic.  Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them.  Just make that line "exec openbox-session"
    Edit: adding one more:
    4) temporarily switch out openbox-session for openbox.  I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
    Last edited by Trilby (2012-10-03 17:30:36)

  • How to bind an IIS to the enterprise portal installed on a linux machine

    Dear all,
    I am very new to the topic of Enterprise Portal.
    Our intention is, to develop .NET IViews and deploy them in the Enterprise Portal.
    The Enterprise Portal Server is set up on a linux machine.
    The Guy who did install the Portal Server, has no idea how to "integrate" the Microsoft IIS to the Portal.
    After deploying my .net Component, i tried to view this component in the portal (by right clicking the mouse on the Component in in the .NET Solutions Explorer).
    This gives me the following error:
    Portal Runtime Error
    An exception occured while processing a request for:
    iView:N/A
    Component Name: N/A
    Could not find portal application com.sap.portal.dotnet.framework.
    Exception id: 02:06.......
    See the details for the exception ID in the log file
    I think that this has something in common with integrating the IIS on the Linux Machine, and maybe additionaly installing the pdk.net on the IIS webserver machine which should be used.
    Thank you for your help.
    Regards

    Hi,
    Welcome to the world of Enterprise portal
    Seems to me like you are trying to use the PDK for .NET. If so - Please read the overview section in the documentation to get a general idea of how it works (for example - IIS is not used at all!).
    See the Visual Studio integrated help or click this https://media.sdn.sap.com/html/submitted_docs/dotnet/index.htm
    there go to "Getting Started" and mostly "Overview".
    Anyway, It seems like the problem is that you didn't deploy the 2 required SDA's to the portal. You should also take a look at the "installation and configuration" guide. Download it here: https://www.sdn.sap.com/sdn/developerareas/dotnet.sdn?contenttype=url&content=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/pdk for .net administrator guides.zip
    Good luck,
    Ofer

  • Unable to launch application on Linux machine

    Hi,
    We have a Java based product developed as desktop application. This product has a tree structure built-in. and while connecting to few of the nodes, we are getting the following error: "*Cannot write XdndAware property*".
    Note:
    1. We are running the application on a Linux machine.
    2. We are using JNLP to launch the application.
    3. Only few nodes are causing this issue.
    4. Tried putting -DsuppressSwingDropSupport=true in JNLP file, but no progress.
    5. This happens on JDK1.6.0_23 and above
    Can someone help us to resolve this issue.
    Thank you.
    Regards,
    KNP

    Let me explain my current requirement.
    1. All the client jars should be downloaded every time I click a link (as of now its a JNLP link, but this can change).
    2. And this should be platform independent
    3. I stated in the earlier description I should be able to pass arguments (suppressSwingDropSupport, etc) to VM to resolve the actual issue.
    Can someone please suggest any other approach?
    I have one more generic question: Can I write my own JNLP defining XSD & DTD, so that it can accept all the arguments whichever I can pass to the VM? If so, how to do this?
    Please respond

  • A few questions re: installing 10g on a virtual linux machine

    I am in the process of building up a virtual linux box on my XP laptop and have a few questions regarding the networking setup. Purpose is to have a sandbox *nix setup at my fingertips. 
    Here's what I have so far:
    Dell Latitude laptop running Win XP. This is a DHCP machine.
    Installed VMWare Player
    Created virtual machine with OEL 4.8, with NAT network config
    So far, so good. Next step is to install 10.2.0.4 EE on the virtual Linux machine. When installing 10.2.0.4 directly on the XP system, of course I had to install a loopback adapter to provide a fixed IP address for Oracle, all well documented in the installation guide. While it is my understanding that the loopback adapter, as installed and configured on Windows, is primarily a Windows issue, I would expect something of the same fundamental under Linux insomuch as it is still a dhcp machine. However, when checking the relevant installation guide, the section on networking considerations and DHCP simply gave a two-paragraph discussion of what DHCP was. I found no discussion on how to deal with it in a *nix environment.
    This particular vmware setup gives me a choice of 3 network configs - Bridged , NAT, or host-only (private vitrual net shared only with the host) I am currently configured to use NAT because I need outside connectivity (to yum server, etc) but do not want an additional device (ip address) on the real network. I'm guessing I could use host-only most of the time and when I need to access the internet, shut down the db and switch back to NAT.
    This is all new territory for me, so I guess I'm looking at some 'best practices' advice as much as anything.

    Ed,
    I would encourage going for OEL 5u2 or 5u3 and including the oracle-validated package. It makes sure you have all the prerequisites for 10gR2 and makes life much easier.
    I set up dozens of these machines for Oracle U classes. What I started with originally is 2 virtual NIC - a NAT and a Bridged. The Bridged allowed me to access the outside world at any time and was assigned using DHCP from the local network. The NAT I'd configure manually as a static IP, and I used it primarily to provide a second 'virtual network' so the classroom machines could communicate with each other.
    In my latest iteration, I've dropped back to a single Bridged NIC based on DHCP. For Oracle install purposes, I
    - pick a hostname (myhost.oraclass.com)
    - switch to static IP (I've scripted it - edits /etc/sysconfig/network-scripts/ifcfg-eth0 and /etc/syscfg/network : hostname) but using the network GUI tool is ok as well
    - I choose the static to macth the DHCP address assigned
    - inject a single line into the /etc/hosts with the new static address, the hostname, and a hostname that I want to publish
    192.168.4.21 myhost.oraclass.com orahost student21.oraclass.com student21
    - set a global env variable (/etc/profile.d/oraprofile.sh (export HOSTNAME=myhost.oraclass.com)
    and after installing Oracle, I switch back to DHCP. Then if I want to travel, I can easily switch the 'static' address as often as I want (also scripted) to match the IP addr the 'host DHCP' provides.
    I've used the NAT. It hands out a DHCP address and usually it works for me (and Oracle) simply by making it static (as above) and letting VMWare container handle it. But every once in a while it seems to 'jam up' and I'd need to fight with it. So I've converted to bridged .. with the help of some scripts I've written.

  • How to Create and Use MQ Adapter(IBM MQ Series) in BPEL

    Hi,
    I am using Oracle SOA Suite 10.1.3.3.
    I am very new to the Usage of MQ Adapter(IBM MQ Series) in BPEL.
    what is the procedure to create our own Message Queues(i.e., MQ Series)?
    It would be great if anybody share the idea of how to create the MQ and usage of same in BPEL Workflows.
    is it mandatory to install websphere to create the MQ?
    If possible,share the related docs for the same.
    Any suggestions/views will be great.
    Cheers,
    Balaji
    Edited by: user580285 on Nov 4, 2008 5:44 AM

    Hi,
    Kindly refer to the BPEL Dev Guide and in that please refer to the Appendix which contains MQ Series Adapter.
    For this you need to provide the details like: -
    MQ Server Host, port, queue manager name etc. Also you need not to install IBM Websphere MQ, you can work on it remotely as well.

Maybe you are looking for

  • 9360 not refreshing when lock button pressed.

    When I press the button at the top of my phone to lock it and then press it again to unlock it sometime later the phone time remains at the same time I locked it at for about 3 seconds and I also can't receive bbm messages etc whilst the phone is loc

  • Value Mapping , values need to from R/3

    Hi all, I need to do Value Mapping, Need to get data from R/3 and pupulate in Vale mapping Table in PI, do i need to do come coding in R/3 in Java or ABAP to fetch data casue i have done the same away in some Blog Where service interface is ValueMapp

  • HT5787 Is my password for my icloud e-mail the same as my Apple ID

    I have an icloud e-mail but I forgot my e-mail password. How do I remedy the situation? My password for my icloud email is different from my Apple ID.

  • Fade out entire text

    Instead of fading in or out each letter individually in a linnear fashion, how do I control it so that certain groups of letters can fade in or out together? s

  • Mail 2.1.3 stopped downloading email

    Mail was working fine until after I downloaded latest "Software update" items today (except iTunes). Now it still sends OK, but it no longer downloads incoming email. There IS incoming mail on my ISP's server (discovered via ISP web site mail), but w