Trouble running the demo msgshow class

Hello,
I'm able to compile the msgshow.java file...here's my commandline results:
C:\javaclass\javamail-1_3_1\javamail-1.3.1>javac msgshow.java
C:\javaclass\javamail-1_3_1\javamail-1.3.1>dir msg*
04/07/2004 07:32a 7,421 msgshow.class
04/07/2004 12:09a 7,642 msgshow.java
2 File(s) 15,063 bytes
0 Dir(s) 35,521,511,424 bytes free
However... when I now run msgshow I get this:
C:\javaclass\javamail-1_3_1\javamail-1.3.1>java msgshow
Exception in thread "main" java.lang.NoClassDefFoundError: msgshow
That error makes no sense. Class msgshow is the primary class in the program...containing main(). How can Java claim it can't se msgshow?
Here are the top several lines of msgshow.java...to show the class definition....
import java.util.*;
import java.io.*;
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
* Demo app that exercises the Message interfaces.
* Show information about and contents of messages.
* msgshow protocol host user password mailbox msgnum
public class msgshow {
static String protocol;
static String host = null;
static String user = null;
static String password = null;

Perhaps there's an easier way to solve this. I'm just trying to find some sample code that will connect to my pop3 server and let me retreive/parse/delete messages. I can write the parser easily, I'm just looking for something that demonstrates connecting to POP3 and retreiving messages.
Is there simpler code available that does this?
(I'm trying to make a simple mail parser/spam filter to build some Java experience)

Similar Messages

  • How to run the imported java class in form

    Help!!!!!
    Pls help me to run the imported java class in forms.
    Package is created in forms while imported one class called
    singlexml.class and that package has one procedure and one
    function.
    I just wanted to run that class.I mean the new package.
    Thanks
    Anil

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • I am having trouble running the latest version of adobe reader 10 how can i resolve this

    i am having trouble running the latest version of adobe reader 10. i have adobe 9 which is fine but i'm not able to do certain things on certain sites without 10. how can i resolve this?

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Error 201 when trying to run the demos !! HELP !!

    Hello, we are just trying to run the demos provided in the ZIP file that comes with the XDK version for Solaris 9i and we are having problems apparently with the encoding thing.
    I dont really have a clue how to make it run or provide the right encoding parameter. I have attempted to use every single parameter, UTF-8, ISO, ASCII, etc
    anyone had this problem at the very beginning?? or know how to solve it?? we r just beginner trying a start jump in XML and all this parser matter.
    thanks a lot. Verde.

    Please refer to:
    http://technet.oracle.com:89/ubb/Forum11/HTML/004973.html

  • To run the Demo Report in iAS10g

    Hi all
    1.- I installed the Infrastructure for iAS10g
    2.- I installed an instance for Forms and Reports added to the insfrastaructure and all was fine
    3.- I created an application in forms9i and I mounted it in the instance named before and all was fine
    4.- Now I want to add some reports to my application and I want to check if my report server is running but when I go to run the Demo Report, appears a screen requesting a username & password ( It seems a screen of SSO or something like that )
    My question is : What username and password I have to enter in that screen ?
    Thanks in advance
    Joel Pèrez

    username: portal
    password: <same as ias_admin>
    AS next step, you can disable Reports using SSO, or you can create other users (within SSO) with access to Reports so that they don't have to login as portal-user.
    Regards,
    Martin Malmstrom

  • Running the demos problem...

    Hi guys!
    I'm a newbee in the Mapviewer forum and unfortunately I've a problem with running the mvdemo demos. I've ofc dployed mapviewer in the OC4J, imported the dmp file into scott schema, configured the mapviewer data source...but everytime I'd like to run a demo i receive the unpleasant warning = "No base map MV_DEMO.DEMO_MAP found...". I don't really know where to seek for the solution, because the Mapbuilder is able to see these Base Map ;/ Please help...
    With regards,
    PsmakR

    Similar problem here. I'm running: Windoze Server 2003 , Ver1033p5_B080908, OAS 10.1.3.1. The sever is a static IP. My admin console can't see my cached maps. I can see them in mapbuilder fine so I know the database is up. I know the user_sdo_cached_maps is configured, the data is there and the schema is set up. I have the datasource configured in my mapViewerConfig.xml and I have tried to manually create a datasource.
    When I do it manually I get ...
    ...so I log in to OAS and do a good faith restart of mapviewer so I can test it one more time and fill in the error message, which was MAPVIEWER 0000011 or something, and boom there are my tile layers.
    I have no idea what I did. I swear I've restarted mapviewer several times during this process and have no idea why now my tiles are there.
    This morning I changed my logging level and did a save & restart option from the mapviewer console but only when I bounced the application server did these finally show up.
    One thing that did happen to me during set up was my default tilecache path didn't exist. Perhaps that was the problem? I doubt just turning on loging would "fix" anything. Is restarting the application container for mapserver different than "save & restart" from the mapviewer management console?
    Anyhow I'm happy to have tiled maps working :)

  • Problems while running the Demo connecting to Oracle 9i DB

    hi bench,
    I have installed Oracle 9iAS on Windows 2000 OS . I am able
    to see the httpServer page when given the url : http://localhost
    when i try the OraclejspDemo -> SQLAccess . I get a
    error while connecting to Database. My Database is Oracle 9i..
    can some one tell me any document directing to this
    errors and solutions ....
    Thanks
    HS

    hi ,
    This is the connect string i am giving at the sample
    jdbc:oracle:thin:@Test_DB:1521:Test where Test_DB is the
    Database machine name and Test is the SID.
    I try to run the sample Database Access Beans ->ConnBeanDemo
    but i get the following error
    There was an error doing the query:
    java.sql.SQLException: ORA-00600: ????????????: [ttcgcshnd-1],
    [0],[],[],[],[],[],[]
    what am i missing ????
    Thanks
    HS

  • Chat Applet using RMI .... trouble running the Applet using the IE browser.

    Hi,
    I'm trying to run a chat application using RMI technology. Actually, this wasn't created from the scratch. I got this one from from the cd that comes with the book I bought and I did some refinements on it to suit what I wanted to:
    These are the components of the chat application:
    1. RApplet.html - invokes the applet
    html>
    <head>
    <title>Sample Applet Using Dialog Box (1.0.2) - example 1</title>
    </head>
    <body>
    <h1>The Sample Applet</h1>
    <applet code="RApplet.class" width=460 height=160>
    </applet>
    </body>
    </html>
    2. RApplet.java - Chat session client applet.
    import java.rmi.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.awt.*;
    import java.io.*;
    import java.rmi.server.*;
    //import ajp.rmi.*;
    public class RApplet extends Applet implements ActionListener {
    // The buttons
    Button sendButton;
    Button quitButton;
    Button startButton;
    Button clearButton;
    // The Text fields
    TextField nameField;
    TextArea typeArea;
    // The dialog for entering your name
    Dialog nameDialog;
    // The name the server knows us as
    String privateName;
    // The name we want to be known as in the chat session
    String publicName;
    // The remote chats erver
    ChatServer chatServer;
    // The ChatCallback
    ChatCallbackImplementation cCallback;
    // The main Chat window and its panels
    Frame mainFrame;
    Panel center;
    Panel south;
    public void init() {
    // Create class that implements ChatCallback.
    cCallback = new ChatCallbackImplementation();
         // Create the main Chat frame.
         mainFrame = new Frame("Chat Server on : " +
                        getCodeBase().getHost());
         mainFrame.setSize(new Dimension(600, 600));
         cCallback.displayArea = new TextArea();
         cCallback.displayArea.setEditable(false);
         typeArea = new TextArea();
         sendButton = new Button("Send");
         quitButton = new Button("Quit");
         clearButton = new Button("Clear");
         // Add the applet as a listener to the button events.
         clearButton.addActionListener(this);
         sendButton.addActionListener(this);
         quitButton.addActionListener(this);
         center = new Panel();
         center.setLayout(new GridLayout(2, 1));
         center.add(cCallback.displayArea);
         center.add(typeArea);
         south = new Panel();
         south.setLayout(new GridLayout(1, 3));
         south.add(sendButton);
         south.add(quitButton);
         south.add(clearButton);
         mainFrame.add("Center", center);
         mainFrame.add("South", south);
         center.setEnabled(false);
         south.setEnabled(false);
         mainFrame.show();
         // Create the login dialog.
         nameDialog = new Dialog(mainFrame, "Enter Name to Logon: ");
         startButton = new Button("Logon");
         startButton.addActionListener(this);
         nameField = new TextField();
         nameDialog.add("Center", nameField);
         nameDialog.add("South", startButton);
         try {
         // Export ourselves as a ChatCallback to the server.
         UnicastRemoteObject.exportObject(cCallback);
         // Get the remote handle to the server.
         chatServer = (ChatServer)Naming.lookup("//" + "WW7203052W2K" +
                                  "/ChatServer");
         catch(Exception e) {
         e.printStackTrace();
         nameDialog.setSize(new Dimension(200, 200));
         nameDialog.show();
    * Handle the button events.
    public void actionPerformed(ActionEvent e) {
         if (e.getSource().equals(startButton)) {
         try {
              nameDialog.setVisible(false);;
              publicName = nameField.getText();
              privateName = chatServer.register(cCallback, publicName);
              center.setEnabled(true);
              south.setEnabled(true);
              cCallback.displayArea.setText("Connected to chat server as: " +
                             publicName);
              chatServer.sendMessage(privateName, publicName +
                             " just connected to server");
         catch(Exception ex) {
              ex.printStackTrace();
         else if (e.getSource().equals(quitButton)) {
         try {
              cCallback.displayArea.setText("");
              typeArea.setText("");
              center.setEnabled(false);
              south.setEnabled(false);
              chatServer.unregister(privateName);
              nameDialog.show();
         catch(Exception ex) {
              ex.printStackTrace();
         else if (e.getSource().equals(sendButton)) {
         try{
              chatServer.sendMessage(privateName, typeArea.getText());
              typeArea.setText("");
         catch(Exception ex) {
              ex.printStackTrace();
         else if (e.getSource().equals(clearButton)) {
         cCallback.displayArea.setText("");
    public void destroy() {
         try {
         super.destroy();
         mainFrame.setVisible(false);;
         mainFrame.dispose();
         chatServer.unregister(privateName);
         catch(Exception e) {
         e.printStackTrace();
    3. Chatcallback.java - interface used by clients to connect to the server.
    import java.rmi.*;
    public interface ChatCallback extends Remote {
    public void addMessage(String publicName,
                   String message) throws RemoteException;
    4. ChatcallbackImplementation.java - implements Chatcallback interface.
    import java.rmi.*;
    import java.io.*;
    import java.awt.event.*;
    import java.awt.*;
    public class ChatCallbackImplementation implements ChatCallback {
    // The buttons
    // The Text fields
    TextArea displayArea;
    public void addMessage(String publicName,
                   String message) throws RemoteException {
    displayArea.append("\n" + "[" + publicName + "]: " + message);
    5. Chatserver.java - interface for the chat server.
    import java.rmi.*;
    import java.io.*;
    public interface ChatServer extends Remote {
    public String register(ChatCallback object,
                   String publicName) throws RemoteException;
    * Remove the client associated with the specified registration string.
    * @param registeredString the string returned to the client upon registration.
    public void unregister(String registeredString) throws RemoteException;
    * The client is sending new data to the server.
    * @param assignedName the string returned to the client upon registration.
    * @param data the chat data.
    public void sendMessage(String registeredString, String message) throws RemoteException;
    6. ChatServerImplementation.java - implements Chatserver interface.
    import java.rmi.*;
    import java.util.*;
    import java.rmi.server.*;
    import java.io.*;
    * A class that bundles the ChatCallback reference with a public name used
    * by the client.
    class ChatClient {
    private ChatCallback callback;
    private String publicName;
    ChatClient(ChatCallback cbk, String name) {
         callback = cbk;
         publicName = name;
    // returns the name.
    String getName() {
         return publicName;
    // returns a reference to the callback object.
    ChatCallback getCallback() {
         return callback;
    public class ChatServerImplementation extends UnicastRemoteObject
    implements ChatServer {
    // The table of clients connected to the server.
    Hashtable clients;
    // Tne number of current connections to the server.
    private int currentConnections;
    // The maximum number of connections to the server.
    private int maxConnections;
    // The output stream to write messages to.
    PrintWriter writer;
    * Create a ChatServer.
    * @param maxConnections the total number if connections allowed.
    public ChatServerImplementation(int maxConnections) throws RemoteException {
         clients = new Hashtable(maxConnections);
         this.maxConnections = maxConnections;
    * Increment the counter keeping track of the number of connections.
    synchronized boolean incrementConnections() {
         boolean ret = false;
         if (currentConnections < maxConnections) {
         currentConnections++;
         ret = true;
         return ret;
    * Decrement the counter keeping track of the number of connections.
    synchronized void decrementConnections() {
         if (currentConnections > 0) {
         currentConnections--;
    * Register with the ChatServer, with a String that publicly identifies
    * the chat client. A String that acts as a "magic cookie" is returned
    * and is sent by the client on future remote method calls as a way of
    * authenticating the client request.
    * @param object The ChatCallback object to be used for updates.
    * @param publicName The String the object would like to be known as.
    * @return The actual String assigned to the object for removing, etc. or
    * null if the client could not register.
    public synchronized String register(ChatCallback object, String publicString) throws RemoteException {
         String assignedName = null;
         if (incrementConnections()) {
         ChatClient client = new ChatClient(object, publicString);
         assignedName = "" + client.hashCode();
         clients.put(assignedName, client);
         out("Added callback for: " + client.getName());
         return assignedName;
    * Remove the client associated with the specified registration string.
    * @param registeredString the string returned to the client upon registration.
    public synchronized void unregister(String registeredString) throws RemoteException {
         ChatCallback cbk;
         ChatClient sender;
         if (clients.containsKey(registeredString)) {
         ChatClient c = (ChatClient)clients.remove(registeredString);
         decrementConnections();
         out("Removed callback for: " + c.getName());
         for (Enumeration e = clients.elements(); e.hasMoreElements(); ) {
              cbk = ((ChatClient)e.nextElement()).getCallback();
              cbk.addMessage("ChatServer",
                        c.getName() + " has left the building...");
         else {
         out("Illegal attempt at removing callback (" + registeredString + ")");
    * Sets the logging stream.
    * @param out the stream to log messages to.
    protected void setLogStream(Writer out) throws RemoteException {
         writer = new PrintWriter(out);
    * The client is sending new message to the server.
    * @param assignedName the string returned to the client upon registration.
    * @param data the chat data.
    public synchronized void sendMessage(String registeredString, String message) throws RemoteException {
         ChatCallback cbk;
         ChatClient sender;
         try {
         out("Recieved from " + registeredString);
         out("Message: " + message);
         if (clients.containsKey(registeredString)) {
              sender = (ChatClient)clients.get(registeredString);
              for (Enumeration e = clients.elements(); e.hasMoreElements(); ) {
                   cbk = ((ChatClient)e.nextElement()).getCallback();
                   cbk.addMessage(sender.getName(), message);
         else {
              out("Client " + registeredString+ " not registered");
         catch(Exception ex){
         out("Exception thrown in newData: " + ex);
         ex.printStackTrace(writer);
         writer.flush();
    * Write s string to the current logging stream.
    * @param message the string to log.
    protected void out(String message){
         if(writer != null){
         writer.println(message);
         writer.flush();
    * Start up the Chat server.
    public static void main(String args[]) throws Exception {
         try {
         // Create the security manager
         System.setSecurityManager(new RMISecurityManager());
         // Instantiate a server
         ChatServerImplementation c = new ChatServerImplementation(10);
         // Set the output stream of the server to System.out
         c.setLogStream(new OutputStreamWriter(System.out));
         // Bind the server's name in the registry
         Naming.rebind("//" + args[0] + "/ChatServer", c);
         c.out("Bound in registry.");
         catch (Exception e) {
         System.out.println("ChatServerImplementation error:" +
                        e.getMessage());
         e.printStackTrace();
    Using my own machine (connected to a network), I tried to test this one out by setting mine as the server and also the client. I did the following:
    1. Compile the source code.
    2. Use rmic to generate the skeletons and/or stubs from the ChatCallbackImplementation and ChatServerImplementation.
    3. Start the rmiregistry with no CLASSPATH
    4. Start the server successfully.
    5. Start the applet using the AppletViewer command.
    It worked fined.
    The problem is when I ran the applet using the browser, IE explorer, the dialog boxes, frame and buttons did appear. I was able to do the part of logging on. But after that, the applet seemed to have hang. No message appeared that says I'm connected (which appeared using the appletviewer). I clicked the send button. No response.
    I double-checked my classpath. I did have my classpath set correctly. I'm still trying to figure out the problem. Up to now, I don't have any clue what it is.
    I will appreciate much if someone can help me figure what's could have possibly been wrong ....
    Thanks a lot ...

    Hi Domingo,
    I had a similar problem running applet/rmi with IE.
    Looking in IE..view..JavaConsole error messages my applet was unable to find java.rmi.* classes.
    I checked over java classes in msJVM, they're not present.
    ( WinZip C:\WINDOWS\JAVA\Packages\9rl3f9ft.zip and others from msVM installed )
    ( do not contain the java.rmi.* packages )
    I have downloaded and installed the latest msJVM for IE5. ( I think its included in later versions)
    @http://www.objectweb.org/rmijdbc/RJfaq.html I found ref to rmi.zip download to provide
    these classes. I couldn't get the classes from the site but I managed to find a ref to IBM
    site @http://alphaworks.ibm.com/aw.nsf/download/rmi which had similar download.
    The download however didn't solve my problems. I was unable to install rmi.zip with
    RmiPatch.exe install.
    I solved this by extracting the class files from rmi.zip and installing them at C:\WINDOWS\JAVA\trustlib ( msJVM installation trusted classes lib defined in
    registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM\TrustedLibsDirectory )
    This solved the problem. My rmi/applet worked.
    Hope this helps you.
    Chris
    ([email protected])

  • Trouble running the new iTunes software on Windows XP

    I can't get the latest iTunes software to run on my Windows XP computer

    Do you get an error message when you try to launch iTunes? If so, what does it say? (Precise text, please.)

  • I am having trouble running the New York Times Reader (Times Reader) application.  It runs on adobe air. I've reloaded adobe air and the application, but it won't run. Any ideas?

    I can't figure out why the Times Reader won't run on my Mac (OS 10.8.5).  The application opens, but doesn't run.  Nothing shows up on the screen except the menu bar at the top. 
    I have reloaded the application, and uninstalled and reinstalled Adobe Air, but neither has helped.
    Loooking for ideas.

    If it happens again then try to reload the website or clear the cache and the cookies from that website.
    Reload web page(s) and bypass the cache.
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    *http://support.mozilla.com/kb/Deleting+cookies
    *http://support.mozilla.com/kb/How+to+clear+the+cache

  • DB2 and WebSphere: having trouble running the JDBC driver script

    I'm investigating WebSphere Studio Application Developer (WSAD) and want to go through one of their tutorials. They require DB2 7.1, so I installed that. There is a script in the DB2 7.1 distribution that enables the JDBC driver within WSAD. Howver, the script won't run because it says I don't have the correct permissions.
    I'm running all this on Win2K, and my userid has administrator privileges, and I installed both WSAD and DB2 under that userid.
    So, has anybody got WSAD and DB2 to work together? If so, how?
    Thanks much in advance.
    Jane Sokolow
    S1Studio tech writer

    You are suppose to run one of these two batch files:
    C:\Program Files\SQLLIB\java12\usejdbc1.bat
    C:\Program Files\SQLLIB\java12\usejdbc2.bat
    I assume that you need the second one. If you take a look inside of this batch file you'll that it is only simple copy/remove files. You should be able to do those operations with your userid. Perhaps, it is a good ideea to stop either DB2 and WSAD before running this batch file (is trying to remove two files one .dll and another .exe which could be in use ...).

  • Anybody else having trouble running the GeForce 7300 GT Firmware update?

    The GeForce 7300 GT firmware upgrade doesn't seem to work for me.
    I have a 2.66GHz Mac Pro w/ 3GB RAM that was purchased back in May. It has the stock 250GB HD (no partitioning) in drive bay 1 and two 300GB drives for audio files and iTunes in drive bays 2 & 3. I am only using one monitor. While viewing the system profile, my GeForce 7300 GT has these specs:
    Vendor: NVIDIA (0x10de)
    Device ID: 0x0393
    Revision ID: 0x00a1
    ROM Revision: 3004
    The update downloads and installs fine through Software Update, but as soon as I run it to actually begin the update process, I get this message:
    Necessary resources are missing, corrupt, or you do not have the correct permissions.
    Delete the Geforce 7300 GT Firmware Update and re-download it and run it again.
    item: 6
    I have re-downloaded it a number of times (either thru Software Update or direct from the Apple site) and I've verified/repaired permissions with disk utility as well, but I still get the same result. I've had no issues at all with my video since owning this machine, so I'm at a loss as to why this is happening.
    Any ideas?
    Mac Pro "JUGGERNAUT": 2.66 GHz, 3 GB RAM   Mac OS X (10.4.8)   Logic Pro 7.2.3 User

    Hi All,
    Some basic chunk of our monitor settings are stored
    in PRAM, now I can't think of any specifics that will
    result in the error massage you got but still for a
    real "clean" update try resetting PRAM
    (<Command-Option-P-R> before the gray screen) and
    then applying the update.
    Some more about PRAM
    reset...<http://docs.info.apple.com/article.html?artnu
    m=2238>
    Hope This Helps
    Baryo.
    Baryo:
    Thanks for the reply. I actually tried that already, but I still got the same result. Console shows that KEXTLOAD crashing everytime the update tries to run:
    2007-02-07 19:20:02.384 GeForce 7300 GT Firmware Update[228] applicationDidFinishLaunching
    2007-02-07 19:20:02.385 GeForce 7300 GT Firmware Update[228] GeForce 7300 GT Firmware Update version 1.0
    2007-02-07 19:20:02.385 GeForce 7300 GT Firmware Update[228] InitialRequirementsAreMet
    2007-02-07 19:20:02.385 GeForce 7300 GT Firmware Update[228] IsCorrectOS
    2007-02-07 19:20:02.385 GeForce 7300 GT Firmware Update[228] in Updater IsCorrectMachine
    2007-02-07 19:20:02.385 GeForce 7300 GT Firmware Update[228] in UpdaterUtilites GetPropertyFromPathNode
    2007-02-07 19:20:02.386 GeForce 7300 GT Firmware Update[228] Found a 'display'
    2007-02-07 19:20:02.386 GeForce 7300 GT Firmware Update[228] No version-id
    2007-02-07 19:20:02.386 GeForce 7300 GT Firmware Update[228] No device-id
    2007-02-07 19:20:02.386 GeForce 7300 GT Firmware Update[228] rom-revision is old, 0x34303033
    2007-02-07 19:20:14.938 GeForce 7300 GT Firmware Update[228] GetRootAccess success
    2007-02-07 19:20:16.301 GeForce 7300 GT Firmware Update[228] Calling kextload CallAEWP with wait
    2007-02-07 19:20:16.301 GeForce 7300 GT Firmware Update[228] GetRootAccess success
    Feb 7 19:20:16 JUGGERNAUT authexec: executing /sbin/kextload
    2007-02-07 19:20:20.273 GeForce 7300 GT Firmware Update[228] pid 0xe6, status 0xa
    2007-02-07 19:20:20.273 GeForce 7300 GT Firmware Update[228] Exited due to signal 0xa, COREDUMP?=0x0
    2007-02-07 19:20:20.273 GeForce 7300 GT Firmware Update[228] An error 0x0 was returned from /sbin/kextload.
    2007-02-07 19:20:20.273 GeForce 7300 GT Firmware Update[228] Back From Calling CallAEWP with wait
    2007-02-07 19:20:20.273 GeForce 7300 GT Firmware Update[228] fStatus 0x0
    2007-02-07 19:20:20.273 GeForce 7300 GT Firmware Update[228] CommonUpdaterController::showError:10, 6
    Feb 7 19:20:20 JUGGERNAUT crashdump[231]: kextload crashed
    Feb 7 19:20:20 JUGGERNAUT crashdump[231]: crash report written to: /Users/BUDDHA/Library/Logs/CrashReporter/kextload.crash.log
    2007-02-07 19:20:22.336 GeForce 7300 GT Firmware Update[228] applicationWillTerminate
    Would an OS reinstall fix this?
    K
    Mac Pro "JUGGERNAUT": 2.66 GHz, 3 GB RAM Mac OS X (10.4.8) Logic Pro 7.2.3 User

  • Trouble running DurableSubscriberExample

    Hi
    I am having trouble running the "DurableSubscriberExample.java" that is in Appendix A of the "Java Message Tutorial" (http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/client_samples.html#1002876)
    These are the steps I followed:
    1. I compiled the classes - "DurableSubscriberExample.java" and "SampleUtilities.java".
    2. I stared the j2ee server.
    3. I created a topic called jms/Topic as follows:
    j2eeadmin -addJmsDestination jms/Topic topic
    4. I created a connection factory with a Client ID by copy-pasting the following from the tutorial (section 8.2.3) as instructed:
    j2eeadmin -addJmsFactory jms/DurableTopicCF topic -props clientID=MyID
    5. Then I specified the connection factory name and the topic name on the command line as instructed:
    java -Djms.properties=C:\j2sdkee1.3.1\config\jms_client.properties DurableSubscriberExample DurableTopicCF jms/Topic
    This is the error I get:
    JNDI API lookup failed: javax.naming.NameNotFoundException: DurableTopicCF not found
    Any idea what's wrong?

    I installed J2sdkee1.3.1 to Win98, I can startup the J2ee server. Once I typed j2eeadmin -addJmsDestination MyQueue queue, I got the following message :
    C:\j2sdkee1.3.1\bin>j2eeadmin -addJMSDestination jms/MyQueue queue
    Usage:
    -addJdbcDriver <class name>
    -addJdbcDatasource <jndi name> <url>
    -addJdbcXADatasource <jndi name> <class name> [<xa user name> <xa password>] [-
    rops (<name>=<value>)+]
    -addJmsDestination <jndi name> (queue|topic)
    -addJmsFactory <jndi name> (queue|topic) [-props (<name>=<value>)+]
    -addConnectorFactory <jndi name> [<app name>:]<rar filename> [<xa user name> <x
    password>] [-props (<name>=<value>)+]
    -list<resource type>
    -remove<resource type> <name>
    -removeAll<resource type>
    my j2eeadmin.bat as follow
    @echo off
    REM
    REM Copyright 2002 Sun Microsystems, Inc. All rights reserved.
    REM SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
    REM
    rem
    rem Set JAVA_HOME and J2EE_HOME before running this script.
    rem
    if not "%J2EE_HOME%" == "" goto CONT0
    echo ERROR: Set J2EE_HOME before running this script.
    goto END
    :CONT0
    if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
    echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
    goto END
    :CONT1
    call %J2EE_HOME%\bin\setenv.bat
    if not "%JAVA_HOME%" == "" goto CONT2
    echo ERROR: Set JAVA_HOME before running this script.
    goto END
    :CONT2
    if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
    echo ERROR: Set JAVA_HOME to the path of a valid jdk.
    goto END
    :CONT3
    rem @echo on
    %JAVA_HOME%\bin\java -Xmx128m -D%SSL_OPTION1%=%SSL_OPTION2% -D%JAAS_OPTION1%=%JAAS_OPTION2% -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.tools.admin.AdminTool %*
    :END
    I can start up the server. I can use the deploytool, so that my setenv may be correctly.
    Any expert can help me. thank a lottttttttttt

  • Running the JAZN shell in Oracle 10g

    Hello all,
    I am a student taking the Oracle 10g DBA class. I am having trouble running the JAZN shell script that will allow me to use SYSDBA and SYSOPR profiles in iSQL*Plus. I was wondering if there was someone out there who could explain this script, what it does and help me locate where my proble is.
    This is the script the book gives and say to run:
    Setting up iSQL*Plus for SYSDBA and SYSOPER Access
    These roles require special setup and authentication for security reasons. To do this you must set up a user in the Oracle Application Server Containers for J2EE (OC4J) user manager and grant access to the webDba role for the user. You must set the JAVA_HOME OS environment variable to $ORACLE_HOME/jdk.
    1. Change to the correct directory:
    Cd $ORACLE_HOME/oc4j/j2ee/isqlplus/application-deployments/isqlplus
    (I am able to get to this directory okay.)
    2. Run the JAZN shell:
    $JAVA_HOME/bin/java/-Djava.security.properties=$ORACLE_HOME \
    /oc4j/j2ee/home/config/jazn.security.props-jar $ORACLE_HOME/oc4j/j2ee/home/jazn.jar-user “iSQL*Plus DBA/admin” \
    -password welcome –shell
    (When I run type the shell as written it doesn't look like anything happens. I am in the same directory as before. I did get an error a couple of times telling me that the directory /bin/java did not exist. When I try to go into the $JAVA_HOME directory is say that it does not exist.
    --------------- I have never gotten past here ----------------------
    Now what I gather from looking at this shell is that it creates an admin profile with a password of welcome.
    3. Create a user, choosing a username and password:
    JAZN> adduser “iSQL*Plus DBA” username password
    4. Grant the webDba role to the user:
    JAZN> grantrole webDba “iSQL*Plus DBA” username
    5. Exit the JAZN shell:
    JAZN> exit
    This part looks like it is where you create the SYSDBA and SYSOPER profiles and passwords. You also grand these profiles webDba access. Then exit the shell.

    Hello Werner,
    I did have to install Java on my computer. I created a Java directory and in this directory I placed the jre1.6.0_18 file which I downloaded. This is the Java application. The path I placed it in is /usr/java/jre1.6.0_18.
    I also looked at what I thought were all my environment varriables with the $ env command and saw nothing that refered to java or JAVA_HOME.
    After setting JAVA_HOME i get an error:
    Exception in thread "main" java.lang.NoClassDefFoundError: .u01.app.oracle.product.10.2.0.db_1.oc4j.j2ee.home.jazn.jar-user
    (I have no idea what this means)
    My questions:
    Is this the file that I should be pointing to? I do not understand what the /jdk directory is.
    From what I could see from the link that you provided was the Oracle Application Server Installation Guide. Is this what you wanted me to read?

  • How to run the .jpx file?

    I have made the project using jbuilder in .jpx. how to run my project without jbuilder?

    I tried to running the demo file from JBuilder.
    I have followed the steps, but still error.
    I did the steps bellow:
    cd {my project\classes}
    C:\Program Files\JBuilder6\sampless\IPWorks\telnet\classes>C:\java\bin\java -cp . UnnamedPackage.dep2.TelnetDemo
    the error was:
    Exception in thread "main" java.lang.NoClassDefFoundError:UnnamedPackage\dep2\TelnetDemo
    and then I set CLASSPATH=C:\Program Files\JBuilder\sampless\IPWorks\telnet\classes
    the error is the same.
    when the command was C:\Program Files\JBuilder6\sampless\IPWorks\telnet\classes>C:\java\bin\java TelnetDemo
    the error was:
    Exception in thread "main" java.lang.NoClassDefFoundError: ipworks/IPWorksException
    in the classes dir, there is package cache dir and the inside of this dir there is a file UnnamedPackage.dep2
    So whats wrong with my command?

Maybe you are looking for