Putting java programs to the server

Is there any fast way/tutorial to put a java application to the server for multi users?
Can it be done easily by using Eclipse?
Can any one help me please?
Thank you.

It's silly to say that I'm very new to Java and Eclipse.
Actually, I've done a project to update data for a company, and I need to find a way to put it into the company server. This program using Swing to show a GUI and allow one user update data at a time. Then data will be saved to file(configuration file), therefore, only one user can do it at a time.
Please help me for any quick tutorial or sample codes which are similar to my job.
Thank you.

Similar Messages

  • How to run Java program as Daemon Server in linux

    How to run Java program as Daemon Server in linux
    i would like to run the java program on system start up in a redhat linux system
    can any one provide rc.status file

    http://wrapper.tanukisoftware.org/

  • How to put messages back on the server

    by accident, I set up an account that deleted received messages from teh server. I believe that I set this up as a pop account. Is it possible to put messages back on the server? I couldn't see an option for this and it is important that I be able to check these messages via webmail.
    any help would be greatly appreciated.
    thanks
    m

    Before doing anything, I encourage you to make a backup copy of the entire ~/Library/Mail folder, in case something goes wrong (quit Mail first). You can do this in the Finder by dragging the folder to the Desktop while holding the Option (Alt) key down, for example. This is where all your mail is stored.
    You cannot have two accounts of the same type in Mail with the same username and incoming mail server. You can, however, set up two mail accounts with the same username and incoming mail server IF the account type is different.
    That is, if you really did set up this account as POP, you can set it up also as IMAP in Mail without deleting the POP account first. You should, however, disable Preferences > Accounts > Advanced > Include when automatically checking for new mail (but keep Enable this account checked) for the POP account, to avoid it interfering with the IMAP account. You can then move any messages to the mailboxes of the IMAP account where you want them to be.
    EDITED: The above assumes that the provider of this account allows you to access it as either POP or IMAP, and that you chose POP by mistake. If POP is your only option and the mistake is just that the account was configured to remove messages from the server when in fact you didn't want to do that, then that's a different problem...
    Note: For those not familiarized with the ~/ notation, it refers to the user's home folder, i.e. ~/Library is the Library folder within the user's home folder.

  • Help! Dreamweaver keeps automatically 'putting' my template onto the server every time I save it.

    For some reason Dreamweaver keeps automatically 'putting' my template onto the server every time I save it, overwriting the template that was originally on there and I don't know why. It never used to do this and all my other sites work fine and don't have this problem... I don't want it to keep overwriting the files I have on the server... does anyone know how to stop it from doing this please? I would greatly appreciate any help anyone can give.
    If it helps, I'm using CS4.
    Thanks,
    Catherine.

    Thank you!
    For this particular website I only have one template. The website is up and running online, but I'm still working on it, trying to improve it and I'd like to preview before I upload it to the server and alter the other pages. I did have a backup of the template on the server as you said, but because I was experimenting with something in the local copy, the design changed quite a lot, and suddenly it was 'put' automatically (which was something it had never done before) resulting in a loss of the original template. Fortunately I ignored the prompt asking me to update the pages from this template, so the overall design of my live website has remained in tact. I pressed F12 as I always do and instead of taking me to my default browser for live preview, it 'put' the template onto the server. This is what I'd like to avoid doing again.
    Thank you for your response! I really appreciate your help.
    Catherine.

  • How to put a Java Program into the System tray

    Hi all of the forum!!
    I have a question. I want to make a monitor program but I don't know how to put the program in the system tray or just to execute the program but automatically (no manual execute), but i dont want that the program appear in a window, just start to function when i start my PC. i hope anybody help me.
    Thanks
    Best Regards
    Bucio, Francisco

    There is a plenty of similar topics here, so you can use the Search on this forum or in Google to find out.
    But shortly, you will need to use JNI or get a ready-to-use library like JNIWrapper (http://www.jniwrapper.com/winpack.jsp#tray), for example, that lets you do what you want.
    Good luck,
    EToporov

  • How do I establish a connection to another Java program on the net?

    Hi all,
    I have been reading the java tutorial to find a solution to my problem but I havent really found what Im looking for.
    I want to establish a connection that allows a client to get a copy of an object from a running java-application on a server on the internet.
    I have read about the Socket-class but the tutoral advices only to use it on a locale network. I know IDL and RMI only by name - is this what I should be reading about?
    If one of you guys have a source-code example on how to make java programs communicate over the net, please post it!
    Regards Albert

    Assuming this is "wide area" stuff, not just on a local area network, your best bet is to stick to http connections. You need a web server, probably Tomcat.
    Your client can connect using URL.openConnection().
    As to protocols you could use SOAP. It has the advantage that you can get the code for it for free, but it can be pretty complicated to configure. In particular it only knows how to transmit a limited set of object types and if you want to go beyond them you have to write converters. SOAP servers typically run under an web server anyway. SOAP converts all the data to XML for transmission.
    However it may be simpler to use Java's built in serialisation facility and send your data as an ObjectStream.
    In the set up you're talking about the message going to the server seems a lot simpler than the response. It may make sense to send your data as normal keyword parameters of a POST transaction but to have the server respond with an Object stream. That's well within the normal operation of a web server.

  • Java Program destroys Linux Server Display or Server logs out Automatically

    hi,
    i am facing problem when my servlet program is running.
    my servlet starts a process at server which is a simple java program which publishes PDF,
    XML, RTF files and lates long to run for about 45 minutes.
    i give a call to a shell file on the server (Red Hat Linux 9.0) which in turns calls a java
    program that runs on gnome-terminal.
    i have started Tomcat from SSh for that i have exported DISPLAY (Environment variable) from
    .bash_profile. i need to do this because i need graphics environment (X11 Windows) for jfor
    which is used print jpeg images in PDF and RTF reports.
    PROBLEM
    Some time my server display gets destroyed or the server gets Logout automatically, when my
    process is running.
    following is sode to start a gnome-terminal
    strCommand="gnome-terminal -x /root/PWAppSh/StartPartialRunOff.sh PartialRunOffApp "+
    strpubType + " "  +  strGroupNumber +" "+ id + " " + Cur_Time+" "+ strPubDate +" "+
    strFromDate +" "+ strToDate ;
    p = rt.getRuntime().exec(strCommand);
    BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(strRootPath
    + "/pw/WEB-INF/classes/pid.txt")));
                             pid= "";
                             while((pid = br.readLine()) != null)
                                  getPid=pid;
                             ses.setAttribute("process",getPid);
                             ses.setAttribute("RunType",strrunType);
                             System.out.println("#Get Process ID:"+getPid);
                             FileOutputStream fos = new
    FileOutputStream(strRootPath+"/pw/System/Mgmt/Sessions/RunoffOutput.txt");
                             Stdout_Stderr errorGobbler = new
                                  Stdout_Stderr(p.getErrorStream(), "ERROR");
                             // any output?
                             Stdout_Stderr outputGobbler = new
                                  Stdout_Stderr(p.getInputStream(), "OUTPUT",
    fos);
                             // kick them off
                             errorGobbler.start();
                             outputGobbler.start();
                             // any error???
                             int exitVal = p.waitFor();
                             System.out.println("StartRunoff ExitValue: " +
    exitVal);shell script that get executed from servlet is as followes
    cd /
    cd /share/Tomcat-4/jakarta-tomcat-4.1.31/webapps/pw/WEB-INF/classes
         echo $$ > pid.txt
         echo "Path: `pwd`"
         echo "Process ID:" $$
         chmod 777 pid.txt
         echo Redirecting ProcessID
         echo "Current shell : " $SHELL   
         export
    PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.2_08/bin:/usr/java/j2sdk1.4.2_08/lib:.:/share/amol/l
    ib/.:
         export
    CLASSPATH=.:/share/amol/lib/activation-1.0.1.jar:/share/amol/lib/ant.jar:/share/amol/lib/ava
    lon-framework-cvs-20020806.jar:/share/amol/lib/batik.jar:/share/amol/lib/fop.jar:/share/amol
    /lib/jfor-0.7.2rc1.jar:/share/amol/lib/xalan-2.4.1.jar:/share/amol/lib/mail-1.2.jar:/share/a
    mol/lib/xerces-1.2.3.jar:/share/amol/lib/jimi-1.0.jar:/share/amol/lib/logkit-1.0.1.jar:/shar
    e/amol/lib/firebirdsql-full.jar:/share/amol/lib/xercesImpl-2.2.1.jar
         exec java -server -Xmx256m -Xoss200M PW/Runoff/$1 $2 $3 $4 $5 $6 $7setting that i have done in .bash_profile file
    DISPLAY=$HOST:0
    export DISPLAY HOSTcan any one suggest or any solution to problem why my linux server Logsout ar display gets
    destroyed when my Program is runnig on Gnome terminal.
    kindly help me,
    Thanks in advance for ur most important suggestion or solution.

    Sounds a lot like a bug in some of the native libraries you use (or even in AWT). Try looking into your log files (especially for X and for your tomcat) to find out if any error messages are printed.
    Additionally there are X servers out there that don't need any concrete display hardware to run (Xvfb comes to my mind, but IIRC there are more modern alternatives available). Usign that might or might not solve your problem, but would be a good idea either way.

  • Java program - over the net arguments

    Hi Friends,
    I have a java program that accepts inputs as agruments and produces a result file eg:
    java MyProgram input1.wav input2.wav output.wavThe program works fine if the input files are on local computer but i want the input files to come over the internet eg:
    java MyProgram http://www.xyz.com/input1.wav http://www.xyz.com/input2.wav http://www.xyz.com/output.wavCan someone please tell me how to do this. I tried to make a servlet that calls this java program but it didn't worked...
    Please give me some ideas as to how to implement this..
    Thanks

    I would like to make an API, so that when the program
    gets the parameters,it automatically downloads and
    processes them and then provides the output file??
    Do,I need to establish a HTTP connection to that
    server first from which I need to access the files???Have a look at Sun's lesson: Working with URLs:
    http://java.sun.com/docs/books/tutorial/networking/urls/index.html

  • Put java program on website

    I made a Java program I can compile and run. the questions and outputs are displayed with JOptionPane.showInput/showMessageDialog, so I'm not using System.out.prinln. How can I put this in a website. Is it possible to do something like : <java src="tool.java"> or <program src="tool.class"> or is there a other way. What is the most easy way ?? so I dont have to change much ?? Because it's quite a long program.

    Pppfftt ... thats to bad, because I read In Y.Daniel Liangs Java Programming how applets are made .. and its totaly different then the code I allready have :
    import javax.swing.JOptionPane;
    public class tool {
         public static void main(String[] args) {
             String aString = JOptionPane.showInputDialog(null,
             "Maak een keuze uit de volgende omrekeningen :\n1   Inch naar centimeter\n2   Centimeter naar inch\n3   Inch naar millimeter\n4   Millimeter naar inch\n5   Voet naar meter\n6   Meter naar voet\n7   Yard naar meter\n8   Meter naar yard\n9   Mijl naar kilometer\n10   Kilometer naar mijl\n\n0   Stop","Tools",JOptionPane.QUESTION_MESSAGE);
             int a = Integer.parseInt(aString);
             while (a != 0){               
              if (a == 1){
                   String bString = JOptionPane.showInputDialog(null,
                   "Hoeveel Inch ?","Tool - Inch naar centimeter",JOptionPane.QUESTION_MESSAGE);
                   double b = Double.parseDouble(bString);
                   double c = b * 2.54;
                   c = (int)(c * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   b+" Inch is "+c+" centimeter","Tool - Inch naar centimeter",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 2){
                   String dString = JOptionPane.showInputDialog(null,
                   "Hoeveel Centimeter ?","Tool - Centimeter naar inch",JOptionPane.QUESTION_MESSAGE);
                   double d = Double.parseDouble(dString);
                   double e = d / 2.54;
                   e = (int)(e * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   d+" Centimeter is "+e+" inch","Tool - Centimeter naar inch",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 3){
                   String fString = JOptionPane.showInputDialog(null,
                   "Hoeveel Inch ?","Tool - Inch naar millimeter",JOptionPane.QUESTION_MESSAGE);
                   double f = Double.parseDouble(fString);
                   double g = f * 25.40;
                   g = (int)(g * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   f+" Inch is "+g+" millimeter","Tool - Inch naar millimeter",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 4){
                   String hString = JOptionPane.showInputDialog(null,
                   "Hoeveel Millimeter ?","Tool - Millemeter naar inch",JOptionPane.QUESTION_MESSAGE);
                   double h = Double.parseDouble(hString);
                   double i = h / 25.40;
                   i = (int)(i * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   h+" Millimeter is "+i+" inch","Tool - Millimeter naar inch",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 5){
                   String jString = JOptionPane.showInputDialog(null,
                   "Hoeveel Voet ?","Tool - Voet naar meter",JOptionPane.QUESTION_MESSAGE);
                   double j = Double.parseDouble(jString);
                   double k = j * 0.31;
                   k = (int)(k * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   j+" Voet is "+k+" meter","Tool - Voet naar meter",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 6){
                   String lString = JOptionPane.showInputDialog(null,
                   "Hoeveel Meter ?","Tool - Meter naar voet",JOptionPane.QUESTION_MESSAGE);
                   double l = Double.parseDouble(lString);
                   double m = l / 0.31;
                   m = (int)(m * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   l+" Meter is "+m+" voet","Tool - Meter naar voet",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 7){
                   String nString = JOptionPane.showInputDialog(null,
                   "Hoeveel Yard ?","Tool - Yard naar meter",JOptionPane.QUESTION_MESSAGE);
                   double n = Double.parseDouble(nString);
                   double o = n * 0.91;
                   o = (int)(o * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   n+" Yard is "+o+" meter","Tool - Yard naar meter",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 8){
                   String pString = JOptionPane.showInputDialog(null,
                   "Hoeveel Meter ?","Tool - Meter naar yard",JOptionPane.QUESTION_MESSAGE);
                   double p = Double.parseDouble(pString);
                   double q = p / 0.91;
                   q = (int)(q * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   p+" Meter is "+q+" yard","Tool - Meter naar yard",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 9){
                   String rString = JOptionPane.showInputDialog(null,
                   "Hoeveel Mijl ?","Tool - Mijl naar Kilometer",JOptionPane.QUESTION_MESSAGE);
                   double r = Double.parseDouble(rString);
                   double s = r * 1.61;
                   r = (int)(r * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   r+" Mijl is "+s+" kilometer","Tool - Mijl naar Kilometer",JOptionPane.INFORMATION_MESSAGE);
              else if (a == 10){
                   String tString = JOptionPane.showInputDialog(null,
                   "Hoeveel Kilometer ?","Tool - Kilometer naar mijl",JOptionPane.QUESTION_MESSAGE);
                   double t = Double.parseDouble(tString);
                   double u = t / 1.61;
                   u = (int)(u * 100) / 100.0;
                   JOptionPane.showMessageDialog(null,
                   t+" Kilometer is "+u+" mijl","Tool - Kilometer naar mijl",JOptionPane.INFORMATION_MESSAGE);
              else {
                   JOptionPane.showMessageDialog(null,
                   a+" mag niet, voer een getal van 0 tot 10 in !","ERROR",JOptionPane.ERROR_MESSAGE);
              aString = JOptionPane.showInputDialog(null,
              "Maak een keuze uit de volgende omrekeningen :\n1   Inch naar centimeter\n2   Centimeter naar inch\n3   Inch naar millimeter\n4   Millimeter naar inch\n5   Voet naar meter\n6   Meter naar voet\n7   Yard naar meter\n8   Meter naar yard\n9   Mijl naar kilometer\n10   Kilometer naar mijl\n\n0   Stop","Tools",JOptionPane.QUESTION_MESSAGE);
              a = Integer.parseInt(aString);
              so ... thnx anyway ...

  • Executing a program when the server starts

    I have developed a chat program and to run it I have type "java ChatManager".
    Is there a way where this program can start automatically when I start the tomcat.
    Regards,
    Sharad

    The chat application is a java file. I need to keep it running so that I can use it in my applet. The problem is after I start the tomcat, I have start the chat application and for this I open a new window and type "java ChatManager". Once this is done I can start using the chat applet. Is there a way, where the chat application starts automatically when the tomcat starts. Do I need to add something in the server.xml file for this.
    Regards,
    Sharad

  • How to execute a java application once the server starts

    I have created a java application which executes correctly. I want this application to execute everytime I start my server. I have modified my web.xml as shown below
    <servlet>
    <servlet-name>SendEmail</servlet-name>
    <servlet-class>
    com.allcorp.alliance.tdocs.servlets.SendEmail</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    <load-on-startup>1</load-on-startup>
    </init-param>
    </servlet>
    I have extended the class with HttpServlet. When I start the server, I get the message saying the class is being initializing but it does not execute. I want the application to execute. Any idea what I need to do.

    BalusC wrote:
    Implement ServletContextListener and run the appplication on creation of the ServletContext.Well i understand implementation of ServletContextListener and by overiding contextInitialized(ServletContextEvent se) accordingly can solve the problem.
    but you need to consider two cases here first
    1).ServletContextListener is not supported by all container especially the minor onces which does not support Servlet 2.3 specification.
    2).OP does not have any idea of how to use a Servlet first if you can see he had written his intialization code in the main method.Now how can you expect him to create a listener..... :)
    I hope there are no hard issues on what i said this time.
    *@OP*
    My friend the bad news is that you need to spend bit of time learning about servlets.U'd not be writing intialization code inside a main rather you'd be doing it inside public void init(ServletConfig config) method.
    by making <load-on-startup><!--value</load-on-startup> in web.xml enables Servlet container to call init method at the time of deployment of the web application else where it'd call the init method whenever servlet encounters first request from a client.
    package com.allcorp.alliance.tdocs.servlets;
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.servlet.http.*;
    import javax.servlet.*;
    import javax.activation.*;
    * @author ssa3z
    * TODO To change the template for this generated type comment go to
    * Window - Preferences - Java - Code Style - Code Templates
    public class SendEmail extends HttpServlet{
    public void init(ServletConfig config) {
        // SUBSTITUTE YOUR EMAIL ADDRESSES HERE!!!
        String to = "[email protected]";
        String from = "[email protected]";
        // SUBSTITUTE YOUR ISP'S MAIL SERVER HERE!!!
        String host = "smtp.allstate.com";
        // Create properties, get Session
        Properties props = new Properties();
       // If using static Transport.send(),
      // need to specify which host to send it to
      props.put("mail.smtp.host", host);
      // To see what is going on behind the scene
      props.put("mail.debug", "true");
      Session session = Session.getInstance(props);
      try {
         // Instantiatee a message
         Message msg = new MimeMessage(session);
         //Set message attributes
         msg.setFrom(new InternetAddress(from));
         InternetAddress[] address = {new InternetAddress(to)};
         msg.setRecipients(Message.RecipientType.TO, address);
         msg.setSubject("Test E-Mail through Java");
         msg.setSentDate(new Date());
         // Set message content
         msg.setText("This is a test of sending a " +"plain text e-mail through Java.\n" +"Here is line 2.");
         //Send the message
         Transport.send(msg);
      }catch (MessagingException mex) {
        mex.printStackTrace();
    } Hope this might help :)
    REGARDS,
    RaHuL

  • Java Program on the Internet -How? Urgent

    Hello,
    I developed a Mutithread TCPIP socket based Network program "Forex Simulator". It's an applet both from the server side and client side. The Program needs to access the socket as well as Database. The Program is simple. After starting server, many clients can connect and buy and sell currency.
    I ran this in my home LAN. Initially, I was having trouble with running applet which rejects socket connection. After searching on the net I modified the Java Run Time Environment java.Policy file and modify permission to connect to my server IP and it works.
    I have to upload this program on to internet in a shared server. What should I follow to successfully run this on the net.
    There are many java chat program, chart, forex simulator running on the internet. How can I implement my program like that.
    Thanking you.
    Please please reply me, if someone knows it.

    Thanks for your comments.
    1.- Applets are not server side application but, client side, this means that ALWAYS an applet is downloaded to each client machine and if your "server applet" opens sockets, then every client machine will have its sockets opened but not the web server.
    Now I understand what applet really does. My server applet opens socket in my local machine. But I don' want that. I want the program to open the socket on server that means in my case http://webpagedesignpro.com and client will connect to the port of that server.
    3.- To create a server on your web server you need to run a stand alone app on the server or use something like J2EE
    I badly need to implement my program on the internet. Is there any tutorials or example anywhere for "How to run standalone program on a web server " or J2ee.Standalone means it's not an applet, am I right? As ejp mentioned there is no server applet, so how can I make the serverside program running on a server where client can connect to that server.
    Finally, What are the steps of or what is the java technology which can run a chat server on the net where people from all over the world can chat to each other. My program is same as a chat server.
    Thanks again.

  • Calling a remote program on the server from the client

    Hi, I'm new to Java/Jdeveloper/Oracle I'm writing a small app in
    Jdeveloper 3.2 running on Windows that connects to an Oracle
    8.1.6 on a Redhat Linux. I have a few programs writen in C that
    run on the server, and would like to call them from the client
    machine with a few parameters. is there a way of doing that?
    it's just like calling "ls -la filename" from the remote
    client. BTW, I don't need to get a response from the server, I
    just need to initiate the call.
    Thanks for any help.
    John

    JDeveloper is an IDE not a platform. what sort of app are you
    writing: client server application, applet, JSP?
    APC

  • Running java program as a server

    Please advise of what's difference in running java program with -server option and just runing it like java program1?
    Thx

    -server option uses the server VM for the program and if you use -client it will be run using client VM. Default is client.
    The main difference is the optimations. When you are running with -client option the program is optimized to startup faster and to give better response times.
    -server option optimizes for better resourse management which is important than start up time in server systems

  • Encountering exceptions when running a java program in the db

    hi,
    when running the following following program in oracle11g, AIX (5300-07)
    DROP JAVA SOURCE DIRLIST;
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED DIRLIST as import java.io.*;
    import java.sql.*;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    public class DirList
    public static void getList(String directory)
    throws SQLException
    File path = new File( directory );
    String[] list = path.list();
    String element;
    for(int i = 0; i < list.length; i++)
    element = list;
    String fpath=directory+"/"+list[i];
    File f = new File(fpath);
    long len;
    Date date;
    String ftype;
    String sqldate;
    SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss:S");
    if (f.isFile()) {
    len = f.length();
    date = new Date(f.lastModified());
    sqldate = df.format(date) ;
    ftype = "F";
    else {
    len = 0;
    sqldate = null;
    ftype = "D";
    #sql { INSERT INTO DIR_LIST (FILENAME, filelength, filetype, filemodified)
    VALUES (:element, :len, :ftype, to_timestamp(:sqldate,'YYYY-MM-DD HH24:MI:SS:FF3'))
    we are encountering the following issues..
    SQL> sho error JAVA SOURCE DIRLIST
    Errors for JAVA SOURCE DIRLIST:
    LINE/COL ERROR
    0/0 An exception has occurred in the compiler (1.5.0_10). Please
    file a bug at the Java Developer Connection
    (http://java.sun.com/webapps/bugreport) after checking the Bug
    Parade for duplicates. Include your program and the following
    diagnostic in your report. Thank you.
    0/0 java.lang.NullPointerException
    0/0 at
    com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:4
    80)
    LINE/COL ERROR
    0/0 at
    oracle.aurora.jdkcompiler.JdkDriver.compile(JdkDriver.java:570)
    0/0 at oracle.aurora.rdbms.Compiler.compile(Compiler.java:322)
    0/0 at oracle.aurora.rdbms.Compiler.access$000(Compiler.java:57)
    0/0 at oracle.aurora.rdbms.Compiler$1.run(Compiler.java:324)
    0/0 at java.security.AccessController.doPrivileged(Native Method)
    0/0 at oracle.aurora.rdbms.Compiler.doCompile(Compiler.java:651)
    In trace files there are another set of exceptions that are getting generated when this program is running as shown below
    joez_compile_method: failed compiling method oracle/aurora/sqljdecl/SqljDecl.jj_
    scan_token with oracle/aurora/zephyr/util/JITCompileException:class java.lang.Ar
    rayIndexOutOfBoundsException:null
    oracle.aurora.zephyr.util.JITCompileException: class java.lang.ArrayIndexOutOfBo
    undsException:null
    at oracle.aurora.zephyr.util.Debug.assert_(Debug.java:67)
    at oracle.aurora.zephyr.JITDriver.jitMethod(JITDriver.java:197)
    at oracle.aurora.zephyr.JITDriver.jitMethod(JITDriver.java:71)
    at oracle.aurora.vm.OracleRuntime.jitOneMethod(Native Method)
    at oracle.aurora.vm.OracleRuntime.jitSomeMethods(OracleRuntime.java:758)
    Caused by: java.lang.ArrayIndexOutOfBoundsException
    at java.util.Vector.addElement(Vector.java:582)
    at java.util.Stack.push(Stack.java:44)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.push(ByteCodeToMIR.java:4
    03)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.pushRef(ByteCodeToMIR.jav
    a:406)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.translateBasicBlock(ByteC
    odeToMIR.java:1822)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.translateMethod(ByteCodeT
    oMIR.java:824)
    at oracle.aurora.zephyr.bytecode.ByteCodeToMIR.translateMethod(ByteCodeT
    oMIR.java:4633)
    at oracle.aurora.zephyr.JITDriver.jitMethod(JITDriver.java:125)
    ... 3 more
    We been trying for couple of weeks to figure out the issue.
    Has anyone encountered this issue or having solution in rectifying this please share with us..
    Thanks

    If you mean can you run it as a windows 2000 service so the user doesn't see it yes you can.
    I recommend the following Java Service wrapper program:
    http://www.eworksmart.com/JNT/
    It's quite simple to set up and will start when the user logs in (so long as the service is set to start automatically).
    Hope that helps,
    Seigers.

Maybe you are looking for