ArrayList, the same old newbie questions..

I get this:
Exception in thread "main" java.lang.NoClassDefFoundError: ArrayLists/java
When trying to run a good friend of mine 's code:
import java.util.*;
/** Browser history class. This class functions
* linearly, to store and get all names.
class BrowserHistory
     private ArrayList backHistory, forwardHistory;
     private Object currentPage = "";
     public BrowserHistory()
          backHistory = new ArrayList();
          forwardHistory = new ArrayList();
     public void newURL(String url)
          if (currentPage.equals(null) || currentPage.equals(""))
               //Do nothing
          else
               backHistory.add(0,currentPage);
          currentPage = url;
          forwardHistory.clear();
     public String forward()
          backHistory.add(0,currentPage);
          currentPage = forwardHistory.get(0);
          forwardHistory.remove(0);
          return (String)currentPage;
     public String back()
          forwardHistory.add(0,currentPage);
          currentPage = backHistory.get(0);
          backHistory.remove(0);
          return (String)currentPage;
     public boolean backIsEmpty()
          return backHistory.isEmpty();
     public boolean forwardIsEmpty()
          return forwardHistory.isEmpty();
Instantiation of the ArrayList class seems to be the problem, but I can't find a solution.

There can be only 2 problems with this:
1.) Your classpath is incorrect.Probable.
2.) Your JDK version is old and does not contain the
Collection framework classes.JDK V. 1.4.
Thanks a lot, Vikas.
Vikas

Similar Messages

  • When I save an e-mail as a file, it opens (seems stuck) to the same old one saved earlier. How do I unstick it?

    I use a MAC desktop and Thunderbird with latest update. Recently, when I've tried to open an e-mail that I saved earlier as a file with the .eml suffix, what opens is always the same unrelated e-mail that I saved earlier to an unrelated file. It seems stuck on that same unrelated e-mail, no matter what the file or what e-mail I intended to save. For example, I save (i.e., drop-down menu: Save As - File) an e-mail that I received regarding Topic A; then I go to the folder or file to which I saved it and locate the e-mail under the correct name in which I saved it; I double click and then click on Open; what always opens is an e-mail of a few months ago that I received from Bernie. It doesn't happen on my MAC Air laptop.

    Until recently, I've been able to save e-mails to files and folders by clicking "Save As" on the dropdown File menu. In the last few weeks, whenever I open any one of the many e-mails that I've saved over time as files, it doesn't open the e-mail that I'm trying to open. Instead, what opens up is always the same old email of a couple of months ago that has no relationship to the one I'm trying to open. Somehow, it's stuck on that same old e-mail. So, yes, your response is technically correct: (a) I open the message, and (b) I see what's in there. But what I always see is the same old unrelated e-mail message. My question is how do I get past that e-mail that it's stuck on to the e-mail that I saved but won't open up? Sorry to be such a pest.

  • Hi there i am having a problem here i had an old id when i created my account but my credit card expired and i had put a new info but after that i have changed my apple id as well but now whenever i open anything the same old email id popped up how can i

    Hi there i am having a great problem here i had an old id when i first made my apple id but at that time my credit card info was different and now i have chaged my credit card info because it got expired.my problem is that even though i have changed my apple id the same old one always pops up and ask for a password and i ont hat id anymore how can i change my id on the main icloud setting page please slove my problem it is bothering me alot and my icloud is not backing up anymore how can i replace my new apple id to an old one please help me.
    Thanks
    Ayesha

    OK ..... Did you sign into your new ID in Settings>iTunes and App Stores>Apple ID. Tap your old ID and sign out and then sign in with the new ID.

  • HT204053 I previously use an apple id , I have tried to reset and even changed the id on the settings on my phone but each time I try to update an apple apps , I keep getting the same old ID on my phone. What do I do?

    I previously use an apple id called *** @hotmail.co.uk, I have tried to reset and even changed the id on the settings on my phone but each time I try to update an apple apps , I keep getting the same old ID on my phone. What do I do?
    <Email Edited by Host>

    Is the same true for using the App Store with a desktop machine? Someone installed a program on my machine (the IT department) and I would like to install the updates but it was installed under a different Apple ID. This anyone know how to change, or work around this particular issue?
    Any thoughts or suggestions are greatly appreciated.
    Cheers

  • Fed up with The same OLD APPS in App store.

    I have been staring at the same old Apps in App store since july 11th. Please developers give us some more Apps. I have read that Old jailbroken Iphones have 1000's of Apps. We have a few hundred.

    You also need to be aware that it isn't just the developer...Apple has to approve the apps before they will permit them on the iPhone. That process takes time. Only Apple approved apps are then added to the app store.
    Second, you will never see all the apps that are available on jailbroken phones because the SDK does not permit access to the phone features themselves -- if you look at those jailbroken apps, you will see all kinds of apps that access the iPod feature, the video features, the camera features. You will find bad MMS apps, you will find all kinds of things that will never be approved by Apple for the iPhone and won't end up in the official Apple App Store.
    Be patient, more applications will come, but you have to be realistic about what will and what will not be available.

  • The same old Character Palette problem

    Yep. I've got the same old Character Palette problem. Running Mac OS X 10.4.10, all the latest updates, checked the forums for all the help I could find, and tried everything, and still every **** time I sign in or come back from sleep, the character palette shows up!

    hey, husayndas
    i'm currently having this exact same thing happen!!
    could you outline exactly how you managed to turn the palette off?
    much appreciated!

  • Still stuck with the same old producer consumer weight problem need help

    Hello All,
    This is the problem I am stuck with right now.
    I have two array lists one producer array list and one consumer array list denoted by a and b
    P1 P2 P3 P4 P5
    5 6 7 8 9
    C1 C2 C3 C4 C5
    2 3 4 5 6
    Now we find all those producer consumer pairs which satisfy the criteria Pi>=Ci
    We have the following sets
    (5,2)(6,2)(7,2),(8,2),(9,2)
    (5,3)(6,3)(7,3),(8,3),(9,3)
    (5,4)(6,4)(7,4),(8,4),(9,4)
    (5,5)(6,5)(7,5),(8,5),(9,5)
    (6,6)(7,6)(8,6),(9,6)
    Let us done each of them with Si
    so we have S1,S2,S3,S4,S5
    we assign a third parameter called weight to each element in Si which has satisfied the condition Pi>=Ci;
    so we we will have
    (5,2,ai),(6,2,bi),(7,2,ci)....etc for S1
    similarly for S2 and so on.
    We need to find in each set Si the the pair which has the smallest weight.
    if we have (5,2,3) and (6,2,4) then 5,2,3 should be chosen.We should make sure that there is only one pair in every set which is finally chosen on the basis of weight.
    Suppose we get a pair (5,2,3) in S1 and (5,2,3) in S2 we should see that (5,2,3) is not used to compare to compare with any other elements in the same set S2,
    Finally we should arrive at the best element pair in each set.They should be non repeating in other sets.
    Given a problem
    P0 P1 P2 P3 P4
    9 5 2 2 8
    6 5 4 5 3
    C0 C1 C2 C3 C4
    we have So as (P0,C0) and (P4,C0)
    assuming that the one with the smaller index has lesser weight PO is selected.In the program I have used random weights.from set S1 we select the pair PO,CO
    S1 =(P0,C1),(P1,C1) and (P4,C1)
    since P0 and P4 are already used in previous set we dont use them for checking in S1 so we have (P1,C1) as best.
    S2=(P0,C2),(P1,C2) and (P4,C2) so we dont use P0,C2 and P1 and C2 because PO and P1 are already used in S1.
    So we choose P4,C2
    in S3 and S4 ae have (P0,C3),(P1,C3),(P4,C3) so we dont choose anything
    and same in S4 also.
    So answer is
    (P0,C0),(P1,C1) and (P4,C2).
    My program is trying to assign weights and I am trying to print the weights along with the sets.It doesnt work fine.I need help to write this program to do this.
    Thanks.
    Regards.
    NP
    What I have tried till now.
    I have one more question could you help me with this.
    I have an array list of this form.
    package mypackage1;
    import java.util.*;
    public class DD
    private  int P;
    private  int C;
    private int weight;
    public void set_p(int P1)
    P=P1;
    public void set_c(int C1)
    C=C1;
    public void set_weight(int W1)
    weight=W1;
    public int get_p()
    return P;
    public int get_c()
    return C;
    public int get_x()
    return weight;
    public static void main(String args[])
    ArrayList a=new ArrayList();
    ArrayList min_weights_int=new ArrayList();
    ArrayList rows=new ArrayList();
    ArrayList temp=new ArrayList();
    Hashtable h=new Hashtable();
    String v;
    int o=0;
    DD[] d=new DD[5];
    for(int i=0;i<4;i++)
    d=new DD();
    for(int i=0;i<4;i++)
    d[i].set_p(((int)(StrictMath.random()*10 + 1)));
    d[i].set_c((int)(StrictMath.random()*10 + 1));
    d[i].set_weight(0);
    System.out.println("Producers");
    for(int i=0;i<4;i++)
    System.out.println(d[i].get_p());
    System.out.println("Consumers");
    for(int i=0;i<4;i++)
    System.out.println(d[i].get_c());
    System.out.println("Weights");
    for(int i=0;i<4;i++)
    System.out.println(d[i].get_x());
    for(int i=0;i<4;i++ )
    int bi =d[i].get_c();
    ArrayList row=new ArrayList();
    for(int j=0;j<4;j++)
    if( d[j].get_p() >=bi)
    d[j].set_weight((int)(StrictMath.random()*10 + 1));
    row.add("(" + bi + "," + d[j].get_p() + "," +d[j].get_x() + ")");
    else
    d[j].set_weight(0);
    row.add("null");
    rows.add(row);
    System.out.println(rows);
    int f=0;
    for(Iterator p=rows.iterator();p.hasNext();)
    temp=(ArrayList)p.next();
    String S="S" +f;
    h.put(S,temp);
    String tt=new String();
    for(int j=0;j<4;j++)
    if(temp.get(j).toString() !="null")
    // System.out.println("In if loop");
    //System.out.println(temp.get(j).toString());
    String l=temp.get(j).toString();
    System.out.println(l);
    //System.out.println("Comma matches" + l.lastIndexOf(","));
    //System.out.println(min_weights);
    f++;
    for(Enumeration e=h.keys();e.hasMoreElements();)
    //System.out.println("I am here");
    int ii=0;
    int smallest=0;
    String key=(String)e.nextElement();
    System.out.println("key=" + key);
    temp=(ArrayList)h.get(key);
    System.out.println("Array List" + temp);
    for( int j=0;j<4;j++)
    String l=(temp.get(j).toString());
    if(l!="null")
    System.out.println("l=" +l);
    [\code]

    In your example you selected the pair with the greatest
    distance from the first set, and the pair with the least
    distance from the second. I don't see how the distance
    function was used.
    Also it's not clear to me that there is always a solution,
    and, if there is, whether consistently choosing the
    furthest or the closest pairs will always work.
    The most obvious approach is to systematically try
    all possibilities until the answer is reached, or there
    are no possibilities left. This means backtracking whenever
    a point is reached where you cannot continue. In this case
    backtrack one step and try another possibility at this
    step. After all possible choices of the previous step,
    backtrack one more step and so on.
    This seems rather involved, and it probably is.
    Interestingly, if you know Prolog, it is ridiculously
    easy because Prolog does all the backtracking for you.
    In Java, you can implement the algorithm in much the same
    way as Prolog implementations do it--keep a list of all the
    choice points and work through them until success or there
    are none left.
    If you do know Prolog, you could generate lots of random
    problems and see if there is always a solution.

  • Setting up a cluster for the first time: newbie questions

    Any help appreciated with this situation:
              I'm trying to set up a cluster for the first time and running into
              issues (no big surprise). I'll outline my situation and pose questions
              as they arise. If/when I get things to work I'll post a step-by-step
              summary of what it took to get a simple cluster going.
              Here's what I have:
              machines:
              1 Windows 2000 machines with WL 6.1
              2 RedHat Linux machines with WL 6.1
              All machines are on the same Home LAN, can see each other, etc.
              IP addresses are:
              Windows box: 192.168.1.100
              Linux box 1: 192.168.1.102
              Linux box 2: 192.168.1.103
              servers:
              I've set up the Windows machine as my admin server, and set up
              a managed server on each Linux machine. I created a cluster that consists
              of the 2 Linux machines and deployed the web app and EJB to the cluster.
              The Windows machine is acting as a Proxy using ClusterServlet.
              The web application has been set as the Default Web Application on the
              two Linux machines. All 3 machines are listening on ports 80/443. I also
              set up session memory replication through the console.
              Application:
              I have an application that I package as an EAR file. I'm using it as a
              "reference" application designed to mimic a real world app as much as possible.
              The EAR file contains a web application that uses Struts. It also consists
              of a single Stateless Session Bean. The WAR file and EJB Jar are all
              packaged up into the EAR file. I've been able to run this application just
              fine on a single managed server on all 3 machines.
              The web application works fine, and it can invoke the EJB. I can also
              invoke the EJB from Java stand-alone clients. Struts works great. All is
              well with the world. Now I'm trying to "cluster-ize" this app using
              the environment described above and encountering issues.
              I've read the docs and followed the instructions according to the
              "Weblogic Bible" book. I can bring up all 3 servers and the Linux
              managed servers connect to the cluster just fine. I can also
              see the Struts messages in their logs which normally happens and tells me
              the webapp is initialized properly. The console tells me that the managed
              servers are running. I get no error messages starting up any of the serves.
              Here are the problems I am encountering.
              When I try to access the Web Application (through a browser on the
              Windows machine using http://localhost) I get the following error message:
              <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
              x,admin) found no context for "/". This request does not match the context path
              for any installed web applications and there is no default web application confi
              gured.>
              Also, when I try to invoke the EJB through a stand-alone Java client,
              I get a JNDI lookup error on the EJB's home interface.
              Questions:
              Question1: I noticed when setting up the machines that console lets you
              define a "Machine" or a "Unix Machine". What's the difference? Should I
              define the Linux machines as Unix machines or machines, and what are the
              consequences of either choice?
              Question2:
              I'm not totally clear on how my web.xml should look to set up Struts,
              the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
              Here is what I had before I tried to cluster and which works fine:
              <filter>
              <filter-name>MainFilter</filter-name>
              <filter-class>com.refapp.servlets.MainFilter</filter-class>
              <init-param>
              <param-name>myAttribute</param-name>
              <param-value>Foo</param-value>
              </init-param>
              </filter>
              <filter-mapping>
              <filter-name>MainFilter</filter-name>
              <url-pattern>/*</url-pattern>
              </filter-mapping
              <!-- Struts ActionServlet Configuration -->
              <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
              <param-name>application</param-name>
              <param-value>refappstruts</param-value>
              </init-param>
              <init-param>
              <param-name>config</param-name>
              <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <init-param>
              <param-name>debug</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>mapping</param-name>
              <param-value>org.apache.struts.action.RequestActionMapping</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
              </servlet>
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <welcome-file-list>
              <welcome-file>index.do</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>index.html</welcome-file>
              </welcome-file-list>
              (I have set up a "dummy" 0-length file called index.do that triggers
              Struts to go into its ActionServlet when first accessing the web site).
              Here is how I added ClusterServlet to web.xml:
              servlet>
              <servlet-name>ClusterServlet</servlet-name>
              <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
              <load-on-startup>0</load-on-startup>
              <init-param>
              <param-name>defaultServers</param-name>
              <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
              </init-param>
              <init-param>
              <param-name>DebugConfigInfo</param-name>
              <param-value>ON</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>InitServlet</servlet-name>
              <url-pattern>/servlet/InitServlet</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>/</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.html</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.jsp</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              Clearly there is a problem with the Default Web application not being
              seen/mapped properly. Any chances my URL mappings for the filter servlet,
              Struts, and ClusterServlet are stepping on each other?
              With respect to the EJB, here is what my weblogic-ejb-jar looks like:
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>Hello</ejb-name>
              <stateless-session-descriptor>
              <pool>
                   <max-beans-in-free-pool>100</max-beans-in-free-pool>
              </pool>
              <stateless-clustering>
              <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              <stateless-bean-load-algorithm>
              round-robin
              </stateless-bean-load-algorithm>
              <stateless-bean-methods-are-idempotent>
              true
              </stateless-bean-methods-are-idempotent>
              </stateless-clustering>
              </stateless-session-descriptor>
              <jndi-name>Hello.Home</jndi-name>
              </weblogic-enterprise-bean>
              I run this through ejbc and package everything up into the EAR file.
              However, I get a JNDI lookup failure when I try to access the Bean from
              a standalone Java client running on the Windows machine.
              Here is the jndi.properties file that I am using:
              java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              java.naming.provider.url=t3://localhost:80
              Any ideas what I'm doing wrong here? I can post config.xml also if needed.
              Thanks in advance!
              

    Let me try to answer :)....
              A1> No need to name diff machines by default weblogic
              considers the servers are physically located in diff boxes.
              The names are used to differtiate the mang servers which are in
              multihomed
              Some things to chk
              1> Did u targeted the ear file Target as cluster.
              2> Can u see on the Admin console that both the man servers
              are participated in the cluster( u can see by clicking the monitoring
              tab on the Cluster node).
              3>Is the URL:PORT for the default web app correct?
              the reason: is I dont see the port# on the link u mentioned
              4> probably ur ejb might not been deployed on the target thats the
              reason u cant access thru java client. If u correct the targets that
              will probably fix it.
              Hope this helps
              Please post the result
              Thanks
              Sudhir
              [email protected] (Chris) wrote in message news:<[email protected]>...
              > Any help appreciated with this situation:
              > I'm trying to set up a cluster for the first time and running into
              > issues (no big surprise). I'll outline my situation and pose questions
              > as they arise. If/when I get things to work I'll post a step-by-step
              > summary of what it took to get a simple cluster going.
              > Here's what I have:
              >
              > machines:
              > 1 Windows 2000 machines with WL 6.1
              > 2 RedHat Linux machines with WL 6.1
              > All machines are on the same Home LAN, can see each other, etc.
              > IP addresses are:
              > Windows box: 192.168.1.100
              > Linux box 1: 192.168.1.102
              > Linux box 2: 192.168.1.103
              >
              > servers:
              > I've set up the Windows machine as my admin server, and set up
              > a managed server on each Linux machine. I created a cluster that consists
              > of the 2 Linux machines and deployed the web app and EJB to the cluster.
              > The Windows machine is acting as a Proxy using ClusterServlet.
              > The web application has been set as the Default Web Application on the
              > two Linux machines. All 3 machines are listening on ports 80/443. I also
              > set up session memory replication through the console.
              >
              > Application:
              > I have an application that I package as an EAR file. I'm using it as a
              > "reference" application designed to mimic a real world app as much as possible.
              > The EAR file contains a web application that uses Struts. It also consists
              > of a single Stateless Session Bean. The WAR file and EJB Jar are all
              > packaged up into the EAR file. I've been able to run this application just
              > fine on a single managed server on all 3 machines.
              > The web application works fine, and it can invoke the EJB. I can also
              > invoke the EJB from Java stand-alone clients. Struts works great. All is
              > well with the world. Now I'm trying to "cluster-ize" this app using
              > the environment described above and encountering issues.
              >
              > I've read the docs and followed the instructions according to the
              > "Weblogic Bible" book. I can bring up all 3 servers and the Linux
              > managed servers connect to the cluster just fine. I can also
              > see the Struts messages in their logs which normally happens and tells me
              > the webapp is initialized properly. The console tells me that the managed
              > servers are running. I get no error messages starting up any of the serves.
              >
              > Here are the problems I am encountering.
              >
              > When I try to access the Web Application (through a browser on the
              > Windows machine using http://localhost) I get the following error message:
              >
              > <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
              > x,admin) found no context for "/". This request does not match the context path
              > for any installed web applications and there is no default web application confi
              > gured.>
              >
              > Also, when I try to invoke the EJB through a stand-alone Java client,
              > I get a JNDI lookup error on the EJB's home interface.
              >
              > Questions:
              > Question1: I noticed when setting up the machines that console lets you
              > define a "Machine" or a "Unix Machine". What's the difference? Should I
              > define the Linux machines as Unix machines or machines, and what are the
              > consequences of either choice?
              >
              > Question2:
              > I'm not totally clear on how my web.xml should look to set up Struts,
              > the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
              > Here is what I had before I tried to cluster and which works fine:
              >
              > <filter>
              > <filter-name>MainFilter</filter-name>
              > <filter-class>com.refapp.servlets.MainFilter</filter-class>
              > <init-param>
              > <param-name>myAttribute</param-name>
              > <param-value>Foo</param-value>
              > </init-param>
              > </filter>
              >
              > <filter-mapping>
              > <filter-name>MainFilter</filter-name>
              > <url-pattern>/*</url-pattern>
              > </filter-mapping
              >
              >
              > <!-- Struts ActionServlet Configuration -->
              > <servlet>
              > <servlet-name>action</servlet-name>
              > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              >
              > <init-param>
              > <param-name>application</param-name>
              > <param-value>refappstruts</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>config</param-name>
              > <param-value>/WEB-INF/struts-config.xml</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>debug</param-name>
              > <param-value>2</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>mapping</param-name>
              > <param-value>org.apache.struts.action.RequestActionMapping</param-value>
              > </init-param>
              > <load-on-startup>2</load-on-startup>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>action</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              > <welcome-file-list>
              > <welcome-file>index.do</welcome-file>
              > <welcome-file>index.jsp</welcome-file>
              > <welcome-file>index.html</welcome-file>
              > </welcome-file-list>
              >
              > (I have set up a "dummy" 0-length file called index.do that triggers
              > Struts to go into its ActionServlet when first accessing the web site).
              >
              > Here is how I added ClusterServlet to web.xml:
              >
              > servlet>
              > <servlet-name>ClusterServlet</servlet-name>
              > <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
              > <load-on-startup>0</load-on-startup>
              > <init-param>
              > <param-name>defaultServers</param-name>
              > <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
              > </init-param>
              > <init-param>
              > <param-name>DebugConfigInfo</param-name>
              > <param-value>ON</param-value>
              > </init-param>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>InitServlet</servlet-name>
              > <url-pattern>/servlet/InitServlet</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>action</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>/</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.html</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.jsp</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              >
              > Clearly there is a problem with the Default Web application not being
              > seen/mapped properly. Any chances my URL mappings for the filter servlet,
              > Struts, and ClusterServlet are stepping on each other?
              >
              > With respect to the EJB, here is what my weblogic-ejb-jar looks like:
              >
              > <weblogic-ejb-jar>
              > <weblogic-enterprise-bean>
              > <ejb-name>Hello</ejb-name>
              > <stateless-session-descriptor>
              > <pool>
              >      <max-beans-in-free-pool>100</max-beans-in-free-pool>
              > </pool>
              > <stateless-clustering>
              > <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              > <stateless-bean-load-algorithm>
              > round-robin
              > </stateless-bean-load-algorithm>
              > <stateless-bean-methods-are-idempotent>
              > true
              > </stateless-bean-methods-are-idempotent>
              > </stateless-clustering>
              > </stateless-session-descriptor>
              > <jndi-name>Hello.Home</jndi-name>
              > </weblogic-enterprise-bean>
              >
              > I run this through ejbc and package everything up into the EAR file.
              > However, I get a JNDI lookup failure when I try to access the Bean from
              > a standalone Java client running on the Windows machine.
              > Here is the jndi.properties file that I am using:
              >
              > java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              > java.naming.provider.url=t3://localhost:80
              >
              > Any ideas what I'm doing wrong here? I can post config.xml also if needed.
              >
              > Thanks in advance!
              

  • 2 users on the same old mobileme account, 1 photostream?

    My old mobileme account had 2 users, [email protected] and [email protected]  Is there anyway I can see pics from both users at the same time in photostream?  There was only 1 account, is this a limitation?  Any work-arounds?

    Usually you need to move items to the Shared Folder within the individual user account. That shared folder is called "Public" within the Home folder. Just drag to that location and the other person will be able to get to the files you are try to share between each other.

  • If I bought a light room license 2 years ago in one computer, but now I got a new laptop, Do I need to buy other license or can I use the same old one?.

    I bought the Lightroom two years ago, but now I got anew computer and I would like to installed and used in this new computer , How can I do it if I don't have  license key anymore?

    Basically that's the way to go, with some modifications:
    Instead of<br>
    ''1) putting it back as it is 2) then renaming the profile folder''
    follow these instructions:<br>
    Create a new profile and copy the old one over it.
    http://kb.mozillazine.org/Moving_your_profile_folder_-_Thunderbird#Create_a_new_profile_and_copy_the_old_one_over_it
    The same goes for<br>
    ''4) putting back the whole original backup folder so it creates a second profile''
    Make sure to create backups of your profiles.
    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Backing_Up_and_Restoring

  • Every time I try to open a pdf, new or old, the same old document opens instead - help!

    any help would be much appreciated - I've never seen this happen before
    It doesn't matter if I'm downloading a new pdf or trying to open an old one, the one that opens is always the same@

    What release of Acrobat - use Help > About to tell us?
    Does it happen if you use Open from the File menu?

  • Succesful but still the same old bios

    Hi! I'm new to this. I did run your "MSI Forum HQ USB flashing tool" successfully. And i did clear the cmos afterward. 
    But when i'm going back to the bios i still got the same version as previously. And i still got a boot loop and  the bios failed led flashing...
    I don't know what to do? Any help? thanks!! (sorry for my bad english, i'm french)
    I run a Z68A-GD65 (G3) motherboard.

    you can't flash with different BIOS base versions by standard way,
    N.xx ==> P.xx
    to do this you need special archives to use it with the tool,
    you can find them here: https://forum-en.msi.com/index.php?topic=163866.msg1267835#msg1267835

  • The same old doubt with joins

    Hi,
    cant get this thing off from me :-)....so please dont get annoyed...
    Still the same childish doubt got into me after discussion with a friend of mine....
    (and ghosh i dont have the tkprof or such settings with me to test the sequence)...
    select a.col1, b.col1,c.col1
    from a,b,c
    where a.col1 = b.col2
    and a.col1 = c.col3
    and a.col1 < 10;
    how will the parser execute this??
    one opinion
    A)
    1.select all the columns from a,b,c and create complete cross joins between them
    2. apply the filter a.col1<10 first as it comes last in where clause ( dont think this is no longer valid for CBO )
    3. apply second join condition and filter
    4. apply first join condition
    5. release the result sets
    second opinin
    B)
    1. select table c and make it driving table (valid for CBO???!!!)
    2. select table b and make a cross join with b
    3. select table a and first filter a.col1<10 then join with the above cross-joined-resultset based on the join conditions
    4. pass the final res
    confused!!!??
    (Michels has already cleared the doubt in one of the posts , but still I got 2 different opinion from people who are experienced ....)
    so just wanted to take a final confirmed opinion thats all
    s
    Message was edited by:
    user571638

    First off:
    2. apply the filter a.col1<10 first as it comes last in where clause ( dont think this is no longer valid for CBO )
    This was never valid. Even the RBO had more sense than to just work blindly through the WHERE predicates in a fixed order.
    Also,
    > 5. release the result sets
    is not really right - if possible it will begin to stream rows back to you before it has fetched them all, whereas the above description makes it look as though it gathers all the results up in some temporary store before passing them all back at once.
    Regarding the optimizer's joining strategy, any permutation and ordering is possible including cross joins, although it has various strategies that mean it does not have to work through every conceivable permutation. It will try various approaches, calculate their costs, and pick the one it thinks is going to be most efficient.

  • The same old problems and no supp

    I can't believe that in the past 5 years the support is as bad as ever! I'm stlill getting the same error in software for the Audigy 2 zs as I did for the 5. soundblaster li've card. Don't your employees give a **bleep**? Obviously not! I'm sure I won't be buying one of these pathetic cards again! (Good hardware, shame about the software and the support!) Shame on you Creative! Disgusting, pathetic support. Don't you have any competent s/w engineers left? I guess QUALITY is a word that escapes you! Hints -. Supply decent, comprehensi've, support. 2. Supply drivers that actually work. 3. Gi've INFORMATIVE error messages when they don't. 4. Distribute s/w that actually shuts the Feff'ing systems down properly!!!

    Agree.
    But maybe Creative have no money to do that (sorry, late April fool).
    Ahem, Creative definitvely need to better normalize its software production and to hear for customers needs : man, I never used my RM500 because it won't do what it was expected correctly; and I'm always waiting wavestudio to support WAVE_EXTENSIBLE as mediasource can (will begin to see how it works and build my own wave editor if I really have to...). Oh! and what about the stand-alone package? it's here, but never it was officialised!

  • Same old silly questions, but just to confirm!

    I have some idea of the answers to my questions but the more I read in the forum the more uncertain I've become...
    1. I can use the TC as an external hard drive, but what about the transfer speed? Is it similar to the speed of a USB hard drive? If it is slower, will I still be able to watch movies/listen to music files on the TC with my Macbook?
    2. Can I connect TC to a computer using an ethernet cable so I can use it as a wired hard drive?
    3. I can back up my computer using Time Machine, but to use TC as a hard drive as well, do I need to do something complex (for me), like 'partitioning' the TC or something?
    4. I already have a wireless router (and network, I think) and don't want to stop using it. Will TC interfere with anything? As in if I start using TC will Leopard try and make me set something up?
    5. Can I plug in the USB printer and use it as if it was directly plugged into my computer, including scanning functions? If I press the scan button on my printer, will the scanning software automatically load on my computer? Will any USB printer work? Is further set-up required?
    Thanks for reading my questions. I just got a Macbook Air and I'm all new to the wireless world.

    1. Over a gigibit ethernet cabled connection, speed will be faster that that of a USB hard drive. For any other connection type (ie 100 Mbps ethernet, or 802.11a/b/g/n wireless, it will be slower.
    2. Yes you can connect TC to a computer using an ethernet cable.
    3. Currently available information is insufficient to answer this question.
    4. You can connect TC to an existing network without having to change anything about your current network setup or configuration.
    5. You can plug a USB printer into TC. If you connect a multifunction printer to TC, only its printer function will work and scanning/faxing will not. Not all USB printers work, and multifunction printer are among the more problematic to get even their print function working.

Maybe you are looking for

  • Speed on podcasts

    Just upgraded to ios5, but now there is no speed button on the music player, so all the podcast play at slowww speed. The iphone still has the speed button. The repeat buttons still exist for the music, but for podcast no buttons. I have restored and

  • Can't open a pdf file attachement to e-mail

    I canot open an e-mail pdf file attachment..I get a message You have chosen to open Invoice---pdf which is: Firefox HTML Document (479kB) What should Thunderbird do with this file? Open with Firefox (default) I do all of the above but nothing happens

  • Why i cannot save title as a template. Especially subtitles template.

    Why i cannot  save title as a template. Especially subtitles template.

  • Clapboard thumbnail picture - how can I change it?

    The Project thumbnail that is inside a clapboard is undesirable.  How can I change it?

  • How do I open photoshop CC from the creative Coud

    I have downloaded the Creative Cloud and have photoshop CC in "my Apps.  I have watched several tutorials and want to launch it to practice what I have learned. How do I launch my trial version of photoshop?  It is not in my application folder as it