jDeveloper, this isn't a good IDE development environment

I tried another time, doing mostly simle EJB stateful session, and she even does not work. not even the tutorials of oracle, or also a few others on the internet.
I know that shay is a very good fan to this, but I tell you, it isn't. you try to make things really easy, which complicate everything really really too. This is the error I got trying to deploy a very simple application.

[Run application on Server Instance IntegratedWebLogicServer Application1...]
[21: 03:49]-deployment began. ----
[21: 03:49] the target platform's (Weblogic 10.3).
[21: 03:51] recovery of the existing application information
[21: 03:54] analysis of the dependence running...
[21: 03:55] deployment of 3 profiles...
[21: 03:55] wrote the Web application Module for /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/ViewWebApp.war
[21: 03:56] wrote the EJB Module to /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar
[21: 03:56] wrote the Module Enterprise Application to /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1
[21: 03:56] Application deployment...
< 4 June 2010 21 H 03' it IS > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request for deployment with the ID ' 1275678236987 'for task ' 0'. Error is: "weblogic.application.ModuleException: Exception preparation module: EJBModule (MyCartEJB.jar)"


Unable to deploy EJB: MyCartEJB.jar /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar:

Deploy the failure:

'
weblogic.application.ModuleException: Exception preparation module: EJBModule (MyCartEJB.jar)


Unable to deploy EJB: MyCartEJB.jar /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar:

Deploy the failure:


at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
Truncated. check the log file full stacktrace

Caused by: deploy the failure: NestedException Message is: Remove remove() method is not a company in EJB SessionEJB anyway
at weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl.initializeRemoveMethodInfos(Ejb3SessionBeanInfoImpl.java:245)
to weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl. < init > (Ejb3SessionBeanInfoImpl.java:115)
at weblogic.ejb.container.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:722)
at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:574)
to weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl. < init > (MBeanDeploymentInfoImpl.java:255)
Truncated. check the log file full stacktrace
>
< 4 June 2010 21 H 03' it IS > < WARNING > < hats > < BEA-149004 > < failures have been detected all introducing deploy task for application "Application1". >
< 4 June 2010 21 H 03' it IS > < WARNING > < hats > < BEA-149078 > < message 149004 track battery
weblogic.application.ModuleException: Exception preparation module: EJBModule (MyCartEJB.jar)


Unable to deploy EJB: MyCartEJB.jar /home/issanllo/.jdeveloper/system11.1.1.2.36.55.36/o.j2ee/drs/Application1/MyCartEJB.jar:

Deploy the failure:


at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:454)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
to weblogic.application.internal.flow.DeploymentCallbackFlow$ 1.next(DeploymentCallbackFlow.java:391)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:59)
Truncated. check the log file full stacktrace

Caused by: deploy the failure: NestedException Message is: Remove remove() method is not a company in EJB SessionEJB anyway
at weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl.initializeRemoveMethodInfos(Ejb3SessionBeanInfoImpl.java:245)
to weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl. < init > (Ejb3SessionBeanInfoImpl.java:115)
at weblogic.ejb.container.deployer.BeanInfoImpl.createBeanInfoImpl(BeanInfoImpl.java:722)
at weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:574)
to weblogic.ejb.container.deployer.MBeanDeploymentInfoImpl. < init > (MBeanDeploymentInfoImpl.java:255)
Truncated. check the log file full stacktrace
>
# Cannot run Application1 of application because of the deployment on IntegratedWebLogicServer error.
[21: 03:58] # incomplete deployment. ####
[21: 03:58] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
[Application Application1 interrupted and cancelled Server Instance IntegratedWebLogicServer]

--------------------------------------------------------------------------------------------
It's the bean class: you will see that it is a paper copy of a tutorial oracle:
package com;

import java.util.ArrayList;
import java.util.Calendar;

import java.util.Collection;
import java.util.GregorianCalendar;

import javax.annotation.PostConstruct;

import javax.annotation.PreDestroy;

import javax.ejb.Local;
import javax.ejb.PostActivate;
import javax.ejb.PrePassivate;
import javax.ejb.Remote;
import javax.ejb.Remove;
import javax.ejb.Stateful;
import javax.ejb.TransactionManagement;
import javax.ejb.TransactionManagementType;

@Stateful(name = "SessionEJB", mappedName = "Application1-MyCart-SessionEJB")
@TransactionManagement(TransactionManagementType.CONTAINER)
@Remote
@Local
public class SessionEJBBean implements SessionEJB, SessionEJBLocal 
{
    
    protected Calendar _constructTime = new GregorianCalendar();
    
    private Calendar _passivateTime;
    private Calendar _activateTime;
    private Calendar _removeTime;
    
    private String logMessage = "";
    private String message = "";
    private ArrayList items;
    
    public SessionEJBBean() 
    {
    }
    
    @PostConstruct
    public void initialize() 
    {
        logMessage = "";
        _constructTime = new GregorianCalendar();
        _constructTime.setTimeInMillis(System.currentTimeMillis());
        this.setLogMessage(this.getLogMessage() +"\n"+"PostConstruct : "+_constructTime.getTime().toString());
        
        items = new ArrayList();
    }
    
    public void addItem(String item) 
    {
        this.setLogMessage(this.getLogMessage()+"\n"+"Add Item "+item);
        items.add(item);
    }
    
    public void removeItem(String item) 
    {
        this.setLogMessage(this.getLogMessage()+"\n"+"Remove Item "+item);
        items.remove(item);
    }
    
    public Collection getItems() 
    {
        return items;
    }
    
    public void setItems(ArrayList items) 
    {
        this.items = items;
    }
    
    @PreDestroy
    public void destroy() 
    {
        this.setLogMessage(this.getLogMessage()+"\n"+"@PreDestroy ");
        
    }
    
    @PrePassivate
    public void prePassivate() 
    {
        _passivateTime = new GregorianCalendar();
        _passivateTime.setTimeInMillis(System.currentTimeMillis());
        this.setLogMessage(this.getLogMessage() +"\n"+"PrePassivate : " + _passivateTime.getTime().toString());
    }

    @PostActivate
    public void postActivate() 
    {
        _activateTime = new GregorianCalendar();
        _activateTime.setTimeInMillis(System.currentTimeMillis());
        this.setLogMessage(this.getLogMessage() +"\n"+"PostActivate : " + _activateTime.getTime().toString());
    }
    
    @Remove
    public void remove() 
    {
        this.setLogMessage(this.getLogMessage()+"\n"+"Remove");
    }
    
    public void setLogMessage(String l) 
    {
        this.logMessage = l;
    }
    
    public String getLogMessage() 
    {
        return logMessage;
    }
    
    public void clearLogMessage() 
    {
        this.setLogMessage("");
    }
    
    public void setMessage(String M) 
    {
        this.message = M;
    }
    
    public String getMessage() 
    {
        return this.message;
    }
}
----------------------------------
and the web-logic. XML:

<? XML version = "1.0" encoding = "UTF - 8"? >
< weblogic-ejb-jar xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
xsi: schemaLocation = "http://www.bea.com/ns/weblogic/weblogic-ejb-jar http://www.bea.com/ns/weblogic/weblogic-ejb-jar/1.0/weblogic-ejb-jar.xsd".
xmlns = "http://www.bea.com/ns/weblogic/weblogic-ejb-jar" >
< weblogic-company-bean >
SessionEJB < ejb-name > < / ejb-name >
< stateful - session handle >
< stateful-session-cache >
< max-beans-in-cache > 1 < / max-beans-in-cache >
< 60 > idle-timeout-seconds < / idle-timeout-seconds >
< session-timeout-seconds > 80 < / session-timeout-seconds >
LRU < type of cache > - < / type of cache >
< / stateful-session-cache >
< persistent-store-dir > continue < / persistent-store-dir >
< stateful session-clusters >
< Host-is-clusterable > false < / home-is-clusterable >
< / stateful session clustering >
< allow-simultaneous-calls > true < / allow them competitors-calls >
< / session stateful-handle >
< enable call-by-reference-> true < / enable-call-by-reference >
< / weblogic-company-bean >
< / weblogic-ejb-jar >

-------------------
the main.jsp that uses the bean is made with start-up fast jDeveloper

... is another question possible not to use access data controls the model EJB bean? as
Private @EJB MyCart cart;

Thank you, but jDeveolper is not good development environment

Israel

Should not the remove method be defined in your (local or remote) EJB interfaces?

Tags: Java

Similar Questions

  • Flick-to-wake - anyone think this isn't a good idea?

    Right now I'm really on the edge as to whether I want to keep my W450 or return it. There is so much potential in the device, I am somewhat disappointed that some really useful features are not exploited (i.e. the ability to scroll a map, back to the start of a race, or even a functional pre-planned itinerary function).

    So far, it seems that many of the updates are useful that marginally (the addition of 40 classes of workouts... which some monitor heart rate while it is enabled) or even boring (like the flick-to-sleep feature). Speaking of which I know, we're talking about an update to this new feature... but I hope that we will have the ability to disable completely. Simply, I see no benefit to try to touch my wrist while running to activate my device when I could just hit the power button. Try to find the good sensitivity for the feature to work, looks like an almost impossible task. I was wearing my W450 to work today and all walking down 6 flights of stairs I noticed that the screen kept coming and going on almost all of the steps. Yet when I shake it the device in my hand, it was quite difficult to wake up. When he did only slept for about 3 seconds.

    Continue to have it activated once the next update was released on April 2 and then if you experience negative with this feature, you can disable this procedure by clicking on the face of the watch on the home screen and scrolling to "Wake Device" option by deselecting the "gesture control".

  • I'm attemppting to enter the programming unit to operate on an OUYA. I encounter this problem while fixing my game development environment.

    I'm looking to get into the programming unit and finally run that I develop on an OUYA. I encounter this problem while fixing my game development environment. At http://stevetack.com/ouya_unity_tutorial_01.html, I try to do this step:

    ------------------------------------------------------------------------------------------------------------------------------------

    Pull up the android_winusb.inf file in Notepad or your favorite text editor and add this section to both [Google.NTx86] and [Google.NTamd64] sections:

    ;OUYA Console
    %SingleAdbInterface% = USB_Install, USB\VID_2836&PID_0010
    %CompositeAdbInterface% = USB_Install, USB\VID_2836&PID_0010&MI_01------------------------------------------------------------------------------------------------------------------------------------
    

    He tells me that I can't change this in Notepad! It is of crazy! The truth is that I am God in my own digital universe. I am an administrator and my computer needs to be aware of this fact! This refers to an area of permission that I am not familiar with.

    Help, please.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)

    *
  • I do not understand this statement "It is a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument."

    It's a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument.

    Which no longer applies in Logic Pro X 10.2.3. In old versions of logic, selecting a range with a software instrument automatically would make this instrument in "Live" mode, which means that the instrument has begun to transform any MIDI in sound with a minimum of delay. This direct mode becomes an instrument need CPU power (on a single processor) and peut overload the audio engine. It is a waste of CPU if there is no direct game. Then select an audio track would ensure that No instrument is in direct mode. Now (LPX 10.2.2 or more) in direct mode can be turned on or off on a track, chosen or not - it is the R button on the track header.

  • I think switching from Windows XP to Windows 7, but it seems complicated. Is this a good idea?

    I want to get rid of my security Computer Associates software. It overload my system.

    I believe that a combination of Windows 7 and Microsoft Security Essentials and Web of Trust would do a good job.

    Switching from XP to Windows 7 seems complicated. Is this a good idea?

    I would appreciate any advice. I am a former novice

    Thank you

    Get rid of CA security software and do general maintenance on your system would probably go a long way to improve your computing experience.  See help! My computer is slow!

    Unless you plan to buy a new computer with Windows 7 pre-installed, make sure that your hardware is compatible with Windows 7 (for the most part, this means that Windows 7 drivers are available; problems are more likely to occur with older laptops).  Download and run the Windows 7 Upgrade Advisor.

  • The screen of my laptop turns off when the power cable is connected. If this isn't the case, connected screen is ok. No idea why?

    The screen of my laptop turns off when the power cable is connected. If this isn't the case, connected screen is ok. No idea why?

    Original title: clear the display

    Click Start or press the Windows key and type power can locate the power to change recording settings in the section of the Control Panel from the list above and click on it. At the opening of the Power Options pane, click choose when turn off display available on the left side.

    Choose a new setting for brightness in the drop down menu on the battery . Look at all the other parameters that you feel you want to modify, and then click save changes in the lower right to apply the options you have selected energy saving.

    You can now close the Power Options pane when you return.

  • Hi, I got my subscription for the year running last for Photoshop and Lightroom. Because I had the good idea to download the 2015 CC of Photoshop, I return to the evaluation period. I would like to know, when this period ends, will I get my subscribed v

    Hi, I got my subscription for the year running last for Photoshop and Lightroom. Because I had the good idea to download the version of Photoshop CC 2015 (I thought it was just an update...), I get to the evaluation period.

    I would like to know, when this period expires, will I get my purchased version back or should I get a new subscription?

    If I get a new subscription, one is cancelled automatically, or do I have to do something else?

    Thanks a lot for the answers!

    If you are subscribed to the creative cloud, Creative Cloud 15 updates are included.

    If when you updated, all or part of the CC apps show 'trial start or buy now' in the creative cloud desktop application, please see this link:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

  • Why flash keys, not a good idea?

    I'm trying to understand a problem I have with flash keys (especially as I don't want users to have to click twice to make them work), and I keep seeing messages (especially by Murray) asking if the poster knows that flash keys are not a good idea. However, I was unable to find an explanation as to why they are a bad idea. Can someone explain it to me in simple terms? I am very new to Dreamweaver and web development in general. I'm developing an intranet site for a specific user group where accessibility is not a huge problem.

    Thank you!

    .oO (bhkate)

    > However, I was unable to find an explanation regarding
    > why they are a bad idea. Can someone explain it to me in layman
    > terms?

    On a Web site accessible to the public, it is generally a very bad idea to build
    the most essential part of a site Web - the navigation - technical
    which may or may not be available on the client side. The only really
    reliable is HTML, which will still work. Something else must be
    considered optional.

    Of course, there is nothing wrong with the addition of CSS, images, JavaScript or
    same Flash, but you must make sure that the pages work also without
    These techniques. In many cases, it is possible to provide alternative
    content, for example for images ' alt' attribute. Even the use of
    Flash allows you to provide alternative content, but most of the people do not
    use of this ability, either because they do not know it or they
    Use a browser that does not support.

    > I am very new to Dreamweaver and web development in general. I am
    > development of an intranet site for a specific user group where accessibility
    > is not a huge problem.

    Even on an intranet, it is IMHO important to take care of the standards and
    usability problems. A good example is the typical "we all use IE in our.
    ' intranet, therefore optimize us the site for that. This may work for now and
    Maybe more time, but what happens if one day the IT guy decide to replace
    IE with a browser more advanced to improve the security of the intranet and
    the productivity of enterprises? * kaboom *.

    Apart from the web standards and optimization for a particular browser or
    platform always means a lot of unnecessary work to do in the future.

    Micha

  • "Error: Sorry, this isn't a valid serial number" when you try to download webOS Doctor

    I am unable to use the webOS Doctor right now because I tell me an error message "error: Sorry, this isn't a valid serial number" whenever I click on the button 'Get webOS Doctor' in my HPwebOS.com profile. I checked the serial number and it is correct. Anyone has any ideas about this problem?

    This widget could not be displayed.
  • Restore my HP Pavilion laptop to factory settings it is a good idea?

    I recently accidentally changed my default settings of the police, I did everything I could, except for the restoration of my hard drive to its default settings. However, since I bought this computer a year ago, I noticed faster internet and less connection issues, as well as some other problems fixed. I'd be willing to sacrifice my default settings for performance, so I was wondering if it would be a good idea to restore my computer to its default settings. Also, I currently do not have records to back up my data, so I'll need to do the same. Another thing, my HP Advisor advised me not to restore my laptop unless I really need to.
    Yet one thing, lightning struck our House a few months ago. Unfortunately, I accidentally turned off my father the day before surge protector. Anyway, he destroyed all of our equipment to wireless internet, as well as the fan of my father. We then contacted AT & T and they sent us a few tricks, with phone, download order software online to make our internet work. I do not have these registered Web sites and I don't know how in the world I would like to reinstall that software. So, I was wondering if I drop everything this software if I did a factory restore.
    Thank you for your time and support, rlnachtigal

    I'm with your HP consultant. Restoring default values should be a last
    Resort. If you need assistance resetting your fonts, start another thread for
    which. I'm sure you will find the repair of fonts one relatively simple
    task, compared to the restoration of your PC.
     
    "lnachtigal" wrote in message news: ec23156a-a398-40da-9465-20dd2c358d08...
    > I recently accidentally changed my default settings of the police, I did everything what I
    > could, except for the restoration of my hard drive to its default settings.
    > However, as I bought this computer a year ago, I noticed
    > faster internet and connection issues, as well as other less
    > issues fixed. I'd be willing to sacrifice my defaults
    > performance, so I was wondering if it would be a good idea to restore my
    > computer to its default settings. Also, I currently do not have the disks to
    > save my data, so I'll need to do the same. Another thing, my
    > HP Advisor advised me not to restore my laptop unless I really need to.
    > One last thing, lightning struck our House a few months ago.
    > Unfortunately, I accidentally turned off my father surge protector the
    > night before. Anyway, it destroyed all our wireless internet,
    > fan of my father. We then contacted AT & T and they sent us a few
    > Stuff, along with order of phone, download software online
    > to our internet job. I do not have these registered Web sites and I don't have
    > know how in the world I would like to reinstall that software. So, I was wondering
    > if I drop everything this software if I did a factory restore.
    > Thank you for your time and support, of rlnachtigal
    >
     
     
  • Cannot change the password. Is currently tiny one. When I try to change it I tells me this isn't my password. This is the case.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Here is the procedure to change or remove a password in Vista: http://www.vistax64.com/tutorials/101986-user-account-remove-password.html. If this is the only administrator account, we have a more serious problem, so after back if this is the case.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Good idea to save to shared dir *.db files / sdCard?

    Hello
    I was wondering, is it a good idea to save files *.db APP to one of the directories in the file system to backup purposes or Let's save it in the directory without extension ".db"?

    Any other way to back up the data if sqlite is used?

    I'm not totally "want to share my table with any organization!

    Thank you

    S.

    Bad word really like the hash usually means change the bytes to something unreversible in this case, I meant just dressing up the bytes on the eye if you load a file into a byte editor it will be immediately obvious, it is a database file.

    So reverse the order of the bytes in the file or write as hex codes (will double the size of file), something along these lines that will prevent a casual viewer.

  • is the power line Networking is a good idea to build werkgroep netwerk with windows 7

    Hello

    1-is the power netwerk line is safer than wifi or it has also some drawbacks.

    2-can we replace cables in small business with power line newterk adapters or it is not a good idea.

    3 can be power supply adaters also suspect to sniff.

    Thank you

    Johan

    "Broadband PLC" was the provision of access to internet via incoming food, not something that was very common or successful.

    Your proposal is entirely internal is so different, for example, they refer to it "are on the same range" as ADSL. HomePlug PowerLAN solutions do not have something like this beach as it is designed to work with a main inner ring.

    Yes, the technology is much improved and the standards are now closely identified. Most units also offer an encrypted mode that allows only of these units in a group sure talking to each other.

  • Is it a good idea to replace the 2.5 "HDD (with partition recovery inside) with a SSD?

    Hi all

    I have a ThinkPad E420 with the recovery partition in the HARD drive. I intend to sell the excessive 750 GB 5400 RPM HARD drive and replace it with a 120 GB SSD, because I need responsiveness instead of ability. Is this a good idea?

    Thanks in advance.

    Best regards

    Haris

    Lenovo: 'as sensor airbag, Active Protection System can detect sudden changes in motion and temporarily stop the hard drive to help protect your valuable data against certain accidents that might happen because of cell phone accidents every day."

    This tool is designed to protect not the mechanics of the SSDS. It would not apply in your case.

  • Is it a good idea to add predefined effects using presetEffects.xml?

    Hello

    I am currently working on a plugin using scriptUI.
    One thing I do is add a control null, which have many options for expressions.

    My basic problem is I want to sort them into groups for better ergonomics. The only way I found to do this, add some excerpts to presetEffects.xml. (please tell me if you know another way)

    Presents all works. So great. But now, I think, is it really a good idea? My main concern is: will they stay there? When the user is updating to a newer version of AE they are replaced?

    Y at - it other problems, that I should be aware?

    Thank you
    Jakob

    If you would not add new effects to null-controller, I think that the best way to organize things, is to create custom predefined ( you can use this script )

    store as a binary file inside your script, and then apply this preset.

Maybe you are looking for

  • question of the Software EULA

    Hi all I built a website 10 years ago (100 + pp) with FP2000.  Recently switched to Win8 which of course can't stand the FP.  Downloaded free version of Expression Web (EW).  Of course, this program was abandoned in 2010.  The fact EULA notes commerc

  • What will I do if my computer says: error: OxCOO4D4O1, the security processor reported a system file mismatch error

    I remember I have delete a file which is unknown to me.then when I opened my computer it does not open the way in which it will open itself. There is an error notice appear.

  • Laptop does not start: error BCD on Acer Aspire M3-581

    Hello Acer Aspire M3 581PTG my son has stopped booting.  At the start, immediately after the Acer logo, it now shows a blue screen with the message: Recovery Certain required information does not appear in the data of Configuration startup file. File

  • Power TC-705

    Recently I bought the desktop computer sucks TC-705. All right. But I have question about the behavior of power light box that intrigues me. Once the power button will be permanently in white blink while the system will probably in mode 'sleep', but

  • Scan is great for downloading. How to fix this?

    "pdf is greater than 2 MB.» Cannot accept! I am new to scanning. Boss just bought office. I have connected my desktop & another office to wireless technology. After a few days of trying to figure out how resize file, without success. I read something