Calling SessionBean through @EJB Annotation

Hello All
I was a fan of J2EE but now have just started working on JavaEE after hearing so much about it. I read a lot of tutorials and now i am using NetBeans IDE 5.5 and the application server is JBoss.
My application scenario is:
1. Stateless Session Bean
2. Business Interface (Remote)
3. Client
Code for Stateless Session Bean
package com.testing;
import javax.ejb.*;
import javax.annotation.*;
@Remote({HelloRemote.class})
@Stateless
public class HelloBean implements com.testing.HelloRemote {
public String helloWorld()
        String value = "hello there";
        return value;
}Code for Remote Business Interface:
package com.testing;
import javax.ejb.Remote;
* This is the business interface for Hello enterprise bean.
@Remote
public interface HelloRemote {
    public String helloWorld();
}Finally code for Client:
package enterpriseapplication3;
import java.io.*;
import java.util.*;
import javax.ejb.EJB;
import javax.ejb.*;
import javax.naming.*;
import java.rmi.*;
import com.testing.*;
public class Main {
    public Main()
     @EJB static private com.testing.HelloRemote hello;
    public void call()
        try
             String value = hello.helloWorld();
             System.out.println(value);
        catch(Exception e)
            e.printStackTrace();
     * @param args the command line arguments
    public static void main(String[] args) throws Exception
        Main main = new Main();
        main.call();
}The problem is when i run my application i get:
java.lang.NullPointerException
        at enterpriseapplication3.Main.call(Main.java:42)
        at enterpriseapplication3.Main.main(Main.java:57)Please help me out with this issue as I cannot resolve it even though I have tried so many different tutorials but no luck.
best regards
rabbia

You'll need to check the JBoss documentation to see how to invoke the client application.
This kind of client is referred to as an Application Client. In order for the injection to work
there must be some special system code provided by your vendor that initializes the client
app. In the Java EE SDK, it's called the "appclient" command.
--ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Call RFC through EJB

    Hi,
    I have senerio in which i need to call RFC through EJB.
    Thanks.
    Abhilasha
    Edited by: Abhilasha Dahare on Oct 3, 2008 1:29 PM

    Hi,
    Go through the following links:
    Extract R/3 data via EJB
    http://help.sap.com/saphelp_nw04/helpdata/en/35/42e13d82fcfb34e10000000a114084/frameset.htm
    Siddharth

  • Call WebService through EJB

    Hi friends,
    I have created one web service , how can i call that web service through ejb . Is this possible ?.. can anybody help me....
    Thanks and Regards,
    Krish

    Hi Krish,
    This recent [thread|How to Call webservice by another webservice; deals with the same question. See the answers / links there.
    Hope it helps!
    -- Vladimir

  • How to call the secured EJB from timer ejb timedout method.

    Hi All,
    I have a couple of questions on EJB 3.1 Timer Service.
    1. How to call the secured EJB (annotated @RolesAllowed) from Timer EJB @Timeout Method?
    2. What's the default role/principal with which the Timer @Timeout Method gets called?
    Please let me know any info regarding the same.
    Thanks,
    Suresh

    I'd start here:
    http://ant.apache.org/manual/index.html
    If that doesn't help, go to the table of contents and start poking around. You don't need to read the whole thing front to back, but if you're not willing to spend some time researching and reading, you're not going to get very far.

  • Call servlet through stateless sessionbean

    can any body help me about.....
    code to call(run) servlet through stateless session bean,
    how can develop it using URL class..
    please help me............

    Hi
    it can be possible if your session bean  can call servlet through an protocol.
      means you can create an URL or URL connection class and call it through http protocol.
    i .e we can create URLConnetion ( HttpURLConnection ) object to that servlet  from a session bean.
    I hope this will help you some extent to solve your probs.
    Thanks
    Mrutyunjaya Tripathy

  • @EJB annotation for injection and lazy relations

    Hi,
    I develop a ejb3/jsf application.
    I have lazy relations in my entity beans.
    I remark that in my managed bean of my JSF, if I use @EJB annotation to inject session bean, I have no problem on lazy on entity beans returned by this session bean.
    Example
    JsfManageBean{
    @EJB
    Bean sessionBean ...
    public void doSomething(){
    Department d = sessionBean.findDepartmentBy...
    // relation lazy
    d.getEmployees()
    -> Load of employees -> NO LAZY PROBLEM !
    Someone can explain me why it works ?
    For me, after the find method, my session is closed !
    If I do a lookup to find my session bean (and so no injection @EJB here) -> I HAVE THE LAZY PROBLEM !
    public void doSomething(){
    SessionBean = ... context.lookup("blablabla")
    Department d = sessionBean.findDepartmentBy...
    // relation lazy
    d.getEmployee()
    -> LAZY EXCEPTION
    thanks for help !

    Nobody please ?

  • Calling from an EJB into a JSF Backing Bean

    Hello all,
    I'm looking for some help in making calls from an EJB into a Backing Bean (the converse is fairly straightforward). My basic question is: what is regarded as the best way to do this?
    However, for anybody who's interested, I'll describe what I've been trying...
    Here's my situation (I'm working with OC4J 10.1.3.2). I have a simple application-scoped backing bean:
       public class BackingBean implements SimpleInterface, Serializable {
           private String greeting = "Hello, World";
           private SessionEJBRemote blBeanRemote = null;
           public BackingBean() {
               // get hold of EJB
               // [ ... code to obtain EJB's remote interface snipped ... ]
               // set the callback with the EJB       
               try {
                   blBeanRemote.setCallback(this);
               } catch (Exception ex) {
                   ex.printStackTrace();
           // methods to manipulate the greeting string
           public String getGreeting() {
               return greeting;
           public void setGreeting(String greeting) {
               this.greeting = greeting;
       }SimpleInterface, which my Backing Bean implements is, well, a simple interface:
       public interface SimpleInterface {
           public void setGreeting(String greeting);
       }And my EJB is also pretty straightforward:
       @Stateful(name="SessionEJB")
       public class SessionEJBBean implements SessionEJBRemote, SessionEJBLocal {
           private SimpleInterface callback = null;
           public void setCallback(SimpleInterface callback) {
               this.callback = callback;
               callback.setGreeting("Goodbye, World");
       }Now, by using SimpleInterface, my intention was to ensure a one-way dependency: i.e. the JSF-level code would depend on the EJB-level code, but not vice versa.
    However, my experimentation has shown that when I make the call to blBeanRemote.setCallback, the parameter appears to be passed by value rather than by reference. This means firstly that, at runtime, by EJB needs to have access to my backing bean class and secondly, that the call to callback.setGreeting has no effect.
    Can anybody suggest how to work around this? Is it possible to pass the backing bean by reference? Is there a better way to achieve this callback? I appreciate that these questions might be more general Java/AppServer queries rather than JSF-specific ones - but hopefully this is something that all you JSF experts have encountered before.
    (Incidentally, I realise that what I'm doing in this example is pointless - what I'm building towards is using the ICEFaces framework to have the EJBs prod a backing bean which will in turn cause a user's browser to rerender.)
    Many thanks - any help very much appreciated!
    Alistair.

    Hi Raymond - yes, you've pretty much got that spot on: an event occurs (say receipt of a JMS message - which is spontaneous, as far as the users are concerned). As a result of that event, the client's view (in their browser) needs to be re-rendered.
    ICEFaces uses the AJAX technique to allow server-pushes, and rather than refreshing the whole page it uses "Direct-to-DOM" rendering to maninpulate the page components. If you've not come across it, and you're interested, then there are some pretty interesting demos here: http://www.icefaces.org/main/demos/ - the "chat" feature of the Auction Monitor demo (if you open it up in two browsers) is the nearest to the effect I'm looking for.
    The Auction Monitor demo uses a number of session-scoped beans, each implementing the ICEFaces "Renderable" interface, and each of which registers itself with an application-scoped bean. The application-scoped bean can thus iterate through each of the session-scoped beans and cause the corresponding browser to refresh.
    Unfortunately, in the Auction Monitor demo, the entry point is always from a browser - albeit the result is then mirrored across all connected browsers. I haven't found any examples of this processing being driven by an external event, hence my experimentation in this area!

  • Webserver/jsp engine call into weblogic ejb container

    Which one of these architectures would give the best performance.
              First architecture:
              3 boxes -
              1st box - webserver(IIS or IPlaner) with a JSP engine. (The JSP's
              produce dynamic content.)
              2nd box - weblogic 5.1 hosting EJB's
              3rd box - Oracle or DB2
              The 1st box is used to server up dynamic contect. The JSP's make dynamic
              contect from calls into the EJB container in the 2nd box. The EJB's then
              calls the DB in the 3rd box.
              2nd architecture:
              3 boxes-
              1st box - webserver with weblogic plug-ins for IIS or IPlanet
              2nd box - weblogic 5.1 - hosting JSP pages and EJBs
              3rd box - Oracle or DB2
              The 1st box's webserver just receives the request to JSPs and lets the
              plug-in find the appropriate weblogic instance. The JSPs that are processed
              on the 2nd box make calls into the EJB container on the 2nd box. The EJBs
              then make calls to the DB on the 3rd box.
              thanks
              -cb
              

    thanks you both for you input
              "Cameron Purdy" <[email protected]> wrote in message
              news:[email protected]...
              > It is certainly more efficient in terms of JSP/Servlet to EJB invocations
              if
              > you use WebLogic to do all three (JSP/Servlet/EJB) due to the
              well-designed
              > client stubs for EJBs that do pass-by-reference. If you have lots of
              small
              > invocations to EJBs, that is a good reason to consider WL for all three
              > (JSP/Servlet/EJB).
              >
              > OTOH there are a good number of developers that I have spoken with that
              > prefer other Servlet engines. These developers have had excellent
              > experiences with WL EJB handling, but some issues with JSP/Servlets, or
              > simply needed features offered by other servers. A few may have decided
              on
              > a price basis. Some of the technical issues were related to WL class
              > loading issues that are scheduled to be completely improved in the fall WL
              > release.
              >
              > All of that said, I personally would probably stick with WL to do all
              three
              > (JSP/Servlet/EJB). I believe that I have found most of the problems that
              WL
              > has ;-) and I have come through the other side still really liking the
              > product -- so even it's worst points (like the linkage error that had me
              > pulling out my hair and even searching through the Sun JVM sources ;-)
              > aren't that bad because it is a strong enough product that there are
              always
              > ways to work through or around just about anything. If I had to look at a
              > different JSP/Servlet engine, I would start with Caucho Resin, simply
              > because I like their approach and I know it works well with WL.
              >
              > Lastly remember that in the J2EE world, "no one ever got fired for buying
              > BEA WebLogic!"
              >
              > --
              >
              > Cameron Purdy
              > http://www.tangosol.com
              >
              >
              > "Chris Bick" <[email protected]> wrote in message
              > news:[email protected]...
              > > So you would not support/advise an architecture that has the JSP/Servlet
              > > engine on a different box then weblogic? If this is the case, could you
              > > give some reasons why?
              > >
              > > thanks,
              > > -cb
              > > "Cameron Purdy" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > 1. Your bottleneck will probably be the third box (database server)
              in
              > > > either scenario. That's probably your biggest up-front cost -- making
              > > sure
              > > > the db server is up to the task.
              > > > 2. The second architecture is suggested by WL. The reason is that if
              > box
              > > > #2 (WL) is a cluster, you can theoretically add more boxes easily to
              get
              > > > pseudo-linear scaling for JSP and EJB processing. Of course, that
              only
              > > > helps if your database is not a bottleneck ;-) WL cluster is $17k per
              > > CPU.
              > > > 3. The real answer is that it depends on your application and the
              > number
              > > of
              > > > users that you are expecting. You want to make sure that when your
              site
              > > is
              > > > loaded that there is no significant queueing of requests on the WL
              side.
              > > I
              > > > believe you can see that information in the WL monitor.
              > > >
              > > > --
              > > >
              > > > Cameron Purdy
              > > > http://www.tangosol.com
              > > >
              > > >
              > > > "Chris Bick" <[email protected]> wrote in message
              > > > news:[email protected]...
              > > > > Which one of these architectures would give the best performance.
              > > > >
              > > > > First architecture:
              > > > >
              > > > > 3 boxes -
              > > > >
              > > > > 1st box - webserver(IIS or IPlaner) with a JSP engine. (The
              > > JSP's
              > > > > produce dynamic content.)
              > > > > 2nd box - weblogic 5.1 hosting EJB's
              > > > > 3rd box - Oracle or DB2
              > > > >
              > > > > The 1st box is used to server up dynamic contect. The JSP's make
              > > dynamic
              > > > > contect from calls into the EJB container in the 2nd box. The
              EJB's
              > > then
              > > > > calls the DB in the 3rd box.
              > > > >
              > > > > 2nd architecture:
              > > > >
              > > > > 3 boxes-
              > > > >
              > > > > 1st box - webserver with weblogic plug-ins for IIS or IPlanet
              > > > > 2nd box - weblogic 5.1 - hosting JSP pages and EJBs
              > > > > 3rd box - Oracle or DB2
              > > > >
              > > > > The 1st box's webserver just receives the request to JSPs and lets
              the
              > > > > plug-in find the appropriate weblogic instance. The JSPs that are
              > > > processed
              > > > > on the 2nd box make calls into the EJB container on the 2nd box.
              The
              > > EJBs
              > > > > then make calls to the DB on the 3rd box.
              > > > >
              > > > > thanks
              > > > > -cb
              >
              >
              >
              

  • Calling SessionBean from Servlet

    Hi ,
    I am using Weblogic11g server .
    In my application I am calling SessionBean (EJB3.0) from my servlet using MappedName#PackageName.RemoteBean Name , its working fine .
    But Can you please tell me if i can use @EJB in servlets for this purpose .
    Thanks in advance

    for now that is server specific. I believe in the EJB 3.1 standard it is specified that you should be able to inject EJBs into servlets, but for now it is not mandatory. If any application server is able to do it, it would be Glassfish.

  • Calling OC4J deployed EJB from Oracle 8.1.7 DB

    Hi
    I have deployed a Stateless Session Bean to OC4J (9.0.2). The client works fine. The Servlet and JSP works fine.
    What I need to do now is call this EJB from PL/SQL , ie call from Database PL/SQL package to wrapper to OC4j EJB.
    Trying to get this loaded into Oracle DB we get a class compilation error with the
    com.evermind....rmi... class. I do believe this is the OC4J implementation of RMI lookup. Is there a comparable class to load in the DB?
    Any ideas how to ??
    Tks
    Andre
    Here is a client sample of calls to the EJB
    package SampleWizUpdates;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import WizUpdates.WizAllocTotals;
    import WizUpdates.WizAllocTotalsHome;
    import resTotals;
    import resSuccess;
    import javax.rmi.*;
    public class WizAllocTotalsClient2
    public static void main(String [] args)
    WizAllocTotalsClient2 wizAllocTotalsClient2 = new WizAllocTotalsClient2();
    try
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "admin");
    env.put(Context.SECURITY_CREDENTIALS, "manager");
    env.put(Context.PROVIDER_URL, "ormi://sdt10645:23791/WizAllocTotals");
    Context ctx = new InitialContext(env);
    WizAllocTotals totalsBean;
    Object homeObject = ctx.lookup("WizAllocTotals");
    WizAllocTotalsHome home =
    (WizAllocTotalsHome)PortableRemoteObject.narrow(homeObject,
    WizAllocTotalsHome.class);
    totalsBean = (WizAllocTotals)PortableRemoteObject.narrow(home.create(),
    WizAllocTotals.class);
    // create new EJB instance
    totalsBean = home.create( );
    // Call any of the Remote methods below to access the EJB
    int operatorId = 1238;
    resTotals newRes = new resTotals();
    resSuccess newResSucc = new resSuccess();
    String newDataBase = "dwz3";
    int eventRefNo = 17445291;
    int actionNumber = 3;
    int allocValue = 125;
    totalsBean.setDataBase( newDataBase );
    newRes = totalsBean.getOperatorTotals( operatorId, eventRefNo );
    System.out.println("Result total 1 is "+newRes.totTransactLimitValue);
    System.out.println("Result total 2 is "+newRes.totDailyLimitValue);
    System.out.println("Result total 3 is "+newRes.totWeeklyLimitValue);
    System.out.println("Result total 4 is "+newRes.totMonthlyLimitValue);
    System.out.println("Result total 5 is "+newRes.remDailyLimitValue);
    System.out.println("Result total 6 is "+newRes.remWeeklyLimitValue);
    System.out.println("Result total 7 is "+newRes.remMonthlyLimitValue);
    System.out.println("Result success code is "+newRes.resCode);
    System.out.println("Result success message is "+newRes.resMessage);
    newRes = totalsBean.setOperatorTotals(operatorId,
    eventRefNo,
    actionNumber,
    allocValue,
    "C",
    "Testing Reason");
    System.out.println("Insert result success code is "+newRes.resCode);
    System.out.println("Insert result success message is "+newRes.resMessage);
    catch(Throwable ex)
    ex.printStackTrace();
    }

    Hi Andre,
    I am using stand-alone OC4J version 9.0.2.0.0 under (SUN) Solaris 7
    with JDK 1.3.1 and Oracle DBMS version 8.1.7.4.
    I have not yet been able to create a java stored procedure in the
    database that directly looks up an EJB deployed to OC4J.
    The only two ways I have found to "talk to" an EJB from a java stored
    procedure is
    1) go through a servlet
    2) go through a "remote" object (using RMI)
    For the first option, deploy an application to OC4J that contains
    your EJBs and a servlet (which acts as the client for the EJBs).
    Then, from your java stored procedure, contact the servlet using
    the classes in the "java.net" package -- including "URL" and "URLConnection".
    For the second option, use the "rmiregistry" to register a remote
    object. This remote object acts as the EJB client. The remote object
    does not need to be part of an application deployed to OC4J. Then
    contact the remote object from your java stored procedure.
    Hope this helps.
    Good Luck,
    Avi.

  • EJB annotation does not work but lookup does

    Hello, I am developing an application which has two modules: an EJB module and a WEB module. As I am using EJB 3 I would like to call the EJBs from the web module using the @EJB annotation.
    For example:
        @EJB(name = "GestioDeLlocsEJB")
        private GestioDeLlocsRemote gestioDeLlocs;
        public Collection<Lloc> getLlocs() {
            return gestioDeLlocs.findAllLlocs();
        }The problem is that the JEE container injects a null in the Remote interface ( gestioDeLlocs ) so it seems to fail when trying to match the name and the JNDI reference.
    I have added the following lines in sun-web.xml:
      <ejb-ref>
        <ejb-ref-name>GestioDeLlocsEJB</ejb-ref-name>
        <jndi-name>es.ajuntament.palma.drogues.servei.GestioDeLlocsRemote</jndi-name>
      </ejb-ref>And I have added some lines in web.xml too:
       <ejb-ref>
            <ejb-ref-name>GestioDeLlocsEJB</ejb-ref-name>
            <ejb-ref-type>Session</ejb-ref-type>
            <remote>es.ajuntament.palma.drogues.servei.GestioDeLlocsRemote</remote>
        </ejb-ref>I can test the EJBs by using the traditional lookup method:
    Context c = new InitialContext();
    return (GestioDeLlocsRemote) c.lookup("es.ajuntament.palma.drogues.servei.GestioDeLlocsRemote");But I would like to use the @EJB annotation which seems not to work.
    What am I doing wrong?

    What kind of class are you putting the annotation on? Only certain managed classes like servlet classes,
    JSF managed beans, etc. support Java EE environment annotations. If it's a plain POJO the annotations
    will be ignored.

  • Difference between com.sap.ejb.annotations.AppStartup and @PostConstruct

    Hi developers,
    In NW 7.3 we have two EJB annotations with identical meaning:
    javax.annotation.PostConstruct
    and
    com.sap.ejb.annotations.AppStartup
    A method annotated like this is invoked by the container right before the EJB is made available to clients.
    Can anyone explain the difference between the two annotations?
    Thanks, regards
    Vincenzo

    Hi
    PostConstruct = EJB standard, AppStartup = SAP proprietary.
    As far as I understand the descriptions, the AppStartup callback invocation occur for all EJBs immediately when the application is starting (no matter if the EJB is called or not) whereas "The PostConstruct callback invocations occur before the first business method invocation on the bean. This is at a point after which any dependency injection has been performed by the container." (see EJB spec).
    So the PostConstruct has nothing to do with application life cycle but with the lifecycle of a single bean instance. PostConstruct may be called later on first client invocation) and in AppStartup, you probably do not have dependency injection performed but have to lookup using java:comp/env.
    Regards
    Rolf

  • How can I fix my phone's ringer? The call comes through but it won't ring.

    I've had my iPhone for over 6 months now with no issues. I have not had it reserviced, its not refurbished, and I bought it new from an AT&T store.
    This week my phone stopped ringing. The incoming call comes through on the screen, but it doesn't ring out loud so I know I'm getting a call and I can't sit and stare at my iPhone's screen all day long to see if I'm getting an incoming call. It vibrates when a call comes in maybe 20% of the time.
    Today I went into settings and reset my settings but it still didn't bring my ringer back. It plays the ringers when you are looking through the list of ringers, it plays it when you alter the volume setting, but when a call is actually coming in or when I'm receiving a text message or something, no sound.
    What can I do to get my ringer back?

    Check the mute switch on the side above the volume rocker. If the red dot shows, the phone is muted. You'll still be able to play the ringtones to select one.
    I find that the switch can be thrown to "mute" by accident when I put my iPhone in my belt holster.

  • Call Transaction Through RFC

    Hi ,
    I am trying to do a call transaction through RFC call from a Middleware which is a CPIC user (only communication Non dialog User ) . 
    Call  transaction does gets executed without any error but it does not update any data.But when I run it through my user id it works absolutely fine .
    I am not sure what is causing the issue
    Security authorization?
    RFC through Non Dialog user ?
    Paramters missing in RFC  ?
    Paramatertes missing in call transaction option?
    If anyone of you has faced a similiar issue then please let me know the path forward.
    Thanks
    Vikas

    Hi Vikas,
        The problem is in Authorization? And check the mode of Process Synchoronus or asynchoronous? Both the RFC and CALL transaction should be Same /
    Thanks
    MAnju

  • Can i call Bean managed EJB with transaction attribute Required New

              I am calling a BeanManaged EJB which has a transaction attribute
              set to Required New from a container managed bean. Does it create a new transaction
              other than the Bean managed transaction. Do i really need a required new field
              transaction attribute.All i need is user controlled transaction.Do i need to set
              the transaction aatibute.
              Thanks
              Krish.
              

    Hi Krish,
              The question does not make much sense.
              I would suggest that you set all your tx settings to "Required" unless you
              have a specific reason to do otherwise, and in those few instances that you
              have a specific reason to do otherwise, then change it in just those places.
              Peace,
              Cameron Purdy
              Tangosol Inc.
              << Tangosol Server: How Weblogic applications are customized >>
              << Download now from http://www.tangosol.com/download.jsp >>
              "KRISH" <[email protected]> wrote in message
              news:[email protected]..
              >
              > I am calling a BeanManaged EJB which has a transaction attribute
              > set to Required New from a container managed bean. Does it create a new
              transaction
              > other than the Bean managed transaction. Do i really need a required new
              field
              > transaction attribute.All i need is user controlled transaction.Do i need
              to set
              > the transaction aatibute.
              >
              > Thanks
              >
              > Krish.
              >
              

Maybe you are looking for

  • Table Attribute not working with MVC5 and EF6

    Hello,        Having an issue with a project I am working on.  I have a web project and portable classes.  I am using Entity Framework 6, and MVC 5.  Everything was working when I had all the classes in the Web side, but once I moved them to the Port

  • Lumia 1520 - back arrow button and Windows button ...

    Hi, Can someone please tell me why the back button and the windows button have stopped working (2 of the three buttons at the bottom of the Lumia 1520)? The search function works fine by the way.  It is also causing the 'Listening' function to turn i

  • Default InfoCube Structure (0CURRENCY)

    I have a question about the default InfoCube structure. It has a dimention "U", which is 0CURRENCY. How is it used? What for? I see that if a Key Figure in InfoCube has a type "Amount" it has 0CURRENCY in field "Unit / currency" in its Key Figure des

  • Do you have a marketing analytics task force?

    "It takes a village to raise a child." A quote made famous by Hillary Clinton and one that rings true. Communities rally together, they develop task forces, to improve the education and livelihood of children. Task forces, PTAs, and PTOs are all mean

  • Elements 4.0 did not capture entire 1 hour miniDV tape contents

    I used Elements 4.0 for the first time and in capturing the footage on a one hour tape, it stopped after 46 minutes and gave some sort of message (I failed to write it down at 1 AM) to the effect "Exceed Threshold 699KB". Why would Elements not captu