Unable to compile JAVAFX source code.

Hi there,
I am beginner of JAVFX Tech. i uses eclipse (Version: 3.4.0) as a IDE, and javafx sdk 1.2. i compiling following basic code,
import javafx.stage.Stage;
import javafx.scene.Scene;
Stage {
title : "MyApp"
scene: Scene {
width: 200
height: 200
content: [
and Following errors occurs:
1) cannot access javafx.lang.Builtins class file for javafx.lang.Builtins not found
2) cannot find symbol symbol : class Stage location: class secondjfx
3) Multiple markers at this line
- Invalid assignment
- cannot find symbol symbol : class Scene location: class secondjfx.Scene$anon1
etc. I install plug-ins successfully and path is also correctly set, still errors occurs,
if any one knows the cause of error please inform me.
Thanks in advance,
Regards,

Yes, I am able to open the JSP file in the NitroX editor. All of the tabs you reference above are present and functional. I don t know if this is meaningful or not, but I ve tried deploying the application as both an ear file and using WebLogic s Split Directory deployment technique. The results were the same in both cases (as described above).
The ear file deployment has three components: A war file, an ejb jar file and an exploded APP-INF directory structure. The ejb jar file is pretty standard and the APP-INF directory structure contains mostly class files and jar files, not JSP files or anything weird. Architecturally, the application makes heavy use of struts.
The deployed war file has the following directory structure:
Meta-inf
Resources
     --Common
     --Css
     --Customers
          ----Images
          ----Scripts
          ----Style
     --Images
     --Jsp
          ----Common
          ----Online
     --Scripts
     --Templates
     --XML
     --Web-inf
          ----Classes
               ------Customers
                    --------Properties
          ----Lib
          ----Tlds
The breakpointed JSP file resides in the resources/jsp/online directory. It contains relative references to components elsewhere in the structure. As described above, it all works fine in both a straight BEA deployment and in the NitroX run time environment. Set breakpoints are caught. It s the IDE functionality that I m struggling with once the breakpoint is caught.
Are there any other diagnostics that I could capture and send your way? Just ask and I ll do what I can to accommodate. Much thanks.

Similar Messages

  • How to compile the source code?

    Hello,
    I have got the source code and want to custom my nosql db.
    how can I compile the source code?
    thank you!

    You will have to apply some workarounds to achieve your goal, but they are not too bad.
    One problem is that the sources for the Admin Console web application are missing from the distribution. You can build a kvstore.jar that lacks the web application but is functional in every other way. If you need to have the web application in your build, we can discuss that separately.
    You will need to download the hadoop core jar file from http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-core/0.20.2/hadoop-core-0.20.2.jar .
    Place it in the lib directory of the distribution.
    I've appended to this message a context-style diff to show the changes that are needed in build.xml. You can apply these changes by hand, or use a diff-applying program such as "patch". The diff is small -- only three lines are changed.
    With these changes in place, issue the command "ant jar", which should produce the file dist/lib/kvstore.jar. This jar file has dependencies such that it will not work correctly unless it resides in the same directory as the other jars in the distribution. Therefore you should move dist/lib/kvstore.jar to lib/kvstore.jar before you try to run with it.
    This is certainly harder than it needs to be. We'll consider making this easier to do in a future release.
    Let me know how it goes!
    *** build.xml.~1~     2011-12-14 15:11:06.000000000 -0500
    --- build.xml     2012-04-19 09:44:19.649000428 -0400
    *** 282,292 ****
        <!-- ============================================================ -->
        <target name="compile" depends="compile-src,
    !                       compile-webapp,
                            compile-examples,
                            compile-test"/>
    !   <target name="compile-src" depends="dep-dirs, update-external-libraries">
          <javac
             srcdir="${srcdir}"
             destdir="${destdir}"
    --- 282,292 ----
        <!-- ============================================================ -->
        <target name="compile" depends="compile-src,
                            compile-examples,
                            compile-test"/>
    !   <target name="compile-src" depends="dep-dirs">
          <javac
             srcdir="${srcdir}"
             destdir="${destdir}"
    *** 402,408 ****
          </java>
        </target>
    !   <target name="jar" depends="compile-src, compile-webapp-gwtc, je-version, kvclientjar">
          <delete failonerror="false" file="${jarfile}" />
          <jar jarfile="${jarfile}">
           <fileset refid="jarclasses"/>
    --- 402,408 ----
          </java>
        </target>
    !   <target name="jar" depends="compile-src, je-version, kvclientjar">
          <delete failonerror="false" file="${jarfile}" />
          <jar jarfile="${jarfile}">
           <fileset refid="jarclasses"/>Edited by: Guy Hillyer, Oracle on Apr 19, 2012 9:57 AM

  • Can any solve this exception when compiling the source code

    when i compile the source code . i am getting the following exceptions
    1.java.lang.classnotfoundException and javax.jnlp.UnavailableServiceException
    BadFieldException[ The field <jnlp>codebase has an invalid value: $$context/adempiereHome,$$context/adempiereHome]
         at com.sun.javaws.jnl.XMLUtils.getAttributeURL(Unknown Source)
         at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    looks like you're using java web start to run app. am i right? personally i don't have much expertise in this area but i've had to deal with it before, essentially what your problem looks to me is that the codebase in your jnlp file is set up wrong
    under my definition (vague) the codebase points to where java should look at to find your files and run them
    do a search and read more about running apps. through web start if that's your case

  • Error in compiling java source code in a package

    hi all...
    am having a problem in compiling a java source code:
    i have a class named 'Test' in the package 'packone'....
    i have another class named 'getTest' in the same package....
    in the class getTest i am taking a reference to Test class...
    on compiling i am getting the following error....
    cannot resolve symbol
    symbol : class Test
    The source code for the two classes are :
    package packone;
    public class Test{
    and
    package packone;
    public class getTest{
    public void me(){
         Test t = new Test();
    i have included the directory path in the classpath....
    still its not compiling .....
    please help
    thanks....

    Assume the current directory structure:
    C:\
    C:\packone...and that your classes are named Test & GetTest.
    My guess is that you're compiling within the directory C:\packone using the command "javac GetTest.java", which is wrong; You must use a path corresponding to the package-name.
    Move your command-line cursor to C:\ and type "javac packone\GetTest.java" and you'll be fine...
    Regards,
      /H&aring;kan

  • Unable to edit WebDynpro source code after import from NWDI Track

    Hi !
    I am facing an odd issue when trying to modify the source code in a web dynpro that is in a Track.
    This is what happens:
    I create the project from Inactive DCs
    I double click in the component controller (for example) and try to enter a line of code
    A pop ups appears saying that in order to modify the file I have to check it out and to create an activity
    The window to create a new activity appears, and I create the new activity
    I am informed that the file to be edited will be included in the activity
    --- Until now everything is normal ---
    A try again to type something inside the source code.. and NOTHING happens, is as if my keyboard was broken.
    After trying 1000 things I found a workaround that is:
    Open the DTR perspective in NWDS, go to inactive -- <project>.. gen_wdp , ( and in gen_wdp right click, edit --> subfolder tree).
    After doing that I am able to edit the source code... this is very strange! I mean, I never had this problem before..
    somebody has a hint ?
    Best regards!
    Marco.

    hi,
    I am able to edit the code is one of the DCs in the same track and I am unable to do so in the other. The error that I see in a popup while trying to edit the code is :
    The operation can only be performed if the following objects are writable:The project is not in the repository, but there are some read-only files
    Component Controller com.aramco.sao.had.hmd.dcsa.newagrcomp.NewAgrComp
            Read-only: D:\Users\bohramx\Desktop\nwds-extsoa-7.3-SP02-PAT0001-win32\eclipse\workspace.jdi\1\DCs\aramco.com\it\ca\esales\web\newagrmnt\_comp\src\packages\com\aramco\sao\had\hmd\dcsa\newagrcomp\NewAgrComp.wdcontroller
    Please suggest how to checkout files for edit.
    Thanks!
    seventyros

  • How to compile JMF source code

    Hello,
    Im working in an application which uses Java Media Framework to code/decode and transmit/receive the video and audio. I need to modify the h.263 codec in order to get an especial issue related to video.
    I download the source code of jmf I found in this topic: http://ohmydear.tistory.com/attachment/48fd0e73b49f9C0.zip. But I dont know how to compile the jmf in eclipse tool. Does anybody know?
    If anybody doesn't, would anybody know how to modify the coding and decoding of h.263 in JMF. I have no idea how to get that?
    Thanks a lot and best regards.
    Pedro

    pedritomoreno wrote:
    I download the source code of jmf I found in this topic: http://ohmydear.tistory.com/attachment/48fd0e73b49f9C0.zip. But I dont know how to compile the jmf in eclipse tool. Does anybody know?
    If it's not just a straightforward build, then I doubt anyone has instructions on how to do it...
    If anybody doesn't, would anybody know how to modify the coding and decoding of h.263 in JMF. I have no idea how to get that?Well, if you look at the following link...
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]
    You'll see that for h.263, decryption is the only thing that's implemented in Java (the things that are in the windows pack but not in the cross platform pack are implemented in native code)... so if you're wanting to do h.263 encoding, you'll have to code that from the ground up...
    Read the following post for more information about writing your own codecs...
    [http://forums.sun.com/thread.jspa?messageID=10725041#10725041]

  • Cannot compile C source code program

    This below is my source code.
    =====
    main ()
    printf(" Test");
    =====
    C compiler is Forte Develope 6 Update 2 . After I compile source by cc command . This below is output of C compling.
    #/opt/SUNWspro/bin/cc -o /tmp/main /tmp/main.c
    ld: fatal: library -lc: not found
    ld: fatal: File processing errors. No output written to a.out.
    Could you suggest how to fix this case?

    You can also try the following to get an idea as to where your installed compiler is picking up various libraries:
    #/opt/SUNWspro/bin/cc -# -## -o /tmp/main /tmp/main.c
    You should see some output that looks like the following:
    ### Note: NLSPATH = /opt/SUNWspro/bin/../WS6U2/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/bin/../WS6U2/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
    ### command line files and options (expanded):
    ### /tmp/main.c -o /tmp/main
    /opt/SUNWspro/bin/../WS6U2/bin/acomp -i /tmp/main.c -y-fbe -y/opt/SUNWspro/bin/../WS6U2/bin/fbe -y-xarch=generic -y-o -yt.o -y-s -y-verbose -y-xmemalign=4s -Qy -D__SunOS_5_8 -D__SUNPRO_C=0x530 -D__SVR4 -D__unix -D__sun -D__sparc -D__BUILTIN_VA_ARG_INCR -Xa -D__PRAGMA_REDEFINE_EXTNAME -Dunix -Dsun -Dsparc -D__RESTRICT -I/opt/SUNWspro/WS6U2/include/cc "-g/opt/SUNWspro/bin/../WS6U2/bin/cc -c " -D__SUN_PREFETCH
    ### Note: LD_LIBRARY_PATH = <null>
    ### Note: LD_RUN_PATH = <null>
    /usr/ccs/bin/ld /opt/SUNWspro/WS6U2/lib/crti.o /opt/SUNWspro/WS6U2/lib/crt1.o /opt/SUNWspro/WS6U2/lib/values-xa.o -o /tmp/main /tmp/main.o -Y "P,/opt/SUNWspro/WS6U2/lib:/usr/ccs/lib:/usr/lib" -Qy -lc /opt/SUNWspro/WS6U2/lib/crtn.o
    If the lines beginning with ### Note: LD_LIBRARY_PATH = and ### Note: LD_RUN_PATH = are set to something strange, that could be the cause of your problems. As another poster suggested, you'll want to unset those environment variables and recompile.
    Example:
    # unsetenv LD_LIBRARY_PATH
    # unsetenv LD_RUN_PATH
    or if you're running ksh
    # unset LD_LIBRARY_PATH
    # unset LD_RUN_PATH

  • Utilities to compile package source code and move into different instances

    Is there a native oracle utility that will take a source code for a package, compile it and then move it to a specific instances?

    The source for the current package is: \\PrimarySiteServer<FQDN>\SMS_PHC\Client
    To me, it looks like it's saying that it can't find the package at all, therefore no hash ID to evaluate.
    I dug around and found the following query under Monitoring: System Status, Status Message Queries, All Status Messages for a Specific Package at a Specific Site.
    After narrowing it to Package ID: PHC00002, it looks like around the time that it disappeared from all OSD TS, it started reporting the following:
    "Distribution Manager failed to process package "Configuration Manager Client Package" (package ID = PHC00002)."
    It would then retry, succeed, fail, retry, succeed, fail, etc. It did this for 24 hours before stopping all together.
    Here is the last entry, about 3 weeks ago: "Distribution Manager successfully processed package "" (package ID = PHC00002)."
    Since then it only evaluates the package on each DP every weekend on Saturday and it shows that it successfully verified each time.
    ...so it looks like its still stored on the DP's, but not otherwise available in the console.

  • Unable to Download latest source code for BlazeDS through open source site, is it a known problem?

    I am unable to download the source or turnkey version of blazeds, is it down for all or for my firewall has some issues?

    The Url I am trying to download is from http://opensource.adobe.com/wiki/display/blazeds/download+blazeds+4
    Both this links are seems to be down :
    http://flexorg.wip3.adobe.com/blazeds/4.x/21287/blazeds-src-4.0.1.21287.zip
    http://flexorg.wip3.adobe.com/blazeds/4.x/21287/blazeds-turnkey-4.0.1.21287.zip
    - Ckrish

  • JavaFX source code formatting (pretty print)

    I'm just starting to use JavaFX with Eclipse and I was wondering if there was something, either internal or external to eclipse that would format the JavaFX script 'code'. It gets tiresome hand indenting every line.

    AFAIK the eclipse plugin is about 3 weeks old. Code formatting was probably not #1 on their list of features. Netbeans aint 1/2 bad... I'm traditionally an Eclipse user too but I think you are gonna have to either contribute or wait patiently.

  • Got error while compiling this source code?

    [code =java]package com.agent.client.movies;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    public interface DataSourceMovies extends Remote{
    ArrayList<String[]> getAllMovies() throws RemoteException;
    ArrayList<String[]> findMoviesByYear( int year) throws RemoteException;
    ArrayList<String[]> findMoviesByDirector(String director) throws RemoteException;
    ArrayList<String[]> findMoviesByGenre(String genre) throws RemoteException;
    ArrayList<String[]> findMoviesByName(String name) throws RemoteException;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * MovieClient.java
    * Created on Apr 24, 2012, 10:49:58 AM
    package com.agent.client.movies;
    import com.agent.client.songs.SongsClient;
    import com.agent.client.Utility;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.StringTokenizer;
    import javax.naming.InitialContext;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    import javax.swing.table.DefaultTableModel;
    public class MovieClient extends javax.swing.JFrame {
    ArrayList<String> mappedips = new ArrayList<String>();
    DefaultListModel<String> modelmsg = new DefaultListModel<String>();
    InitialContext ctx;
    /** Creates new form MovieClient */
    public MovieClient(String ips) {
    setLookAndFeel();
    initComponents();
    Utility.setInCenter(this);
    StringTokenizer stok = new StringTokenizer(ips, ":");
    while(stok.hasMoreTokens())
    mappedips.add(stok.nextToken());
    public void setLookAndFeel(){
    /* Set the Nimbus look and feel */
    //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
    /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
    * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
    try {
    for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
    if ("Nimbus".equals(info.getName())) {
    javax.swing.UIManager.setLookAndFeel(info.getClassName());
    break;
    } catch (ClassNotFoundException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (InstantiationException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (IllegalAccessException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (javax.swing.UnsupportedLookAndFeelException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    //</editor-fold>
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
    buttonGroup1 = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jPanel2 = new javax.swing.JPanel();
    btclose = new javax.swing.JButton();
    jPanel3 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jPanel8 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    txtkey = new javax.swing.JTextField();
    btsearch = new javax.swing.JButton();
    jPanel9 = new javax.swing.JPanel();
    rdbyname = new javax.swing.JRadioButton();
    rdbydirector = new javax.swing.JRadioButton();
    rdbygenre = new javax.swing.JRadioButton();
    rdbyyear = new javax.swing.JRadioButton();
    jPanel5 = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    lstMessages = new javax.swing.JList(modelmsg);
    jPanel7 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    tabmovies = new javax.swing.JTable();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setMinimumSize(new java.awt.Dimension(500, 500));
    jLabel1.setFont(new java.awt.Font("Simplified Arabic", 1, 24));
    jLabel1.setForeground(new java.awt.Color(0, 102, 204));
    jLabel1.setText("Mobile Agent: Find Movie Information");
    jPanel1.add(jLabel1);
    getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
    btclose.setText("Close");
    btclose.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btcloseActionPerformed(evt);
    jPanel2.add(btclose);
    getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_END);
    jPanel3.setLayout(new java.awt.BorderLayout());
    jPanel4.setLayout(new java.awt.GridLayout(2, 1));
    jLabel2.setText("Key");
    btsearch.setText("Search");
    btsearch.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btsearchActionPerformed(evt);
    javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
    jPanel8.setLayout(jPanel8Layout);
    jPanel8Layout.setHorizontalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(btsearch)
    .addContainerGap(130, Short.MAX_VALUE))
    jPanel8Layout.setVerticalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addGap(14, 14, 14)
    .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jLabel2)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(btsearch))
    .addContainerGap(13, Short.MAX_VALUE))
    jPanel4.add(jPanel8);
    buttonGroup1.add(rdbyname);
    rdbyname.setSelected(true);
    rdbyname.setText("By name");
    buttonGroup1.add(rdbydirector);
    rdbydirector.setText("By director");
    buttonGroup1.add(rdbygenre);
    rdbygenre.setText("By genre");
    buttonGroup1.add(rdbyyear);
    rdbyyear.setText("By year");
    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
    jPanel9.setLayout(jPanel9Layout);
    jPanel9Layout.setHorizontalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(rdbyname)
    .addGap(36, 36, 36)
    .addComponent(rdbydirector)
    .addGap(37, 37, 37)
    .addComponent(rdbygenre)
    .addGap(33, 33, 33)
    .addComponent(rdbyyear)
    .addContainerGap(352, Short.MAX_VALUE))
    jPanel9Layout.setVerticalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(rdbyname)
    .addComponent(rdbydirector)
    .addComponent(rdbygenre)
    .addComponent(rdbyyear))
    .addContainerGap(20, Short.MAX_VALUE))
    jPanel4.add(jPanel9);
    jPanel3.add(jPanel4, java.awt.BorderLayout.PAGE_START);
    jPanel5.setLayout(new java.awt.BorderLayout());
    jPanel6.setLayout(new java.awt.BorderLayout());
    lstMessages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(102, 102, 102)));
    jScrollPane1.setViewportView(lstMessages);
    jPanel6.add(jScrollPane1, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel6, java.awt.BorderLayout.PAGE_END);
    jPanel7.setLayout(new java.awt.BorderLayout());
    tabmovies.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    new String [] {
    "Name", "Director", "Genre", "Release Year"
    jScrollPane2.setViewportView(tabmovies);
    jPanel7.add(jScrollPane2, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);
    jPanel3.add(jPanel5, java.awt.BorderLayout.CENTER);
    getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);
    pack();
    }// </editor-fold>//GEN-END:initComponents
    private void btcloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btcloseActionPerformed
    System.exit(0);
    }//GEN-LAST:event_btcloseActionPerformed
    private void btsearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btsearchActionPerformed
    searchMovies();
    }//GEN-LAST:event_btsearchActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btclose;
    private javax.swing.JButton btsearch;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JList lstMessages;
    private javax.swing.JRadioButton rdbydirector;
    private javax.swing.JRadioButton rdbygenre;
    private javax.swing.JRadioButton rdbyname;
    private javax.swing.JRadioButton rdbyyear;
    private javax.swing.JTable tabmovies;
    private javax.swing.JTextField txtkey;
    // End of variables declaration//GEN-END:variables
    private void searchMovies() {
    if(txtkey.getText().trim().length()==0){
    JOptionPane.showMessageDialog(null, "Please enter some words...");
    return;
    for(String ip : mappedips){
    modelmsg.addElement("Looking up node : " + ip);
    DataSourceMovies movies = null;
    try {
    ctx = new InitialContext();
    movies = (DataSourceMovies)ctx.lookup("rmi://" + ip + "/movieserver");
    } catch (Exception e) {
    modelmsg.addElement("Error contacting node...");
    e.printStackTrace();
    break;
    List<String[]> movieslist = null;
    try{
    if(rdbyname.isSelected())
    movieslist = movies.findMoviesByName(txtkey.getText().trim());
    else if(rdbydirector.isSelected())
    movieslist = movies.findMoviesByDirector(txtkey.getText().trim());
    else if(rdbygenre.isSelected())
    movieslist = movies.findMoviesByGenre(txtkey.getText().trim());
    else if(rdbyyear.isSelected()){
    try {
    movieslist = movies.findMoviesByYear(Integer.parseInt(txtkey.getText().trim()));
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Invalid year...");
    return;
    if(movieslist!=null && movieslist.size()>0){
    modelmsg.addElement("Songs found...");
    DefaultTableModel model = (DefaultTableModel) tabmovies.getModel();
    while(model.getRowCount()>0){
    model.removeRow(0);
    tabmovies.revalidate();
    for(String[] moviedata : movieslist)
    model.addRow(moviedata);
    catch(Exception ex) {               
    modelmsg.addElement("Error reading data...");
    break;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.agent.client.movies;
    import com.agent.client.Utility;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.net.Socket;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JWindow;
    import javax.swing.SwingConstants;
    public class MovieSplashScreen {
    private javax.swing.JLabel lbimage;
    private javax.swing.JLabel lbloading;
    private javax.swing.JLabel lbmobile;
    private javax.swing.JPanel panelBack;
    public static void main(String[] ar) {
    new MovieSplashScreen().displaySplash(ar[0]);
    public void displaySplash(String mapperip) {
    JWindow window = new JWindow();
    window.getContentPane().add(
    new JLabel("Loading JFrame...", SwingConstants.CENTER));
    window.setSize(525, 240);
    Utility.setInCenter(window);
    panelBack = new javax.swing.JPanel();
    lbimage = new javax.swing.JLabel();
    lbloading = new javax.swing.JLabel();
    lbmobile = new javax.swing.JLabel();
    panelBack.setBackground(new java.awt.Color(255, 255, 255));
    panelBack.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 102), 2));
    panelBack.setLayout(null);
    lbimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/agent/client/splash.jpg"))); // NOI18N
    panelBack.add(lbimage);
    lbimage.setBounds(250, 20, 250, 180);
    lbloading.setFont(new java.awt.Font("Showcard Gothic", 0, 30)); // NOI18N
    lbloading.setText("Loading...");
    panelBack.add(lbloading);
    lbloading.setBounds(50, 120, 210, 70);
    lbmobile.setFont(new java.awt.Font("Tekton Pro Cond", 0, 24)); // NOI18N
    lbmobile.setForeground(new java.awt.Color(0, 51, 51));
    lbmobile.setText("Mobile Agents 1.0");
    panelBack.add(lbmobile);
    lbmobile.setBounds(30, 20, 230, 40);
    window.add(panelBack, java.awt.BorderLayout.CENTER);
    window.setVisible(true);
    try {
    Thread.sleep(5000);
    } catch (InterruptedException e) {
    Socket client = null;
    try {
    client = new Socket(mapperip,2222);
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Mapping server down...");
    System.exit(0);
    DataInputStream din = null;
    DataOutputStream dout = null;
    String ips = null;
    try {
    din = new DataInputStream(client.getInputStream());
    dout = new DataOutputStream(client.getOutputStream());
    dout.writeUTF("movies");
    ips = din.readUTF();
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Cannot retrieve mappings...");
    e.printStackTrace();
    System.exit(0);
    window.setVisible(false);
    MovieClient sclient = new MovieClient(ips);
    sclient.setVisible(true);
    window.dispose();

    {code = java}package com.agent.client.movies;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    import java.util.ArrayList;
    public interface DataSourceMovies extends Remote{
    ArrayList<String[]> getAllMovies() throws RemoteException;
    ArrayList<String[]> findMoviesByYear( int year) throws RemoteException;
    ArrayList<String[]> findMoviesByDirector(String director) throws RemoteException;
    ArrayList<String[]> findMoviesByGenre(String genre) throws RemoteException;
    ArrayList<String[]> findMoviesByName(String name) throws RemoteException;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    * MovieClient.java
    * Created on Apr 24, 2012, 10:49:58 AM
    package com.agent.client.movies;
    import com.agent.client.songs.SongsClient;
    import com.agent.client.Utility;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.StringTokenizer;
    import javax.naming.InitialContext;
    import javax.swing.DefaultListModel;
    import javax.swing.JOptionPane;
    import javax.swing.table.DefaultTableModel;
    public class MovieClient extends javax.swing.JFrame {
    ArrayList<String> mappedips = new ArrayList<String>();
    DefaultListModel<String> modelmsg = new DefaultListModel<String>();
    InitialContext ctx;
    /** Creates new form MovieClient */
    public MovieClient(String ips) {
    setLookAndFeel();
    initComponents();
    Utility.setInCenter(this);
    StringTokenizer stok = new StringTokenizer(ips, ":");
    while(stok.hasMoreTokens())
    mappedips.add(stok.nextToken());
    public void setLookAndFeel(){
    /* Set the Nimbus look and feel */
    //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
    /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
    * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
    try {
    for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
    if ("Nimbus".equals(info.getName())) {
    javax.swing.UIManager.setLookAndFeel(info.getClassName());
    break;
    } catch (ClassNotFoundException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (InstantiationException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (IllegalAccessException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    } catch (javax.swing.UnsupportedLookAndFeelException ex) {
    java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
    //</editor-fold>
    /** This method is called from within the constructor to
    * initialize the form.
    * WARNING: Do NOT modify this code. The content of this method is
    * always regenerated by the Form Editor.
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
    buttonGroup1 = new javax.swing.ButtonGroup();
    jPanel1 = new javax.swing.JPanel();
    jLabel1 = new javax.swing.JLabel();
    jPanel2 = new javax.swing.JPanel();
    btclose = new javax.swing.JButton();
    jPanel3 = new javax.swing.JPanel();
    jPanel4 = new javax.swing.JPanel();
    jPanel8 = new javax.swing.JPanel();
    jLabel2 = new javax.swing.JLabel();
    txtkey = new javax.swing.JTextField();
    btsearch = new javax.swing.JButton();
    jPanel9 = new javax.swing.JPanel();
    rdbyname = new javax.swing.JRadioButton();
    rdbydirector = new javax.swing.JRadioButton();
    rdbygenre = new javax.swing.JRadioButton();
    rdbyyear = new javax.swing.JRadioButton();
    jPanel5 = new javax.swing.JPanel();
    jPanel6 = new javax.swing.JPanel();
    jScrollPane1 = new javax.swing.JScrollPane();
    lstMessages = new javax.swing.JList(modelmsg);
    jPanel7 = new javax.swing.JPanel();
    jScrollPane2 = new javax.swing.JScrollPane();
    tabmovies = new javax.swing.JTable();
    setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
    setMinimumSize(new java.awt.Dimension(500, 500));
    jLabel1.setFont(new java.awt.Font("Simplified Arabic", 1, 24));
    jLabel1.setForeground(new java.awt.Color(0, 102, 204));
    jLabel1.setText("Mobile Agent: Find Movie Information");
    jPanel1.add(jLabel1);
    getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
    btclose.setText("Close");
    btclose.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btcloseActionPerformed(evt);
    jPanel2.add(btclose);
    getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_END);
    jPanel3.setLayout(new java.awt.BorderLayout());
    jPanel4.setLayout(new java.awt.GridLayout(2, 1));
    jLabel2.setText("Key");
    btsearch.setText("Search");
    btsearch.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    btsearchActionPerformed(evt);
    javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
    jPanel8.setLayout(jPanel8Layout);
    jPanel8Layout.setHorizontalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
    .addComponent(btsearch)
    .addContainerGap(130, Short.MAX_VALUE))
    jPanel8Layout.setVerticalGroup(
    jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel8Layout.createSequentialGroup()
    .addGap(14, 14, 14)
    .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(jLabel2)
    .addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
    .addComponent(btsearch))
    .addContainerGap(13, Short.MAX_VALUE))
    jPanel4.add(jPanel8);
    buttonGroup1.add(rdbyname);
    rdbyname.setSelected(true);
    rdbyname.setText("By name");
    buttonGroup1.add(rdbydirector);
    rdbydirector.setText("By director");
    buttonGroup1.add(rdbygenre);
    rdbygenre.setText("By genre");
    buttonGroup1.add(rdbyyear);
    rdbyyear.setText("By year");
    javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
    jPanel9.setLayout(jPanel9Layout);
    jPanel9Layout.setHorizontalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addComponent(rdbyname)
    .addGap(36, 36, 36)
    .addComponent(rdbydirector)
    .addGap(37, 37, 37)
    .addComponent(rdbygenre)
    .addGap(33, 33, 33)
    .addComponent(rdbyyear)
    .addContainerGap(352, Short.MAX_VALUE))
    jPanel9Layout.setVerticalGroup(
    jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
    .addGroup(jPanel9Layout.createSequentialGroup()
    .addContainerGap()
    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
    .addComponent(rdbyname)
    .addComponent(rdbydirector)
    .addComponent(rdbygenre)
    .addComponent(rdbyyear))
    .addContainerGap(20, Short.MAX_VALUE))
    jPanel4.add(jPanel9);
    jPanel3.add(jPanel4, java.awt.BorderLayout.PAGE_START);
    jPanel5.setLayout(new java.awt.BorderLayout());
    jPanel6.setLayout(new java.awt.BorderLayout());
    lstMessages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(102, 102, 102)));
    jScrollPane1.setViewportView(lstMessages);
    jPanel6.add(jScrollPane1, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel6, java.awt.BorderLayout.PAGE_END);
    jPanel7.setLayout(new java.awt.BorderLayout());
    tabmovies.setModel(new javax.swing.table.DefaultTableModel(
    new Object [][] {
    new String [] {
    "Name", "Director", "Genre", "Release Year"
    jScrollPane2.setViewportView(tabmovies);
    jPanel7.add(jScrollPane2, java.awt.BorderLayout.CENTER);
    jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);
    jPanel3.add(jPanel5, java.awt.BorderLayout.CENTER);
    getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);
    pack();
    }// </editor-fold>//GEN-END:initComponents
    private void btcloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btcloseActionPerformed
    System.exit(0);
    }//GEN-LAST:event_btcloseActionPerformed
    private void btsearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btsearchActionPerformed
    searchMovies();
    }//GEN-LAST:event_btsearchActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btclose;
    private javax.swing.JButton btsearch;
    private javax.swing.ButtonGroup buttonGroup1;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JList lstMessages;
    private javax.swing.JRadioButton rdbydirector;
    private javax.swing.JRadioButton rdbygenre;
    private javax.swing.JRadioButton rdbyname;
    private javax.swing.JRadioButton rdbyyear;
    private javax.swing.JTable tabmovies;
    private javax.swing.JTextField txtkey;
    // End of variables declaration//GEN-END:variables
    private void searchMovies() {
    if(txtkey.getText().trim().length()==0){
    JOptionPane.showMessageDialog(null, "Please enter some words...");
    return;
    for(String ip : mappedips){
    modelmsg.addElement("Looking up node : " + ip);
    DataSourceMovies movies = null;
    try {
    ctx = new InitialContext();
    movies = (DataSourceMovies)ctx.lookup("rmi://" + ip + "/movieserver");
    } catch (Exception e) {
    modelmsg.addElement("Error contacting node...");
    e.printStackTrace();
    break;
    List<String[]> movieslist = null;
    try{
    if(rdbyname.isSelected())
    movieslist = movies.findMoviesByName(txtkey.getText().trim());
    else if(rdbydirector.isSelected())
    movieslist = movies.findMoviesByDirector(txtkey.getText().trim());
    else if(rdbygenre.isSelected())
    movieslist = movies.findMoviesByGenre(txtkey.getText().trim());
    else if(rdbyyear.isSelected()){
    try {
    movieslist = movies.findMoviesByYear(Integer.parseInt(txtkey.getText().trim()));
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Invalid year...");
    return;
    if(movieslist!=null && movieslist.size()>0){
    modelmsg.addElement("Songs found...");
    DefaultTableModel model = (DefaultTableModel) tabmovies.getModel();
    while(model.getRowCount()>0){
    model.removeRow(0);
    tabmovies.revalidate();
    for(String[] moviedata : movieslist)
    model.addRow(moviedata);
    catch(Exception ex) {
    modelmsg.addElement("Error reading data...");
    break;
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package com.agent.client.movies;
    import com.agent.client.Utility;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.net.Socket;
    import javax.swing.JLabel;
    import javax.swing.JOptionPane;
    import javax.swing.JWindow;
    import javax.swing.SwingConstants;
    public class MovieSplashScreen {
    private javax.swing.JLabel lbimage;
    private javax.swing.JLabel lbloading;
    private javax.swing.JLabel lbmobile;
    private javax.swing.JPanel panelBack;
    public static void main(String[] ar) {
    new MovieSplashScreen().displaySplash(ar[0]);
    public void displaySplash(String mapperip) {
    JWindow window = new JWindow();
    window.getContentPane().add(
    new JLabel("Loading JFrame...", SwingConstants.CENTER));
    window.setSize(525, 240);
    Utility.setInCenter(window);
    panelBack = new javax.swing.JPanel();
    lbimage = new javax.swing.JLabel();
    lbloading = new javax.swing.JLabel();
    lbmobile = new javax.swing.JLabel();
    panelBack.setBackground(new java.awt.Color(255, 255, 255));
    panelBack.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 102), 2));
    panelBack.setLayout(null);
    lbimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/agent/client/splash.jpg"))); // NOI18N
    panelBack.add(lbimage);
    lbimage.setBounds(250, 20, 250, 180);
    lbloading.setFont(new java.awt.Font("Showcard Gothic", 0, 30)); // NOI18N
    lbloading.setText("Loading...");
    panelBack.add(lbloading);
    lbloading.setBounds(50, 120, 210, 70);
    lbmobile.setFont(new java.awt.Font("Tekton Pro Cond", 0, 24)); // NOI18N
    lbmobile.setForeground(new java.awt.Color(0, 51, 51));
    lbmobile.setText("Mobile Agents 1.0");
    panelBack.add(lbmobile);
    lbmobile.setBounds(30, 20, 230, 40);
    window.add(panelBack, java.awt.BorderLayout.CENTER);
    window.setVisible(true);
    try {
    Thread.sleep(5000);
    } catch (InterruptedException e) {
    Socket client = null;
    try {
    client = new Socket(mapperip,2222);
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Mapping server down...");
    System.exit(0);
    DataInputStream din = null;
    DataOutputStream dout = null;
    String ips = null;
    try {
    din = new DataInputStream(client.getInputStream());
    dout = new DataOutputStream(client.getOutputStream());
    dout.writeUTF("movies");
    ips = din.readUTF();
    } catch (Exception e) {
    JOptionPane.showMessageDialog(null, "Cannot retrieve mappings...");
    e.printStackTrace();
    System.exit(0);
    window.setVisible(false);
    MovieClient sclient = new MovieClient(ips);
    sclient.setVisible(true);
    window.dispose();

  • How to compile jni source code include thirty-party library

    I use this command line to compile
    set JAVA_HOME=C:\Program Files\Java\jdk1.5.0_06
    set C_HOME=C:\Program Files\Microsoft Visual Studio\VC98
    set java_include=%JAVA_HOME%\include
    set win32=%JAVA_HOME%\include\win32
    set LIB=C:\Java
    set INCLUDE=C:\Java;%C_HOME%\include
    "%C_HOME%\bin\cl.exe" -I%java_include% -I%win32% -LD HelloWorldImp.c -Fehello.dll /link c:\thirty-party.lib

    you did direct compiling with linking.
    In order to obtain the not linked object you need to:
    gcc -l usb -c hello.c
    Finally you can link it to the binary as you did at hello:hello.o.

  • Compiling IVI-C driver source code

    I'd like to make some fixes into source code of IVI-C driver 'cause I have found some SCPI-command bugs in there.
    What are main steps in compiling the source code, which library function I must include (VISA-library?)?.
    I'm using LabView 7.1 and the driver in question is agpsgmxg (source code file is agpsgmxg.c) which I have downloaded from NI's idnet.
    I have MS Visual Studio environment.

    In CVI you would use Ctrl+K for compiling and then you would re-create the DLL and replace or rename it the existing one that is in IVI/Bin or IVIFoundation/Bin. Can you send feeback to [email protected] mentioned with the bugs found in the driver?  So we can document and look into the issue?

  • How To Compile Valhalla Chat Source Code

    Hey guys, I really need to know how to compile the source code of Valhalla Chat (www.valhallachat.com). If anyone knows how to do this, please post it here or email me at [email protected] I need to make a customized version of Valhalla so thats why i need to know how to compile. Thanks so much!

    It's also bad form to cross post.
    {color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5277791
    {color}
    Cross posting is rude.
    db

  • Could not start the portal server after installing Portal Source Code

    Hi all, I try to install the portal source code and compile portal source code on the development computer. It does not work. I use Visual Studio 2002. Now I can not start the portal server. I got the error. I delete source code from webapp\portal folder. I still get the following error.
    948 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest() Unable to load request data._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)949 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Server error._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)950 03-14 11:16:20 Info UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage() Server error, redirecting to error page.951 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Error displaying error page._com.plumtree.openfoundation.util.XPException_ at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at com.plumtree.openfoundation.util.XPException..ctor(String message) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, ISessionManager sessionManager, IApplication application, IPTSession ptSession) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, AActivitySpace asSpace) at com.plumtree.portalpages.common.uiparts.NavigationModel.Init(AActivitySpace parent) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName, String storageName) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName) at com.plumtree.portalpages.common.uiparts.PlumtreeAS.Init() at com.plumtree.portalpages.common.error.ErrorAS.Init() at com.plumtree.uiinfrastructure.activityspace.Interpreter.CreateSpace(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError(Exception e, Boolean bDisplayErrorInComments, RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    I don't know how to fix this problem. Should I reinstall portal server? Thank you for your help! Jan

    Hi all, I try to install the portal source code and compile portal source code on the development computer. It does not work. I use Visual Studio 2002. Now I can not start the portal server. I got the error. I delete source code from webapp\portal folder. I still get the following error.
    948 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest() Unable to load request data._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)949 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Server error._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)950 03-14 11:16:20 Info UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage() Server error, redirecting to error page.951 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Error displaying error page._com.plumtree.openfoundation.util.XPException_ at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at com.plumtree.openfoundation.util.XPException..ctor(String message) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, ISessionManager sessionManager, IApplication application, IPTSession ptSession) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, AActivitySpace asSpace) at com.plumtree.portalpages.common.uiparts.NavigationModel.Init(AActivitySpace parent) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName, String storageName) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName) at com.plumtree.portalpages.common.uiparts.PlumtreeAS.Init() at com.plumtree.portalpages.common.error.ErrorAS.Init() at com.plumtree.uiinfrastructure.activityspace.Interpreter.CreateSpace(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError(Exception e, Boolean bDisplayErrorInComments, RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    I don't know how to fix this problem. Should I reinstall portal server? Thank you for your help! Jan

Maybe you are looking for