Getting Started In Java

Hi, I've read some of the posts regarding newbies and resources (books) to learn Java. I do have a question about this. Most, if not all, of these books are old (3-7 years). So, if I get Head First Java or Thinking In Java from Amazon, won't they be out of sync with the current Java version? Will that matter? Are there any current books for beginners?
Thanks

If you're talking about links you've seen here, it's quite possible that they're canned links that regulars have been posting for the past several years that land on the editions of those books that were available when the links were created. If you google the titles, you may find there are newer editions.
Having said that, even if the latest editions are a few years old, the Java language has only had a couple of minor changes in the last 5 years or so. There were major language changes in 1.5 (a.k.a Java 5 or something), and very few language changes in 1.6 (a.k.a. Java 6 or something), so if the book at least covers 1.5--look for things like generics, autoboxing, typesafe enums, and annotations--it will be fine, especially for a beginner. Changes in 1.6 I think were mainly API and possibly tool changes, though you can google for something like java 1.6 release notes for details.
There are major language changes coming in 1.7/7/whatever they're calling it. I know early-access versions are available, but I'm not sure when the GA release will be. If you can find a book by one of the recommended authors that covers 7, you might want to grab it, but most of those language changes are more advanced features anyway, I think.
Also, do check out the tutorials:
http://download.oracle.com/javase/tutorial/getStarted/index.html
http://download.oracle.com/javase/tutorial/java/index.html
both of which are from
http://download.oracle.com/javase/tutorial/

Similar Messages

  • [Ask] Getting Started to Java Card 2.2.2 or 3.0

    Hi Friends..
    I'm currently tasked to create Java Card application that would be loaded to MIFARE / DESFIRE Card..
    How to solve it?..
    I have Omnikey Cardman 5321 SmartCard Reader, and i have MIFARE and DESFIRE Card.
    I've tried to created simple Java Card application (Java Card 3.0)..
    Actually, i prefer Java Card 3.0 because its based on Servlet.. (i'm more familiar with Servlet than Applet :) )
    Could i load that application onto MIFARE / DESFIRE Card?..
    Is there any Card that have supported for Java Card 3.0?..
    or do i've to use Java Card 2.2.2?..
    How to getting started with Java Card 2.2.2?..
    is there any books that described about it?..
    Thanks in advanced..

    hanks safarmer for your reply..
    yes, i've compiled and run that code in Netbeans 6.9m1, but i got this message error :
    Exception in thread "main" javax.smartcardio.CardException: connect() failed
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:67)
            at javaapplication1.Main.main(Main.java:32)
    Caused by: sun.security.smartcardio.PCSCException: SCARD_W_UNRESPONSIVE_CARD
            at sun.security.smartcardio.PCSC.SCardConnect(Native Method)
            at sun.security.smartcardio.CardImpl.<init>(CardImpl.java:65)
            at sun.security.smartcardio.TerminalImpl.connect(TerminalImpl.java:61)
            ... 1 more
    Java Result: 1The card's status is SCARD_W_UNRESPONSIVE_CARD.
    How to solve this? How to make the SmartCard become a "RESPONSIVE CARD"?..
    Please help me regarding this..
    Thanks in advance..

  • Getting started with java is dead link

    otn home page > click 'Java' under 'Technologies' in left frame. > click 'Java' in the 'getting started box'. That link is broken.

    Fixed; the correct URL is:
    http://www.oracle.com/technology/getting-started/java.html
    Cheers, OTN

  • Getting started in Java Comm API

    Hi This is all new to me. So I would really appreciate if anyone can help me figure this out..I am trying to read from the serial port using a VS4000 Image Scanner(Symbol). I want to scan a driver's license bar code. I believe PDF417 is the type of barcode to read driver's license. However, Im just curious if there is any code out there that actually parses the information out of the license. I need to get the lastname, firstname,dob,gender,address,drivers #, etc.. Does any one have any idea where I could get more information in how to scan a driver's license. I need more guidance in how to really do this. Although, I went to the introduction to Java Communications and found a example code "SimpleRead.java". However, I get some errors....
    can anyone help..I have a nullpointer ..not sure how to fix it...
    I get this error :
    java.lang.NullPointerException
         at SimpleRead.<init>(SimpleRead.java:64)
         at SimpleRead.main(SimpleRead.java:53)
    Exception in thread "main" Process terminated with exit code 1
    Here is the original code :
    import java.io.*;
    import java.util.*;
    import javax.comm.*;
    public class SimpleRead implements Runnable, SerialPortEventListener {
    static CommPortIdentifier portId;
    static Enumeration portList;
    InputStream inputStream;
    SerialPort serialPort;
    Thread readThread;
    public static void main(String[] args) {
    portList = CommPortIdentifier.getPortIdentifiers();
    while (portList.hasMoreElements()) {
    portId = (CommPortIdentifier) portList.nextElement();
    if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) {
    if (portId.getName().equals("COM1")) {
    //if (portId.getName().equals("/dev/term/a")) {
    SimpleRead reader = new SimpleRead();
    public SimpleRead() {
    try {
    serialPort = (SerialPort) portId.open("SimpleReadApp", 2000);
    } catch (PortInUseException e) {}
    try {
    inputStream = serialPort.getInputStream();
    } catch (IOException e) {}
         try {
    serialPort.addEventListener(this);
         } catch (TooManyListenersException e) {}
    serialPort.notifyOnDataAvailable(true);
    try {
    serialPort.setSerialPortParams(9600,
    SerialPort.DATABITS_8,
    SerialPort.STOPBITS_1,
    SerialPort.PARITY_NONE);
    } catch (UnsupportedCommOperationException e) {}
    readThread = new Thread(this);
    readThread.start();
    public void run() {
    try {
    Thread.sleep(20000);
    } catch (InterruptedException e) {}
    public void serialEvent(SerialPortEvent event) {
    switch(event.getEventType()) {
    case SerialPortEvent.BI:
    case SerialPortEvent.OE:
    case SerialPortEvent.FE:
    case SerialPortEvent.PE:
    case SerialPortEvent.CD:
    case SerialPortEvent.CTS:
    case SerialPortEvent.DSR:
    case SerialPortEvent.RI:
    case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
    break;
    case SerialPortEvent.DATA_AVAILABLE:
    byte[] readBuffer = new byte[20];
    try {
    while (inputStream.available() > 0) {
    int numBytes = inputStream.read(readBuffer);
    System.out.print(new String(readBuffer));
    } catch (IOException e) {}
    break;
    Thanks a bunch!! :)
    Jess...

    I actually got my scanner to work. I got my SimpleRead.java to work as an application. I set up this as an applet. Now my problem is that I the inputread reading from the serial port is not reading correct data always. It sometimes does scan correct data at times and other times it will not. So, I am not sure what is wrong. Does anyone have any clue why this could happen?

  • How to get started on java applet client/server game?

    Hi,
    I've googled, but didn't find any useful information about creating java applet client/server game. I've followed the example of Client/Server Tic-Tac-Toe Using a Multithreaded Server in Java How to Program from Deitel, but I when I tried on Applet, my cliet doesn't communicate with the server at all. Any help to get started with Applet would be great. Thanks!

    well, i decided to put in portion of my codes to see if anyone can help me out. the problem I have here is the function excute() never gets called. here is my coding, see if you can help. Notice, I'm running this on Applet thru html page. This shouldn't be much different than running JFrame in term of coding right?
    Server.java
        public void init()
            runGame = Executors.newFixedThreadPool(2);
            gameLock = new ReentrantLock();
            otherPlayerConnected = gameLock.newCondition();
            otherPlayerTurn = gameLock.newCondition();
            players = new Player[2];
            currentPlayer = Player1;
            try
                server = new ServerSocket(12345, 2);
            catch (IOException ie)
                stop();
            message = "Server awaiting connections";
        public void execute()
           JOptionPane.showMessageDialog(null, "I'm about to execute!", "Testing", JOptionPane.PLAIN_MESSAGE);
            for(int i = 0; i < players.length; i++)
                try
                    players[i] = new Player(server.accept(), i);
                    runGame.execute(players);
    catch (IOException ie)
    stop();
    gameLock.lock();
    try
    players[Player1].setSuspended(false);
    otherPlayerConnected.signal();
    finally
    gameLock.unlock();
    Client.java
        public void init()
            startClient();
        public void startClient()
            try
                connection = new Socket(InetAddress.getByName(TienLenHost), 12345);
                input = new Scanner(connection.getInputStream());
                output = new Formatter(connection.getOutputStream());
            catch (IOException ie)
                stop();
            ExecutorService worker = Executors.newFixedThreadPool(1);
            worker.execute(this);
        }So after worker.execute(this), it should go to Server.java and run the function execute() right? But in my case, it doesn't. If you know how to fix this, please let me know. Thanks!

  • Getting started with Java and XML

    Hi,
    Although I am pretty familiar with Java, I am a total newbie with using it to parse XML. I have been reading quite a few tutorials so am getting a good understanding of it and am thinking of using the DOM model for my purposes.
    What I haven't been able to find, however, is how I can actually get started with this. I have tried compiling a few examples and have been getting errors such as:
    xmltest.java package javax.xml.parsers does not exist
    xmltest.java package org.w3c.dom does not existetc etc...
    It looks like these packages don't come with J2SE. Can anyone confirm this? Do I need to download and install the Java Web Services Developer Pack to solve this problem?
    Finally, I know I will need an XML parser but have read that JDK 1.4 has it's own parser (Crimson). Is this adequate for parsing XML files or will I also need a parser such as Xerces?
    Thanks so much for any help!

    Hi DrClap,
    Thanks for the reply. I have JDK 1.4.1_02 installed on my server but the following error keeps coming up when I try to run my example:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/w3c/dom/NodeAre there any further packages I need to download in order to run Java with XML? I have read some people install JAXP and XERCES... are these necessary for parsing an XML document or should J2SE 1.4.1 be sufficient?
    Thanks for your help!
    Jill

  • Help in getting started with java 3d

    Hi everyone,
    I am very new to java3d and I started learning it from few books and online tutorial.
    However, in my very first program that I trying to code, I get error when I try to import following:-
    import com.sun.j3d.utils.universe.SimpleUniverse;
    The compilation error that I am getting is that "com.sun.j3d cannot be resolved". I have already installed java 3d. I can see java3d package in the Program Files/java directory.
    Any suggestions would be greatly appreciated.
    Thanks!

    On the instalation you have to use the default location, or the location where your SDK is installed.
    Also, check if the CLASSPATH is defined correctly in your Environment Variables for JAVA_HOME and PATH.
    You can also try to define the Java 3D jar files in you classpath before you try to run your file. Or can also try to use an IDE like NetBeans or Eclipse, it will help you a lot with your import declarations.

  • Getting started developing Java

    Hi, I have decided to learn Java (having done mainframe development for a decade or so), and I already have the JRE installed, and was wonderng if I need to de-install the JRE before installing the SDK.
    Thanks for any help. :-)

    A suggestion - if the existing jre is earlier than 1.3.1_04, uninstall it. That's the current 1.3 version. 1.2 and earlier, and some of the earlier 1.3's (exact versions are documented, if needed) will not coexist with another jre on Windows due to Registry key conflicts. These are sorted out for the later versions.

  • Java Applet HelloWorld "Getting Started With Applets" example not working

    Hi there,
    It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
    Every time I try and run the example from the following code:
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    import javax.swing.JLabel;
    public class HelloWorld extends JApplet
      // called when the user enters the html page:
      public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
        try{
          SwingUtilities.invokeAndWait(new Runnable()
            public void run()
           JLabel myLabel = new JLabel("Hello World");
           add(myLabel);
            } // end running the application
          }); //end of swing invokeand wait
        } catch (Exception error){ // end user running the app in page
           // System.err.println("GUI didn't work on initial run");
    }It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
    Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
    Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
    Thanks and I look forward to any replies,
    Jeremy.

    in the Getting Started with Java DB tutorial they
    tell u how to set ur "DERBY_HOME" (what is that?).
    once i press enter after typing this command:
    set DERBY_HOME=D:\Java\Java
    Phonebook\javadb in my command prompt do i get
    any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
    they also tell u how to set ur "JAVA_HOME" (what is
    that?). The Java installation you want to use
    in their example they give u this: set
    JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
    but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
    also once ive done this: set
    DERBY_HOME=D:\Java\Java Phonebook\javadb this
    set JAVA_HOME=D:\Program
    Files\Java\jre1.6.0 and this set
    PATH=%DERBY_HOME%\bin;%PATH% and then type
    sysinfo to verify that the variables were set
    correctly i get these errors: 'D:\Java\Java' is
    not recognized as an internal or external command,
    operable program or batch file and '""'
    is not recognized as an internal or external command,
    operable program or batch file any help would
    really be appreciated because this is really killing
    me!you need to set your path variable - so something like:
    set PATH=C:\Program Files\Java\j2se1.4.2_05\bin

  • Getting started help

    Perhaps someone wouldn't mind helping with some simple questions....
    I'd like to get started with Java Server Pages but I am finding the process absolutely bewildering.
    At the moment I have a site running Jrun 3.1 and I use J2SE, so I think I will have my work cut out just to get started, though perhaps someone can enlighten me.
    Jrun 3.1 doesn't even implement Servlet API 2.3 and whenever I hear talk of Java Server Faces I seem to hear J2EE. However I have no great wish to update Jrun with our server running smoothly (touch wood) and changing from J2SE to J2EE seems like yet another big change.
    I had a look at changing to Tomcat, but again why do so when things are running smoothly as they are?
    Ok, so I've been looking at Java Web Services pack, which seems to solve some of the problems and the blurb says:
    "Note that the Java WSDP is an integrated toolkit that you can use to develop and deploy not only Web services, but also Web and XML-based applications".
    But presumably I need a servlet container behind it and Jrun 3.1 is probably too old, is that right?
    Ok, at this point perhaps I could leave my existing applications running happily in Jrun 3.1 and J2SE, install Tomcat and J2EE separately and run any new applications alongside in the new environment. I've got 1GB of memory, and then maybe one day I move over the old applications.
    Perhaps somebody could give me some pointers, given my situation.
    Thanks for your time.

    JavaServer Faces requires an environment that supports at least Servlet 2.3 and JSP 1.2. It will not run on any server that supports Servlet 2.2 or earlier only. Any J2EE 1.3 or later app server meets these criteria, but it's not required (for JavaServer Faces) that you have a full J2EE server unless you need those facilities (such as EJBs) for your applications.
    The Java Web Services Developer Pack includes Tomat 5, or you can use an existing Tomcat installation (must be 4.1 or 5.0). Tomcat is pretty easy to set up (especially if you just use it standalone, and not try to run it behind the Apache HTTPD server).
    Craig MClanahan

  • Java Instance not getting started

    Hi Experts,
                      After System copy we are not able to start the java instance of SAP BW Java Instance of 7.0.Though Dispatcher is getting started but server 0 is not getting started.Sending you the jcontrol & dev_w0 error.We are using sql server 2008 & win 2008.
    [Thr 6336] JControlICheckProcessList: process server0 started (PID:6268)
    [Thr 6336] Mon Jun 21 02:50:16 2010
    [Thr 6336] JControlICheckProcessList: process server0 (pid:6268) died (RUN-FLAG)
    [Thr 6336] JControlIResetProcess: reset process server0
    [Thr 6336] JControlIResetProcess: [server0] not running -> increase error count (4)
    [Thr 6336] JControlICheckProcessList: running flight recorder:
         C:\j2sdk1.4.2_19-x64\bin\java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID15726550 1277103001 -bz G:\usr\sap\DBJ\SYS\global
    dev_w0----
    [Thr 4704] Mon Jun 21 03:39:01 2010
    [Thr 4704] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 4704] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 4704] JLaunchCloseProgram: good bye (exitcode = -11113)
    Please suggest.

    Sunny sending u the log files.Yah I have imported java of our source system.
    dev_sever0 log :
    trc file: "G:\usr\sap\DBJ\JC01\work\dev_server0", trc level: 1, release: "701"
    node name   : ID15726550
    pid         : 388
    system name : DBJ
    system nr.  : 01
    started at  : Tue Jun 22 02:56:02 2010
    arguments       :
           arg[00] : G:\usr\sap\DBJ\JC01\exe\jlaunch.exe
           arg[01] : pf=G:\usr\sap\DBJ\SYS\profile\DBJ_JC01_GOLITSAPD28
           arg[02] : -DSAPINFO=DBJ_01_server
           arg[03] : pf=G:\usr\sap\DBJ\SYS\profile\DBJ_JC01_GOLITSAPD28
    [Thr 4416] Tue Jun 22 02:56:02 2010
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.box.number=DBJJC01golitsapd28] [jstartxx.c   841]
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.en.host=GOLITSAPD28] [jstartxx.c   841]
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.en.port=3200] [jstartxx.c   841]
    [Thr 4416] *** WARNING => INFO: Unknown property [instance.system.id=1] [jstartxx.c   841]
    JStartupReadInstanceProperties: read instance properties [G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties]
    -> ms host    : GOLITSAPD28
    -> ms port    : 3900
    -> OS libs    : G:\usr\sap\DBJ\JC01\j2ee\os_libs
    -> Admin URL  :
    -> run mode   : normal
    -> run action : NONE
    -> enabled    : yes
    Used property files
    -> files [00] : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    Instance properties
    -> ms host    : GOLITSAPD28
    -> ms port    : 3900
    -> os libs    : G:\usr\sap\DBJ\JC01\j2ee\os_libs
    -> admin URL  :
    -> run mode   : normal
    -> run action : NONE
    -> enabled    : yes
    Bootstrap nodes
    -> [00] bootstrap            : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    -> [01] bootstrap_ID15726500 : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    -> [02] bootstrap_ID15726550 : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    Worker nodes
    -> [00] ID15726500           : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    -> [01] ID15726550           : G:\usr\sap\DBJ\JC01\j2ee\cluster\instance.properties
    [Thr 4416] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 4416] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 5144] JLaunchRequestFunc: Thread 5144 started as listener thread for np messages.
    [Thr 6104] WaitSyncSemThread: Thread 6104 started as semaphore monitor thread.
    [Thr 4416] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 4416] CPIC (version=701.2009.01.26)
    [Thr 4416] [Node: server0] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_19-x64\
    [Thr 4416] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\DBJ\JC01\exe\jvmx.jar
    [Thr 4316] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 4316] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 4316] JLaunchISetClusterId: set cluster id 15726550
    [Thr 4316] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 4316] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    Tue Jun 22 02:56:32 2010
    4.725: [GC 4.725: [DefNew: 174592K->12689K(261888K), 0.0611219 secs] 174592K->12689K(2009856K), 0.0612466 secs]
    Tue Jun 22 02:56:34 2010
    6.803: [GC 6.803: [DefNew: 187281K->16256K(261888K), 0.0465093 secs] 187281K->16256K(2009856K), 0.0465882 secs]
    Tue Jun 22 02:56:36 2010
    8.329: [GC 8.329: [DefNew: 190848K->18509K(261888K), 0.0445783 secs] 190848K->18509K(2009856K), 0.0446530 secs]
    Tue Jun 22 02:56:37 2010
    9.631: [GC 9.631: [DefNew: 193101K->22134K(261888K), 0.0486306 secs] 193101K->22134K(2009856K), 0.0487179 secs]
    [Thr 7116] Tue Jun 22 02:56:40 2010
    [Thr 7116] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 7116] **********************************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    [Thr 7116] JLaunchCloseProgram: good bye (exitcode = -11113)
    [Thr 568] JLaunchRequestQueueInit: create named pipe for ipc
    [Thr 568] JLaunchRequestQueueInit: create pipe listener thread
    [Thr 5544] JLaunchRequestFunc: Thread 5544 started as listener thread for np messages.
    [Thr 5408] WaitSyncSemThread: Thread 5408 started as semaphore monitor thread.
    [Thr 568] NiInit3: NI already initialized; param 'maxHandles' ignored (1;202)
    [Thr 568] CPIC (version=701.2009.01.26)
    [Thr 568] [Node: server0] java home is set by profile parameter
         Java Home: C:\j2sdk1.4.2_19-x64\
    [Thr 568] Tue Jun 22 02:56:43 2010
    [Thr 568] JStartupICheckFrameworkPackage: can't find framework package G:\usr\sap\DBJ\JC01\exe\jvmx.jar
    Edited by: N. Das on Jun 22, 2010 11:44 AM

  • Java engine (server0 process) not getting started.

    Hi All,
    I am not able to start java engine. Y'day I changed the password of SAPJSF user in portal side. Server0 process is not getting started from y'day. Error message is like below. Can any one help me in this area?
    =====================================================================================
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)
            at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo640Proxy$Client640.getAttributes(R3JCo640Proxy.java:408)
            at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.doInitRfc(R3PersistenceBase.java:689)
            at com.sap.security.core.persistence.datasource.imp.R3Persistence.localInitialization(R3Persistence.java:277)
            at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:424)
            at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:363)
            at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:164)
            at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:117)
            at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:63)
            at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:222)
            at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:286)
            at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
            at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
            at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    =====================================================================================
    Thanks & Regards,
    Charanjit Singh.

    Hi Anil,
    This time I face new problem. Error log is below.
    ==================================================================
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
            at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:77)
            at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:402)
            at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:81)
            at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:57)
            at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:135)
            at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
            at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
            at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
            at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
            at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    ============================================================================
    Thanks & Regards,
    Charanjit Singh,

  • Java rts Netbeans getting started guide

    Could any one please point me to the correct "Java rts Netbeans getting started guide".
    http://netbeans.org/kb/articles/java-rts.html
    The above link seems to be dead.
    Thanks,
    Ramsundar Kandasamy

    Note that if you run JavaRTS on a virtual machine, you may get a lot of jitter from the
    host system anyway.
    Unless you can guarantee that some CPUs are used only by the Solaris
    layer, non real-time threads scheduled by your Host system may delay the real-time operations
    within Solaris. This will of course disrupt your real-time Java threads. Even worse, this
    may impact the cyclic subsystem, which controls all the fine grain time related operations in
    Solaris (this is the low level module we interact with thanks to our cyclic driver to get better
    response times).
    In fact, even if you dedicate CPUs to Solaris, you also have to be careful with how Solaris
    accesses to the 'hardware' time source. Virtualization could create some randomness in the
    way Solaris perceives time, disrupting stuff sufficiently to be noticeable within JavaRTS/DTrace.
    I highly recommend dual booting instead of using virtualization if you want to evaluate the
    determinism of JavaRTS or the high precision of our DTrace based instrumentation tools.
    Regards,
    Bertrand DELSART
    JavaRTS Technical Leader

  • How to get started with playing a video file using Java on JSF page ?

    Hi ,
    I am developing a JSF (Java Server Faces) page.
    I need to develop following functionalities
    1). play video file on web page
    2). Let the user load video file into the system from a web page and that can stored in a database .
    Please guide me on how to do the above or where to get started .
    Thanks,

    hello brother
    I am also doing work on it.....but don't reach at any result plz help me if you have something
    [email protected]

  • How can i get started with messaging in java

    how can i get started with messaging in java

    If you're talking about writing mail clients in java, you might want to start with a better forum. We're focused on Messaging Servers, here. Unlikely you'll get any Java programming from us.
    If you're talking about Messaging Server, start by downloading the software from sun.com/downloads.

Maybe you are looking for