Help needed urgently on a problem..plzzz

hi..this is a linear congruential generator. I have to implement it and i need the execution time for the program.
for your understanding i'm providing an example below.
Xn=(( a* xn-1 )+b) mod m
If X0=7 ; a = 7 ; b =7 ; m=10
Then
X0 = 7
X1 =((7 * 7) + 7))mod 10 = 6
X2 = ((6*7)+7))mod 10 = 9
X3 = ((9*7)+7) mod 10 = 0
X4 = ((0*7)+7) mod 10 = 7
Now since the cycle is being repeated i.e 7 appears again�so the period is 4 coz there are 4 diff nos. i.e 7,6,9,0�..
help required urgently....your help will be appreciated...thankyou..

Hi,
I wrote the code so that it catches any cycle (not only the "big" one).
Otherwise it will enter infinite loop...
The time complexity is O(N*logN): it can do at most N iterations (here N is your 'm'), and in each iteration there can be O(log N) comparisons (since I maintain TreeSet).
Interesting issue: is it possible to supply such (x0, a, b, m) tuple such that all possible values from 0 to m-1 will be output? I think no :)
Here is the program:
package recurr;
import java.util.TreeSet;
import java.util.Comparator;
public class Recurrences {
     private static long x0, a, b, m;
     private static TreeSet theSet;
     public static void main(String[] args)
          long l0, l1, l2, l3;
          try {
               x0 = Long.parseLong(args[0]);
               a = Long.parseLong(args[1]);
               b = Long.parseLong(args[2]);
               m = Long.parseLong(args[3]);
          } catch(NumberFormatException nfe) {
               nfe.printStackTrace();
          System.out.println("X[0]: " + x0 + "\n");
          long curr = x0;
          boolean cut = false;
          int i;
          // initialize the set
          theSet = new TreeSet(new LongComparator());
          // we can get at most m distinct values (from 0 to m-1) through recurrences
          for(i=1; i <= m; ++i) {
               // iterate until we find duplicate
               theSet.add(new Long(curr));
               curr = recurrence(curr);
               if(theSet.contains(new Long(curr))) {
                    cut = true;
                    break;
               System.out.println("X[" + i + "]: " + curr + "\n");
          if(cut) {
               System.out.println("Cycle found: the next will come " + curr + "\n");
          } else {
               System.out.println("No cycle found!");
          System.out.println("----------------------------------");
          System.out.println("Totally " + (i-1) + " iterations");
     private static long recurrence(long previous)
          return (a*previous + b)%m;
     static class LongComparator implements Comparator
          public int compare(Object o1, Object o2)
               if(((Long)o1).longValue() < ((Long)o2).longValue()) {
                    return -1;
               } else if(((Long)o1).longValue() > ((Long)o2).longValue()) {
                    return 1;
               } else return 0;
}

Similar Messages

  • HT201210 i have an error of no 11. kindly help, needed urgently

    i have an error of no 11. kindly help, needed urgently
    when i try to upgrage my
    iphone 3gs wit 4.1 to new latest 5.1
    it gives the erorr of 11. what that mean? Reply as soon as you can !
    thnx

    Error -1 may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.

  • Some J2ME midlets doubts!! help needed urgently!!!

    Hi,
    I am currently working in a company where it does wireless technology like WAP and I am assigned a task of creating a screensaver midlet. I have some doubts on the midlets.
    1) How do i use a midlet suites? From what I heard from my colleagues & friends, a servlet is needed for midlets to interact with one another. is it true?
    2) How do I get the startin midlet to take note the phone is idling so that the screen saver midlet can be called?
    Help needed urgently... if there is any source codes for me to refer to would be better... Thanks...
    Leonard

    indicates that MIDlet suites are isolated (on purpose) from each other, so you can't write over another one's address space.
    Also, I believe (at least on cell phones) that you have to specifically enter the Java Apps mode; unless you do the app won't execute. If you are in Java apps mode and a call comes in, the cell's OS puts the Java app currently executing on "Pause" mode and switches back to phone mode.
    Not sure if you will be able to have a Java app do that automatically.
    BTW why do you need a screensaver on an LCD display? Is it really intended to show an advertisement?
    Download and real all the docs you can from Sun, once you get over the generic Java deficiencies MIDlet's aren't that hard.

  • Load bar at start up, then shut down. HELP NEEDED URGENTLY!!! plss....

    Load bar at start up, then shut down. HELP NEEDED URGENTLY!!! plss..

    The startup disk may need repairing.
    Startup your Mac while holding down the Command + R keys so you can access the built in utiliites to repair the startup disk if necessary or restore OS X using OS X Recovery

  • Help needed urgently -Had a power (electricity) failure at re-installation

    I need your help in  fixing this BIG problem. I had an app reset which required me to re-install my 8900 Os. In the process of installation. Having gotten to the level where it says Do not disconnect your device..
    Loading JVM and the system application window
    waiting for device initialization
    A colleague of mine trying to resolve some issues with his printer mistakenly Pull my power cable off
    I tried starting all over again but the system would not recognize the phone and could not even come up with the com port number>
    the phone blinks intermittently too.
    How do I resolve this issue.
    Thank you

    Hi and Welcome to the Forums!
    Two possibilities for you:
    http://crackberry.com/blackberry-101-lecture-12-how-reload-operating-system-nuked-blackberry
    http://forums.crackberry.com/f3/how-wipe-jl_cmder-53502/
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Help needed Urgently- Rebate based on collected amount

    Dear all,
    I come across scenario while discussiion with client that they require rebate with collection. Details of the requirement are given below:
    1. SAP rebates run on billed values & set the accrual in rebate agreement on the rate what we have specified in the rebate agreement. Requirement is that, If i have billed on 1000$ & my accrual value is 100$ with the rate of 10%. If i collected 800$ instead of 1000$, then i need to pay the accrual on the basis of 800$ not on the basis of 1000$. It means i have to adjust accrual amount on the basis of 800$. Conclusion is that i have to pay not 100$ accrual instead less then 100$ on the basis of 800$ which i collected.
    2. In month 1 have billed on 5000$, my accrual amount is 500$ with rate of 10%. In the 2nd month i have to bill 1000$ and i have given an discount of 500$, it means my billed value is 500$ and my accrual amount is 50$@10%. In month 3 again i billed 500$ and my accrual amount is 50$@10%.
    Requirement is that, when i am going to pay the accrual to client, i should pay correct accrual for which he is entitled for. Means i should pay 100$ accrual not 600$ because i have already given an discount of 500$. Discount which i have given already of 500$ should need to be offest with the first month accrual of 500$. So remaning accrual is 100$.
    Great if somebody can help me out for the solutioning of the above requirements.

    Thanks Ivano,
    Somebody has started the conversation.
    Let me put my questions again.
    This requirement is nothing to do with Payment procedure in the agreement type.
    1. In any month if i billed 1000$, so my account receivable would be 1000$. My rebate for that month is 100$ at the rate of 10%. During customer receipt if i collected against my invoice 900$ instead of 1000$, my accrual needs to be corrected 90$ instead of 100$.
    I know this can not be fullfilled by standard SAP, by any thoughts on this welcomed.
    2. I know Rebate can be settled partially or full settlement by payment method( by cheque, bank transfer, or by credit memo) we have configure in rebate agreement type. But here requirement is totally different.
    Here, i need to pay the Rebate as a Discount instead of by cheque or by credit memo. While doing the partial or full settlement system will take into account collected accrual up to that day & apply as a discount to the final bill.
    Scenario is like that sometimes customer asked to give us the discount on bill for whatever they accrued so far.
    This is again cannot solved by standard SAP, but any thought by any body welcome. We have already thought that we need to enhance the solution.
    Solution needed urgently.

  • Unable to allocate 27160 bytes.........Help needed urgently

    hi
    in my production database in getting this error..
    ORA-04031: unable to allocate 27160 bytes of shared memory ("shared
    pool","unknown object","sga heap(1,0)","session param values")
    help needed urgently

    If you have a program that does not use bind variables you can get this error.
    In such cases you do not want to increase the size of the shared pool, but reduce it, and flush regularly. This is a bug in the application and should be fixed to use bind variables.
    Another possible workaround is setting cursor_sharing = force, but this can cause other problems, so should only be used as a last resort. If the apps connections can be distinguished by user account or machine, then a log on trigger could be set cursor_sharing just for that application, to limit the damage until the vendor can fix it.

  • Error while importing the epa file..help needed urgently..

    Hi,
    I am facing a severe problem, I have developed a portal application, designed the pages, iViews roles etc and exported to a file and later downloaded the epa file.
    For testing purpose, I deleted my content folder of the pages and iViews from the content administration. But when i tried to import the file, I am getting an error message
    <b>" Error extracting the package file. Check the log files for details. "</b>
    When i lokked the log file, i found the exception as
    <b>" [com.sapportals.portal.transport.ui.ImportComponent] Error while extracting EP6.0 package C:
    usr
    sap
    J2E...
    MyEpafile.epa "</b>
    and below the erro i found an exception message as <b>"error in opening zip file"</b>
    When i tried to extract the file using winzip, I can extract it with out any problem..
    Can you please tell me how this happened?
    Please help me to solve this problem,
    Thankyou,
    Sudheesh...

    Hi Christopher,
    Well, I have solved the problem. But I don't know whether it will be the correct technical way.. Because i have to solve the same under a very little time constraint. The solution is given below,
    I unzipped the epa file which i have downloaded using winzip. inside the extracted file, i found a zip file with the same file name and extension. when i uploaded that file, it worked fine with out any problem. I tried the same many times. and each time i got the same results.
    Please try this if you are still facing the problem..
    Best regards,
    Sudheesh...

  • Help neede urgently(Problem in adding exponential numbers)

    Hi,
    Actually i want to add the contents of two files which contains exponential numbers.
    i'm not able to add these numbers. Can any one help me?
    import java.io.*;
    import java.nio.*;
    class  userFile
         public static void main(String[] args) throws IOException
              try
                   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
              String s1,s2,s3;
              FileReader fr1,fr2;
              System.out.println("Enter first file :");
              s1=br.readLine();
              System.out.println("Enter second file :");
              s2=br.readLine();
              System.out.println("Enter new file :");
              s3=br.readLine();
              fr1= new FileReader(s1);
              fr2= new FileReader(s2);
              BufferedReader fin1=new BufferedReader(fr1);
              BufferedReader fin2=new BufferedReader(fr2);
              String str1,str2,str3;
              double i1,i2,i3;
              OutputStream fout=new FileOutputStream(s3);
              while((str1=fin1.readLine()) != null)
                   while((str2=fin2.readLine()) != null)
                   i1=Float.parseFloat(str1);
                   System.out.println(i1);
                   i2=Float.parseFloat(str2);
                   System.out.println(i2);
                   i3=i1+i2;
                   System.out.println("i3=" +i3);
                   str3 = Float.toString(i3);
                   byte buf[]=str3.getBytes();
                   fout.write(buf);
                   fout.write('\n');
              catch(NumberFormatException e)
                   System.out.println(e);
    }I need help urgently.
    Thanks in advance.

    By "exponential number, do you mean one in scientific notation (eg. -1.55743e21) or what?
    What do your files look like?
    What problem are you encountering? Is an exception being thrown? If so, give us the exact message (copy/paste). Is the results simply not what was expected? If so, give us the input, the expected results and the actual results for us to compare and consider.
    Chuck

  • Audio Problems in Adobe Presenter: Help Needed Urgently!!

    I am using trial versions of Adobe Presenter 7 and Adobe Connect 8.
    I created a presentation in in Powerpoint 2002 and published through Adobe Presenter to Adobe Connect Pro. This presentation has voice over recorded through the Adobe Presenter "record audio" option.
    In Adobe Connect Pro, I created a meeting and shared the above mentioned presentation through the "Share Document" option in Connect Pro.
    Now, when I play the presentation in this Adobe Connect Meeting, I am not getting any audio that was recorded in Adobe Presenter. Whereas if I play the published presentation directly it plays the recorded audio.
    Can anyone help me on this?
    1. Are there any settings to be done in Powerpoint or Adobe Presenter or Connect pro?
    2. Is it the problem of Trial Account or something like that?
    Please let me know the solution. Need to work on this ASAP!!!
    Thanks in Advance,
    Yogini

    This is a weird one. If you created a prezo with audio and published it to AC (Adobe Connect) and everything worked fine on your desktop then it should work fine in AC i.e. there are no other settings required on AC's side, it should just play.
    As I am typing this I thought of similar audio problems that we have experienced in the past. A big one would be where another user created a PPT on their laptops and handed it to us. When testing the audio did not work. Reason being is that not all the files were coppied over BUT I must accept that this is not your problem as it definately worked on your PC before you published it to AC.
    Wait there is one setting in the publish settings. In the output options tick "Upload source presentation with assests", then tick audio.
    I cannot think of anything else. There is a man called Heyward Drummond on the Adobe Connect General forum, who is a real master at answering queries like this. Why not post your query there and see if he comes up with an answer?

  • Zoom problem(help needed urgently please )

    friends,
    i m working on a class in which there is one JPanel inside a JInternalFrame. i have functionalities like zoomin and zoomout. for that i m writing my code on mouse clicked of JPanel but my problem is that mouseClicked method is getting called several times even if i click once on JPanel and thus zooming the JPanel by a very large value.
    please help me if u have any solution for it.Its very urgent.

    You are still crossposting.
    It would be a waste of everyone's time to answer you here, since quite likely others have already helped you elsewhere.

  • Zoom problem (help needed urgently)

    friends,
    i m working on a class in which there is one JPanel inside a JInternalFrame. i have functionalities like zoomin and zoomout. for that i m writing my code on mouse clicked of JPanel but my problem is that mouseClicked method is getting called several times even if i click once on JPanel and thus zooming the JPanel by a very large value.
    please help me if u have any solution for it.Its very urgent.

    it would be difficult to post complete code so i m posting the important part of my code related to this zoom problem.
    public class PaintPanel extends JPanel implements MouseListener
         public Rectangle normalShape;
         public int initialX =0;
         public int initialY = 0;
         public int finalX = 0;
         public int finalY = 0;
         protected void paintComponent(Graphics g)
    addMouseListener(this);
    super.paintComponent(g);
    scale = zoomvalue;
    // System.out.println("scale value is " + scale);
    Graphics2D g2d = (Graphics2D) g;
    AffineTransform at = g2d.getTransform();
    AffineTransform atnew = new AffineTransform();
    atnew.scale(scale,scale);
    at.concatenate(atnew);
    // g2d.setTransform(at);
    g2d.setTransform(at);
    public void mouseClicked(MouseEvent e)
    // get the position of mouse released
    setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
    finalX = e.getX();
    finalY = e.getY();
    temploc3 = finalX;
    temploc4 = finalY;
    if(WellPlot.zoomFlag)
    System.out.println("zoomvalue in mouseClicked " + zoomvalue);
    zoomvalue += 0.1 ;
    setZoom();
    return;
    }

  • Help Needed Urgently - Payment Problem!

    Hi all,
    I have tried to purchase a couple of apps and I keep getting an error message (below) and yet, both times I received a confirmation sms on my phone telling me that my credit card had been charged the amount! I have re-entered my payment information and my account info and everything and it still doesnt work, even though the payment works just fine apparently as the money is getting deducted with no problem.
    How do I solve this and how do I (a) make the apps that I purchased work without repurchasing again OR (b) get my money back.

    hishamsaidi wrote:
    Hi please I can't purchase by me visa card it is telling Me error 12000 from app world thanks
    Hi and Welcome to the Community!
    Here is a KB that discusses that error:
    KB28978 "Error ID 12000" is encountered when attempting to complete a purchase on a BlackBerry device
    Hopefully it contains something useful! There also are multiple existing threads on this site that discuss that exact error...your review of those might prove useful, and a search of this site, using the error message, error code, or symptom, should reveal all applicable existing threads to you.
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Problem with jasper. Help needed urgently!

    Hi everybody. I'm trying to run jasper reports in a new web applicattion i've done. The problem is that the jasper runs perfectly in my pc i've developed the apllicattion but it doesn't work in the server. The error message that I show is:
    [Error de servlet]-[net/sf/jasperreports/engine/fill/JRVerticalFiller]: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/fill/JRVerticalFiller
    java/lang/Throwable.<init>(Ljava/lang/String;)V+4 (Throwable.java:85)
    java/lang/Error.<init>(Ljava/lang/String;)V+1 (Error.java:41)
    java/lang/NoClassDefFoundError.<init>(Ljava/lang/String;)V+1 (NoClassDefFoundError.java:38)
    net/sf/jasperreports/engine/fill/JRFiller.createFiller(Lnet/sf/jasperreports/engine/JasperReport;)Lnet/sf/jasperreports/engine/fill/JRBaseFiller;+44 (JRFiller.java:147)
    net/sf/jasperreports/engine/fill/JRFiller.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Ljava/sql/Connection;)Lnet/sf/jasperreports/engine/JasperPrint;+1 (JRFiller.java:57)
    net/sf/jasperreports/engine/JasperFillManager.fillReport(Lnet/sf/jasperreports/engine/JasperReport;Ljava/util/Map;Ljava/sql/Connection;)Lnet/sf/jasperreports/engine/JasperPrint;+3 (JasperFillManager.java:402)
    org/apache/jsp/_listado_5F_jasper._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+503 (_listado_5F_jasper.java:173)
    com/ibm/ws/webcontainer/jsp/runtime/HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (HttpJspBase.java:89)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet$JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+225 (JspServlet.java:396)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;ZLjava/lang/String;)V+97 (JspServlet.java:880)
    com/ibm/ws/webcontainer/jsp/servlet/JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+352 (JspServlet.java:978)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictServletInstance.java:105)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:160)
    com/ibm/ws/webcontainer/servlet/IdleServletState.service(Lcom/ibm/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:313)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:116)
    com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250)
    com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lcom/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42)
    com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstanceReference.java:40)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppRequestDispatcher.java:936)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0 (WebAppRequestDispatcher.java:268)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (WebAppRequestDispatcher.java:155)
    org/apache/struts/action/RequestProcessor.doForward(Ljava/lang/String;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RequestProcessor.java:1058)
    org/apache/struts/action/RequestProcessor.processForwardConfig(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Lorg/apache/struts/config/ForwardConfig;)V+0 (RequestProcessor.java:428)
    org/apache/struts/action/RequestProcessor.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (RequestProcessor.java:217)
    org/apache/struts/action/ActionServlet.process(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (ActionServlet.java:1481)
    org/apache/struts/action/ActionServlet.doPost(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (ActionServlet.java:525)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (HttpServlet.java:733)
    javax/servlet/http/HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (HttpServlet.java:848)
    com/ibm/ws/webcontainer/servlet/StrictServletInstance.doService(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictServletInstance.java:105)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet._service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:160)
    com/ibm/ws/webcontainer/servlet/IdleServletState.service(Lcom/ibm/ws/webcontainer/servlet/StrictLifecycleServlet;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:313)
    com/ibm/ws/webcontainer/servlet/StrictLifecycleServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (StrictLifecycleServlet.java:116)
    com/ibm/ws/webcontainer/servlet/ServletInstance.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstance.java:250)
    com/ibm/ws/webcontainer/servlet/ValidServletReferenceState.dispatch(Lcom/ibm/ws/webcontainer/servlet/ServletInstanceReference;Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ValidServletReferenceState.java:42)
    com/ibm/ws/webcontainer/servlet/ServletInstanceReference.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lcom/ibm/ws/webcontainer/webapp/WebAppServletInvocationEvent;)V+0 (ServletInstanceReference.java:40)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.handleWebAppDispatch(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppRequestDispatcher.java:936)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.dispatch(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Z)V+0 (WebAppRequestDispatcher.java:268)
    com/ibm/ws/webcontainer/webapp/WebAppRequestDispatcher.forward(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V+0 (WebAppRequestDispatcher.java:155)
    com/ibm/ws/webcontainer/srt/WebAppInvoker.doForward(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+0 (WebAppInvoker.java:79)
    com/ibm/ws/webcontainer/srt/WebAppInvoker.handleInvocationHook(Ljava/lang/Object;)V+0 (WebAppInvoker.java:159)
    com/ibm/ws/webcontainer/cache/invocation/CachedInvocation.handleInvocation(Ljava/lang/Object;)V+0 (CachedInvocation.java:66)
    com/ibm/ws/webcontainer/srp/ServletRequestProcessor.dispatchByURI(Ljava/lang/String;Lcom/ibm/ws/webcontainer/srp/ISRPConnection;)V+0 (ServletRequestProcessor.java:126)
    com/ibm/ws/webcontainer/oselistener/OSEListenerDispatcher.service(Lcom/ibm/ws/webcontainer/oselistener/api/IOSEConnection;)V+0 (OSEListener.java:317)
    com/ibm/ws/webcontainer/http/HttpConnection.handleRequest()V+0 (HttpConnection.java:56)
    com/ibm/ws/http/HttpConnection.readAndHandleRequest(Z)V+0 (HttpConnection.java:575)
    com/ibm/ws/http/HttpConnection.run()V+0 (HttpConnection.java:375)
    com/ibm/ws/util/ThreadPool$Worker.run()V+0 (ThreadPool.java:654)
    I'm running the applicattion with jasperreports1.2.2.jar and the other needed libraries as it's explained in sourceforge.
    Should I have missed any .jar? What's the problem? Why the applicattion runs perfectly in my pc but doesn't run in the server?

    Yes, because if i hadn't put each and every library required in WEBINF/lib it hadn't work in my pc. There is something in the server different but i don't know what it is. The ear file i export contains the libraries required in the places that they're needed.

  • Urgent help need with a strange problem. Thank you.

    Hi.
    I'm trying to help a friend.
    When she downloads pictures from her camera into Lightroom and selects her external drive and picture folder the pictures always end up in her /user/documents folder. I've seen this myself.
    They do not go to the selected drive/folder but always to her documents folder. Any idea what could be going on PLEASE.
    Thank you much.
    Tom

    Try dpreview. com
    They have a mac forum and very smart group of folks.

Maybe you are looking for