Cannot access class javax.jms.TextMessage;

Hi,
I am trying to run standard page from JDev and i am getting below error from EOImpl.java.
" cannot access class javax.jms.TextMessage; file javax\jms\TextMessage.class not found "
I tried to import javax/jms dir to my local machine but i could not find jms directory under javax in OS. Can you guys pls help me to resolve this.
Thanks,

Hi Scott,
Not sure wht you wanted me to try...
I have something like this in the code which is causing that error..
BusinessEvent businessevent = new BusinessEvent(s1, s2);
businessevent.setData("Opportunity " + s2 + "updated");
ArrayList arraylist = new ArrayList(1);
arraylist.add(oadbtransaction);
businessevent.setObject(arraylist);
businessevent.setStringProperty("pLeadId", getLeadId().toString());
java.sql.Connection connection1 = oadbtransaction.getJdbcConnection();
businessevent.raise(connection1);
Its asking me to import jms..but ii could not find those files in Unix..is there anyway to import these files OR any other solution to fix this error?
Please help..

Similar Messages

  • Cannot access class javax.naming.Referenceable;

    Hi
    I am trying to create a connection pool and using the oracle.jdbc.pool.* in JavaBeans using JDeveloper 3.1.
    I am getting the following error.Unable to find the reason for this and the sun documentation says - no usage for this class.
    Error:
    cannot access class javax.naming.Referenceable; file javax/naming/Referenceable.class not found.
    Any help is greatly appreciated..
    thanks
    Yugandhar
    null

    You need to make sure $ORACLE_HOME/jdbc/lib/jndi.zip is on your classpath for this to work.

  • Cannot access class javax.sql.RowSet

    Hello everyone,
    I had a question about this error I am receiving "cannot access class.javax.sql.RowSet". I have put the RowSet.jar file into my jdk/jre/lib/ext directory and when I compile I recieve this error. Can Anyone help? Thanks!

    I think you need to add one (or more) of the available libraries to your project, in your project's settings dialog, but I'm unsure which. If you can't find the correct one, you can always add a newly created one, which holds a reference to your jar file.

  • Cannot access class javax.servlet

    I use Jdev version 10.1.2 and I try to import javax.servlet.ServletOutputStream but servlet can not be seen as part of javax. I think i need to add a classpath - but which one? Any suggestions.
    Thanks.
    Kristian Andersen

    Double click your project to go to the project properties and in the "Technology Scope" node - add the "java server pages (JSP) and Servlets" to your project.

  • Cannot access class javax.ejb.EJBHome

    I am working with JBuilder and it gives me this error when I try to make a servlet.
    Any ideas about what is going on ?

    Sorry for my message above, it belongs to another topic.
    What I wanted to say about your problem: I've had the same problem. I'm using JBuilder 6 and Borland Enterprise Server.
    What did I do: in JBuilder I went to Tools/Enterprise Setup... to the tab Application Servers. Here you can specify where you EJB Server is installed. JBuilder needs some information about the server you are using.
    When I did this, my problem was over. I hope also your problem.
    Greetz
    Rik

  • Where cannot i access class javax.servlet

    i dont kwon whta happend this: "OutputFilterBase.java": Error #: 302 : cannot access class javax.servlet.ServletResponse; java.io.IOException: class not found: class javax.servlet.ServletResponse at line 62, column 22
    please help me
    thanks

    You need a servlet engine for servlets. Like resin, tomcat etc. Then add it to classpath.
    Andreas

  • Cannot access class java.nio.ByteBuffer

    Hi All -
    I'm trying to compile a java sample code.
    I keep getting the error described in the subject line
    cannot access class java.nio.ByteBuffer; file java\nio\ByteBuffer.class not found
    I have un-ziped the java sdk 1.4.1 src.zip to a directory under c:\ and added the java\nio directory to the project setting and compile with jdk runtime 1.4.1 and yet get the same error....
    I've tried by redirecting to src.zip and didn't work either....
    I would appreciate your feedbacks and sorry for the lame question, consider it as a newcomer to Java world.
    thanks in advance

    You test it by running the following line....
    java java.nio.ByteBuffer
    If it says "main not found" then your problem has nothing to do with the java install nor the classpath. The code you are trying to compile is wrong.
    If it says class not found then you use this line next....
    java -version
    If this returns nothing then you are not using the Sun VM (you are using the MS one.) If it returns a version below 1.4 then your PATH statement is wrong (and you should uninstall all sun versions then reinstall.) You can fix the MS VM problem by altering the path so the java path is first.
    If it does say 1.4 then you need to uninstall and reinstall because something is messed up.

  • PDK 9.0.4 Error: cannot access class oracle.security.jazn.realm.RealmUser

    Dear Forum,
    we are developing portlets for Portal 3.0.9.8. We use the default JPDK version, that comes with the standalone Oracle OC4J 9.0.4 bundled with PDK.
    We want to improve our portlet by check the userid of the portal user. Therefore, we want to use oracle.portal.provider.v2.ProviderUser.getUser().getName()
    in a JSP.
    First - even before the method call - we included
    <%@ page import="oracle.portal.provider.v2.http.ServletProviderUser" %>
    But even this 1 statement gives in JDeveloper 9.0.4 with the libs pdkjava and ptlshare from the OC4J the following error:
    Error: cannot access class oracle.security.jazn.realm.RealmUser; file oracle\security\jazn\realm\RealmUser.class not found
    What is wrong here? What missing library we must include?
    Thank You in advance

    Problem solved. Need to include jazn.jar in project's lib-paths.

  • Cannot access class oracle.sql.BLOB;

    Hi,
    I am trying to save a .tif file into Oracle database. When I run the program in JDeveloper I get the following errors:
    Error(9,19): cannot access class oracle.sql.BLOB; file oracle\sql\BLOB.class not found
    Error(59,29): class BLOB not found in class mypackage1.ImageUpload
    package mypackage1;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.sql.*;
    import java.util.Properties;
    import oracle.sql.BLOB;
    Blob imgblob = rs.getBlob(1);
    OutputStream blobos = ((BLOB) imgblob).getBinaryOutputStream();
    ...................Any help is appreciated. Thanks

    What package do I need to include in my classpath for
    this. ThanksWhy don't you inspect your JAR files? Do you have WinZip? Open them with it and find the class.

  • Error: cannot access class oracle.security.jazn.realm.RealmUser

    Hi,
    I try to compile this simple jsp, which use jpdkv2, with jdeveloper 9i.
    But I obtain this error:
    Error: cannot access class oracle.security.jazn.realm.RealmUser; file oracle\security\jazn\realm\RealmUser.class not found
    Someone has an idea ?
    Source code of my jsp:
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@page import = "oracle.portal.provider.v2.render.PortletRenderRequest" %>
    <%@page import = "oracle.portal.provider.v2.http.HttpCommonConstants" %>
    <%
    PortletRenderRequest portletRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
    <TITLE>
    Hello World
    </TITLE>
    </HEAD>
    <BODY>
    <H2>
    The current time is:
    </H2>
    <P>
    <% out.println((new java.util.Date()).toString()); %>
    </P>
    <P>Hello: <%= portletRequest.getUser().getName() %></P>
    </BODY>
    </HTML>

    Please check if jazn.jar is available under your <YOUR_OC4J_PATH>\j2ee\home folder.
    This library files contains all the security related classes required by jpdkv2 providers.

  • "cannot access class netcape.plugin.Plugin"

    Hello!
    I made a project consisting in several Java files, in Jbuilder. The program involves the use og a netscape plugin (a 3D browser). It works perfectly on my computer at work.
    When I try tu run exactly the same project at home, i get the error message:
    "cannot access class netcape.plugin.Plugin;neither class nor source found for netscape.plugin.Plugin"
    Does anyone know what this is about? Please tell me how to solve this problem!
    Thank you!

    Hi,
    Is netscape installed on your computer at home?
    The netscape.plugin.Plugin class resides in java40.jar (for Netscape 4.7). Try including it into your classpath.
    Hope this helps,
    Kurt.

  • Cannot access class jclass.util.JCVector

    I need the libraries .
    Where can I get the libraries for my java application?.
    When I compile , I get this error:cannot access class jclass.util.JCVector.
    I have been looking for them in the sitraka home, but I haven�t
    found any.
    I have installed libraries for jclass.bwt. package but I imagine
    that it isn�t enough.
    Thanks alot-
    ras

    I dont know the class JCVector, but if you received the error message
    "cannot access class jclass.util.JCVector"
    It means that the class is there, but you cannot access.
    Why I cannot access if the class is there? - you should ask
    Problably the access permission of this class is not Public, it must be private or protected.
    The most common is the class is protected and it is in another package.
    So the JVM locate the class, but cannot access it from your current class, because the class you are trying to access is protected or private.
    Hope that i Helped
    JoseAugusto

  • CANNOT ACCESS CLASS JAVA....

    I use Jdevelopper 10.1.2 and I make a little application for authentication against users in a table (Account in HR schema).
    (see loginapp.zip)
    I don't understand why just one java file don't compile in my Workspace!!!!
    Help please!!!
    Luc

    LoginAction.jar
    --Error(13,23): cannot access class loginapp.model.AppModule; file
    loginapp\model\AppModule.class not found
    See below exemple
    ADF MODEL
    // in AccountViewImpl.java
    public boolean SofeValideUsager( String p_username,
    String p_password)
    setMaxFetchSize(1);
    setWhereClause("username = p_username and password = p_password");
    executeQuery();
    boolean p_valide = first() != null;
    setWhereClause(null);
    setWhereClauseParams(null);
    setMaxFetchSize(0);
    return p_valide;
    //in AccountView.java
    public interface AccountView extends ViewObject
    boolean SofeValideUsager(String p_username, String p_password);
    ADF View Controller
    // in LoginAction.jar
    import loginapp.model.AppModule;
    import loginapp.model.AccountImpl;
    import loginapp.model.common.AccountView;
    public class LoginAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form,
    HttpServletRequest request, HttpServletResponse response) throws IOException,
    ServletException
    String p_user = (String)((DynaActionForm)form).get("user");
    String p_password = (String)((DynaActionForm)form).get("password");
    if (SofeValideUsager(p_user, p_password))
    { return mapping.findForward("success");}
    else
    { return mapping.findForward("fail");}

  • Cannot access class oracle.jheadstart.model.adfbc.JhsApplicationModuleImpl;

    Error(2,38): cannot access class oracle.jheadstart.model.adfbc.JhsApplicationModuleImpl; file oracle\jheadstart\model\adfbc\JhsApplicationModuleImpl.class not found
    Hi,
    I am working on demo application from JHeadstart Developer's Guide (ch2). I got the above error when I tried to test the ADF BC.
    I checked the Project properties of the model and there was no jheadstart subfolder under oracle folder.
    I followed the install.html for JHeadstart download without problem.
    I am wondering if the .jar files from JHeadstart that I copied to Jdeveloper is where the issue is?
    Any help is much appreciated.
    Ahsan

    Sandra,
    Thanks for your prompt and helpful response.
    When you are at page 2-9 in the Getting Started chapter, you should not have run the Application Generator yet, therefore your Application Module should not extend JhsApplicationModuleImpl yet.
    CORRECT.
    Or did you explicitly set the ADF BC Base Class properties to JhsApplicationModuleImpl?
    YES I DID THIS.
    The paragraph that describes this does mention that JHeadstart sets it up for you, you don't have to do it yourself. Is that where the confusion originated?
    YES I UNDERSTOOD THIS ALSO BUT THE CONFUSION WAS NOT HERE.
    MY SUGGESTION: if you modified the first sentence on page 2-10 to something like (You need to 'run the JAG' before you do Right-click the "HRService"Application Module and choose 'Test' 'otherwise you will get an error') would resolve the confusion for me.

  • Cannot access directory javax/servlet

    I am having a problem getting started here with Borland JBuilder 8 SE.
    I have Tomcat installed and it runs fine with the servlets/jsp pages I ran from the index page when you first install Tomcat.
    I am running windows 2000. When I installed JBuilder the Java 2 SDK v1.4.1 was installed with it. I have run applets... java.exe is located in the jbuilder folder, don't know if this is a problem. I have set my JAVA_HOME environment variable to point to the bin folder in the 1.4.1 java.exe location.
    I am following a book that works with servlets and jsp primarily. When I typed in my first servlet that I copied from the book, JBuilder gives me a document location error:
    cannot access directory: javax/servlet at line...
    it is pointing to my import statement: "import javax.servlet.*;" and "import javax.servlet.http.*;".
    I have tried to add the servlet.jar file to my project but the results are the same.
    Can anybody give me a hand?
    thanks,
    Rob

    The fastest way for JBuilder to see it is just to create a library for servlet.jar and add it to the project.
    Tools->Configure Libraries->New
    Then browse to the location of the servlet.jar and call the library SERVLET.
    Project->Project Settings->Required Libraries
    Then add this library and try to build your project.
    JBuilder will automatically add it to the classpath when it compiles the project that way.

Maybe you are looking for

  • IPod touch will not Sync to my new Computer

    Recently I have got a new computer, and when I upgraded to Windows 7 decided to move my music from my laptop to the new computer. After transferring all my music to my new computer, I then plugged in my iPod, and tried to Sync it to this. First of al

  • Time machine - how to stop external hard drive encryption?

    Hi all I've just gotten a larger hard drive and more RAM for my 1.5 year old MacBook Pro, running OSX 10.7.5. I restored my system using the latest Time Machine backup at the time from the external HD I want to continue to use. Somewhere along the li

  • Routing outgoing packets over multiple interfaces?

    I have two network interfaces (eth0 and eth1) with separate IP addresses on the same subnet.  All outgoing traffic uses eth0 regardless of the interface the incoming traffic came in on. I assume the outgoing packets still have the correct source IP a

  • Need help with a Help problem

    Hi, I've been using RoboHelp for about seven years now and this is the first time I've come up with this problem. The application for which I'm building the Help file contains a What's New menu item in the Help menu. I have a page called What's New b

  • How to make a trace to program ?

    Hi Does somebody can tell me how can i make a trace to program in order to find in wich code point the process is getting 'stand-by' (does not finish) ; that is, in wich DB access, LOOP, etc. the program is making the work wich takes a lot of time. I