[urgent] Java Serious Problem

Hello,
I've a very serious problem after installing Java. After the installation, the program asked me to restart my computer. After doing so, only my wallpaper can be seen. The taskbar, icons and other programs that will always startup automatically did not appear.
I opened Task Manager, closed and opened explorer.exe, then all the things came out. However, my antivirus, firewall etc did not startup as usual. I proceed on to uninstall Java and did a restart. The same problem appears again.
I called Microsoft and they told me to call Sun Microsystems instead. Sun Microsystems told me that they don't have technical support for the freeware Java.
I would like to know how can I solve this problem? Please help.

hmm....
1) Where did you download from?
2) If you have active desktop enabled - what ie version are you running... the only change that a new jvm install affects as far as ms_w? is concerned is the jvm itself... nothing else.....
??

Similar Messages

  • Urgent! Serious problem with J2EE Classloader!

    Hi all,
    I'm having a serious problem with j2ee Classloading.
    I have "inherited" a J2EE application where all business classes (invoked by the EJB) are placed in the Application's Server classpath (Weblogic 8.1.4).
    Very bad because every time a class is changed the a.s. must be restarted.
    So I re-enginereed the package putting the business classes in a jar that is referenced by the EJB's MANIFEST file.
    This way all the classes would be loaded by the EJB classloader and no need to start/stop weblogic.
    Unfortunately it's not such !! I discovered that all business classes are loaded via REFLECTION
    Object objCommand = objClass.newInstance();
    Object[] param = new Object[1];
    param[0] = aDataContainer;
    objDataContainerReturn = (DataContainer) objMethod.invoke(objCommand,param);
    and the application server cannot find them using the standard J2EE Classloader mechanism.
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at irma.business.Dispatcher.callService(Dispatcher.java:70)
    Caused by: java.lang.NoClassDefFoundError: irma/utility/log/LogPrintStream
    at irma.business.service.LoginService.login(LoginService.java:79)
    On the other hand they're found if I put the classes on the application server classpath.
    Has anybody got advice for this ? Should I refactor the application giving up reflection ?
    Thanks a lot in advance.

    Reflection uses the classloader as well so it should work fine.
    A common cause of a NoClassDefFoundError is something in a parent classloader that refers to something only available in a child loader.
    For instance, do you have any of your application classes which are in the $CLASSPATH but reference something that is only (now) in the business.jar in your ear?
    -- Rob
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • URGENT: JAVA FTP problem

    Hi,
    I am trying to FTP (retreive) the files from external server, that is going through some proxy.
    I am using commons-net-1.0.0.jar file to do the FTP (FTPClient)
    2 files must be retreived (get) from that box. The local server is UNIX solaris.
    It is working fine in BC box and Dev box. The process is able to GET both the files.
    But in Production (Primary box), I am able to get only one file, and that is the smaller out of 2. Not getting the larger file.
    Program is not throwing any errors either.
    Not sure what I need to check or how to resolve this problem.
    Any help is greatly appreciated.

    There is little improvement from previous time (above mentioned problem)
    Now, first time when I run the program, it is working fine and I am getting the files back from external source.
    But if I run the program 2nd time (repeatedly) , it is not FTPing the files and program is hanging @ the retreival (FTP retreiveFile() ) part.
    i.e. If I run the program after certain gap like 3-4hrs, first time it is working fine. But starts hanging if I run 2nd time.
    Do I need to set something.
    Please help. Very urgent.
    Thanks in advance.

  • Serious problem with blackberry 9300 Curve handset and denial from BB to replace the same, under warranty.

    Dear Blackberry Authorities,
    It is really a horrible experience with the handset of blackberry for me. I have purchased blackberry Curve handset 9300 on 22nd April from a "Phone Store”, Shop No.78,79,community centre, New friends colony, New Delhi, The Invoice No. is 319,The details of the handset are as follows:
    Handset: Blackberry Curve 9300 1256-India Qwerty-Pink
    Name: Blackberry 9300: ETA-716/2010/WRLO
    Model: RDA71UW
    It has been more than just three months ,when i purchased this handset ,It worked fine for about only fifty days from the date of purchase and from the second month ,to my shock, serious problem started in the handset and some time it was getting hanged ,sometime some keys in the keypad did not work ,some time it was getting hanged the moment I receive incoming call., sometime sms sending problem, some time some other problem ..Every time I used to switch off the phone and start again, then it used to work but after some days again there were some other problem occurring in the handset.
    The phone was not getting connected to PC from the starting, and i have tried so many times but i fail to get success.
    Many a times when I used t send sms the entire alphabet typed on sms has gone separately as a single alphabet in a particular sms to the recipient, causing embarrassment for me in my organization. I would blame the black berry for this embarrassment as this has caused due to faulty phone they have sold me,
    I am service class person and i get occupied with my work at office in the day hours and doesn’t have time to go to the service centre of blackberry every time the problem occurs, as there are only one service centre available in Delhi at Lajpat Nagar.The service centre is about 20 Kilometers away from the area my office is situated, I managed to keep the phone running by switching off and switching on after one or two minutes, every time the problem occurs but in the first week of last month ,when the problem started continuing  after  switching off and switching on also ,I was bound to go to service centre at noida since it is close to my place (about 14 Km) in comparison of Lajpat nagar at new delhi,the service engineer at blackberry service centre saw my phone and said there is some software problem which can be rectified by reinstalling the software, and there are some hardware problem also (some keys on the keypad is not et. all working) ,for which i have to surrender my phone to them and they will send it to the Blackberry Office (they did not give address) and it would take 15 days  at least ,thus since I had no back up phone and my each and every contact no. was there in phone it was difficult for me to give them handset at that time ,so I requested them to rectify the software problem by re installing the same.
    I asked the service manager to get the backup of all the data and contact no saved into the phone, but they refused to do so and they asked me to go to some other shop nearby to get the data backup, I went to that shop and they asked 250 Rupees for data backup of my phone. I was bound to say yes to them for the amount the charge for backup .I gave them my handset and after 20-30 minutes they came back to me by saying, we cannot store your data backup as it is not connecting to PC. It was a highly disappointing reply for me.
    Then i again went to your service centre and written down some important contact no.(the number which was stored on phone book) on piece of paper  and taken out my SD card ,and gave them handset for re installing the same.
    They gave me my handset after one and half hour and said" now it would work fine except hardware problem.".I came back and to my utter shock again after two three days handset was into its old condition ,then also I tried to manage with handset and when i could spare sometime I went to your service centre again on 24th July at Noida,
    they took the phone and said it would take 12-15 days to return the handset after rectifying the problem,when i requested them to change the handset with a new handset which is at least in good working condition , they clarified that if the hardware problem is not manageable or repairable ,i would get new handset had no option except to give them handset for rectifying the problem.
    Now,It is the time for a biggest shock from blackberry people-Today on 3rd August ,i have received a call from noida blackberry service centre to inform me that my handset cannot get repaired under standard warranty conditions of blackberry as there are some moisture into the phone and there is no warranty if there is a moisture inside the phone.
    Thus now i wish to inform all the concerned ,Blackberry/Research in Motion ,managers/authorities ,that i have explained above ,all the things ,happened to me in last three months of my purchase of handset, in detail ,so i would again request to Blackberry/Research in Motion ,managers/authorities, to rectify the problem of my handset or change the entire handset so that I can use the same peacefully and should not roam around the service center of blackberry.
    Giving this lame excuse that "there is a moisture inside the handset and thus it can’t get repaired or changed under warranty " is a clear case of cheating and harassing the customer, I have bought the handset to use it for my communication purpose not to roam around the blackberry service center nor to put water or moisture inside the handset and play with the handset and fight with all of you.
    If there were some moisture inside the handset then that should have been seen by the noida service centre people also during my First visit itself by them and they would have refused taking the handset for repair. They did not refuse but accepted handset and reinstalled software also, If there was some moisture that would have been seen by them that time only.
    In my second visit also the took my phone and seen the inside condition also of handset in front of me ,they did not see any moisture, that time also ,and now after 10 odd days ,there are some moisture inside the phone??????.
    I have no idea how blackberry keeps its handset ,which has come to them for repairing ,but if there is any trace of moisture into my handset ,that would have come into the handset ,during these 10 days only when phone was with blackberry authorized service engineers for repair purpose. What I know is that My Blackberry handset is under warranty and it is not working properly thus it should be replaced by Blackberry.
    On the keypad if some key are not working that is a hardware problem which was there in the handset and it has no connection with the moisture.
    If this is the way blackberry is treating its customer, i would say it is harassing its customer, and does not want to rectify the problem .in this case, I would have no option left except to go to the consumer court in Indian judiciary system. And moreover i would inform my and other friends, organizational employee also not to use services/or buy blackberry handset if this is the way BB is treating its customer.
    I would request all the concerned persons/managers/authorities of Blackberry/Research in Motion, take action into my case urgently and rectify the core problem into my handset instead of giving lame excuses, and change the faulty handset of mine with a new properly working handset under warranty condition.
    Best Regards
    Asim
    Edit: Personal information removed. At no time should you provide any personal information to any other community member. Please review the Community Terms & Conditions and Support Community Guidelines for additional information.

    dubem747 wrote:
    It looks like your phone has a some virus, use your computer to scan and remove it.
    not possible for it to have a virus and a PC would not know how to scan the OS as its protected
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Serious problem of jdbc-mysql connectivity using tomcat

    hi everybody
    i m in serious problem since last 15-20 days. i m trying hard to make the connection jdbc-mysql using tomcat with the help of a jsp test page but every time i am facing almost the similar probems listed below in detail:
    to make sure that the jdrivers's .jar (mysql-connector-java-3.1.7-bin.jar) available for such connections working fine i have tried the above said connection without using tomcat....which is working fine...for this i have created a dummy database with a dummy table ..and written some queries in the .java file of my code which upon running inserts the specified values in the defined(dummy) database.
    this is the confirmation that the classpath etc..are ok in regard to the mysql-connector-java-3.1.7-bin.jar
    now i have placed a copy of this .jar file in to the commons/lib directory of the tomcat web server(which is suppossed to be the place for such external jars)
    after doing so i have followed 2 methods :
    method 1st:........
    i have made aone more jar file from the following .java file....
    import javax.naming.*;
    import javax.sql.*;
    import java.sql.*;
    public class TestSQLLoad
    String user = "Not Connected";
    String pwd = "no pwd";
    int id = -1;
    public void init() {
    try{
    Context ctx = new InitialContext();
    if(ctx == null ) {
    throw new Exception("Boom - No Context");
    DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/TestDB");
    if (ds != null) {
    Connection conn = ds.getConnection();
    if(conn != null) {
    user = "Got Connection "+conn.toString();
    Statement stmt = conn.createStatement();
    String q = "select name, password, id from user";
    ResultSet rst = stmt.executeQuery(q);
    if(rst.next()) {
    user=rst.getString(1);
    pwd=rst.getString(2);
    id = rst.getInt(3);
    conn.close();
    }catch(Exception e) {
    e.printStackTrace();
    public String getUser() {
    return user;
    public String getPassword() {
    return pwd;
    public int getID()
    return id;
    after compiling it at the cmd prompt i made a .jar file from the .class of it and named it MySQLLoad.jar...then i placed it also in to the commons/lib directory where the mysql-connector-java-3.1.7-bin.jar was already placed.
    then i have changed the server.xml and web.xml files from the conf directory of the tomcat as given here:
    server.xml
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN">
    <!-- Comment these entries out to disable JMX MBeans support used for the
    administration web application -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved"
    factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
    pathname="conf/tomcat-users.xml" />
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Catalina">
    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector
    port="80" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to 0 -->
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
    enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Catalina" defaultHost="localhost">
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    resourceName="UserDatabase"/>
    <Host name="localhost" appBase="webapps"
    unpackWARs="true" autoDeploy="true"
    xmlValidation="false" xmlNamespaceAware="false">
    <Context path="/testdb" docBase="TOMCAT_HOME/webapps/tomcat-docs/testdb"
    debug="5" reloadable="true" crossContext="true" >
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_DBTest_log." suffix=".txt"
    timestamp="true"/>
    <Resource name="jdbc/TestDB"
    auth="Container"
    type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/TestDB">
    <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>10</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>5</value>
    </parameter>
    <parameter>
    <name>maxWait</name>
    <value>10000</value>
    </parameter>
    <!-- MySQL dB username and password for dB connections -->
    <parameter>
    <name>username</name>
    <value>root</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>mysql</value>
    </parameter>
    <!-- Class name for mm.mysql JDBC driver -->
    <parameter>
    <name>driverClassName</name>
    <value>com.mysql.jdbc.Driver</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:mysql://localhost/testdb?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    </Context>
    </Host>
    </Engine>
    </Service>
    </Server>
    and the other xml file i.e
    web.xml is here:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
    <servlet>
    <servlet-name>default</servlet-name>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/TestDB</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-cl ***>
    <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
    </init-param>
    <init-param>
    <param-name>listings</param-name>
    <param-value>true</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>invoker</servlet-name>
    <servlet-class>
    org.apache.catalina.servlets.InvokerServlet
    </servlet-class>
    <init-param>
    <param-name>debug</param-name>
    <param-value>0</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>jsp</servlet-name>
    <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
    <init-param>
    <param-name>fork</param-name>
    <param-value>false</param-value>
    </init-param>
    <init-param>
    <param-name>xpoweredBy</param-name>
    <param-value>false</param-value>
    </init-param>
    <load-on-startup>3</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    <!-- The mapping for the JSP servlet -->
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>*.jsp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>jsp</servlet-name>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>abs</extension>
    <mime-type>audio/x-mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ai</extension>
    <mime-type>application/postscript</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>aif</extension>
    <mime-type>audio/x-aiff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>aifc</extension>
    <mime-type>audio/x-aiff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>aiff</extension>
    <mime-type>audio/x-aiff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>aim</extension>
    <mime-type>application/x-aim</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>art</extension>
    <mime-type>image/x-jg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>asf</extension>
    <mime-type>video/x-ms-asf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>asx</extension>
    <mime-type>video/x-ms-asf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>au</extension>
    <mime-type>audio/basic</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>avi</extension>
    <mime-type>video/x-msvideo</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>avx</extension>
    <mime-type>video/x-rad-screenplay</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>bcpio</extension>
    <mime-type>application/x-bcpio</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>bin</extension>
    <mime-type>application/octet-stream</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>bmp</extension>
    <mime-type>image/bmp</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>body</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>cdf</extension>
    <mime-type>application/x-cdf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>cer</extension>
    <mime-type>application/x-x509-ca-cert</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>class</extension>
    <mime-type>application/java</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>cpio</extension>
    <mime-type>application/x-cpio</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>csh</extension>
    <mime-type>application/x-csh</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>css</extension>
    <mime-type>text/css</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>dib</extension>
    <mime-type>image/bmp</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>doc</extension>
    <mime-type>application/msword</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>dtd</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>dv</extension>
    <mime-type>video/x-dv</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>dvi</extension>
    <mime-type>application/x-dvi</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>eps</extension>
    <mime-type>application/postscript</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>etx</extension>
    <mime-type>text/x-setext</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>exe</extension>
    <mime-type>application/octet-stream</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>gif</extension>
    <mime-type>image/gif</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>gtar</extension>
    <mime-type>application/x-gtar</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>gz</extension>
    <mime-type>application/x-gzip</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>hdf</extension>
    <mime-type>application/x-hdf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>hqx</extension>
    <mime-type>application/mac-binhex40</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>htc</extension>
    <mime-type>text/x-component</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>htm</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>hqx</extension>
    <mime-type>application/mac-binhex40</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ief</extension>
    <mime-type>image/ief</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jad</extension>
    <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jar</extension>
    <mime-type>application/java-archive</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>java</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jnlp</extension>
    <mime-type>application/x-java-jnlp-file</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jpe</extension>
    <mime-type>image/jpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jpeg</extension>
    <mime-type>image/jpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jpg</extension>
    <mime-type>image/jpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>js</extension>
    <mime-type>text/javascript</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jsf</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jspf</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>kar</extension>
    <mime-type>audio/x-midi</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>latex</extension>
    <mime-type>application/x-latex</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>m3u</extension>
    <mime-type>audio/x-mpegurl</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mac</extension>
    <mime-type>image/x-macpaint</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>man</extension>
    <mime-type>application/x-troff-man</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>me</extension>
    <mime-type>application/x-troff-me</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mid</extension>
    <mime-type>audio/x-midi</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>midi</extension>
    <mime-type>audio/x-midi</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mif</extension>
    <mime-type>application/x-mif</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mov</extension>
    <mime-type>video/quicktime</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>movie</extension>
    <mime-type>video/x-sgi-movie</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mp1</extension>
    <mime-type>audio/x-mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mp2</extension>
    <mime-type>audio/x-mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mp3</extension>
    <mime-type>audio/x-mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mpa</extension>
    <mime-type>audio/x-mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mpe</extension>
    <mime-type>video/mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mpeg</extension>
    <mime-type>video/mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mpega</extension>
    <mime-type>audio/x-mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mpg</extension>
    <mime-type>video/mpeg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>mpv2</extension>
    <mime-type>video/mpeg2</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ms</extension>
    <mime-type>application/x-wais-source</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>nc</extension>
    <mime-type>application/x-netcdf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>oda</extension>
    <mime-type>application/oda</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pbm</extension>
    <mime-type>image/x-portable-bitmap</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pct</extension>
    <mime-type>image/pict</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pdf</extension>
    <mime-type>application/pdf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pgm</extension>
    <mime-type>image/x-portable-graymap</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pic</extension>
    <mime-type>image/pict</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pict</extension>
    <mime-type>image/pict</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pls</extension>
    <mime-type>audio/x-scpls</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>png</extension>
    <mime-type>image/png</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pnm</extension>
    <mime-type>image/x-portable-anymap</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>pnt</extension>
    <mime-type>image/x-macpaint</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ppm</extension>
    <mime-type>image/x-portable-pixmap</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ppt</extension>
    <mime-type>application/powerpoint</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ps</extension>
    <mime-type>application/postscript</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>psd</extension>
    <mime-type>image/x-photoshop</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>qt</extension>
    <mime-type>video/quicktime</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>qti</extension>
    <mime-type>image/x-quicktime</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>qtif</extension>
    <mime-type>image/x-quicktime</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ras</extension>
    <mime-type>image/x-cmu-raster</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>rgb</extension>
    <mime-type>image/x-rgb</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>rm</extension>
    <mime-type>application/vnd.rn-realmedia</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>roff</extension>
    <mime-type>application/x-troff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>rtf</extension>
    <mime-type>application/rtf</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>rtx</extension>
    <mime-type>text/richtext</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>sh</extension>
    <mime-type>application/x-sh</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>shar</extension>
    <mime-type>application/x-shar</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>smf</extension>
    <mime-type>audio/x-midi</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>sit</extension>
    <mime-type>application/x-stuffit</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>snd</extension>
    <mime-type>audio/basic</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>src</extension>
    <mime-type>application/x-wais-source</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>sv4cpio</extension>
    <mime-type>application/x-sv4cpio</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>sv4crc</extension>
    <mime-type>application/x-sv4crc</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>swf</extension>
    <mime-type>application/x-shockwave-flash</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>t</extension>
    <mime-type>application/x-troff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tar</extension>
    <mime-type>application/x-tar</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tcl</extension>
    <mime-type>application/x-tcl</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tex</extension>
    <mime-type>application/x-tex</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>texi</extension>
    <mime-type>application/x-texinfo</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>texinfo</extension>
    <mime-type>application/x-texinfo</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tif</extension>
    <mime-type>image/tiff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tiff</extension>
    <mime-type>image/tiff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tr</extension>
    <mime-type>application/x-troff</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>tsv</extension>
    <mime-type>text/tab-separated-values</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ulw</extension>
    <mime-type>audio/basic</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>ustar</extension>
    <mime-type>application/x-ustar</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xbm</extension>
    <mime-type>image/x-xbitmap</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xht</extension>
    <mime-type>application/xhtml</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xhtml</extension>
    <mime-type>application/xhtml</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xml</extension>
    <mime-type>text/xml</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xpm</extension>
    <mime-type>image/x-xpixmap</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xsl</extension>
    <mime-type>text/xml</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>xwd</extension>
    <mime-type>image/x-xwindowdump</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>wav</extension>
    <mime-type>audio/x-wav</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>svg</extension>
    <mime-type>image/svg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>svgz</extension>
    <mime-type>image/svg</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>vsd</extension>
    <mime-type>application/x-visio</mime-type>
    </mime-mapping>
    <mime-mapping>
    <!-- Wireless Bitmap -->
    <extension>wbmp</extension>
    <mime-type>image/vnd.wap.wbmp</mime-type>
    </mime-mapping>
    <mime-mapping>
    <!-- WML Source -->
    <extension>wml</extension>
    <mime-type>text/vnd.wap.wml</mime-type>
    </mime-mapping>
    <mime-mapping>
    <!-- Compiled WML -->
    <extension>wmlc</extension>
    <mime-type>application/vnd.wap.wmlc</mime-type>
    </mime-mapping>
    <mime-mapping>
    <!-- WML Script Source -->
    <extension>wmls</extension>
    <mime-type>text/vnd.wap.wmlscript</mime-type>
    </mime-mapping>
    <mime-mapping>
    <!-- Compiled WML Script -->
    <extension>wmlscriptc</extension>
    <mime-type>application/vnd.wap.wmlscriptc</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>wrl</extension>
    <mime-type>x-world/x-vrml</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>Z</extension>
    <mime-type>application/x-compress</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>z</extension>
    <mime-type>application/x-compress</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>zip</extension>
    <mime-type>application/zip</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    <welcome-file>index.htm</welcome-file>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>
    after all this i have taken a jsp page whose code is here:
    (the mysql database used is named as "testdb" and the table name is "user" which is having fields name,password and id)
    <html>
    <head>
    <title>DB Test</title>
    </head>
    <body>
    <%
    TestSQLLoad tst = new TestSQLLoad ( );
    tst.init();
    %>
    <h2>Results</h2>
    User <%= tst.getUser() %>
    Pwd <%= tst.getPassword() %>
    Id <%= tst.getID() %>
    </body>
    </html>
    and placed it in to the Tomcat 5.5\webapps\tomcat-docs\testdb directory and saved as test-db.jsp
    when i run this page on the browser i get a lot may errors stating
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 12 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    An error occurred at line: 12 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.j ava:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.4 logs.
    AND NOW WHEN just to get rid of such errords i try to include a statement
    <%@ page import="pkg.TestSQLLoad" %> in the jsp page code (and also place the MySQLLoad.class file in a folder called pkg and place it in the same directory where the jsp page is )and make it look like
    <html>
    <head>
    <%@ page import="pkg.TestSQLLoad" %>
    <title>DB Test</title>
    </head>
    <body>
    <%
    TestSQLLoad tst = new TestSQLLoad ( );
    tst.init();
    %>
    <h2>Results</h2>
    User <%= tst.getUser() %>
    Pwd <%= tst.getPassword() %>
    Id <%= tst.getID() %>
    </body>
    </html>
    now when i run it i get the following errors:
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    Only a type can be imported. pkg.TestSQLLoad resolves to a package
    An error occurred at line: 12 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    An error occurred at line: 12 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.j ava:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    in response to the above error i have even tried placing the MySQLLoad.class directly in the testdb folder along with the jsp page without keeping it in a package named pkg and then importing directly as <@page import="MySQLLoad" %>
    that too gave me the following errors
    org.apache.jasper.JasperException: Unable to compile class for JSP
    Generated servlet error:
    The import TestSQLLoad cannot be resolved
    An error occurred at line: 12 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    An error occurred at line: 12 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.j ava:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    and if i do not use the statement <%@ page import="MySQLLoad"%> then also i get the errors like
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 11 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    An error occurred at line: 11 in the jsp file: /testdb/test-db.jsp
    Generated servlet error:
    TestSQLLoad cannot be resolved or is not a type
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.j ava:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
    org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
    org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    THE 2nd Method:
    in my second method i did the same changes in the web.xml and server.xml
    then i took a jsp page with the following code:
    <%@ page import="javax.sql.*,java.sql.*,javax.naming.*,com.mysql.jdbc.*" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    <TITLE> trial doc </TITLE>
    </HEAD>
    <BODY>
    <h1>Trial Document</h1>
    <% InitialContext context=new InitialContext( );
    DataSource dataSource=(DataSource) context.lookup("java:comp/env/jdbc/testdb");
    Connection conn=dataSource.getConnection();
    Statement stmt=conn.createStatement();
    ResultSet rset=stmt.executeQuery("select * from user");
    if (rset.next()){
    %>
    <table width="100%" border="1">
    <tr align="left">
    <th>name</th> <th>password</th><th>id</th>
    </tr>
    <%
    do {
    %>
    <tr><td> <%=rset.getString(1)%> </td>
    <td><%=rset.getString(2) %></td>
    <td><%=rset.getString(3) %></td></tr>
    <%
    } while (rset.next());
    %>
    </table>
    <%
    } else{
    %>
    No results from query
    <%
    rset.close();
    stmt.close();
    conn.close();
    context.close();
    %>
    </BODY>
    </HTML>
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 15 in the jsp file: /testdb/Big1.jsp
    Generated servlet error:
    The type Connection is ambiguous
    An error occurred at line: 15 in the jsp file: /testdb/Big1.jsp
    Generated servlet error:
    The type Statement is ambiguous
    An error occurred at line: 15 in the jsp file: /testdb/Big1.jsp
    Generated servlet error:
    The type ResultSet is ambiguous
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.j ava:84)
    org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
    org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
    org.apache.jasper.compiler.Compiler.compile(C

    thanx for ur response
    as u said that the problem is more of a jsp page not getting compiled....
    me also pointed towards the similar situation providing all the surrounding situations
    which i have met and gone through
    i m still thinking that problem may b in the tomcat's server.xml and web.xml as well
    so better if u plz guide me in that regard
    regards,
    kuldeep

  • Java Memory Problem

    Hi,
    We are using apache and tomcat webserver for our site (built on Unix). We are experiencing a serious problem with java memory.
    For every 1 hour (at around 1000-1500 page hits), site is getting down and giving error,'java.lang.OutOfMemoryError'.
    We observed that the memory consumed by java parocess is not being garbage collected. It is building up gradually and reaching its max limit(128M), and then site is getting down, throwing exception 'java.lang.OutOfMemoryError'.
    I dont under stand what to do.
    Can you please suggest me what to do to fix the problem..
    thankyou,
    Mo

    Test run your server with java -Xloggc:<file> option which logs GC activity. This should give you a clue as to how often gc is running and how much of mem it reclaimed in each cycle. This is just an initial test. Once u know for sure that enough mem is not being reclaimed then you use some memory profiler tools and identify the memory leak and fix the code to release unwanted references.

  • Help urgently needed: bizarre problem - no audio in imported clip!

    Hey there!
    I have a bizarre - never the less urgent problem:
    When I import some material (presentations) which I have recorded on Mini DV with my Canon MVX10i Camcorder the following problem occurs:
    There is one particular presentation which somehow looses the audio during the import process!
    That means the imported clip has no audio even though the audfio is on tape! Other clips before and after do not have this problem - the audio is available after the import.
    A bizarre but serious problem for me. Any suggestions?
    Thanks a lot in advance
    Thorge

    I had a similar problem. When I started the tape from the beginning no audio would import. To solve it I started the tape a few seconds in and It seemed to work.
    Hope this helps.

  • Serious problem with TitledBorder(jPanel)

    I have a serious problem with TitledBorder(jPanel)
    Here, I have two class the first it contains a jTabbedPane ( class_jTabbedPane)qui call the second which contains a jPanel (Ptableau) which contains a jTable in a jPanel with TitledBorder
    The problem that one I carry out the jPanel with the title does not post
    Thank you! of your assistance.
    The source of the example is as follows:
    package jtabbedpane_titledborder;
    import java.awt.*;
    import javax.swing.*;
    public class class_jTabbedPane extends JFrame {
    PTableau PT = new PTableau();
    private JPanel jPanel1 = new JPanel();
    private JPanel jPanel2 = new JPanel();
    private JLabel jLabel3 = new JLabel();
    private JLabel jLabel2 = new JLabel();
    private JTabbedPane jTabbedPane1 = new JTabbedPane();
    public class_jTabbedPane() {
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception {
    this.setSize(new Dimension(540, 515));
    jPanel1.setBackground(Color.lightGray);
    jPanel1.setBorder(BorderFactory.createEtchedBorder());
    jPanel1.setLayout(null);
    jPanel2.setBackground(new Color(27, 85, 135));
    jPanel2.setBorder(BorderFactory.createEtchedBorder());
    jPanel2.setBounds(new Rectangle(8, 7, 515, 47));
    jPanel2.setLayout(null);
    jLabel3.setFont(new java.awt.Font("Serif", 1, 25));
    jLabel3.setText("Consultation circuits");
    jLabel3.setBounds(new Rectangle(12, 12, 280, 27));
    jLabel2.setFont(new java.awt.Font("Serif", 1, 25));
    jLabel2.setForeground(SystemColor.activeCaptionBorder);
    jLabel2.setText("Consultation circuits");
    jLabel2.setBounds(new Rectangle(15, 5, 260, 32));
    jTabbedPane1.setBounds(new Rectangle(8, 62, 515, 450));
    PT.setLayout(null);
    this.getContentPane().add(jPanel1, BorderLayout.CENTER);
    jPanel1.add(jPanel2, null);
    jPanel2.add(jLabel2, null);
    jPanel2.add(jLabel3, null);
    jPanel1.add(jTabbedPane1, null);
    jTabbedPane1.add(PT,"Tableau");
    //jTabbedPane1.add(PA,"Arborescence");
    public static void main(String[] args) {
    class_jTabbedPane Ct = new class_jTabbedPane();
    Ct.setVisible(true);
    package jtabbedpane_titledborder;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.border.TitledBorder.*;
    public class PTableau extends JPanel {
    private JPanel jPanel9 = new JPanel();
    private JPanel jPanel5 = new JPanel();
    TitledBorder titledBorder5;
    TitledBorder titledBorder4;
    private JPanel jPanel4 = new JPanel();
    private JScrollPane jScrollPane2 = new JScrollPane();
    private JTable jTable1 = new JTable(4, 4 );
    private BorderLayout borderLayout1 = new BorderLayout();
    public PTableau() {
    try {
    jbInit();
    catch(Exception ex) {
    ex.printStackTrace();
    void jbInit() throws Exception {
    jPanel9.setBackground(new Color(27, 85, 135));
    jPanel9.setBorder(BorderFactory.createEtchedBorder());
    jPanel9.setBounds(new Rectangle(1, 1, 540, 350));
    jPanel9.setLayout(null);
    this.setLayout(null);
    jPanel5.setBackground(new Color(27, 85, 135));
    jPanel5.setForeground(Color.white);
    jPanel5.setBorder(BorderFactory.createEtchedBorder());
    jPanel5.setBounds(new Rectangle(12, 88, 501, 183));
    jPanel5.setLayout(borderLayout1);
    jPanel5.setBorder(titledBorder5);
    titledBorder5 = new TitledBorder(" Liste des circuits ");
    titledBorder5.setTitleColor(Color.white);
    jPanel4.setBackground(new Color(27, 85, 135));
    jPanel4.setBorder(BorderFactory.createEtchedBorder());
    jPanel4.setBounds(new Rectangle(211, 3, 291, 44));
    jPanel4.setLayout(null);
    jPanel4.setBorder(titledBorder4);
    titledBorder4 = new TitledBorder(" Liste des circuits ");
    jScrollPane2.getViewport().setBackground(Color.white);
    this.add(jPanel9, null);
    jPanel9.add(jPanel4, null);
    jPanel9.add(jPanel5, null);
    jPanel5.add(jScrollPane2, BorderLayout.CENTER);
    jScrollPane2.getViewport().add(jTable1, null);

    Create your border first, then set the panels border. Do this:
    &#91;code&#93;    titledBorder5 = new TitledBorder(" Liste des circuits ");
        titledBorder5.setTitleColor(Color.white);
        jPanel5.setBorder(titledBorder5);
        jPanel4.setBackground(new Color(27, 85, 135));
    //    jPanel4.setBorder(BorderFactory.createEtchedBorder()); // redundant
        titledBorder4 = new TitledBorder(" Liste des circuits ");
        jPanel4.setBorder(titledBorder4);&#91;/code&#93;
    Not this
    &#91;code&#93;    jPanel5.setBorder(titledBorder5);
        titledBorder5 = new TitledBorder(" Liste des circuits ");
        titledBorder5.setTitleColor(Color.white);
        jPanel4.setBackground(new Color(27, 85, 135));
        jPanel4.setBorder(titledBorder4);
        titledBorder4 = new TitledBorder(" Liste des circuits ");&#91;/code&#93;
    You should also use code tags as I have demonstrated above. It makes you code easier to read for the people you are asking to help you. You can read about them under Formatting Help on the page you post on.

  • Serious problem in Deployment

    Hello All
    I had made a Midlet application which download images or rather i wud say series of images from a server and then show them at a rate of 3 frames per second. This is a continous process so that it looks like a video recording.
    I had earlier made this work in an Applet. For its deployment i had to first sign it, and put that Applet on the same server through which images are requested by the Applet through HTTP Connections. This applet then was downloaded and can be run from a browser.
    Now i had Developed this application in MIDLET. And its running fine on emulator(Both on WTK2.2 and NETBeans Mobility Pack 7.1).
    Now i had this serious problem in deploying this Midlet. I also don't know whether i had to sign this midlet as it has to do repeated HTTP connection as i used to do in Applet.
    I wud be very greatful if anyone can tell me the procedure for atleast one mobile phone whether for NOKIA, SAMSUNG, or MOTOROLA. Also what are the complications involving GPRS.
    Thanks
    Manu

    Sign the midlet will help. Check out java verified, verisign, or any agency that issues class 3 code signing certs. Make certain that the cert vendor you choose is valid for your mobile device.
    Nokia, Siemens, etc have very good developer sites that should tell you everything you need for the signing process.
    Next, many devices will let the user change the security settings for a midlet manually. If a user gets a challenge, ie. the devices ask if it can make a HTTP connection, the user can select "allow once", "deny", "allow for session", or the likewise. If you choose the option that allows communication for a session you will only be prompted once.
    Check out this small slideshow app. It was tested on a s66 but should work on other phones.
    http://fotomica.astrientlabs.com/test/slideshow.jad
    When it starts up; select a keyword and hit save. Use the joystick left and right to navigate.

  • Serious problem: EJB not accessible after exception thrown

    Hi All,
    I'm using iAS 6.0 SP3 TestDrive on Solaris. I got a pretty serious problem
    here, which a few of my developers are also experiencing. We notice after an
    EJB (esp. Stateful Session Bean) throws an Exception, the EJB becomes
    unaccesible and the <java.rmi.NoSuchObjectException> is thrown subsequently
    when the same method is called until it is being created again.
    This pose a serious problem to us. Has anyone else encounter the same
    problem, I'll appreciate it very much if you can share with us your
    experience of overcoming it. Our exception classes extends from the
    Exception class and they implements Serializable. Also the Transaction type
    of the EJB, it is set to "Container" and the trans-attribute is set to
    "Required" for all the methods. Anything wrong with that?
    Please help.
    Christopher Lam

    Hi Christopher ,
    It appears that your EJB is throwing a SYstem Exception . A System Exception is a RuntimeExecption or any of its subclasses including EJBException
    The appserver invalidates the reference to the Stateful Session Bean after a runtime exception is thrown because it cannot guarentee the integrity of state of the bean
    Please view the logs to see if there are any runtime exception logged

  • Will there be a fix for Firefox's problems with Hotmail. I have gone back to 3.5.9 but mostly I am disappointed by the lack of action on this serious problem where a major and critical feature of a major international website is unavailable in the Firefox

    Will there be a fix for Firefox's problems with Hotmail. I have gone back to 3.5.9 but mostly I am disappointed by the lack of action on this serious problem where a major and critical feature of a major international website is unavailable in the Firefox browser.
    == URL of affected sites ==
    http://www.hotmail.com

    We've reached out to the Hotmail team and they've determined that this is a bug in their code. (It was masked by a timing issue in 3.5 that was fixed in 3.6.) We've worked with them to develop a fix but they may not have deployed it yet.

  • What do i do ? My i phone 4 has no option to reduce the motion picture. It is causing me a serious problem. Can anyone please help ?

    After several attempts to get some help from Apple, it has become clear to me that my i phone 4 has no options within accessibility to reduce the motion picture.
    I have a serious problem with the new software but unfortunatly i cannot go backwards with this update. Apple for obvious reasons will not advise any downgrading options. Can anyone please help me? Is there a third party option here. I do not want to pay for a new phone or replace the i phone as i run a mac,desktop and i pad... !! Thank you.

    Giansh2006 wrote:
    I don't quite understand why you have asked me about why I'm keeping my URL secret?
    It's only that I'm not clear why you are reluctant to post it. If you have a podcast in the iTunes Store then it's there for the world to see - they might search on its subject or title, for example, even if they don't actually know about it from you. If you look at other posts in this forum you will see that usually people post their URLs and then I can examine the feed and hopefully find out from that what the problem is. Without this information no-one can give you anything more than wild guesses.
    If you are still reluctant to post the details and want to have a bash at diagnosing the problem yourself you may find my web pages helpful:
    How do I make a podcast?
    how to diagnose a podcast feed
    Why don't my podcast episodes show the podcast image?

  • Serious problems including battery overheating

    My dad and I both bought Revolutions and have had the same issues with our phones (listed below). We truly believe that the LG Revolution is a defective phone - what are the odds that we would both get "lemons"? While at the Verizon store on 3/13, the store, corporate customer service, and LG claimed to not be able to do anything for us except send us refurbished phones or return our phones to LG and have them worked on (HA. Seriously? Go without a phone? We don't have a land line anymore - might as well dump us on a deserted island). We were notified today, 3/15 that the phones were in the store ready to pick up, but they didn't come with new batteries! SERIOUSLY?!?! THE MAJOR ISSUE WITH BOTH IS THE BATTERY OVERHEATING! These phones are bound to either burn us or kill us. We don't want someone else's "fixed" phone, because it will just do the same thing! Unless Verizon will help us, I'm afraid we are going to get iPhones from another provider, as well as go to the BBB to file a formal complaint. I really don't want to, but I can't believe how much we have spent for our little death machines. We really hope Verizon will cooperate and uphold the standards they set forth in their employee handbook. We would love to be contacted by someone who can help. Please, don't give us the run-around. As anyone can see, factory resets, changing settings, etc. don't work. We have put up with those suggestions for months with no improvement.
    My Dad's Revolution:
    Bought LG Revolution ~July 3, 2011 for $250 + taxes & fees, car charger, (and eventually extra chargers). Over $300 total put in.
    Battery gets overheated to the point that the phone is too hot to touch. This drains the battery from any percentage of battery to 0% in a matter of minutes. FIRE HAZARD IN YOUR POCKET! My dad's chest was almost burned! If it is too hot to touch on the outside, what is it doing to the guts of the phone?!
    Not receiving text messages and picture messages that are sent
    Internet doesn’t work properly - only when it feels like it
    Loses data connection between 3G/4G/Wireless
    Not always getting voice mail notifications
    Phone burned up 2 wall chargers
    Freezing
    Phone is ringing, but the “answer call” screen doesn’t come up, so there is no way to answer the call
    Phone rings once and then shows a missed call. When calling the person back, they say it rang the normal number of times before going to voicemail.
    Not keeping a charge
    Called sister next door and Dad could hear them, but she couldn't hear him. He called back and he could hear her fine, but she said he was very "scratchy" - keep in mind this is NEXT DOOR.
    My Revolution:
    Bought LG Revolution ~July 9, 2011 for $250 + taxes & fees, (eventually, multiple) car charger(s), insurance plan, (eventually, additional wall chargers) $400+ for the total cost
    Battery gets overheated to the point that the phone is too hot to touch. This drains the battery from any percentage of battery to 0% in a matter of minutes. FIRE HAZARD IN YOUR POCKET! My thigh has almost been burned! If it is too hot to touch on the outside, what is it doing to the guts of the phone?!
    Paying for “Unlimited Data” and phone constantly says “Mobile Network State: Disconnected”
    Not receiving text messages and picture messages that are sent
    Not being able to send text messages or picture messages
    Getting the same text 3-4 times
    Sending a text once and recipient getting it 3-4 times
    Internet/apps don’t work due to no data
    Loses data connection between 3G/4G/Wireless
    Not always getting voice mail notifications – getting voice mails 14+ days late. This creates a serious problem for time sensitive messages.
    Phone burned up 4 wall chargers and 2 car chargers
    Freezing
    Phone is ringing, but the “answer call” screen doesn’t come up, so there is no way to answer the call
    Not keeping a charge. On a daily basis between 7:30am-12:30pm, I go from 100% to 20%. In the store on 3/13, the Verizon rep witnessed my phone go from 81% to 68% in about an hour
    Phone rings once and then shows a missed call. When calling the person back, they say it rang the normal number of times before going to voicemail.
    In the beginning, I would get email notifications and after I would read them, it would appear that they were “marked as read”, however, after I back out of the program, it notifies me of the same emails that I just read, only they’re once again “unread”. Now, I’m not getting ANY notifications of email except in the top drop-down screen, which if I click on it, I can see the emails, but after I back out, they disappear because the program decides not to work.
    GPS is unreliable. It often says that I'm 2+ miles away from where I actually am.
    The phone does what it wants to do when it wants to do it – not when you tell it to! All of our previous phones have given us reliable, clear service. What is wrong with this picture? HELP!!!

    Hi I recently had the same problem with the LG Revolution. In fact it had been one of multiple replacement models that I had received in just a few weeks. The first two devices I had problems with them recycling power, I would make calls and they would make the same call multiple times i.e I would get through to the person I was intending on calling and the phone would call them on like a three way call asking me to merge the conversation I was only having with one other person... The 2nd replacement only lasted a few days. I was playing Words with Friends it gave me a sim error out of nowhere shut down. I checked the card after removing the battery and powered it back up. I was fine for about 10 minutes shut down and I was never able to turn it on again. The next phone they sent I received a few day ltr was the frosting on the cake. As soon as I tried to set it up the problems began. The phone was recycling power so much that it wouldn't fully power up before shutting down. Tech support insisted it had to be the battery, that there was no way they sent me 3 bad phones within 2 1/2 weeks... The new battery was sent over night. So I charged it up and gave it a go. It seemed fine at first, but then started acting up again. I resorted to it wasn't the battery and figured when I got to a land line  or another line I would call Tech support. I was driving the phone was in my right lower scrub pocket apparently because of whatever mechanical defect it had overheated and burned me. I have been kind of at a loss when it comes to the Customer Service Dept. I have reported the incident to them even called to find out who to send my co pay bills too, no response. However they did have the nerve to send me a text asking for the device back or they were going to charge me $500. Now I'm thinking may be if people started taking things like this to the media they would act on it...

  • HT6154 Having SERIOUS problems with iOS 7.1 on my iPhone 4S!!!!

    I am having SERIOUS problems here. Let me give you a rundown:
    I have to reboot my phone (or turn it off and on again) to see the correct battery percentage (but I'll address that in a second), and once I reboot it or bring it back up again, it has to restart itself (in the middle of use) about 3 or 4 times before it stays on consistantly; all the while reading the percentage of battery it remembers from the last reboot. Now, about the battery percentage: I restarted it before I charged it last night and it read 16% -mind you, after it had to shut itself down and restart 3 times. I put it on the charger all night, and it still read 16%...but I decided to run a battery cycle (charge it all the way up, and drain it all the way down) to see if that would help. Sad to say, it did not help; infact it made things worse. It now flip-flops in between the Apple boot-up symbol and a black screen when plugged up to a charger or a computer. The computer cannot read the phone being plugged in so I cannot do a manual restore from iTunes.
    Best yet, I upgraded to 7.1, and had the SAME EXACT PROBLEMS I AM HAVING NOW. I did a complete restore of my phone, and even set it up as a brand new iPhone, not even a restore from the last iCloud backup, and just loaded all my content from my Mac...and the problems decided to follow -even after the fresh restore.
    I'm toying with the idea that it may be a hardware problem, but I would love to know if anyone is experiencing the same issue.
    I have no idea what to do... please help.
    I use my phone for business constantly, and almost cannot do my job without it.

    ok well seeing that your are having major issues with the battery and the loading screen it is a hardware issue. reseting it wont help that at all. what you need to do is take it to apple and let them look at it. They can tell you what is wrong with it and how much it would be to fix it ( if it is possible your situation is really bad) but if its not they might give you a discount if you give the iphone to them.

  • Lookout OPC Client – Asynchronous I/O and Update Rate serious problems (Sequence of data)

    I am using the Lookout OPCClient driver to connect to AB PLCs (EtherNet/IP protocol) and power measurement equipment (Modbus TCP protocol). The OPC server is the NI OPC Servers. The data that are read out from PLCs and PMs are energy meter readings, energy counters, power, voltage, current, frequency, power factor and el. energy quality measurements (THD). That energy meter readings are being stored in SQL database.
    I am experiencing a serious problem regarding the accuracy of the meter readings. Several times per day, randomly, meter readings are losing the time sequence. For example, sequence is: 167, after few seconds 165, 166.  In other words, present value followed by two previous old values. That generates a serious problem in our application that is expecting a naturally rising sequence of counter values.
    Analyzing further, I isolated the problem to the connection between Lookout OPCClient and OPC Server. I made a simple application in Lookout 6.7 (opcproc.lkp, attached) with OPCClient parameters: NIOPCServers, OPC2, Asynchronus I/O, Update rate: 10000, Deadband: 0.0, that is reading just one tag from NI OPC Servers demo application (simdemo.opf).
    By using OPC diagnostic tool from NI OPC Servers I record the sequence of OPC requests and responses.  I found out that OPCClient sends every 2.5 sec “IOPCAsyncIO2::Refresh2()” call that is request for refreshing of all items in one OPC group. Few milliseconds later OPC Sever responds with callback function “IOPCDataCallback:: OnDataChange()(Device Refresh)” that actually refresh the data.
    This periodic sequence is intrinsic to the OPCClient and cannot be disabled or changed (by my knowledge).  This sequence is periodically interrupted by “IOPCDataCallback:: OnDataChange()” caused by update rate parameter of OPCClient (client is subscribed to server for periodic update of changed items).
    In the case of demo application on every 4 refresh callbacks caused by refresh requests (2.5 sec) there is one update subscription callback determined by Update rate (10 sec).
    QUESTION 1:
    What is the purpose of update sequence and update rate when we have every 2.5 sec fresh values?
    PROBLEM
    The problem arises when we have a large number of items in OPC group. In that case the OPC Server starts to queue refresh requests because they cannot be fulfilled in 2.5 sec time because of large number of I/O points that must be scanned. At the same time update subscription callbacks are running at the period determined by Update rate. I observed in my production system that regular update callbacks has higher priority than refresh callbacks from the queue. That causes the loosing of timed sequence of data. After the update callback with fresh data, sometimes follow one or two refresh callbacks from queue with old (invalid) data. By adjusting Update rate parameter (1 hour, 2hours …) I can postpone the collision of data refreshes but I cannot eliminate it. Furthermore, the 2.5 sec automatic refresh are large burden for systems with many I/O points.
    QUESTION 2:
    Is there a way to disable automatic refresh request every 2.5 sec and just use update requests determined by Update rate?
    QUESTION 3:
    Is there a way (or parameter) to change the period of automatic refresh (2.5 sec)?
    This problem is discovered for Lookout 6.5, 6.6 and 6.7 so I could say it is intrinsic to OPCClient. If I use synchronous I/O requests there is not an automatic refresh, but that is not an option for large systems.
    Thanks!
    Alan Vrana
    System engineer
    SCADA Projekt d.o.o.
    Picmanova 2
    10000 ZAGREB
    CROATIA
    T +385 1 6622230
    F +385 1 6683463
    e-mail [email protected]
    Alan Vrana
    SCADA Projekt d.o.o.
    ZAGREB, Croatia
    Attachments:
    opcproc.zip ‏4 KB

    The physical connection from LV to the switch is (I believe) copper crossover to fiber converter into a switch.  Then, fiber from the switch to the end device (relay).  The relay has all of the typical modbus registries and has been verified by inducing signals in to the system and measured/polled in LabVIEW and observed Variable Monitor.  I am working with LV 8.2 and 8.5. 
    An OPC server would only add an additional translation of addressing within the configuration.  The only real draw back would be the network overhead required to do this processing and not being representative of the end design configuration.
    I will reiterated my question in another way:
    I must answer the question to management that relates to data collection, test results and analysis; how often are you polling the client in relation to the outcomes measured?  At this time I can not point at any configuration in the set up and execution that directs the data framing rate.  I only measure the traffic and work with results.  This needs to be clearly identified based on the relay modbus/tcp design capability of supporting an fixed number of client requests per second. 
    For testing purposes, I would like to be able to stress the system to failure and have prove capabilities with measured data.  The present problem is that I have no basis to establish varying polling rates that effect the measured data transmission. 
    This raises another question.  What handles the Variable Monitor data requests and how is this rate determined?
    Thanks for your interest in my efforts.
    Steve

Maybe you are looking for

  • How to upload file from local machine to oracle apps server.

    Hi all, Can somebody tell me how to create a OAF page to reads a window based file and writes to UNIX? (similar to FTP but using a OAF page as the interface) Thanks in advance!! Bhupendra

  • Url encoding problem

    I'm trying to URLDecoder.decode an url with accented characters, but it's not working: For example with the "?" character:     URLEncoder.encode("?","UTF-8"); results in: %C3%B6 However, when I URLDecoder.decode my url, (http://localhost/mjszotar/ker

  • Macbook Pro Retina BOOTCAMP & StarCraft 2 Issues

    I am using a Macbook Pro with Retina Display 13-inch (256GB, late 2014). 1. I run StarCraft 2 on Mac OS. The fan speed gets really high whenever I do so. I do know that this is a heavy task (so I don't really thing there are any problems here), but j

  • Patch 8.03 causing Ipad Mini 3 to constantly crash

    My wife has an Ipad Mini 3 64gb which was working lovely yesterday. She updated to Patch 8.03 and since then the Ipad mini has updated, opened the home screen and then crashed back to the Apple screen to start all over again. So far she has reinstall

  • Chapter markers created in DVD Studio Pro pause for a second on playback.

    I have been using the FCP suite for quite some time and we author a lot of DVD's in DVD Studio Pro. We produce many DVD's which require chapter breaks. My problem is that, when the DVD's we produce are played back, on most players the DVD will pause