Create InitialContext error under jre1.5

I have a JMS client application need to run under the jre1.5 environment. I put the wljmsclient.jar and wlclient.jar into my application's . but throw java.lang.NoClassDefFoundError: com/sun/corba/se/connection/ORBSocketFactory on create InitialContext. How I can do?
Hashtable props = new Hashtable();
props.put(InitialContext.INITIAL_CONTEXT_FACTORY, getInitContextFactoryName());
props.put(InitialContext.PROVIDER_URL, getProviderURL());
InitialContext initialContext = new InitialContext(props); //here throw a NoClassDefFoundError

z l <[email protected]> writes:
Its not supported under 8.1. You need to use the 9.0 client which you can get by downloading the 9.0 beta.
andy
I have a JMS client application need to run under the jre1.5 environment. I put the wljmsclient.jar and wlclient.jar into my application's . but throw java.lang.NoClassDefFoundError: com/sun/corba/se/connection/ORBSocketFactory on create InitialContext. How I can do?
Hashtable props = new Hashtable();
props.put(InitialContext.INITIAL_CONTEXT_FACTORY, getInitContextFactoryName());
props.put(InitialContext.PROVIDER_URL, getProviderURL());
InitialContext initialContext = new InitialContext(props); //here throw a NoClassDefFoundError--

Similar Messages

  • While creating the networks under WBS it's giving error

    Hi experts,
    i am not able to create the network under WBS element. while creating the Networks it's asking Scheduling type under scheluling tab. I tryed giving with backwards and forwards options, after press the enter it's says"The factory calendar  does not exist (contact system administrator)". I am facing this error..
    Could anyone please help on this....
    Many Thanks in advance
    Srinivas

    Hi,
    Check if you have maintained a factory calendar in the following;
    1. OPSA - For project profile
    2. SPRO --> Enterprise structure --> Defintion -> Logistics General -> Define, Copy, Check plant. Check the factory calendar for the plant.
    Ensure the calendar is created and defined in your system.
    Also, maintain scheduling type in OPU6 T-code for the network.
    Regards,
    Kabir

  • Error in bulding a DC created in WTS under Local Development

    Hi,
      I've created a DC under Local Development in WTS.But when I tried to build it,I am getting the error "No javac found for JDK home path 'C:\Program Files\Java'".
    Please help me to get the soln. for the above problem.
    Thanks in advance.

    Hi Divya,
    You could try with the Console Administrator. Open a command prompt and execute:
    telnet localhost 50008
    [login]
    > jump 0
    > startservice webdynpro
    Now you can check the status like this:
    > lss | grep webdynpro
    If it is still stopped check /usr/sap/<SID>/<instance>/j2ee/cluster/server<N>/log/defaultTrace.trc and /usr/sap/<SID>/<instance>/j2ee/cluster/server<N>/log/system/server.log for errors.
    HTH,
    Vladimir
    PS: Please consider rewarding points for helpful answers.

  • Unable to create a tablespace under user scott despite of many privileges

    Hi,
    I use user scott to test a rdf database using oracle 11.2.0.2 contained in oracle developer days in my oracle linux enterprise guest system. However, I am unable to create a tablespace under scott. The error message says insufficient privilege. Actually, I granted all privilege in Roles, System Privileges, Object Privileges to scott in the OEM panel. I also granted resource, create session, create table, unlimited tablespace to scott in sqlplus as well. However, I am still unable to create the tablespace. The command I used for creating tablespace is below:
    create tablespace rdf_tblspace
    datafile '\home\oracle\app\oracle\oradata\rdf_tblspace.dat' size 14m reuse
    autoextend on next 10m maxsize unlimited
    segment space management auto;
    Error at Command Line:1 Column:1
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    Any suggestions will be much appreciated. Thanks a lot in advance.

    user571093 wrote:
    Hi,
    Thanks for the helpful info. Can you pls show me how to grant REATE TABLESPACE system privilege to scott? The System Priveleges in OEM is not enough for scott? Thanks a lot.You should first go through [url http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9013.htm] this  This link contains details of GRANT command.
    create tablespace is a system privilage granted to a user by the DBA in below way:
    grant create tablespace to scott;

  • Forms compilation Errors under Linux

    Hello,
    I have a main form called Tbdoctrk.fmb.
    This forms compiles and runs perfectly through Oracle 9i iDS.
    When transfering the fmb file under Linux, and attempting to recompile using the f90genm.sh utility, I get the following compilation errors:
    FRM-18108: Failed to load the following objects.
    FRM-30436: Parent window not specified for canvas.View Canvas H_TOOLBAR
    FRM-30041: Position of item places it off of canvas.
    Item: BUTTON_HELP
    Block: VARIABLE
    Form: TBDOCTRK
    FRM: Unable to adjust form for output.
    ====
    I noticed that most of the object that failed to load (1 data block object, 1 canvas and a number of property classes and visual attributes) are contained in a file called TOOLBAR.fmb.
    The TOOLBAR.fmb file compiles without errors under Linux/WIndows + is located in the same folder as the Tbdoctrk.fmb file.
    1) How can I resolve this issue ?
    PT
    PS: I tried renaming the fmb files to upper/lower case without success.

    Hello,
    My main form called Tbdoctrk.fmb in turn calls a form called Pre_bord.fmb in a Program Unit.
    Most but not all Class and Value Attributes are included in a file called toolbar.fmb. I did not find any specific reference to the toolbar.fmb file.
    However, at compile time, I find that those objects are not loaded.
    1) In what part of the main form Tbdoctrk.fmb should I find any such reference to the toolbar.fmb file ?
    2) How should I create those symbolic links under Linux ?
    PT

  • Exception trying to create InitialContext

    I am using the following code for trying to post a message to JMS queue using JDeveloper 11.1.1.5. Sometimes i get exception at the step of creating InitialContext.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
    env.put(Context.PROVIDER_URL,"t3://xxxx:yyyy");
    env.put(Context.SECURITY_PRINCIPAL,"username");
    env.put(Context.SECURITY_CREDENTIALS,"password");
    Context jndiContext = null;
    try {
    jndiContext = new InitialContext(env);
    } catch (NamingException e) {
    System.out.println("Could not create JNDI API context: " +
    e.toString());
    System.exit(1);
    When i run the above code i get the following exception(seen in log window)
    Could not create JNDI API context: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: ]
    When i checked the request and response using http analyzer the response is as follows.
    JDeveloper HTTP Analyzer encountered an error retrieving:
    CONNECT https://140.84.233.133:8001 HTTP/1.0
    An exception occurred while retrieving the response for https://140.84.233.133:8001.
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1293)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:65)
         at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:50)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpMessageBase.readLine(HttpMessageBase.java:658)
         at oracle.jdevimpl.webservices.tcpmonitor.model.HttpRequest.read(HttpRequest.java:327)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.getResponse(ConnectionHandler.java:405)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:331)
    Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
         at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523)
         at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:798)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
         at com.sun.net.ssl.internal.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:1916)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateSSL(ConnectionHandler.java:707)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.negotiateForwardedSSLConnection(ConnectionHandler.java:672)
         at oracle.jdevimpl.webservices.tcpmonitor.ConnectionHandler.run(ConnectionHandler.java:311)
    I have included weblogic.jar,wlclient.jar files in project libraries. The server is up and its listening port is running fine. Should i make any changes to my project settings?
    Any help is greatly appreciated.
    Thanks
    Sai Ram
    Edited by: 902262 on Mar 20, 2012 9:28 PM
    Edited by: 902262 on Mar 20, 2012 9:45 PM
    Edited by: 902262 on Mar 28, 2012 1:59 AM

    The explanation is probably that the weblogic.jar and wlclient.jar are not meant to be compatible. For a description of different client options, see [WebLogic Server Client Types and Features|http://docs.oracle.com/cd/E17904_01/web.1111/e13717/basics.htm#SACLT126]. I highly recommend using the "thin t3 client" option for most use cases.
    HTH,
    Tom

  • Cannot Create Instance Error

    I am using 11gR1, I am trying to run an application created out of a project template. I was able to successfully deploy both the composite and UI, When I login as initiator and click on the process link I am getting "cannot create instance error".
    In EM, the Instance shows that its been faulted and has the following message.
    ORABPEL-10513 Cannot get application roles from application identified by "{0}". An error occured while getting application roles from application identified by "OracleBPMProcessRolesApp". The underlying APIs threw an exception. Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    All the organization roles have been created properly. Can anyone please tell me what could be the cause of this error. Thanks
    Venkat

    Hey Venkat,
    Do you have any sample where you work with BPM template (MDS)...?if yes, could you share....those...?
    I am new to 11g..in learning phase....it would be very nice if you could share some samples.....
    Rgds,
    Biltu...

  • Can't Create Bean Error

    I modified the numguess example that comes with tomcat but I get a "can't create bean" error message when I call my jsp file. If anyone can see what I'm doing wrong or suggest ways to discover the problem I'd appreciate it.
    My modified jsp:
    <!--
    Copyright (c) 1999 The Apache Software Foundation. All rights
    reserved.
    Number Guess Game
    Written by Jason Hunter, CTO, K&A Software
    http://www.servlets.com
    -->
    <%@ page import = "num.NumberGuessBean" %>
    <jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session"/>
    <jsp:setProperty name="numguess" property="*"/>
    <html>
    <head><title>Number Guess</title></head>
    <body bgcolor="white">
    <font size=4>
    <% if (numguess.getSuccess()) { %>
    Congratulations! You got it.
    And after just <%= numguess.getNumGuesses() %> tries.<p>
    <% numguess.reset(); %>
    Care to try again?
    <% } else if (numguess.getNumGuesses() == 0) { %>
    Welcome to the Number Guess game.<p>
    Play with default limits ( a number between 0 and 100)<p>
    or enter upper and lower limits.<p>
    <form method=get>
    Play with defaults?: <input type=radio name=default value="yes">Yes
    <input type=radio name=default value="no">No
    <\form>
    <% if (numguess.getRadio().equals("no")) { %>
    <form method=get>
    Enter upper limit:<input type=text name=upperLimit>
    Enter lower limit:<input type=text name=lowerLimit>
    <\form>
    <% numguess.reset(); %>
    <% } %>
    <form method=get>
    What's your guess? <input type=text name=guess>
    <input type=submit value="Submit">
    </form>
    <% } else { %>
    Good guess, but nope. Try <b><%= numguess.getHint() %></b>.
    You have made <%= numguess.getNumGuesses() %> guesses.<p>
    I'm thinking of a number between <jsp:getProperty name="numguess" property="lowerLimit"/> and <jsp:getProperty name="numguess" property="upperLimit"/>.<p>
    <form method=get>
    What's your guess? <input type=text name=guess>
    <input type=submit value="Submit">
    </form>
    <% } %>
    </font>
    </body>
    </html>
    and the modified bean:
    * ====================================================================
    * The Apache Software License, Version 1.1
    * Copyright (c) 1999 The Apache Software Foundation. All rights
    * reserved.
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * 1. Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * 2. Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * 3. The end-user documentation included with the redistribution, if
    * any, must include the following acknowlegement:
    * "This product includes software developed by the
    * Apache Software Foundation (http://www.apache.org/)."
    * Alternately, this acknowlegement may appear in the software itself,
    * if and wherever such third-party acknowlegements normally appear.
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    * Foundation" must not be used to endorse or promote products derived
    * from this software without prior written permission. For written
    * permission, please contact [email protected].
    * 5. Products derived from this software may not be called "Apache"
    * nor may "Apache" appear in their names without prior written
    * permission of the Apache Group.
    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
    * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    * SUCH DAMAGE.
    * ====================================================================
    * This software consists of voluntary contributions made by many
    * individuals on behalf of the Apache Software Foundation. For more
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * Originally written by Jason Hunter, http://www.servlets.com.
    package num;
    import java.util.*;
    public class NumberGuessBean {
    int answer;
    boolean success;
    String hint;
    int numGuesses;
    String radiochoice;
    int lowerLimit=0;
    int upperLimit=100;
    String error;
    public NumberGuessBean() {
    reset();
    public void setGuess(String guess) {
    numGuesses++;
    int g;
    try {
    g = Integer.parseInt(guess);
    catch (NumberFormatException e) {
    g = -1;
    if (g == answer) {
    success = true;
    else if (g == -1) {
    hint = "a number next time";
    else if (g < answer) {
    hint = "higher";
    else if (g > answer) {
    hint = "lower";
    public void setRadio(String s) {
         radiochoice=s;
    public String getRadio() {
         return radiochoice;
    public void setLowerLimit( int lowerLimit) {
         this.lowerLimit=lowerLimit;
    public int getLowerLimit() {
         return lowerLimit;
    public void setUpperLimit(int upperLimit) {
         this.upperLimit=upperLimit;
    public int getUpperLimit() {
         return upperLimit;
    public boolean getSuccess() {
    return success;
    public String getHint() {
    return "" + hint;
    public String getError() {
         return ""+error;
    public int getNumGuesses() {
    return numGuesses;
    public void reset() {
         if (getRadio().equals("yes")) {
              answer = (int)(Math.random()*100);
         else {
              int i;
              i=(int)(Math.random()*upperLimit);
              if (i<lowerLimit) {
                   i=i+lowerLimit;
              answer=i;
         success = false;
    numGuesses = 0;

    implement synchronizable and createa constructor, then check it once again.

  • How to create Custom error message in SharePoint 2013

    Hi,
    I have created one document library.On uploading the same file SharePoint throws error as"server error.The same file exit".
    But my requirement is not to show the SharePoint default message.I wanted to create custom message and show the pop up for the same file upload.
    Is there any way to create any custom error page or can I manipulate SharePoint default error page?
    Any help?
    Thank you

    Hi,
    You can create an event receiver to set the validation error messages.  One such post to redirect the custom error page is as follows
    https://social.msdn.microsoft.com/Forums/office/en-US/2bc851f6-e04b-4550-b87f-9b874a290482/sharepoint-event-receivers-and-custom-error-messages?forum=sharepointdevelopmentlegacy
    Create custom error page for SharePoint event receiver
    Please mark it answered, if your problem resolved or helpful.

  • Why does iTunes create disk errors when deleting movie files?

    I use a Macbook Pro, OSX 10.7.5. When I delete movie file from my iTunes library I get disk errors. I need to option boot select the recovery disk and repair the disk.  Deleting a movie file I have placed on my desktop with finder does not create any errors.  Most of the movie files are created as .m4v movies. They all play just fine with my Apple TV. I have tried turning off the Apple TV and rebooting before I delee files but nothing seems to work.
    Any ideas?
    Lance

    If you let iTunes organise your media folders then that is the way it is. An option would be to change the Media Kind to TV Show which would gather them togther in one folder, but in a different part of the library.
    tt2

  • I was setting up my mothers macbook, During original set up I created a new apple ID, and she already has one, how do I delete the apple ID I created in error?

    Purchased a Macbook for my Mother as I do not want to use another windows product. I need to delete a newly created Apple Id I created in error forgetting she already had a apple ID, any suggestions?

    This link may help:
    https://www.apple.com/support/appleid/manage/
    What I would do is reinstall the OSX and then use the intended apple ID so that it is associated with that Macbook.
    Ciao.

  • How to create an error message which doesn't allow submitting form ?

    Hi,
    is there a way to create an error message so that the user can't submit the form until the error is solved?
    On my form I am doing some validation checks when the user hits the button to submit the form via e-mail.
    So if something on the form isn't filleld out correctly the user gets an error message. But after the user has clicked ok on the error message he can still send the form.
    So I am searching for a way that he can only submit the form if he has resolved the problems.
    I tried with
    xfa.host.messageBox("material is not valid!" , "error", 0);
    but this only shows the error messagen and doesn't prevent the next step.
    Can I solve this with using a different type of error message, or user different parameters at the messageBox?
    Thanks for your help.
    Martin

    hi Martin Beyer
    try like this.
    in submit button CLICK event u have to right validation for fields which u want to check.
    example :  here iam validating two varibles.
    var sub=0;
    if(sub==0)
    if(fields2.item(i).rawValue == null && fields.item(i).rawValue != null)
         sub++;
         xfa.host.messageBox("Status of Achievement is Mandatory");
         xfa.host.setFocus(fields2.item(i));
         break;
    if(sub==0)
              var Repe = xfa.host.messageBox("Do you want to Submit now???", "Warning", 2, 2);
              if (Repe == 4)
                   sub=0;
              else
                   sub++;                              
    hope it will help you.

  • Ipod nano creates an error when connected and shuts itunes down

    When I connect my ipod to the pc using the USB lead it opens itunes up, shows it is connected and then creates an error which then closes down itunes. I have tried the reset and re install etc but the same thing happens. My brothers ipod which is the same has no problems. Can any one help please.

    Same thing happens to my daughter's. I've actually sent the iPod back to Apple for diagnosis - all good. I've uninstalled and reinstalled drivers - all good.
    Someone please help !!!!

  • "Unable to create volume" error when exporting

    Exporting photos from iPhoto gives me the "unable to create Volume" error. iPhoto and Mountain Lion are the latest versions, and most recent updates. Library of 30,000 images is currently on an NAS. Destination drive is formatted Mac OSX Extended (Journaled, Encrypted).
    Library has already been rebuilt. No change.
    PNGs have been deleted from library. No change.
    Tried batch re-titling every image in the library library, and exporting so that exported files were named according to title, followed by a number--thus no two files would have the same name. No change.
    Any suggestions?

    Library of 30,000 images is currently on an NAS.
    Likely cause right there.
    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, saving edits and sharing the photos.
    Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder Window should open with the file selected. Does it?

  • How can you create a layer under a table?

    If anyone knows how- or can send me a linkon how to create a
    layer under a table.
    Great help!!
    ty

    Except that z-index of 2 will appear HIGHER in the
    z-coordinate than a
    z-index of 1. But we still don't know if that's what OP meant
    by "under".
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "L. Simon" <[email protected]> wrote in
    message
    news:fbpj5r$89p$[email protected]..
    > This would be my first attempt:
    >
    quote:
    > <div style="z-index:1">
    > .... table content...
    > </div>
    >
    > <div id="stuffunderatable" style="z-index:2">
    > ... whatever you want under the table>
    > </div>
    >
    > <style type="text/css">
    > #stuffunderatable {
    > position:absolute;
    > top:45px;
    > left:45px;}
    > </style>
    >
    > Note that the 45px numbers are out of thin air, and
    you'll need to adjust
    > it
    > to get the layer to appear where you want on your page.
    >

Maybe you are looking for