General exception error need help!

Experts,
i am facing this problem. i connect to the net by proxy (through office Lan). none of the java applets work for me. Need help
Java Plug-in 1.5.0_08
Using JRE version 1.5.0_08 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\mkrishna
network: Loading user-defined proxy configuration ...
network: Done.
network: Loading direct proxy configuration ...
network: Done.
network: Proxy Configuration: No proxy
basic: Cache is enabled
basic: Location: C:\Documents and Settings\mkrishna\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
basic: Maximum size: unlimited
basic: Compression level: 1
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=1
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=2
basic: Registered modality listener
basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=3
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@15212bc
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@97a560
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1ea5671
basic: Loading applet ...
basic: Initializing applet ...
basic: Starting applet ...
basic: httpCompression = true
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/liste.jar with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/Outline.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris/class.class with proxy=DIRECT
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris/class.class with proxy=DIRECT
load: class ZoneFavoris.class not found.
java.lang.ClassNotFoundException: ZoneFavoris.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
basic: Exception: java.lang.ClassNotFoundException: ZoneFavoris.class
java.lang.ClassNotFoundException: ZoneFavoris.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped
network: Connecting http://150.101.78.39/dsmapp/catalog/classes/Outline/class.class with proxy=DIRECT
load: class ZoneFavoris.class not found.
java.lang.ClassNotFoundException: ZoneFavoris.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
basic: Exception: java.lang.ClassNotFoundException: ZoneFavoris.class
java.lang.ClassNotFoundException: ZoneFavoris.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped
load: class Outline.class not found.
java.lang.ClassNotFoundException: Outline.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
basic: Exception: java.lang.ClassNotFoundException: Outline.class
java.lang.ClassNotFoundException: Outline.class
     at sun.applet.AppletClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
     at sun.applet.AppletClassLoader.getBytes(Unknown Source)
     at sun.applet.AppletClassLoader.access$100(Unknown Source)
     at sun.applet.AppletClassLoader$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     ... 10 more
basic: Modality pushed
basic: Modality pushed
basic: Modality pushed
basic: Modality popped
basic: Modality popped
basic: Modality popped

Hi
I think you need to configure proxy for the JRE
If you are using windows Go to control panel , you will find an icon called java plugin. if you have installed multiple JRE you will find multiple icons . Select the one which is configured to browser.
You will find a proxies tab in that window , add the proxy details there
Hope this helps you
Vijay

Similar Messages

  • Exception error, Need Help!

    Need help!
    Why my java program work well under C:\, but can't under D:\Java today? It worked well even yesterday. I had tried the "Hello World", it can not work under D:\Java either.
    when I enter the "java d:\java\Hello" order(after javac of cause), those displays are here:
    Exception in thread "main" java.lang.NoClassDefFoundError: d:\java\Hello
    Caused by: java.lang.ClassNotFoundException:d:\java\Hello
    at java.net.URLClassLoader$1.run<URLClassLoader.java:200>
    at java.security.AccessController.doPrivileged<Native Method>
    at java.net.URLClassLoader.findClass<URLClassLoader.java:188>
    at java.lang.ClassLoader.loadClass<ClassLoader.java:306>
    at sun.misc.Launcher$AppClassLoader.loadClass<Launcher.java:276>
    at java.lang.ClassLoader.loadClass<ClassLoader.java:251>
    at java.lang.ClassLoader.loadClassInternal<ClassLoader.java:319>
    The Hello.java has no problem,and it worked well even yesterday!
    I just don't know what had happened.
    Someone who can help me please reply or email at [email protected]
    Thank you!

    The simple "Hello World" can work under Editplus, but can't under DOS.
    The error appears as the same. I don't know what I should do, could you tell me please?
    Thank you!First test whether environment variables had been set properlyor not
    To test :-
    1) Open cmd
    2) type java
    3) If it runs that means you have set it properly
    Then go to your program directory i.e d:\java\
    and type
    javac Hello.java //to compile it and then
    java Hello //To run it

  • Getting exception error - need help resolving please

    I am getting the following exception when I try running a short program that user the Scanner object:
    Enter a number in feet: Exception in thread "main" java.util.NoSuchElementException
         at java.util.Scanner.throwFor(Scanner.java:817)
         at java.util.Scanner.next(Scanner.java:1431)
         at java.util.Scanner.nextDouble(Scanner.java:2335)
         at FeetInchConvert.main(FeetInchConvert.java:27)
    Here's the program I am running (which compiled w/o errors):
    import java.util.*;
    public class FeetInchConvert
    // Prompt for feet and convert to inches.
    // Next, prompt for inches and convert to feet.
    public static void main(String[] args)
    final double INCHES_IN_FEET = 12.0;
    double feet, inches;
    int wholeInches;
    Scanner ourScanner = new Scanner(System.in);
    System.out.print("Enter a number in feet: ");
    feet = ourScanner.nextDouble();
    inches = feet * INCHES_IN_FEET;
    System.out.println("\n" + feet + " feet is " +
    inches + " inches.\n");
    System.out.print("Now, enter a whole number in inches: ");
    wholeInches = ourScanner.nextInt();
    feet = wholeInches / INCHES_IN_FEET;
    System.out.println("\n" + wholeInches + " inches is " +
    feet + " feet.");
    I have installed Java 5.0 on my Windows XP Pro system. I'm thinking that something might be wrong with my configuration. I am using TextPad for development.
    Can someone please help me out on this one?
    Thank you!
    Melissa

    This is the configuration that works for me:
    Click Configure
    Click Preferences
    Click Tools
    Click Run Java Application
    Command should be java.exe
    Parameters should be $BaseName
    Initial folder should be $FileDir
    All of the checkboxes are unchecked.
    Mark

  • Acrobat Error - need help! - Acrobat 9 Pro

    When I try to open an acrobat files my it trys to Open EVERY acrobat file on my computer and does so until I get the following message
    "There was an error opening this document.  The maximum number of files are already open.  No other files can be opened or printed until some are closed"
    Then I have to force quit.
    This just started happending a few months ago
    I am on a Mac OSX
    I need help!  Any suggestions?
    Debbie

    I  have a 10.5.8
    I am not that technical so not sure what you mean about applejack etc.
    Thanks for helping!
    Debbie
    Date: Sat, 10 Apr 2010 13:03:28 -0600
    From: [email protected]
    To: [email protected]
    Subject: Acrobat Error - need help! - Acrobat 9 Pro
    What version of OS X? Some people have luck by clearing their caches. This can be done with Applejack in 10.5. Onyx will work in SL.
    >

  • General Exception error in IE7 help please.

    In searching for help with the error message I'm getting, I found this link with others having the same problem that I do which is a General Exeption error message when I close game windows from Pogo.com.
    The link is here and I don't see any answers/suggestions/resolutions.
    1. I reinstalled latest Java but no change.
    2. Firefox 3 has no problem.
    Please help - my wife is gonna throw me out if she can't play her games!
    thanks.

    theilliniguy wrote:
    Wow thanks for the encouragement. Your feelings of entitlement are not likely to engender helpful, or really any, responses to questions you post anywhere on the internet.
    I didn't see any abrupt answers like yours Let me make this perfectly clear.
    Your question is off-topic for this site. When discovered/reported off topic threads in these forums are locked and/or deleted.
    I did take the time to tell you that you are in the wrong place rather than just reporting this thread and the resulting consequences (see above). It is not my fault that you did not bother to do enough research to find if you are in the right or wrong place for your question. It is your responsibility to find the correct resources for your problems.
    What you should do at this juncture is go off and find a more suitable support forum/resource for your problem. This forum is not a suitable support forum for your problem.
    And if you really feel that you must reply, thanking me for pointing you in the right direction would be the intelligent and appropriate response. And to be clear further responses where you show your anger at me for not giving you what you wrongly feel entitled too would be the incorrect and inappropriate response.
    Good luck in solving your problem.

  • General exception error

    hii members, I am getting this error for bi base run time error: GENERAL EXCEPTION IN DEPLOY TRANSFORMATION FOR OBJECT.
                  Kindly throw some light on to which part is the error from.

    Hi Aman,
    Looks like service pack issue.
    What is the service pack you are using in your system. try to upgrade your SP to 21 or which ever is latest.
    Regards
    KP

  • HTTP Server (Main) error need help.

    Hello,
    We are having the following error in the HTTP Server logs and need to understand what is causing this issue.
    [Tue Dec 19 15:29:35 2006] [error] [client 192.168.228.32] [ecid: 962577774223,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/forms/engine/RunformBundle_en_AU.class
    [Tue Dec 19 15:29:35 2006] [error] [client 192.168.228.32] [ecid: 2216708226414,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/forms/engine/RunformBundle_en_AU.class
    [Tue Dec 19 15:29:35 2006] [error] [client 192.168.228.32] [ecid: 4484450958748,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/forms/engine/RunformBundle_en_AU.properties
    [Tue Dec 19 15:30:25 2006] [error] [client 192.168.228.32] [ecid: 1166509825:192.168.228.32:1712:2352:20,0] (10054)An existing connection
    was forcibly closed by the remote host: MOD_OC4J_0087: Got an unexpected error while calling send() to send a message to oc4j and the
    error code is 10054.
    [Tue Dec 19 15:30:25 2006] [error] [client 192.168.228.32] [ecid: 1166509825:192.168.228.32:1712:2352:20,0] MOD_OC4J_0053: Failed to call
    network routine to send out an ajp13 buffer message to oc4j.
    [Tue Dec 19 15:30:25 2006] [warn] [client 192.168.228.32] [ecid: 1166509825:192.168.228.32:1712:2352:20,0] MOD_OC4J_0027: Failed to send
    out an ajp13 message to oc4j.
    [Tue Dec 19 15:30:25 2006] [error] [client 192.168.228.32] [ecid: 1166509825:192.168.228.32:1712:2352:20,0] MOD_OC4J_0026: Failed to marshal
    a request to ajp13 message headers or send them to the web container.
    [Tue Dec 19 15:32:43 2006] [error] [client 192.168.228.32] [ecid: 2921083055113,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/ewt/alert/resource/AlertBundle_en_AU.class
    [Tue Dec 19 15:32:43 2006] [error] [client 192.168.228.32] [ecid: 5360624479132,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/ewt/alert/resource/AlertBundle_en_AU.class
    [Tue Dec 19 15:32:43 2006] [error] [client 192.168.228.32] [ecid: 911038360600,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/ewt/alert/resource/AlertBundle_en_AU.properties
    [Tue Dec 19 15:32:46 2006] [error] [client 192.168.228.32] [ecid: 2921083055113,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/ewt/alert/resource/AlertBundle_en_AU.class
    [Tue Dec 19 15:32:46 2006] [error] [client 192.168.228.32] [ecid: 4793688799699,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/ewt/alert/resource/AlertBundle_en_AU.class
    [Tue Dec 19 15:32:46 2006] [error] [client 192.168.228.32] [ecid: 859498756624,1] File does not exist: d:/oracle/product/oh_as_mid/forms/java/oracle/ewt/alert/resource/AlertBundle_en_AU.properties
    Any help would be great.

    More information from the OC4J_BI_Forms application log file.
    06/12/20 07:44:35 formsweb: Forms session <78> failed during startup: no response from runtime process
    06/12/20 07:44:35 formsweb: Forms session <78> exception stack trace:
    oracle.forms.engine.RunformException: Forms session <78> failed during startup: no response from runtime process
    at oracle.forms.servlet.RunformProcess.connect(Unknown Source)
    at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source)
    at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source)
    at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

  • JDBC - mmMySQL error need help

    hi,
    i hope somebody can help me. I installed mmMySQL its an JDBC driver
    and as i tried to make a query with ORDERBY fieldname ASC i got an
    error:
    Syntax error or Access violation you have an error in your SQL syntax
    near xxx.
    Heres a code snippet would be thankfull for any help
    public static void showToplist(PrintStream printstream)
    String username="root";
    String password="mosesistdoof";
    String toplist="";
    int position;
    try
    Connection con =
    DriverManager.getConnection("jdbc:mysql://localhost/Chat?user="+
    username+"&password="+ password);
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM user ORDERBY
    Punktzahl");
    rs.next();
    stmt.close();
    con.close();
    position=0;
    String Toplist=TemplateReader.JITTmpl("top", "chat");
    printstream.println(Toplist.substring(0,
    Toplist.indexOf("§toplist§")));
    while(rs.next())
    position++;
    printstream.println("<td width=\"15%\"><b><font
    color=\"#0000ff\">" + Integer.toString(position) + "</td><td
    width=\"41%\"><b><font color=\"#0000ff\">" + rs.getString("Username")
    + "</font></b></td><td width=\"44%\"><b><font color=\"#0000ff\">" +
    rs.getString("Punktzahl") + "</font></b></td>");
    printstream.println(Toplist.substring(Toplist.indexOf("§toplist§")
    + 4, Toplist.length()));
    catch(Exception MySQLException)
    System.out.println("SQLException: " +
    MySQLException.getMessage());

    Hi Gidror,
    You need to use "ORDER BY" clause instead of "ODERBY".
    Regards,
    Slava Imeshev
    "Gidror" <[email protected]> wrote in message
    news:[email protected]..
    hi,
    i hope somebody can help me. I installed mmMySQL its an JDBC driver
    and as i tried to make a query with ORDERBY fieldname ASC i got an
    error:
    Syntax error or Access violation you have an error in your SQL syntax
    near xxx.
    Heres a code snippet would be thankfull for any help
    public static void showToplist(PrintStream printstream)
    String username="root";
    String password="mosesistdoof";
    String toplist="";
    int position;
    try
    Connection con =
    DriverManager.getConnection("jdbc:mysql://localhost/Chat?user="+
    username+"&password="+ password);
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM user ORDERBY
    Punktzahl");
    rs.next();
    stmt.close();
    con.close();
    position=0;
    String Toplist=TemplateReader.JITTmpl("top", "chat");
    printstream.println(Toplist.substring(0,
    Toplist.indexOf("§toplist§")));
    while(rs.next())
    position++;
    printstream.println("<td width=\"15%\"><b><font
    color=\"#0000ff\">" + Integer.toString(position) + "</td><td
    width=\"41%\"><b><font color=\"#0000ff\">" + rs.getString("Username")
    + "</font></b></td><td width=\"44%\"><b><font color=\"#0000ff\">" +
    rs.getString("Punktzahl") + "</font></b></td>");
    printstream.println(Toplist.substring(Toplist.indexOf("§toplist§")
    + 4, Toplist.length()));
    catch(Exception MySQLException)
    System.out.println("SQLException: " +
    MySQLException.getMessage());

  • RMI ComputeEngine error need help

    Hi :
    I am trying to run RMI examle on the SUN website, I do all horsework with ANT so my files and directories are OK.
    I am trying to run on Single machine, but cant even start the server. I get :
    Compute Engine exception : access denied (java.net.Socketpermission 127.0.0.1:1099 connect,resolve)
    i use general policy file on the website and here is my compute engine.java file
    //package engine;
    import java.rmi.*;
    import java.rmi.server.*;
    //import compute.*;
    public class ComputeEngine extends UnicastRemoteObject
    implements Compute
    public ComputeEngine() throws RemoteException {
    super();
    public Object executeTask(Task t) {
    return t.execute();
    public static void main(String[] args) {
    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    String name = "//host/Compute";
    try {
    Compute engine = new ComputeEngine();
    Naming.rebind(name, engine);
    System.out.println("ComputeEngine bound");
    } catch (Exception e) {
    System.err.println("ComputeEngine exception: " + e.getMessage());
    e.printStackTrace();
    i think i should change something in this file but i am new to java so i need someone s help please

    if (System.getSecurityManager() == null) {
    System.setSecurityManager(new RMISecurityManager());
    }To get you up and running, remove that code and replace it with:
    System.setSecurityManager(null);

  • Scholar92 - Strange error Need help please

    Lecori Salutem
    The program I have a problem with is supposed to extract info from a DB. It extracts the info perfectly but I cannot access the info with my get commands from other classes.
    When i fire the program it says " [Ljava.lang.String;@1ba34f2 ". Can anyone help me to solve this problem please.
    ////////CODE STARTS HERE
    import java.sql.*;
    import javax.swing.*;
    /** Description:
    *  Die program word gebruik om al die metadata en paths wat getabuleer is
    *  op die Music DB te access en te stoor.
    *  @author Benni( [email protected])
    public class SQLImport
        private Connection connSQL;
            int tel = 2; // ID in SQL tabel begin by "2"
            String [] tName = new String [100];
    String [] tArtist = new String [100];
    String [] tGenre = new String [100];
    String [] tMood = new String [100];
    String [] tPath = new String [100];
    String [] tJavaPath = new String [100];
    String [] tID = new String [100];
    String [] tTime = new String [100];
    public SQLImport( )
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connSQL = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=Music.mdb");
    JOptionPane.showMessageDialog(null, "Connection Successfully Established", "Notification",JOptionPane.INFORMATION_MESSAGE);
    catch (Exception sqlConnectionFailed)
    JOptionPane.showMessageDialog(null, sqlConnectionFailed, "ERROR:",JOptionPane.ERROR_MESSAGE);
    Statement statement = null;
    try
    statement = connSQL.createStatement( );
    catch (SQLException statementERROR)
    JOptionPane.showMessageDialog(null,statementERROR, "ERROR:",JOptionPane.ERROR_MESSAGE);
    char optionChoice;
    do
    optionChoice = getMenuChoice();
    if(optionChoice == 'A')
    try
    String querySQL = "SELECT * FROM tbl_ListedMusic ORDER BY ID ;";
    System.out.println(querySQL);
    ResultSet resultSet = statement.executeQuery(querySQL);
    while (resultSet.next( ))
    tID[tel] = resultSet.getString("ID");
    tName[tel] = resultSet.getString("TrackName");
    tArtist[tel] = resultSet.getString("TrackArtist");
    tTime[tel] = resultSet.getString("TrackTime");
    tGenre[tel] = resultSet.getString("TrackGenre");
    tMood[tel] = resultSet.getString("TrackMood");
    tJavaPath[tel] = resultSet.getString("TrackJavaPath");
    tPath[tel] = resultSet.getString("TrackPath");
    tel++;
    catch (SQLException infoImportError)
    JOptionPane.showMessageDialog(null,infoImportError, "ERROR:",JOptionPane.ERROR_MESSAGE);
    while (optionChoice != 'X');
    //NB! Strings are " " chars are ' '
    public String[ ] gettID( )
    return tID;
    public String[ ] gettName( )
    return tName;
    public char getMenuChoice( )
    String menu = "A) Import .mp3 info \n X) Exit";
    char choice = JOptionPane.showInputDialog(menu).toUpperCase( ).charAt(0);
    return choice;
    public static void main (String [ ] args)
    SQLImport sql = new SQLImport( );
    String [ ] blah = new String [10];
    blah = sql.gettID();
    System.out.println(blah);
    //Code ENDS
    How do I resolve the " [Ljava.lang.String;@1ba34f2   "  ? Much apreciated
    Regards,
    Bennu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    This forum is about the Messaging Server email server and related products. I think you have posted this question in the wrong forum.

  • User Error Needs Help Correcting - Repeatable Tag on Custom Section Attribute

    OK, I have v.6111.  Today I am manually putting the supplier_eq_create tag on all the the existing attributes in our custom sections so suppliers can add them when we send eQs. Unfortuately, I accidently clicked on the Repeatable tag instead of Supplier_EQ_Create in a couple of instances in our Export/Staging Environment.  When I try to remove the Repeatable tag, I get the error that says " row's Repeatable status cannot be altered after the row has been activated" ... we have not actually used the repeatable functionality of the tag.  I need to know how I can remove this tag from active attributes due to human error before I import to PROD.  Can the forum help me?
    Best, Beckie

    Hi Beckie,
    As long as you are sure that no-one has consume this you can remove this tag with a database script.
    As with every script make sure that you backup your data.
    With the following script you can find the rows that contain repeatable tag for a particular section template
    select rowTemplate.* from eaSectionDynamicTagJoins rowTTagjoin
    inner join commonEARowTemplate rowTemplate on rowTemplate.pkid = rowTTagjoin.fkEAS
    inner join commonLookups tag on tag.pkid = rowTTagjoin.fkTag
    inner join commonEASectionTemplate sectionTemplate on sectionTemplate.pkid = rowTemplate.fkSectionTemplate
    where tag.Name = 'Repeatable' and langID = 0 and Category = 'EASRowDynamicTag'
    and sectionTemplate.id = '<custom section id>';
    Tags are linked to custom section row templates using eaSectionDynamicTagJoins table.
    You can remove the tag from a specific row using the following script
    delete from eaSectionDynamicTagJoins
    where fkEAS = '<pkid of the row>';
    Hope this helps. Let me know if you have any questions,
    Dmitriy

  • Stuck with an error, need help.

    Hi Gurus,
    I am calling the workflow throught the function module SWW_wi_start_simple, I am throwing with an exception 'read_failed' Can any one say why this error being stated.
    Secondly, I coded as below to start the work flow with the wf container. How can i use those conatiner variables in the workflow builder
    I coded as below now , now can i use these variables directly in workflow builder or do i need to create again in the workflow builder.
    Can any one say this please I am in need.
    code
    FUNCTION zhr_workflow_initiator.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(EMPLOYEENR) LIKE  PA0000-PERNR
    *"     REFERENCE(PLANNAME) LIKE  T5UCA-LTEXT
    *"     REFERENCE(DEPENDANCY) LIKE  T5UCF-LTEXT
    INCLUDE <cntn01>.
      DATA: wis_obj TYPE swc_object.
      DATA: task  LIKE  swwvpublic-wi_rh_task VALUE 'WS90000001',
            WI_ID LIKE  swwvpublic-wi_id.
      DATA: agents LIKE swhactor OCCURS 0 WITH HEADER LINE,
            wi_container LIKE swcont OCCURS 0 WITH HEADER LINE.
      DATA:BEGIN OF benadjreakey,
                pernr      LIKE  PA0001-PERNR,
               subty      like  p0378-subty,
               objps      like  p0378-objps,
               sprps      like  p0378-sprps,
               endda      like  p0378-endda,
               begda      like  p0378-begda,
               seqnr      like  p0378-seqnr,
            END OF benadjreakey.
    data: l_PLANNAME(30) TYPE c,
          l_DEPENDANCY(20)  TYPE c.
    data: BENEFIT_PLAN      like T5UCA-BPLAN,
          DEPENDACY_CODE    like T5UCF-DEPCV,
          COMPANY_CODE      like PA0001-BUKRS,
          PERSONAL_AREA     like PA0001-WERKS.
    "Initialize" NULL_AGENTS1
      CLEAR agents.
      REFRESH agents.
      MOVE employeenr  TO benadjreakey-pernr.
      move planname    to l_planname.
      move dependancy  to l_dependancy.
    **MOVE SUBTYPE        to BENADJREAKEY-subty.
    **MOVE LOCKINDICATOR  to BENADJREAKEY-sprps.
    **MOVE VALIDITYEND    to BENADJREAKEY-endda.
    **MOVE VALIDITYBEGIN    to BENADJREAKEY-begda.
    **MOVE RECORDNUMBER    to BENADJREAKEY-seqnr.
    CALL FUNCTION 'ZHR_BEN_WORFLOW_DATA'
    EXPORTING
       PLANNAME         = l_planname
       PERNR            = benadjreakey-pernr
       DEPENDANCY       = l_dependancy
    IMPORTING
       BENEFIT_PLAN         = benefit_plan
       DEPENDACY_CODE       = DEPENDACY_CODE
       COMPANY_CODE         = COMPANY_CODE
       PERSONAL_AREA        = PERSONAL_AREA
    Get object Referance
      swc_create_object wis_obj 'BENADJREAS' benadjreakey.
      swc_set_element wi_container 'benefit_plan_code'    BENEFIT_PLAN.
      swc_set_element wi_container 'Dependancy_code'      DEPENDACY_CODE.
      swc_set_element wi_container 'Company_code'         Company_code.
      swc_set_element wi_container 'PERSONAL_AREA'        PERSONAL_AREA.
    swc_set_element wi_container 'ADJUSTMENTREASON' wis_obj.
      swc_container_to_persistent wi_container.
      CALL FUNCTION 'SWW_WI_START_SIMPLE'
      EXPORTING
            task = task
      IMPORTING
            wi_id = wi_id
      TABLES
          AGENTS = AGENTS
          wi_container = wi_container
      EXCEPTIONS
            id_not_created = 1
            read_failed = 2
            execution_failed = 3.
    MOVE wi_id    TO workitem_id.
      IF sy-subrc <> 0.
        WRITE / 'NO_workflow_started'.
      ENDIF.
    ENDFUNCTION.
    Ravi

    Hi Ravi,
    You were able to program the function module but you are not able to find out why the exception is raised? This sounds a bit strange to me, or do you want us to give an answer in stead of searching for one yourself?
    If you didn't create these container elements in the workflow you can't use them, and it could even be that that is why your exception is raised. By putting them in a container which is used when starting the workflow, they will not be automatically created in your workflow.
    And to be more up to date use FM SAP_WAPI_START_WORKFLOW as Arghadip suggested.
    Regards,
    Martin

  • Ssis package error need help to fix it. though disabled all triggers and droped all the foreign keys and truncated tables on pipeline constraints.

    [PartyName1 [6672]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Transaction (Process ID 1414) was deadlocked on lock resources with another process and has been chosen as the
    deadlock victim. Rerun the transaction.".

    you need to provide Details about your package like what is source/destination.. any SQL query/where is the exact deadlock point.
    Please check the following links which may help you.
    http://blogs.technet.com/b/fort_sql/archive/2011/12/12/get-rid-of-deadlocks.aspx
    http://msdn.microsoft.com/en-us/library/ms191242.aspx
    Let us TRY this |
    My Blog :: http://quest4gen.blogspot.com/

  • Adding "window to a container:illegal argument exception".error plz help

    Thanks to Mr.Andrew and sun for developing the following code for a
    mediaplayer which is implemented in jmf.This is working in core java. But
    when i have converted it to Applet it compiles but an error adding "window
    to a container:illegal argument exception".code is given below plz point
    me where is the error;
    import javax.media.*;
    import java.text.DecimalFormat;
    import java.awt.*;
    import java.awt.FileDialog;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class nwa extends WindowAdapter{
    frameclass frame;
    public nwa(frameclass frame){
    this.frame=frame;
    public void windowClosing (WindowEvent e)
    //User selected close from System menu.
    //Call dispose to invoke windowClosed.
    frame.dispose ();
    public void windowClosed (WindowEvent e)
    //if (player != null)
    //player.close ();
    System.exit (0);
    class frameclass extends JFrame
    frameclass(){
    nwa n=new nwa(this);
    this.addWindowListener(n);                    
    public class PlayerApplet extends JApplet
              implements
    ActionListener,ControllerListener,ItemListener, KeyListener
    frameclass frame=new frameclass();
    Player player;
    Component vc, cc;
    JProgressBar volumeBar;
         JButton fastRewind;
         JButton fastForward;
         JButton play;
    int sizeIncrease = 2;
    boolean invokedStop = false;
         /** Big */
         int progressFontSize=30;
    boolean first = true, loop = false;
    String currentDirectory;
    public void init(){
    JMenu m = new JMenu ("File");
    JMenuItem mi = new JMenuItem ("Open...");
    mi.addActionListener (this);
    m.add (mi);
    m.addSeparator ();
    JCheckBoxMenuItem cbmi = new JCheckBoxMenuItem ("Loop", false);
    cbmi.addItemListener (this);
    m.add (cbmi);
    m.addSeparator ();
    mi = new JMenuItem ("Exit");
    mi.addActionListener (this);
    m.add (mi);
    JMenuBar mb = new JMenuBar ();
    mb.add (m);
    frame.setJMenuBar (mb);
    setSize (200, 200);
         final JPanel p = new JPanel(new GridLayout(1,0,5,5));
              p.setBorder(new EmptyBorder(3,5,5,5) );
              fastRewind = new JButton("<html><body><font size=+"+
    sizeIncrease+ "><<");
              fastRewind.setToolTipText("Fast Rewind");
              fastRewind.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             skipBack();
                        } else {
    JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file
    first!"));
              fastRewind.addKeyListener(this);
              p.add(fastRewind);
              JButton stop = new JButton("<html><body><font size=+"+
    sizeIncrease+ ">&#9632;");
              stop.setToolTipText("Stop");
              stop.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        invokedStop = true;
                        //player.stop();
                        sp();
              stop.addKeyListener(this);
              p.add(stop);
              play = new JButton("<html><body><font size=+"+
    sizeIncrease+ ">>");
              play.setToolTipText("Play");
              play.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             player.setRate(1);
                             st();
                        } else {
    JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file
    first!"));
              play.addKeyListener(this);
              p.add(play);
              fastForward = new JButton("<html><body><font size=+"+
    sizeIncrease+ ">>>");
              fastForward.setToolTipText("Fast Forward");
              fastForward.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             skipForward();
                        } else {
    JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file
    first!"));
              fastForward.addKeyListener(this);
              p.add(fastForward);
              p.addKeyListener(this);
              frame.add(p,BorderLayout.CENTER);     
              add(frame);
    // pack ();
    setVisible (true);
    public void start(){
    st();
    public void stop(){
    sp();
    public void destroy(){
    player.stop();
    player.deallocate();
    public void actionPerformed (ActionEvent e)
                   if (e.getActionCommand().equals("Exit"))
                   // Call dispose to invoke windowClosed.
                   frame.dispose ();
                        return;
         FileDialog fd = new FileDialog (frame, "Open File",
    FileDialog.LOAD);
         fd.setDirectory (currentDirectory);
         fd.show ();
         // If user cancelled, exit.
              if (fd.getFile() == null)
         return;
    currentDirectory = fd.getDirectory ();
              if (player != null)
         player.close ();
         try
         player = Manager.createPlayer (new MediaLocator
    ("file:" +
    fd.getDirectory() +
    fd.getFile()));
         catch (java.io.IOException e2)
    System.out.println (e2);
    return;
         catch (NoPlayerException e2)
    System.out.println ("Could not find a player.");
    return;
              if (player == null)
         System.out.println ("Trouble creating a player.");
         return;
    first = false;
    frame.setTitle (fd.getFile ().toString());
    player.addControllerListener (this);
    player.prefetch ();
    public void controllerUpdate (ControllerEvent e)
    if (e instanceof ControllerClosedEvent)
    if (vc != null)
    remove (vc);
    vc = null;
    if (cc != null)
    remove (cc);
    cc = null;
    return;
    if (e instanceof EndOfMediaEvent)
    if (loop)
    player.setMediaTime (new Time (0));
    player.start ();
    return;
    if (e instanceof PrefetchCompleteEvent)
    player.start ();
    return;
    if (e instanceof RealizeCompleteEvent)
    vc = player.getVisualComponent ();
    if (vc != null)
    add (vc);
    cc = player.getControlPanelComponent ();
    if (cc != null){
         this.add (cc, BorderLayout.SOUTH);
                        this.show();
    public void keyReleased(KeyEvent ke) {
    int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyTyped(KeyEvent ke) {
         int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyPressed(KeyEvent ke) {
              int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
              }else if (keycode==KeyEvent.VK_UP) {
                   st();
              }else if (keycode==KeyEvent.VK_DOWN) {
                   sp();
    public void skipForward() {
    double secs=5;
    double playersecs = player.getMediaTime().getSeconds();
    Time settime = new javax.media.Time(playersecs + secs);
    player.setMediaTime(settime);
    public void skipBack() {
              double secs1=5;
    double playersecs1 = player.getMediaTime().getSeconds();
    Time settime1 = new javax.media.Time(playersecs1 - secs1);
    player.setMediaTime(settime1);
         public void st() {
         player.start();
         public void sp() {
         player.stop();
    public void itemStateChanged (ItemEvent e)
    loop = !loop;
    When i comment add(frame) this error goes but i got a null poiter
    exception
    Plz help
    manu

    Hi Andrew,
    Thanks for ur reply.Sorrry that my code not included in the code block.
    My problem have been solved partly.Now playerapplet is working properly.It can play files from local machine(through open menuitem from file menu) as well as local network (through url menuitem from file menu).
    There is no requirement to play file from internet at present.
    I have given arrow keys to forward/backward/open/close.
    I have now completed my first part of project.Now i have to start the second part ie Controlling arrow keys using a joystick like instrument.The instrument and driver will be provided by my co. and the user is using only this device.Plz help me how to do that.
    The code is given below
    import javax.media.*;
    import java.text.DecimalFormat;
    import java.awt.*;
    import java.awt.FileDialog;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    <APPLET CODE=PlayerApplet.class
    WIDTH=320 HEIGHT=300>
    </APPLET>
    class nwa extends WindowAdapter
         frameclass frame;
         Player player;
         public nwa(frameclass frame,Player player)
          this.player=player;
          this.frame=frame;
         public void windowClosing (WindowEvent e)
          //User selected close from System menu.
          //Call dispose to invoke windowClosed.
          frame.dispose ();
          public void windowClosed (WindowEvent e)
              if (player != null)
                   player.stop();
                player.close ();
                   player.deallocate();
          System.exit (0);
    class frameclass extends JFrame
    Player player;
         frameclass(Player player)
         nwa n=new nwa(this,player);
         this.addWindowListener(n);                    
    public class PlayerApplet extends JApplet
               implements ActionListener,ControllerListener,ItemListener, KeyListener
               Player player=null;
               frameclass frame=new frameclass(player);
                 Component vc, cc;
                 Container f;
                 JProgressBar volumeBar;
                 JButton fastRewind;
              JButton fastForward;
              JButton play;
              int sizeIncrease = 2;
              boolean invokedStop = false;
              /** Big */
              int progressFontSize=30;
                 boolean first = true, loop = false;
                 String currentDirectory;
                 public void init()
                          f=frame.getContentPane();
                         JMenu m = new JMenu ("File");
                         JMenuItem mi = new JMenuItem ("Open...");
                         mi.addActionListener (this);
                         m.add (mi);
                         m.addSeparator ();
                         mi = new JMenuItem ("URL");
                         mi.addActionListener (this);
                         m.add (mi);
                         m.addSeparator ();
                         JCheckBoxMenuItem cbmi = new JCheckBoxMenuItem ("Loop", false);
                         cbmi.addItemListener (this);
                         m.add (cbmi);
                         m.addSeparator ();
                         mi = new JMenuItem ("Exit");
                         mi.addActionListener (this);
                         m.add (mi);
                         JMenuBar mb = new JMenuBar ();
                         mb.add (m);
                         frame.setJMenuBar (mb);
                         setSize (500, 500);
                           JPanel p = new JPanel(new GridLayout(1,0,5,5));
                        p.setBorder(new EmptyBorder(3,5,5,5) );
                        fastRewind = new JButton("<html><body><font size=+"+ sizeIncrease+ "><<");
                        fastRewind.setToolTipText("Fast Rewind");
                        fastRewind.addActionListener( new ActionListener(){
                             public void actionPerformed(ActionEvent ae) {
                                  if (player!=null) {
                                       invokedStop = false;
                                       skipBack();
                                  } else {
                                       JOptionPane.showMessageDialog(play,
                                       new JLabel("Open a sound file first!"));
                        fastRewind.addKeyListener(this);
                        p.add(fastRewind);
                        JButton stop = new JButton("<html><body><font size=+"+ sizeIncrease+ ">&#9632;");
                        stop.setToolTipText("Stop");
                        stop.addActionListener( new ActionListener(){
                                  public void actionPerformed(ActionEvent ae) {
                                       invokedStop = true;
                                       sp();
                        stop.addKeyListener(this);
                        p.add(stop);
                        play = new JButton("<html><body><font size=+"+ sizeIncrease+ ">>");
                        play.setToolTipText("Play");
                        play.addActionListener( new ActionListener()
                                  public void actionPerformed(ActionEvent ae) {
                                       if (player!=null) {
                                            invokedStop = false;
                                            player.setRate(1);
                                            st();
                                       } else {
                                            JOptionPane.showMessageDialog(play,
                                            new JLabel("Open a sound file first!"));
              play.addKeyListener(this);
              p.add(play);
              fastForward = new JButton("<html><body><font size=+"+ sizeIncrease+ ">>>");
              fastForward.setToolTipText("Fast Forward");
              fastForward.addActionListener( new ActionListener(){
                   public void actionPerformed(ActionEvent ae) {
                        if (player!=null) {
                             invokedStop = false;
                             skipForward();
                        } else {
                             JOptionPane.showMessageDialog(play,
                             new JLabel("Open a sound file first!"));
              fastForward.addKeyListener(this);
              p.add(fastForward);
              frame.getContentPane().add(p,BorderLayout.CENTER);
              frame.setVisible (true);
              frame.pack();
              frame.setResizable(false);
      public void stop(){
      sp();
      public void destroy(){
       player.stop();
        player.deallocate();
      public void actionPerformed (ActionEvent e)
              if (e.getActionCommand().equals("Exit"))
                             // Call dispose to invoke windowClosed.
                             player.stop();
                             player.close();
                             player.deallocate();
                             frame.dispose ();
                                  return;
              if (e.getActionCommand().equals("Open..."))
                             FileDialog fd = new FileDialog (frame, "Open File",
                                         FileDialog.LOAD);
                              fd.setDirectory (currentDirectory);
                              fd.show ();
                              // If user cancelled, exit.
                              if (fd.getFile() == null)
                             return;
                              currentDirectory = fd.getDirectory ();
                                   if (player != null){
                                       player.close ();
                                       player.deallocate();
                         try
                  player = Manager.createPlayer (new MediaLocator
                                               ("file:" +
                                               fd.getDirectory() +
                                               fd.getFile()));
                              catch (java.io.IOException e2)
                            System.out.println ("file not found :"+e2);
                            return;
                              catch (NoPlayerException e2)
                            System.out.println ("Could not find a player.");
                            return;
                    if (player == null)
                   System.out.println ("Trouble creating a player.");
                   return;
                    first = false;
                    frame.setTitle (fd.getFile ().toString());
                    player.addControllerListener (this);
                    player.prefetch ();
                   return;
              if (e.getActionCommand().equals("URL"))
                             FileDialog fd = new FileDialog (frame, "Open File",
                                         FileDialog.LOAD);
                         fd.setDirectory (currentDirectory);
                         fd.show ();
                         // If user cancelled, exit.
                              if (fd.getFile() == null)
                             return;
                         currentDirectory = fd.getDirectory ();
                              if (player != null){
                                       player.close ();
                                       player.deallocate();
                   try
                        URL url = new URL ("file://"+fd.getDirectory()+fd.getFile());
                    MediaLocator mediaLocator = new MediaLocator (url);
                        player = Manager.createPlayer (mediaLocator);
                   catch (java.io.IOException e2)
                  System.out.println ("file not found :"+e2);
                  return;
                    catch (NoPlayerException e2)
                  System.out.println ("Could not find a player.");
                  return;
                    if (player == null)
                   System.out.println ("Trouble creating a player.");
                   return;
          first = false;
          frame.setTitle (fd.getFile ().toString());
          player.addControllerListener (this);
          player.prefetch ();
              return;
       public void controllerUpdate (ControllerEvent e)
          if (e instanceof ControllerClosedEvent)
              if (vc != null)
                  frame.getContentPane().remove (vc);
                  vc = null;
              if (cc != null)
                  frame.getContentPane().remove (cc);
                  cc = null;
              return;
          if (e instanceof EndOfMediaEvent)
              if (loop)
                  player.setMediaTime (new Time (0));
                  player.start ();
              return;
          if (e instanceof PrefetchCompleteEvent)
              player.start();
              return;
          if (e instanceof RealizeCompleteEvent)
            if (vc != null)
                  remove (vc);
                  vc = null;
              if (cc != null)
                  remove (cc);
                  cc = null;
              vc = player.getVisualComponent ();
              if (vc != null)
                  frame.getContentPane().add(vc,BorderLayout.NORTH);
              cc = player.getControlPanelComponent ();
              if (cc != null){
                       frame.getContentPane().add (cc, BorderLayout.SOUTH);
                     frame.setVisible(true);
                     frame.pack();
    public void keyReleased(KeyEvent ke) {
    int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyTyped(KeyEvent ke) {
         int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
         public void keyPressed(KeyEvent ke) {
              int keycode = ke.getKeyCode();
              if (keycode==KeyEvent.VK_LEFT) {
                   skipBack();
              } else if (keycode==KeyEvent.VK_RIGHT) {
                   skipForward();
              }else if (keycode==KeyEvent.VK_UP) {
                   st();
              }else if (keycode==KeyEvent.VK_DOWN) {
                   sp();
    public void skipForward() {
    Time settime;
    double secs=5;
    double playersecs = player.getMediaTime().getSeconds();
    double duration = player.getDuration().getSeconds();
              if((playersecs+secs) < duration){
                      settime = new javax.media.Time(playersecs + secs);
                      player.setMediaTime(settime);
              }else {
                        player.setMediaTime(new Time(duration));
    public void skipBack() {
              double secs1=5;
              double secs2=0;
              double playersecs1 = player.getMediaTime().getSeconds();
              Time settime1;
              if((playersecs1 - secs1) > secs2){
                      settime1 = new javax.media.Time(playersecs1 - secs1);
                      player.setMediaTime(settime1);
              }else {
                        player.setMediaTime(new Time(0));
         public void st() {
         player.start();
         public void sp() {
         player.stop();
       public void itemStateChanged (ItemEvent e)
          loop = !loop;
    With Thanks
    manuEdited by: mm_mm on Nov 27, 2007 11:09 PM

  • Tomcat 4.0.6 503 error - Need help !

    I am running jsp and servlets in tomcat 4.0.6 server..(commercial server)...
    My application runs well in my pc.. but when i upload the webapps/xxx folder into mainwebsite_html folder in the server a 503 error with "the servlet jsp is currently unavailable"..constantly appears.. I asked for a restart and still same message appears.
    My web.xml is posted here:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>UCanExport</display-name>
    <description>UCanExport description page</description>
    <taglib>
         <taglib-uri>http://java.sun.com/jstl/sql</taglib-uri>
         <taglib-location>/WEB-INF/sql.tld</taglib-location>
    </taglib>
    <taglib>
         <taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
         <taglib-location>/WEB-INF/c.tld</taglib-location>
    </taglib>
    <resource-ref>
    <description>MySQL Datasource</description>
    <res-ref-name>jdbc/devDb</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <resource-ref>
    <description>Resource reference to a factory for javax.mail.Session</description>
    <res-ref-name>mail/Session</res-ref-name>
    <res-type>javax.mail.Session</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    I have a simple jsp page ..index.jsp.. just to verify..with the following code:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" session="true" errorPage="genericError.jsp" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <% response.write("no problem with jsp");%>
    </body>
    </html>
    The html pages load properly... I have a mysql database ..some background might also help.. Initially i developed the whole site in tomcat 5 and migrated it backwards to tomcat 4.0.6 to ensure compatibility with my commerical server...
    Full error message: given by browser:
    type Status report
    message Servlet jsp is currently unavailable
    description The requested service (Servlet jsp is currently unavailable) is not currently available.
    My lib folder inside my WEB-INF has servlet.jar and other jar files..
    Looking forward to get some help..
    Thanks in advance
    Arumugam

    Unfortuntely, I dont have an access to the log files.. anyways.. after troubleshooting the error message is as follows:
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jstl/sql) cannot be resolved in either web.xml or the jar files deployed with this application
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:194)
         at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:174)
         at org.apache.jasper.compiler.JspParseEventListener.processTaglibDirective(JspParseEventListener.java:1170)
         at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEventListener.java:765)
         at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingListener.java:125)
         at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:255)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:214)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:115)
         at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:146)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:819)
         at org.apache.jsp.loginpage$jsp._jspService(loginpage$jsp.java:69)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:98)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:176)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:172)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
         at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
         at java.lang.Thread.run(Thread.java:534)
    I have ensured that that the uri parameter value
    is same in web.xml lib files and in jsp files... i am using jstl 1.0 as this version is compatible with a older jstl and core files.
    any sugggestions..

Maybe you are looking for

  • Selection variable for next month in RFPERIOD_OPEN in closing cockpit

    Hi, we would like to use RFPERIOD_OPEN in the closing cockpit in order to open the next period on D-10 automatically. I would like to use the selection variables of the closing cockpit in the program variant in order to avoid unnecessary variant main

  • How to obtain IR report dynamic SQL in Apex 4.0

    Hello, I have 2 regions on the same page Interactive Report – Chart (Flash Chart) – This is a sub region of the above Now the requirement is when user applies a filter to the interactive report I would like to apply the same filter criteria to the fl

  • Calibrate New iMac with Glass off?

    I have seen that the glass on the iMac is held on by magnets and can be removed very carefully to expose the LCD. This is supported by placing your apple remote on the black border - it will try to stick. What if you removed the glass, calibrated the

  • HT201232 Manually manage music and video

    I recently purchased a new iPhone 6 and needed to reload all of my music and videos back on the phone. I have always selected the check box manually manage music and videos. For the music this worked great. However, for the videos I cannot move any v

  • HT4059 can you share ibooks?

    I see the icon to share, but I can only share PDFs, not books. I know on the kindle I can share books. How do I do it with ibooks?