DbAssistant Problems & Java Problems in General

Like many people in this situation, I have struggled with
installing 8.1.5. The biggest problem was that dbAssist
appeared to not install correctly (it actually installed, but
could not launch). The error is a java class exception "Could
not find java.lang.Thread."
The problem lies in that Oracle is not loading the JVM using
environment variables PATH and CLASSPATH (which is the JAVA
way). Instead they have hard-coded paths to specific classes.
Oracle products are looking for java.lang.Thread in the rt.jar
file which may or may not exist (depending on whether you have
the JDK or the JRE). Instead you may have classes.zip which
also has the java.lang.Thread class.
The fix that worked for me is simply to link rt.jar to
classes.zip.
$ cd /usr/local/jre/lib
$ ln -s classes.zip rt.jar
So far this seems to work well (in light of the total install
experience).
null

That's because you are using the JDK (which uses classes.zip),
instead of the JRE (which uses rt.jar) as mentioned in the docs.
David Rasmussen (guest) wrote:
: Like many people in this situation, I have struggled with
: installing 8.1.5. The biggest problem was that dbAssist
: appeared to not install correctly (it actually installed, but
: could not launch). The error is a java class exception "Could
: not find java.lang.Thread."
: The problem lies in that Oracle is not loading the JVM using
: environment variables PATH and CLASSPATH (which is the JAVA
: way). Instead they have hard-coded paths to specific classes.
: Oracle products are looking for java.lang.Thread in the rt.jar
: file which may or may not exist (depending on whether you have
: the JDK or the JRE). Instead you may have classes.zip which
: also has the java.lang.Thread class.
: The fix that worked for me is simply to link rt.jar to
: classes.zip.
: $ cd /usr/local/jre/lib
: $ ln -s classes.zip rt.jar
: So far this seems to work well (in light of the total install
: experience).
null

Similar Messages

  • Java.sql.SQLException: General error

    Hi i got this error message:
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
    at PersonFrame.actionPerformed(PersonFrame.java:1155)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    my code is:
    while (rs.next())
    String recnumber = rs.getString("Person_ Record_ Number");
    int reccc=Integer.parseInt(recnumber);
    if (Integer.parseInt(FamilyTree.rowselected)==reccc && AddPersonn!=0)
    System.out.println ("record in table "+reccc);
    System.out.println ("record selected "+FamilyTree.rowselected);
    str.executeUpdate("INSERT INTO Person " +
    "VALUES ('"+nameofperson.getText()+"','"+SurnameOfPersonTxt.getText()+"','"+Bday+"','EMPTY','"+DateOfDeathTogether+"','EMPTY','EMPTY','"+phone+"','"+genre+"','"+Country+"','"+FamilyTree.rowselected+"','"+Nicknametxt.getText()+"','"+Filename+"','"+BioFile+"','"+city+"','"+postal+"','EMPTY','empty','"+TimeOfBirth+"','EMPTY')");
    setVisible(false);
    System.out.println(Filename);
    LINE 1155 that the error message says is line :str.executeUpdate("INSERT INTO Person " +
    <<<PersonFrame.actionPerformed(PersonFrame.java:1155)>>>>>
    also note that i didn't include a try statement here (int reccc=Integer.parseInt(recnumber) because recnumber since is created holds the value 5000 so there is no need
    Also the output.. of
    System.out.println("INSERT INTO Person " + "VALUES ('"+nameofperson.getText()+"','"+SurnameOfPersonTxt.getText()+"','"+Bday+"','EMPTY','"+DateOfDeathTogether+"','"+PlaceOfDeath+"','"+address+"','"+phone+"','"+genre+"','"+Country+"','"+FamilyTree.rowselected+"','"+Nicknametxt.getText()+"','"+Filename+"','"+BioFile+"','"+city+"','"+postal+"','"+Causeofdeath+"','"+PlaceBurried+"','"+TimeOfBirth+"','EMPTY')");
    is:
    INSERT INTO Person VALUES ('fgfgff','dfdgfd','2/1/1988','EMPTY','Person Is Alive','null','EMPTY','EMPTY','Male','EMPTY','0560','dasfds','EMPTY','EMPTY','EMPTY','EMPTY','null','null','EMPTY','EMPTY')
    and my table gets only text values...
    Any Help Will Be Greately Appreciated
    Thanks
    Nick .s

    You cannot do two thing at the same time with the same statement (while your ResultSet is open you are making an insert), try using a separate Statement that the one you used for the query for the insert. If that doesn't work, make a new connection, that will do it.
    If you were using a separate statement then I'm sorry, I couldn't tell from your code. I'd had a similar problem and that's the way I solved it.

  • I am getting Error! java.sql.SQLException:General error

    hi every body,
    I struck with this error , can any one suggest in solving this.
    I had a table in oracledatabase ,i have successfully created a table and inserted clob column with an attachment like xxx.txt.
    table format----> id and text columns
    Now my question is to retrieve that data and store it in local disk i am getting this error
    import java.io.*;
    import java.sql.*;
    //import java.sql.SQLException;
    public class Cread {
    public static void main(String[] args) throws ClassNotFoundException,IOException,SQLException {
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection cn=DriverManager.getConnection("jdbc:odbc:sivadsn","scott","tiger");
    Statement s = cn.createStatement();
    ResultSet rs=s.executeQuery("Select text from ram where id=10");
    if(rs.next()){
    FileOutputStream file=new FileOutputStream("c:/store.txt");
    InputStream fin=rs.getBinaryStream(1);
    int c;
    while((c=fin.read())!=-1){
    file.write(c);
    fin.close();
    s.close();
    rs.close();
    catch(IOException e){
    e.printStackTrace();
    System.out.println("Err:"+e);
    I am getting the error as
    java.sql.SQLException: General error
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(Unknown Source)Error! java.sql.SQLException: General error
    at attach.Clobread.main(Clobread.java:30)

    That usually means something is wrong with the syntax of your sql.
    As a guess 'text' is probably a keyword and shouldn't be used as a field name. It is possible that the same is true for 'id'

  • Possible upgrade solution for people who have HD and problems in general.

    OK, for me, Leopard has been as painful as going osx from OS9, at least the upgrade has been , dunno about the retail copy., bugs, bugs, bugs with the upgrade for sure.
    Here is what happens generally., you upgrade and basically you need to run disk tools from a external drive or the Leopard DVD., the problems move on still.
    Solution i found was to back up to another drive, that is right guys, spend another hundred bucks no one warned you about., get a external HD or if your living it high and collect macs as Apple assumes you may just have a second Intel mac laying around with a Sata drive in it to start up in "Firewire Target Mode", (hold the "T" at start up)and start cloning your drive with SuperDuper (also need to purchase)..
    Ok
    1- once you clone your drive (usualy a hour for the base system alone).
    2- erase it as one partition,
    3- in the options make sure it is set as GUID partition (takes about a hour) and
    4- then as well zero out all the data., takes about 2 hours there as well.
    5- Now run disk utilities from the Leopard DVD or the computer or booted up drive you used to do all this., if you can not fix permission of th volume you seen to reformat the Drive again 7 pass!, could take 4 hours.
    Finally you will be able re clone it, and run disk tools after a days work no one warned you about.
    *This disk utilities operation may take about 1 hour but say 11, and look like this below;*
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Butterfly.mailstationery/Contents/Resources/bottom.jpg", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Butterfly.mailstationery/Contents/Resources/content.html", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Butterfly.mailstationery/Contents/Resources/Description.plist", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Butterfly.mailstationery/Contents/Resources/English.lproj/DisplayName.stri ngs", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Butterfly.mailstationery/Contents/Resources/thumbnail.png", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Butterfly.mailstationery/Contents/Resources/top.jpg", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/English.lproj/DisplayName.strings", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Flower.mailstationery/Contents/Resources/bg_letter.jpg", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Flower.mailstationery/Contents/Resources/bg_pattern.jpg", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Flower.mailstationery/Contents/Resources/bottom.jpg", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Flower.mailstationery/Contents/Resources/content.html", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Flower.mailstationery/Contents/Resources/Description.plist", should be 80, group is 99.
    Group differs on "Library/Application Support/Apple/Mail/Stationery/Apple/Contents/Resources/Stationery/Contents/Reso urces/Flower.mailstationery/Contents/Resources/English.lproj/DisplayName.strings ", should be 80, group is 99.
    *Good luck*
    *My ADVISE:* if you experienced these problems, as above, reformatting by zeroing out the data works. as for those who want Leopard. *DO NOT UPGRADE but install a RETAIL version of LEOPARD* until apple has a update,
    I read posts where people who have the retail copy (full DVD) have not experienced these problems, mine was a upgrade from Tiger since i got a mac in the last 30 days.
    WARNING: it has been hard to trust Apple fanatics with these things now days, many posts are denials to things not working so i could be wrong there as well, been honest saves time is all i can advise them.
    If anyone has beter advise please do post it.

    And what is yaml all about, shows up in disk utilities for hundreds if not thousands of issues?
    showed up as a user as well.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/proxybasicauth-i.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/ProxyAuthenticator/cdesc-ProxyAuthenticator.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/ProxyBasicAuth/cdesc-ProxyBasicAuth.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/ProxyDigestAuth/cdesc-ProxyDigestAuth.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/ProxyDigestAuth/check_uri-i.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/UserDB/cdesc-UserDB.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/UserDB/get_passwd-i.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/UserDB/make_passwd-i.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPAuth/UserDB/set_passwd-i.yaml", should be 0, group is 99.
    Group differs on "System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/share/ri/1.8/system/ WEBrick/HTTPProxyServer/cdesc-HTTPProxyServer.yaml", should be 0, group is 99.
    ------------------------------------------------------------

  • Problems accessing parameters, files - problems in general.

    I've been posting my problems to comp.lang.java.programmer but Google Groups is exceedingly slow to update and I've been stuck on this for nearly two whole days:
    I am developing what will be a series of web utilities for our company and our client's company. Unfortunately I am hampered by the fact that my Java is not that good having come from a C++ background.
    My current setup is Windows XP, JDK 1.3.1.07 (which is what our client is running), Tomcat 4.1 for testing on my local box.
    I've been middling around with small examples and decided to do something slightly more complex. What I am trying to do is access a file that is described in web.xml as a parameter. However when ever I run the program it is unable to find the file. All the documentation I have (web-based plus a Professional Java Server Programming J2EE Edition - way over my head) either skims across it/takes it as read it will be set up correctly/doesn't touch it at all.
    I thought I was trying to access the wrong directory so I mapped the file to the root of C and still can't access it - it always comes back as null. Also between attempts I restart the Tomcat server so it always loads in the web.xml file.
    This is my web.xml:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
      <display-name>Welcome to Tomcat</display-name>
      <description>
         Welcome to Tomcat
      </description>
      <servlet>
        <servlet-name>LogIn</servlet-name>
        <servlet-class>website.LogIn</servlet-class>
        <init-param>
          <param-name>passwordFile</param-name>
          <param-value>C:\\passwords.txt</param-value>
        </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>LogIn</servlet-name>
        <url-pattern>/logged</url-pattern>
      </servlet-mapping>
    </web-app>And the Java:
    package website;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    *  Handles the login to the administrators section of the website
    public class LogIn extends HttpServlet
        private String passwordFile;
        /** Read the password file from the location specified
         *  by the passwordFile initialization parameter.
        public void init(ServletConfig config) throws ServletException
            super.init(config);
            passwordFile = config.getInitParameter("passwordFile");
            System.out.println(passwordFile);
            if (passwordFile == null)
                System.out.println("The \"passwordFile\" property must be set to a file name");
            try
            catch (Exception e)
                System.out.println("Error: Unable to read passwordFile.");
        public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
        public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    }It was suggested on comp.lang.java.programmer to check the path that the system was thinking I was searching which I did by inserting this code fragment:
         // initialise the servlet and load password(s)
    //     super.init(config);
    //     passwordFile = config.getInitParameter("passwordFile");
         // added code
         passwordFile = "passwords.txt";
         File f = new File( passwordFile );
         System.out.println( f.getAbsolutePath() );
         // added code.
            ...This lead me to learn that the directory being returned was:
    C:Program Files\Apache Group\Tomcat 4.1\passwordFile.txt
    Which is strange since I would of thought that the lowest directory
    that is visible to the class would of been ROOT (hence it's name).
    Does this mean if I copy the passwordFile.txt to the above directory
    it would work? Actually no. I still can't get the filename as a
    parameter from web.xml which is frustrating. If you could give me any
    pointers on what might be wrong then that would be cool.
    I thought I could move forward by accessing the file directly. But no: An addition of f.exists() to check that the file exists returns false. I've now got a copy of passwords.txt in every single directory from the classes directory all the way down to C:\ and it still doesn't work.
    I hope someone can help out here since this is very frustrating to be stuck on something so basic as file handling.
    Graham Reeds,
    http://omnieng.co.uk | [email protected]

    I can see how this is frustrating but it should be fixable. The last example you posted won't work because you have "passwords.txt" instead of "c:/passwords.txt".
    If you're still looking for a solution could you cut and paste the following code into your servlet code and then post the results?
    // Check that init param is read correctly
    String filename = config.getInitParameter("passwordfile");
    System.out.println("config param = " + filename);
    // try filenames
    String[] filenames = new String[] {"c:/passwords.txt", "c:\\passwords.txt", "passwords.txt"};
    for (int i=0; i < filenames.length; ++i) {           
       File file = new File(filenames);
    System.out.println("File " + filenames[i] + " - exists = " + file.exists());
    System.out.println("Abs path = " + file.getAbsolutePath());
    This is based on the file c:\passwords.txt existing - if I have the wrong filename, please adjust. Also, you may need to change <i> to [[i]i] in a couple of places.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

  • Leopard is a problem in general

    we have 5 macs but only installed Leopard on one, the new macbook (1 gb memory), because we experienced many problems. The Tiger mac book was fast, the Leopard Macbook is slow. Appleworks does not function, Quickbooks freezes (a problem for the office). The computer sleeps and does not wake up, requiring restart. Keystrokes are not recognized on the same macbook that worked great with Tiger. in general a disappointment. ii am uninstalling and waiting until the problems are fixed.

    I'd agree - less than seamless upgrade. So much so that it pains me to watch the ad that mocks the Vista upgrade. My experience with Leopard:
    Cannot burn CDs / DVDs from the Finder anymore (unresolved).
    Toast 7.1.2 doesn't burn anymore (reinstall 7.0.1 will fix this).
    HP Scan software for the hp Laserjet 3015 now hangs (unresolved).
    Parallels Tools do not install - hangs (unresolved).
    USB device switching between Mac and Parallels VM flaky - causes drivers to crash, device conflicts and such (unresolved).
    Basically, like any other OS upgrade on any other platform. If you rely on your Mac for business, I'd recommend waiting awhile longer before upgrading. Fortunately, all of the issues you've identified I haven't experienced. Good luck!

  • Problems in general

    All the noise on this forum aboput problems makes me wonder if this is an inordinate amount of problems or just a lot of noise about a few problems and is this normal for a new product ? The only problem that makes me nervous it the book publishing moduel. Does using another service  and not the LR one solve the loss of books? I'm new to LR and to DSLR.

    Have confidence in your own experience. Those who do have problems are (rightly) loud in their complaints. With 4.0 it was more than expected, now with 4.1 it's much less, almost down to normal.
    As for Book, I have lost more than one book, but it is a rare problem and very difficult to pin down (even for someone like me who knows LR and Book well and would normally expect to have a good chance of figuring out where the problem lies). On the other hand, I don't think the risk of losing books is so great that it prevents me from using this method . I just make duplicates of the book collection and change between books in Library (because I'm convinced that changing between books had sparked the problem). So if it's any encouragement to you, I think it's good enough to put my own time into it - only last week I unwrapped another book from Blurb.
    John

  • Problems in general usage and syncing

    I am having problems both ways with my iPod. In the usage part, my iPod will show that I have songs uploaded on it, but when I choose to listen to it it will just kick me back to the main menu. Also in several instances when something is supposed to have cover art associated with it, it will show the wrong artwork. When it comes to syncing it to my computer, it will not update and gives me a -50 Error. I have tried deauthorizing my computer and restoring my iPod to its factory settings. Any help is appreciated.

    Have confidence in your own experience. Those who do have problems are (rightly) loud in their complaints. With 4.0 it was more than expected, now with 4.1 it's much less, almost down to normal.
    As for Book, I have lost more than one book, but it is a rare problem and very difficult to pin down (even for someone like me who knows LR and Book well and would normally expect to have a good chance of figuring out where the problem lies). On the other hand, I don't think the risk of losing books is so great that it prevents me from using this method . I just make duplicates of the book collection and change between books in Library (because I'm convinced that changing between books had sparked the problem). So if it's any encouragement to you, I think it's good enough to put my own time into it - only last week I unwrapped another book from Blurb.
    John

  • Hatched areas appear - corrupt layer or Photoshop problem in general?

    Hi there,
    when I edit a picture in PS, after a few steps (cropping the original layer, content-aware fill, adding some text layers, etc.), parts of the original background layer is covered with a hatched area. First I thought, this could be a display problem, but when you close and re-open the file, the problem remains. And it actually seems to be in the layer - when you hide the layer, the hatched area also disappears.
    By the way, I've been working with the CC 2014 Windows edition for a while now and never encountered this problem before. It just appeared yesterday.
    Any ideas how this can be solved?

    Here's the system info:
    Adobe Photoshop Version: 2014.0.0 20140508.r.58 2014/05/08:23:59:59  x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 2793 MHz
    Built-in memory: 16107 MB
    Free memory: 11431 MB
    Memory available to Photoshop: 14422 MB
    Memory used by Photoshop: 85 %
    3D Multitone Printing: Disabled.
    Touch Gestures: Disabled.
    Windows 2x UI: Disabled.
    Image tile size: 128K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    Display: 1
    Display Bounds: top=0, left=0, bottom=1080, right=1920
    Display: 2

  • Login Problems and General JSP Security Questions

    I'm new to this, so I'm still not sure if I'm approaching this problem the right way. But after a user logs in with the correct username/password, I create a session attribute like so:
    session.setAttribute("loggedIn", "true");
    Now, inside of every other JSP page I make the following check before the user can continue:
    <%
              String loggedIn = (String)(session.getAttribute("loggedIn"));
              if( loggedIn == null || !loggedIn.equals("true")) {
    %>
                   <jsp:forward page="../login.html" />
    <%
    %>
    And to logout I simply set the attribute to false:
    session.setAttribute("loggedIn", "false");
    Unfortunately, this doesn't work very well. It seems to be very inconsistent. Does anyone know of a better, not-so-difficult, method to do this? Or do you see any problems with what I have?
    Another thing, how do I prevent a user from accessing my JSP directory? For example, I have my JSPs stored in public_html/jsp directory, how do I prevent someone from simply visiting www.mysite.com/jsp without using the web.xml file?

    I use sessions in this way without any problems, what are the inconsistencies??
    You can protect folders with Tomcat security but it requires XML configuration.

  • Apple problems in general any help

    Please stay with me!
    For 2 years I have run a Macbook Pro connected to a large Apple monitor. This system has been fairly bullet proof an has given me no problem. I am an amateur photographer and only use a computer for editing (Photoshop) and storing photos and music.The Macbook comes home with me in the evenings and is plugged into the monitor when I get to work, it is plugged into the office network and has the choice of 4 different printers including 2 large Canon and an A3 Epsom. This system has proved very successful. The 2 screens gave me the chance to do both business and private work at the same time by keeping an eye on both at the same time!
    My problems stared when iphoto couldn't be opened, I tried for several weeks on and off but didn't worry too much because I don't actually use it much anyway. I decided to buy iLife 11 and hoped that the upgrade would resolve the problem. ILife wouldn't load because it told me to upgrade to Snow Leopard. I ordered it and installed it when it arrived. Not only did it not cure my iPhoto problems it also knocked out all my drivers for printers and scanner.I asked our computer service company to come in and have a look, they spent 4 hrs before I got back to somewhere near where I was to begin with. The problem is computer companies seem to be less geared up to solve Mac issues, they seem to lean toward PC.s. The problem is our company has all PC's, mine is the only Mac!
    This took place about 3 weeks before Christmas. Knowing that my Macbook was bulging at the seems my wife bought me an iMac 27" for Christmas (after months of hints). The service guy came in to install between Christmas an New Year. He struggled with the print setup but when he left everything seemed ok. I produce A3 calendars at this time of year, but when I tried to print on one of the Canon A3 printers, as I have done hundreds of times, it kept coming up with "out of paper" even though it was full. Today I have had the printer service guy in today who has loaded more drivers etc. He never solved the problem, and left saying that the new IMac to too sophisticated for the Canon printers!!!
    I have, with a struggle, managed to print some A4 pages but the A3 seem to print only the top quarter of the page.
    I realise that this is probably one of the longest things ever put on here but short of having a fire in the back garden, I am struggling!
    Chris
    P.s The monitor that I was hoping to run along side my iMac, as I did with the Macbook has completely different connections, I haven't even looked at that issue yet.

    Hi
    Have you got the latest Canon drivers? Available here: http://support.apple.com/kb/DL899
    (short reply to a long post )

  • Problem with General Ledger Budget Load

    Hi All,
    We are experiencing an issue wherein the Budget figures for general ledger are incorrect in the cube. The data-flow is 0FI_GL_10 to DSO (daily delta) to Cube (daily delta). There is a singular DSO and Cube for Actuals and Budgets. The figures in the DSO tally with R3. The delta from the DSO to the Cube is using Active Data Table of the DSO using DTP. The contents of the cube are exactly similar to those of Active Data Table i.e the new and old records both reach the cube and hence the inconsistency. I tried to do a selective deletion for a particular fiscal period from the cube and then doing a full update using both the Active Data and Change Log tables but the results are still the same. All key figures u2013 0BALANCE, 0DEBIT and 0CREDIT look affected. My questions are u2013
    Is using Active Data Table rather than Change Logs for delta the reason behind this ?
    Why is it only the Budget that is affected, Actuals and other versions look fine.
    Do we need a different data-flow (like a daily delete and load into a separate cube) for Budgets ? Does SAP suggest something specifically for Budget loads.
    Why does selective deletion for a particular fiscal period not working, do I need to do it for the entire fiscal year ?
    Your expert opinion on this is highly appreciated. Thanks in advance.
    Regards,
    Saurabh Diwakar
    Edited by: Saurabh Diwakar on Sep 19, 2010 10:57 AM

    HI ,
    may be you can take a look at the following SAP notes , it might help
    Note 1002272 - NewGL-DataSource 0FI_GL_10, 3FI_GL_*: Records missing in BI
    Regards,
    Sathya

  • Dbassist problems

    I am trying to install Oracle 8i on
    Redhat linux 6.2. I have installed
    jre1.1.6_v5 as the documentation suggests.
    However, I noticed that although this distribution
    does not come with an rt.jar or i18n.jar,
    but the dbassist script attempts to use
    these files.
    In an "hack" attempt, I copied the rt.jar
    and i18n.jar from jdk1.1.2, but of course
    that gives a SIGSEGV fault with a dump
    of error messages that do not mean much to
    me.
    What is to be done here ? How do I get this
    to work ? Any help will be appreciated.
    Thanks,
    Raja Kailar

    JRE 116_v5 does come with an rt.jar: Just look into JAVA_HOME/lib/rt.jar.
    null

  • Computer problems in general after newest iTunes update

    I initially posted this as a reply in a different forum, but was informed that I should start my own post instead. Here's the original post.
    After installing this latest update to iTunes, my computer has been acting very slow. The web browser takes forever to load where it once loaded in a split second. I've ran the OnyX program to try and reset my permissions and that has not worked, I was unable to "ignore" these permissions, and it takes a good 10 minutes for me to now connect to an external harddrive through a network, where as with the web, it would load without an issue before this update. I don't know if there is something I am doing wrong, or if any of this is related to it. However, it wasn't until I installed this update that all of this started happening, and I don't much believe in coincidence.
    Thanks!
    Zac

    Quick question: How big is your hard drive, and how much free space do you have left on it?
    Another quick question: Have you restarted since you ran Onyx and after you repaired permissions?
    Try booting up in safe mode and see if performance is still really slow.
    to boot in safe mode:
    1. Be sure the computer is shut down.
    2. Press the power button.
    3. Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone but not before.
    4. Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).

  • Dbassist throws java exception...

    Hello,
    Well, I made it a little farther. Most of the stuff seems to
    get installed (?). But installation of the DB assistant
    fails, looks like an enexpected exception. I have jdk and jre
    1.1.6-v5, glibc-2.1.2, linux 2.2.13.
    Any clues? I supposed I could try a newer jdk/jre?
    java.lang.NumberFormatException:
    at java.lang.Long.parseLong(Long.java)
    at java.lang.Long.parseLong(Long.java)
    at WizOSD.DBQueryAvailableRAM(WizOSD.java:296)
    at CheckerClass.CheckAvailableRAM(CheckerClass.java:496)
    at CheckerClass.DetectAll(CheckerClass.java:63)
    at DBConfigInfo_base.<init>(DBConfigInfo_base.java:901)
    at DBConfigInfo.<init>(DBConfigInfo.java:44)
    at DBCreateWizard.<init>(DBCreateWizard.java:421)
    at DBCreateWizard.main(DBCreateWizard.java:1082)
    Mark,
    null

    Sorry, so far no solution yet. You can create database
    using the scripts or if you are using Slackware,
    switch to RedHat6.x should solve this problem.
    Pinwu
    Mark Crosland (guest) wrote:
    : Hello,
    : Well, I made it a little farther. Most of the stuff seems to
    : get installed (?). But installation of the DB assistant
    : fails, looks like an enexpected exception. I have jdk and jre
    : 1.1.6-v5, glibc-2.1.2, linux 2.2.13.
    : Any clues? I supposed I could try a newer jdk/jre?
    : java.lang.NumberFormatException:
    : at java.lang.Long.parseLong(Long.java)
    : at java.lang.Long.parseLong(Long.java)
    : at WizOSD.DBQueryAvailableRAM(WizOSD.java:296)
    : at
    CheckerClass.CheckAvailableRAM(CheckerClass.java:496)
    : at CheckerClass.DetectAll(CheckerClass.java:63)
    : at DBConfigInfo_base.<init>(DBConfigInfo_base.java:901)
    : at DBConfigInfo.<init>(DBConfigInfo.java:44)
    : at DBCreateWizard.<init>(DBCreateWizard.java:421)
    : at DBCreateWizard.main(DBCreateWizard.java:1082)
    : Mark,
    null

Maybe you are looking for

  • Modifying the selection screen dynamically

    Hey folks, I have posted this question previously but no one understood the real problem. I have 4 fields Company Code material Number plant storage Location Unit when I select the company code AA01 from the F4 help I want to disable material number

  • Unable to change the text of a JLabel

    hi! i have created a JLabel and add it to my frame. Now, when the user clicks the button on the frame, i changed the test of the label and after that some really heavy processing takes place. and till that processing completes, the changed text does

  • What do you use to manage daily\weekly\monthly tasks?

    I use Tasks (a clone of Astrid based on the source code) on Android which is synced to Google Tasks. Haven't really ever found anything that's a real replacement to Astrid since Yahoo killed it for no reason.

  • Xbox 360 & WRT300N config (at least for wired)

    This is what I got from Linksys support - and it works great.  Now if only my connection to my house was a T3... Please reply with any enhancements to this if you know of any! (and with this setup (port forwarding), will the linksys prioritizer (part

  • Oops, too much on the desktop...

    I wasn't thinking and I accidentally copied like 600 files to my desktop and now Finder is crashing insanely any time I mess with it. How do I fix this? Do I have to create a new user account since I only have one?