Java code runs normally through Eclipse but gives Encoding error thru cmd

I am executing the following query given below through Eclipse and cmd in Windows NT enviroment.
Statement stBMS = ConBMS.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
         String myQuery = "SELECT AL1.APPL_NM, AL1.DATA_CAT_CD, AL1.GEO_NM, AL1.CTRY_CD, AL1.CMPNY_CD, AL1.JOB_NM, AL1.JOB_RUN_TMS, AL1.JOB_CMPLTN_IND FROM BMS.IW_CONTRO AL1 WHERE (AL1.APPL_NM='BCSDM       ' AND AL1.DATA_CAT_CD='CURRLBR     ' AND DATE(AL1.JOB_RUN_TMS) >= CURRENT DATE AND AL1.JOB_CMPLTN_IND='Y')";
ResultSet rsBMS = stBMS.executeQuery(myQuery);It runs normally through Eclipse but when i run it thru cmd i get the following error:-
Exception:Encoding not supported!! DB2ConnectionCorrelator: G9339865.ND54.
01F9C9142526encoding not supported!! DB2ConnectionCorrelator: G9339865.ND54.01F
9C9142526
com.ibm.db2.jcc.b.DisconnectException: encoding not supported!! DB2ConnectionCo
rrelator: G9339865.ND54.01F9C9142526

Like most IDEs JBuilder too can be configured to not only use several compilers (in fact it can use a lot more than can Eclipse, basically any compiler you want it too rather than just a few built-in ones) and can also be set to accept different language compliance settings for each of them.
So even if your teacher has a 1.5 compiler installed it doesn't mean JBuilder will use it (it has to be told to use it) nor that his project settings will use 1.5 language compliance.
If he has a version older than JB 2005 he won't get syntax highlighting and things like that for 1.5 whatever he does, and won't get 1.5 level language features either (as those versions predate 1.5). He can plug in the 1.5 compiler but the IDE will reject the new language features because it simply doesn't recognise them.
Pre 3.1 Eclipse versions do the same.

Similar Messages

  • VI runs from one account but gives an error 37 from another account

    I'm still running LabView 5.0 on a Solaris Server, 2.8.  This is really weird.  I have
    a VI that will run just fine under my account, but another user tries to run the same
    VI and gets an error 37, device not found.  We are using NI Serial Port Init.vi and when
    I run it from my account which is unprivilege without using sudo, no errors, but when
    this user runs its, error 37 occurs.  Any reason why this happens?  It sounds like a
    permission problem, but I do not know where to look.  Suggestions welcomed.
    Thanks,
    Jay

    Hey guys, I found the answer in this post.  I guess I did not look hard enough before I posted.  Sorry.
    In the .labviewrc file make sure this line is included.
    labview.serialDevices:/dev/ttya:/dev/ttyb: . . . .
    This sets ttya as port 0 , ttyb as port 1 etc etc.
    You may have them set as root but not as a regular user.
    Also for Solaris 2 , Labview expects the ports to be /dev/cua/a , /dev/cua/b ,
    etc etc.
    You may need to change / add those links. ( I am a labview programmer not a
    Sys Admin !!)
    Make sure that the line in the .labviewrc matches what ever these are set to.
    Note that the first dev listed will be port 0, the next port 1 etc. so you can
    set them in any
    order that you wish.
    Hope this helps,
    Kevin Kent

  • I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    I am having trouble running videos through Safari but not Google Chrome.  All I get is a black screen.  I have the latest adobe flash update and have enabled plug ins.  any suggestions?

    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Not empty the Safari cache.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Now try a video.

  • I use case but give me error

    hi master
    sir,
    i use case but give me error you see and give me idea
    SELECT deptno,dname
    FROM (CASE WHEN :deptno = 10 THEN
    (select * from dept wher deptno=10)
    ELSE
    (CASE WHEN :deptno = 20 THEN
    (select * from dept wher deptno=10)
    END
    Thanking you
    Aamir

    hi master
    sir,
    i have three table
    mastab
    ======
    code
    title
    linkid
    chitab1
    ======
    linkid
    title
    chitab2
    =========
    linkid
    title
    i use this type query
    select b.linkid,title form (case when linkid=@givenvalue then (select * from chitab1) else case when linkid<>@givenvalue (select * from chitab2) end)
    means pik data form requir table or table change asper requirment
    thanking you

  • I have hp pavilion dv6-3113st i try to make recovery from my disks but give me error 0xe0f00013

    i have hp pavilion dv6-3113st i try to make recovery from my disks but give me error 0xe0f00013

    Hi
    As per the error it shows that the Recovery partition on the unit is corrupted. Please contact HP Technical support and order for the set off Recovery Disc.
    Let us know how it goes!
    *Although I am an HP employee, I am speaking for myself and not for HP.
    *Did my response help with your issue? If so, please give me Kudos by clicking the "Kudos" button. Thanks!
    Regards
    Manjunath
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • Java programs runs in eclipse but no of errors on command line

    I have a strange problem. I made program that runs fine in eclipse IDE but when I try to compile it using 'javac', it raises a lot of errors. All of same kind with location different.
    The error is ' cannot find symbol '. Symbol: class AllegroGraph.... ' cannot find symbol '. Symbol: variable AGPaths....
    ' cannot find symbol '. Symbol: class valueSetIterator...................
    How can I remove this error as this error is definitely not letting me to specify a bat file to run this program as the way I am advised in my other thread about bat file.

    Are you using 3rd party API for your project? It looks like you are using APIs from [this site|http://www.franz.com/agraph/allegrograph/].
    To compile from the command prompt, you have to specify the 3rd party API (jar files) as classpath. Like so...
    javac -cp <3rd party>.jar *.java

  • Applet runs fine in Eclipse, but when I load into a web page it does not.

    I created a simple applet in Eclipse, and it works fine in the Eclipse runas/applet window.
    However I copied the .class file to a web site folder with the following HTML:
    <applet code="Bouncy.class" width="640" height="480"/>
    And I get the following error in a Java error window:
    Java Plug-in 1.6.0_17
    Using JRE version 1.6.0_17-b04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\******
    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
    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>
    java.lang.NullPointerException
         at sun.plugin2.applet.Plugin2Manager.findAppletJDKLevel(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NullPointerException
    Incidentally, my asp.net codes throws this error:
    System.Web.HttpException: File does not exist.
    at System.Web.StaticFileHandler.GetFileInfo(String virtualPathWithPathInfo, String physicalPath, HttpResponse response)
    at System.Web.StaticFileHandler.ProcessRequestInternal(HttpContext context)
    at System.Web.DefaultHttpHandler.BeginProcessRequest(HttpContext context, AsyncCallback callback, Object state)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    >>
    The folder contains both the aspx (html) file and the .class file
    Thanks for any help.

    Thanks, That did not fix it.
    FYI - the applet will not run outside of Eclipse. If I try from a command line it also fails.
    running 'java Bouncy.class' results in:
    03/17/2010 05:15 PM <DIR> .
    03/17/2010 05:15 PM <DIR> ..
    03/17/2010 10:29 AM 226 .classpath
    03/17/2010 10:29 AM 386 .project
    03/17/2010 05:15 PM 482 Bouncy$1.class
    03/17/2010 05:15 PM 1,995 Bouncy.class
    03/17/2010 05:15 PM 2,240 Bouncy.java
    03/17/2010 10:31 AM 141 java.policy.applet
    6 File(s) 5,470 bytes
    2 Dir(s) 27,895,554,048 bytes free
    C:\Documents and Settings\******\workspace\AppletTest>java Bouncy.class
    Exception in thread "main" java.lang.NoClassDefFoundError: Bouncy/class
    Caused by: java.lang.ClassNotFoundException: Bouncy.class
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    Could not find the main class: Bouncy.class. Program will exit.

  • Java code running as background process in Linux causes high CPU util.

    I'm running a piece of java code as a background process in Redhat 7.1 . When I specify to run it as a background process (using the '&') at the command line, I get CPU utilization at around 5% and it dips.
    When I edit the script that runs the java code to specify running it as a background process withint the script itself (java ..... &) and then go to the command line and run the script, the CPU utilization shoots up to 95% and stays at the low 90's - very high 80's range for the CPU utilization..
    I'm hoping someone has any idea for this behavior and a way to fix it.
    Thanks in advance,
    Sarat..

    This is an interesting post and i'm sory i don't have time to
    experament before i answer
    you could of course run the script as background
    *.sh &
    but that's probubly not what you want
    I think the solution lies in giving the
    proccess a job number %n
    then setting it %n &
    it might even work to
    put something like %java &
    Anyway when it's running fullout
    it is because it is in the
    current terminal process group PID.
    wish i could help more

  • Shutting off java after faulty java code runs in WinXP

    I would like to know how to shut java off after a webpage with faulty java code is loaded. Ever since the version of Java that introduced "jsched" into the mix, I've had problems with Java on every computer and every install of windows I've had and worked with. If a webpage has faulty code in it, instead of crashing Firefox/Mozilla like the older versions did (in which I could simply reload the browser after it crashes), it makes Firefox inoperable (disabling most of the menu items and making the mouse scroller not work), and continues to run even after Firefox is no longer running. To make matters worse, Java was programmed in such a way that makes it a process that cannot be seen in the task manager. Java's ability to hide its running process quite frankly makes me nervous.
    I'm thankful that the latest version fixed a lot of bugs--the version before this would give me a blue screen of death every time I tried to access the control panel.
    I would like to know how to turn off java once it's running. The only documentation I have been able to find was in relation to a shell in Linux which uses commands that don't work in Windows.

    How do I shut off Java once it is loaded when I'm on a page that doens't have any errors? If I go to a page that requires java, and Java gets loaded, it doesn't automatically quit when I go to another page. Why does Java need to continue running when it's no longer being used? Why should I have to quit and reload Firefox in order to quit Java?
    It would be nice if there was something in Java to shut itself off when it encounters an error instead of requiring a windows restart in order to quit Java since it isn't a separate process, and also something that shuts off Java when there is no longer a webpage in memory that requires Java.

  • Debugging Java code from c++ through JNI

    I have c++ application calling java methods through JNI. From c++ when I call the java method through JNI how do I debug the java code? It would be of great help if I get to know the settings that I need to do. I am using VC 6.0 for C++ and JBUIlder 8 for JAVA application.OS used is Windows 2000.

    Put
    _asm { int 3 } to C code in the proper place and start your java application. When C code reaches this debug break it shows a dialog to attach the debugger. Attach C debugger and debug Java and C codes.

  • Running out of memory but no OOM error being thrown

    I have a Berkeley JE application running which is doing an initial load with about 30mill records. I'm starting the JVM with a max of 1G of memeory
    java -Xmx1024m
    However, as I monitor the process (using top on a 4 core 64 bit, 8G mem) I notice that the VIRT value exceeds the heap size. I assume this is from memory needed by the VM itself
    Mem: 8175120k total, 7002748k used, 1172372k free, 24464k buffers
    Swap: 2031608k total, 1015804k used, 1015804k free, 760124k cached
    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    1982 crossref 25 10 2030m 737m 12m S 67.8 9.2 2:29.18 java
    After running for 10 minutes or so the process consumes more and more memory until the machine starts thrashing swap, eventually the Linux OOM killer comes along and will kill this process (note: my Java code never sees an OOM exception even though the VIRT and RES values displayed in TOP far exceeds the Xmx setting)
    After a bit of trial and error I found that using envmnt.evictMemory(); seems to help, I'm calling this function after each 1000 writes to the Berkeley DB.
    Any help in understanding any of this behavior would be appreciated.
    Thanks
    Chuck

    My guess is that something else is going on with this process or your system. We don't know of memory leaks in JE, but even if there were it would certainly be a slow leak. I don't recall hearing anything reported that is similar to what you're describing.
    I think the reason your JE cache is still so small is that very little JE activity has occurred -- the cache hasn't filled yet.
    Sorry this may not be of much help.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • See my code for geting the datasource that give me error

    sir i use under blow code for geting datasource
    no error in datasource but when use datasource object that give me errr
    Connection conn = null ;
    // the following should be in a try-catch...
    javax.naming.Context ctx = new javax.naming.InitialContext() ;
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/Travel") ;
    conn = ds.getConnection() ;
    JasperReport jasperReport = JasperCompileManager.compileReport ("f:\ireport\fahim.jrxml","G",conn); ?(this line give me error )
    JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,new HashMap(),obj);
    please give me idea how i get ireport JasperReport viewer
    thank's
    aamir

    I found and easier way to do it and wrote it up here: http://developers.sun.com/jscreator/learning/tutorials/2/reports.html

  • HT201263 i tried restoring my OS through iTunes but there is error 1669 and I can't open it anymore. what will I do? please help... i'm in great trouble.

    i tried restoring my firmware through itunes but it say "it cannot be restored there is an error 1669 occured" what should I do? please help. my ipnone 5s bought a month ago is not working anymore...

    https://discussions.apple.com/thread/5564260?tstart=0
    https://discussions.apple.com/message/23593048#23593048
    https://discussions.apple.com/message/23565797#23565797

  • Prob running javamail through WSAD but executed easily on the command promp

    Sir i am also having a similar prob, but error log is different when i run the simplemail simply through command prompt it runs perfectly but when i run through the WSAD & websphhe ere app server the mail is not sent , hence the classpath is set since it is getting executed on the command prompt, i dont get it plz help.activation.jar, smtp.jar & mailapi.jar has been set
    The prog code is
         import javax.mail.*;
         import javax.mail.internet.*;
         import java.security.Security;
         import java.util.Properties;
         class SimpleMail {
         //public static void main(String[] args) throws Exception {
    String temp;
         void simplemail()
         try{
         //Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
         Properties props = new Properties();
         props.setProperty("mail.transport.protocol", "smtp");
         props.setProperty("mail.smtp.quitwait", "false");
         props.setProperty("mail.host", "smtp.gmail.com");
         props.put("mail.smtp.auth", "true");
         props.put("mail.smtp.port", "465");
         props.put("mail.debug", "true");
         props.put("mail.smtp.socketFactory.port", "465");
         props.put("mail.smtp.socketFactory.class",
         "javax.net.ssl.SSLSocketFactory");
         props.put("mail.smtp.socketFactory.fallback", "false");
         Session session = Session.getDefaultInstance(props,
         new javax.mail.Authenticator() {
         protected PasswordAuthentication getPasswordAuthentication() {
              return new PasswordAuthentication("[email protected]","dadmom786");
         session.setDebug(true);
         Transport transport = session.getTransport();
         InternetAddress addressFrom = new InternetAddress("[email protected]");
         MimeMessage message = new MimeMessage(session);
    //     message.setSender(addressFrom);
    message.setFrom(addressFrom);
         message.setSubject("Testing javamail plain");
         message.setContent("This is a test from mudassar", "text/plain");
         message.addRecipient(Message.RecipientType.TO, new InternetAddress("[email protected]"));
         transport.connect();
         //transport.send(message);
         transport.close();
    } catch (Exception e) {
                             System.out.print("err"+e.getMessage());
         * @return
         public String getTemp() {
              return temp;
         * @param string
         public void setTemp(String string) {
              temp = string;
    log through WSAD(1111 2222 3333 etc are jus to check where d error is occuring)
    *** Starting the server ***
    ************ Start Display Current Environment ************
    WebSphere Platform 5.1 [BASE 5.1.0.3 cf30412.02] [JDK 1.4.1 b0344.02] running with process name localhost\localhost\server1 and process id 2836
    Host Operating System is Windows XP, version 5.1
    Java version = J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc), Java Compiler = jitc, Java VM name = Classic VM
    was.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
    user.install.root = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51
    Java Home = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51\java\jre
    ws.ext.dirs = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/classes;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/ext;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/web/help;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C:/Program Files/IBM/SQLLIB/java/db2java.zip;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.webservice_5.1.2/runtime/worf.jar
    Classpath = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/properties;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/bootstrap.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/j2ee.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/lmproxy.jar;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/lib/urlprotocols.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wteServers.jar;C:/Program Files/IBM/WebSphere Studio/Application Developer/v5.1.2/wstools/eclipse/plugins/com.ibm.etools.websphere.tools.common_5.1.1.1/runtime/wasToolsCommon.jar
    Java Library path = C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v51/java/jre/bin;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;.;C:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\eclipse\jre\bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\WEMPS\bin;C:\Program Files\Java\jdk1.5.0_06\bin
    ************* End Display Current Environment *************
    [4/6/08 3:45:03:875 IST] 3cb9bf56 ManagerAdmin I TRAS0017I: The startup trace state is *=all=disabled.
    [4/6/08 3:45:06:859 IST] 3cb9bf56 AdminInitiali A ADMN0015I: AdminService initialized
    [4/6/08 3:45:08:766 IST] 3cb9bf56 Configuration A SECJ0215I: Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
    [4/6/08 3:45:08:953 IST] 3cb9bf56 SecurityDM I SECJ0231I: The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully: true.
    [4/6/08 3:45:09:656 IST] 3cb9bf56 SecurityCompo I SECJ0309I: Java 2 Security is disabled.
    [4/6/08 3:45:09:688 IST] 3cb9bf56 SecurityCompo I SECJ0212I: WCCM JAAS configuration information successfully pushed to login provider class.
    [4/6/08 3:45:09:797 IST] 3cb9bf56 SecurityCompo I SECJ0240I: Security service initialization completed successfully
    [4/6/08 3:45:09:812 IST] 3cb9bf56 JMSRegistrati A MSGS0602I: WebSphere Embedded Messaging Client only has been installed
    [4/6/08 3:45:21:953 IST] 3cb9bf56 CacheServiceI I DYNA0048I: WebSphere Dynamic Cache initialized successfully.
    [4/6/08 3:45:24:109 IST] 3cb9bf56 JMXSoapAdapte A ADMC0013I: SOAP connector available at port 8880
    [4/6/08 3:45:24:281 IST] 3cb9bf56 SecurityCompo I SECJ0243I: Security service started successfully
    [4/6/08 3:45:24:281 IST] 3cb9bf56 SecurityCompo I SECJ0210I: Security enabled false
    [4/6/08 3:45:25:953 IST] 3cb9bf56 ApplicationMg A WSVR0200I: Starting application: IBMUTC
    [4/6/08 3:45:27:422 IST] 3cb9bf56 WebContainer A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2002
    [4/6/08 3:45:27:438 IST] 3cb9bf56 WebContainer A SRVE0162I: Servlet Specification Level: 2.3
    [4/6/08 3:45:27:453 IST] 3cb9bf56 WebContainer A SRVE0163I: Supported JSP Specification Level: 1.2
    [4/6/08 3:45:27:688 IST] 3cb9bf56 WebContainer A SRVE0169I: Loading Web Module: IBM Universal Test Client.
    [4/6/08 3:45:28:250 IST] 3cb9bf56 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: JSP 1.2 Processor: init
    [4/6/08 3:45:28:406 IST] 3cb9bf56 WebGroup I SRVE0180I: [IBM Universal Test Client] [UTC] [Servlet.LOG]: SimpleFileServlet: init
    [4/6/08 3:45:28:531 IST] 3cb9bf56 ApplicationMg A WSVR0221I: Application started: IBMUTC
    [4/6/08 3:45:28:531 IST] 3cb9bf56 ApplicationMg A WSVR0200I: Starting application: DefaultEAR
    [4/6/08 3:45:28:609 IST] 3cb9bf56 WebContainer A SRVE0169I: Loading Web Module: MakeURWish.
    [4/6/08 3:45:29:234 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [finalpro] [Servlet.LOG]: JSP 1.2 Processor: init
    [4/6/08 3:45:29:906 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [finalpro] [Servlet.LOG]: SimpleFileServlet: init
    [4/6/08 3:45:29:969 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [finalpro] [Servlet.LOG]: InvokerServlet: init
    [4/6/08 3:45:29:984 IST] 3cb9bf56 WebContainer A SRVE0169I: Loading Web Module: MakeURWish.
    [4/6/08 3:45:30:109 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: JSP 1.2 Processor: init
    [4/6/08 3:45:30:406 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: SimpleFileServlet: init
    [4/6/08 3:45:30:406 IST] 3cb9bf56 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: InvokerServlet: init
    [4/6/08 3:45:30:406 IST] 3cb9bf56 ApplicationMg A WSVR0221I: Application started: DefaultEAR
    [4/6/08 3:45:30:531 IST] 3cb9bf56 HttpTransport A SRVE0171I: Transport http is listening on port 9,080.
    [4/6/08 3:45:32:656 IST] 3cb9bf56 HttpTransport A SRVE0171I: Transport https is listening on port 9,443.
    [4/6/08 3:45:32:703 IST] 3cb9bf56 RMIConnectorC A ADMC0026I: RMI Connector available at port 2809
    [4/6/08 3:45:32:781 IST] 3cb9bf56 WsServer A WSVR0001I: Server server1 open for e-business
    [4/6/08 3:45:36:047 IST] 57533f54 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: /index.jsp: init
    [4/6/08 3:45:53:422 IST] 53d3ff54 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: /jsp/CheckUser.jsp: init
    [4/6/08 3:46:39:406 IST] 57533f54 WebGroup I SRVE0180I: [MakeURWish] [final_02_04_08] [Servlet.LOG]: /jsp/Email.jsp: init
    [4/6/08 3:46:39:438 IST] 57533f54 SystemOut O 1111
    [4/6/08 3:46:39:469 IST] 57533f54 SystemOut O DEBUG: not loading system providers in <java.home>/lib
    [4/6/08 3:46:39:469 IST] 57533f54 SystemOut O DEBUG: not loading optional custom providers file: /META-INF/javamail.providers
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O DEBUG: successfully loaded default providers
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O
    DEBUG: Tables of loaded providers
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
    [4/6/08 3:46:39:484 IST] 57533f54 SystemOut O DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
    [4/6/08 3:46:39:500 IST] 57533f54 SystemOut O DEBUG: not loading optional address map file: /META-INF/javamail.address.map
    [4/6/08 3:46:39:500 IST] 57533f54 SystemOut O 2222
    [4/6/08 3:46:39:500 IST] 57533f54 SystemOut O 3333
    [4/6/08 3:46:39:516 IST] 57533f54 SystemOut O
    DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
    [4/6/08 3:46:39:531 IST] 57533f54 SystemOut O 4444
    [4/6/08 3:46:39:531 IST] 57533f54 SystemOut O 5555
    [4/6/08 3:46:39:578 IST] 57533f54 SystemOut O 6666
    [4/6/08 3:46:39:641 IST] 57533f54 SystemOut O 7777
    [4/6/08 3:46:39:641 IST] 57533f54 SystemOut O 8888
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O DEBUG SMTP: useEhlo true, useAuth true
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O 9999
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O DEBUG SMTP: useEhlo true, useAuth true
    [4/6/08 3:46:40:734 IST] 57533f54 SystemOut O
    DEBUG: SMTPTransport trying to connect to host "smtp.gmail.com", port 465
    [4/6/08 3:46:42:672 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 220 mx.google.com ESMTP 9sm13910420wfc.16
    [4/6/08 3:46:42:672 IST] 57533f54 SystemOut O DEBUG: SMTPTransport connected to host "smtp.gmail.com", port: 465
    [4/6/08 3:46:42:688 IST] 57533f54 SystemOut O DEBUG SMTP SENT: EHLO a-af17f82dcfd64
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 250-mx.google.com at your service, [59.95.2.209]
    250-SIZE 28311552
    250-8BITMIME
    250-AUTH LOGIN PLAIN
    250 ENHANCEDSTATUSCODES
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "SIZE", arg "28311552"
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "8BITMIME", arg ""
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "AUTH", arg "LOGIN PLAIN"
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP: Attempt to authenticate
    [4/6/08 3:46:42:984 IST] 57533f54 SystemOut O DEBUG SMTP SENT: AUTH LOGIN
    [4/6/08 3:46:43:266 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 334 VXNlcm5hbWU6
    [4/6/08 3:46:43:266 IST] 57533f54 SystemOut O DEBUG SMTP SENT: aGFraW1kYmVzdEBnbWFpbC5jb20=
    [4/6/08 3:46:43:562 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 334 UGFzc3dvcmQ6
    [4/6/08 3:46:43:562 IST] 57533f54 SystemOut O DEBUG SMTP SENT: ZGFkbW9tNzg2
    [4/6/08 3:46:45:000 IST] 57533f54 SystemOut O DEBUG SMTP RCVD: 235 2.7.0 Accepted
    [4/6/08 3:46:45:000 IST] 57533f54 SystemOut O DEBUG SMTP SENT: QUIT
    [4/6/08 3:46:45:016 IST] 57533f54 SystemOut O yes

    Answered in the thread where you first posted this question:
    http://forum.java.sun.com/thread.jspa?threadID=5144455

  • Exact same code works in one class, but gives me a fatal error in another

    I'm feeling around in the dark like the blind noob I am trying to get a GUI to work, but this one very confusing thing is preventing me from getting anywhere. When I ran a very simple start to the program, I got a message that said: "Fatal exception occurred. Program will exit." The command line said the oh-so-helpful:
    java.lang.NoSuchMethodError: main
    Exception in thread "main"
    with no more details than that. I have spent about an hour testing different things to find out what the hell is wrong, when I discovered that if I copy-paste the code into a new class in the same package, it works. What is going on? I'm using Eclipse. Here is the code:
    public static void main(String[] args) {
              JFrame frame = new JFrame();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.getContentPane().add(new ExitImpossiblePanel());
              frame.setSize(300,300);
              frame.pack();
              frame.setVisible(true);
         }

    masijade. wrote:
    georgemc wrote:
    masijade. wrote:
    codinatrix wrote:
    Oh, I see. I had that class open and pressed the "Run" button. I thought that meant it would run the one it had open. I guess it was trying to run the panel class instead. Wow, I spent all that time on such a dumb mistake.
    It happens. ;-)It does indeed. I had the exact opposite thing happening to me the other day with some new distro of Eclipse 3.3 (Europa, I think) that decided it would - as our friend here expected - try and run main in the compilation unit in view. It's configurable in that version, but I've never needed to change it beforeI am definately going to have to watch out for that then. We currently have 3.2 here, but they perform updates at random and without warning (at least as to what, if not when) here.
    ;-)I suspect it was a buggy plugin, because it's only that particular distro that does it, no other 3.3 release I've used does so

Maybe you are looking for

  • Screwy IRQ's Help!!

    Need help trying to install XP on a athlon , k7t turbo limited edition mother board , 1 stick 128 mb 133mhz , 40 gig ata100 "only can run a 66 cable cause Im poor" 32 mb radeon pci . I also dont know how many mhz I got, its running at 1.3 but the ove

  • Sync two computers with one documents folder?

    This is a question re: a imac and a powerbook.  I am looking for a product that can update the most recently edited files in my documents folder on both computers automatically... Often, I use the laptop remotely and need updates to the desk top and

  • So my 80 GB ipod classic is frozen...

    My ipod is frozen in pause and locked mode with the screen light on. When I connect to my macbook or lock/unlock it nothing happens. Anyone know how to fix? Thanks apple community!

  • Snapshot "UNDEFINED" object invalid

    Here's what I'm doing: create snapshot TEST as select * from TEST@TEST_MASTER; This creates two objects of name TEST - a table and an object of type "UNDEFINED". Now, here's the problem: The status of the "UNDEFINED" object will change to "INVALID" a

  • ADF Struts UIX - how write where clause whith date in ViewObject

    Hello I need to write a search form with two date fields and then query a where clause between to_date('date 1') and to_date('date 2'). the query may be writed in ViewCriteria class or using Application module method like this AssureViewImpl assureVi