Aparently Java code ISN'T portable. Or I'm just an idiot. You decide.

Jokes aside, I really do need some help with this.
I wrote a class extending Timer that sets off 2 TimerTasks.
The first runs every minute. It checks an oracle database to see if process.flag is set to 2 (done through a JSP page by the user). If so, it executes Timer.close() and sets process.flag to 0. Otherwise, it updates process.time to the current time.
The second runs every hour. It executes a series of methods that update various other tables in the database keeping the records up-to-date while occasionally firing off an email if certain conditions are present.
Here's the problem. It runs perfectly well on the development server. The only time it shuts down is when I visit daemon.jsp and click my "shutdown" button OR when the server itself shuts down.
On the production server however, the same code modified ONLY to point to a different Oracle database (same tables, etc.) will run once and then shut itself down.
The development server is running JRun w/ JDK v. 1.4.2_03. The production server is also JRun, JDK version 1.4.1 but will be upgraded this weekend to version 1.4.2.
Does anyone have any idea why the "same" code is running as expected on one server but failing on the other? I know that it does compile and run at least once on production because it updates the appropriate tables on that one run.

What happens if you run it on a development server
that has the same version of java as the production
server? It's best to always have a QA environment
that's exactly the same or as close as possible to
production, if possible.I don't have any control over that, unfortunately. We have the one development server (that I have access to, anyway) and I'm basically limited to putting my files on it and modifying them. The production server is the same way.
I'm hoping that the upgrade this weekend will fix the problem, especially since we're supposed to "go live" on Monday and not having this issue fixed will mean having to manually start, restart, restart again... etc. the process every hour until I find a new solution.

Similar Messages

  • Starting exetutable java file from java code

    Hi I was wondering how I can start a executable java file from java code?
    thanks

    Hi Mkaveli,
    Yes, it's possible. If you have a JAR executable, you've just to call the main method of its starter class. For a simple executable class, just call its main method.
    This way :
    SomeStarter.main(null); // if there's no argumentSmall precision : the executable JAR or class must be specified in the classpath of your application.

  • Regarding use of java code inside javascript

    Hi ,
    I have doubt regarding how to use java code inside javascript,
    i am giving my application code here
    <%@page import="java.util.*"%>
    <%@ page import="com.suuny.sard.pmt.pat.*"%>
    <SCRIPT LANGUAGE="JavaScript">
    function fun(){
         var ac=document.login.Projectname.options[document.login.Projectname.selectedIndex].value;
         var c = document.login.task1.value;
         alert(ac);
         alert(c);
         return true;
    </SCRIPT>
    <form name="login" action="/pmt/jsp/Leavemanagement/Leave_Ems_HomePage.jsp" method="get" encType="x-www-form-encoded" >
    <table width="100%" Align="Center" cellspacing="0" cellpadding="0" border="0">
    <tr class="tablerow"><td colspan="6" align="center"><font class="pagehead" align="center">Create Tasks</font></td></tr>
         <tr class="tableheader">
              <th>Project
              <th>Task-Id
              <th>TaskName
              <th>Assigned To
              <th>description
              <th>Milestone
         </tr>
         <%
              for(int i=1;i<2;i++){%>
                   <tr class="tablerow"><td align="center">
                   <select class="SELECT" NAME="Projectname" VALUE=" " onchange="return fun();" >
                   <!--<option value=""> </option>-->
                   <%
                        ArrayList ar =null;
                        ArrayList projectids=null;
                        Hashtable ht = new Hashtable();
                        ProjectNames pnames=new ProjectNames();
                   ht = pnames.getProjectNames();
                        ar=(ArrayList)ht.get("projects");
                        projectids=(ArrayList)ht.get("projectIds");
                        for(int j=0;j<ar.size();j++){
                        out.println("<option value=\""+projectids.get(j)+"\">"+ar.get(j)+"</option>");
                   %>
    </select>
         <%
                   out.println("<td align=\"center\"><input type=\"text\" name=\"task"+i+"\"value=\"\" size=\"25\"></td>");
                   out.println("<td align=\"center\"><input type=\"text\" name=\"taskname"+i+"\"value=\"\" size=\"25\"></td>");
              %>
              <td align="center">
                             <select class="SELECT" NAME="Projectname1" VALUE=" ">
                             <!--<option value=""> </option>-->
                             <%
                                  ArrayList ar1 =null;
                             ar1 = pnames.getProjectResource("VXML02");
                                  for(int j=0;j<ar1.size();j++){
                                  out.println("<option value=\""+ar1.get(j)+"\">"+ar1.get(j)+"</option>");
                             %>
    </select>
              <%
                   out.println("<td align=\"center\"><input type=\"text\" name=\"description"+i+"\"value=\"\" size=\"25\"></td>");
                   out.println("<td align=\"center\"><input type=\"text\" name=\"milestone"+i+"\"value=\"\" size=\"25\"></td><tr>");
              out.println("<tr class=\"tablerow\"><td colspan=\"6\" align=\"center\"><input class=\"txtbuttonsmall\" type=\"submit\" value=\"save\"></td>");
         %>
    </Table>
    </form>
    My question is :
    I selected one project from first combo box ,i need project members corresponding to the project.
    In my code "pnames.getProjectResource("VXML02");" in this function iam passing one static projrct value,but i need dynamically selected project from first combo box(<select class="SELECT" NAME="Projectname" VALUE=" " onchange="return fun();" >),so please help me guys.

    Hi Marco,
    I "executed" some java code within XSLs file. I have quoted the word executed because I didn't really run java code, but I used a simply trick that I describe you below.
    Into your XSLs put an iframe which is hided (it has an height of 0 pixel). As src of the iframe put the address of a portal component which execute your code (in my case calculate some PCD URL of some pages into a defined role). As result of component execution, I use the response.write method in order to execute some jscript code, which is able to interact with the HTML generated by XSLs files, for example in my case response.write put the PCD URL into a drop down list placed into the "edit" form.
    This works fine. I don't know if is suitable also for your case, anyway could be a hint, but pay attention to Roland's recommendations.
    Ciao
    Roberto

  • Use of Java Code within the generated XML Forms Stylesheets

    Hello,
    is the use of Java-Code possible with the XSL-Files generated by XML-Forms, as possible in standard XSLs? I know that this would mean a modification.
    kind regards,
    Marco

    Hi Marco,
    I "executed" some java code within XSLs file. I have quoted the word executed because I didn't really run java code, but I used a simply trick that I describe you below.
    Into your XSLs put an iframe which is hided (it has an height of 0 pixel). As src of the iframe put the address of a portal component which execute your code (in my case calculate some PCD URL of some pages into a defined role). As result of component execution, I use the response.write method in order to execute some jscript code, which is able to interact with the HTML generated by XSLs files, for example in my case response.write put the PCD URL into a drop down list placed into the "edit" form.
    This works fine. I don't know if is suitable also for your case, anyway could be a hint, but pay attention to Roland's recommendations.
    Ciao
    Roberto

  • Run java code on report completion

    I understand that Business Objects allows for custom notifications when a scheduled report is completed successfully.  Is there a way in Java to be notified when a report is successfully completed?  I want to run some code upon report completion.  Thanks.

    When you create a schedule event, you can decide if the event will be triggered when the report succeeds, fails, or both. 
    You can then set it up so that each time the event is triggered, a java app that has been published to enterprise is run.  The difficulty here is that you will probably want to know exactly "which" report has completed succcesfully (Unless you set up a seperate event for each report) - and I don't know of any way to do that reliably.
    But if you just want some java code to run each time a report is completed, then you can use this method.
    So the steps would be:
    1. Create Schedule Event
    2. When you schedule the report - assign the event to it (You won't be able to do this in the CMC - you need to use either custom code or Infoview)
    3. Publish your java code to Enterprise
    4. Schedule your java code to run, and set the events to wait for to the event you assigned in Step 2
    a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite

  • Also VERY frustrated:  No java-code executing within JSP

    Hi!
    I'm completely frustrated at last! It must be possible to install tomcat/apache correct but I'm not able to do so!
    New problem:
    I try to view a jsp with IE6 by selecting File\Open. If I choose the copy at '\tomcat\webapps\examples\WEB-INF\jspjbex4.jsp' suddenly Dreamweaver opens and show me the code of 'jbex4.jsp'. When I open a copy of jbex4.jsp located anywhere else on my computer the jsp is shown, but the problem is: No javabean-code is used although it is coded correctly.
    I guess the problem is with some classpath or something quite simillar. When I try to view the examples delivered by tomcat I've got the same problem: Whereever there should be output generated by java-code (e.g. by calling a method like <%= test.getDM() %>) there's nothing!!!!!
    So I checked if apache is working correctly. The test page is shown correctly. So the error must occure somewhere under tomcat. But when starting tomcat I receive no error message..
    Can anyone please help me?
    Thanx a lot!!!!!
    p.s. Yes, 'Normal' java-code is executed fine!

    With tomcat 1.3.3 you place the xml file with the context mapping in the conf folder under the tomcat install directory. You must give the xml file a name that starts with "apps-" followed by something unique, followed by ".xml". So for examle apps-testapp.xml is good. Inside the xml file place the code I gave you above then restart tomcat. Make sure to change the docBase value to the directory that contains your WEB_INF folder and change the path to whatever you want. If the path is set to "/" then you would use the url http://www.yourdomain.com/yourjsp.jsp. If the path is set to "/TestApp" then you use the URL http://www.yourdomain.com/TestApp/yourjsp.jsp.
    For newer version of tomcat I am not sure exactly where the context mapping goes. Instead of in an apps-xyz.xml file it might go in tomcats server.xml file which should also be in the conf directory in the tomcat install directory.
    Each webapp has its own config file which should be at /WEB-INF/web.xml. Look on google or something about that. All your classes go in /WEB-INF/classes/package.name/class.class.
    Put your class files into packages!
    for you you should put your bean at /WEB-INF/classes/testpackage/JspTest.class.
    In the code for JspTest.java place "package testpackage;" at the top then recompile. In your JSP file use <jsp:useBean id="ex4" scope="session" class="testpackage.JspTest" />
    -S-

  • Need a java code using swing that can do master configuration

    I need a java code using swing that can do master configuration.For example, in the 1st screen it will show all configuration checke boxes . According to those selected check box, it will show the needed panels sequentially and finnaly it will update many xml files.

    TapasB wrote:
    I need a java code .......and I wish you much luck in creating it. Please come back if you have a specific question on a specific part of your code that is not working quite right.

  • Java code for converting EDI file to XML file

    Dear friends,
                     Can you please help me in getting the java code for converting to EDI file to XML file.

    Hi,
    You can convert the EDI file to XML in any of the ways
    1) Using third party seeburger adapters
    2) Conversion agent
    3) Stylus studio.
    I think using java code it will be very difficult.
    Thnx
    Chirag

  • Where to apply java codes?

    Good Day:
    Perhaps this sound funny....I bought a Java book to learn the coding...pretty interesting...but after all, it didn't tell where can I type and test all those codes.
    After much reading, understand that it should be applied onto the JDK. Am I right? so I went to Java site and downloaded it. But nothing happened? I even borrow some other machine to install the JDK, still the same????
    When I check form control panel, the JDK and JRE successfully install. Pls help. After all, I need to start on where can i test my java codes?
    Many thanks for your reply.

    hellbinder, my apology...i guess you and everyone
    confuse with my question.
    Ok, see, what I need is to type in the code as per
    given in the book i bought. I understand that it got
    to be typing in the JDK in order to be able to test
    it out. So I download the JDK (including JRE & IDE)
    and had it install on my pc. Then now, I still could
    find the JDK (what I think/mean the "text editor"
    here) for me to type in the java codes.
    Or shall I re-phare in in suce, let's imagine, if
    given with a stack of words and fonts, we type in
    note pad may be. then now given with the Java codes,
    where shall i type it? JDK right? thus I installed
    JDK but I couldn't find or launch it to type in those
    Java codes?!
    Thanks!You don't "type in the java codes" in your JDK. You use a texteditor to "type in the java codes" and compile "the java codes" with the compiler from your JDK, and after that you run "the java (byte)codes" with the JRE from your JDK.
    Everything is explained step-by-step in the tutorial I posted earlier. Please take the time to follow those steps.

  • Running a java program in another java code

    Hello,
    I have a question.I wrote a java server code named server.java. In this server code, I receive another java class code called "HelloWorld.class" from another node. What I want to do is to execute the class HelloWorld inside server.java.
    Briefly, I would like to run a compiled java code (class code)in another executing class code. How can I achieve this?
    Thanks in advance
    �ebnem Bora

    Hi,
    Sorry but your terminology isn't that clear. Are you trying:
    1. To call methods on another class or
    2. To launch a separate process that will run another class?
    If it's either of these then they're not 'Advanced Language Topics' but simple:
    // Scenario 1
    // in Server class
    HelloWorld hw = new HelloWorld();
    hw.sayHello(); // or whatever the method is
    // Scenario 2
    Runtime.exec(new String [] {"java", "HelloWorld"}); // or whateverIs that of any help?
    Dom.

  • Unable to read Properties file from Java code

    Hi,
    The directory structure of my application is as follows:-
    My App
    ++++++ src
    ++++++++com
    ++++++++++readProp.java
    ++++++++resource
    ++++++++++message.properties
    I am trying to read the file as follows:-
    <code>
    public Static final string FilePath="resource.message.properties"
    Here the code to read the file. I tried using the following two techniques but to no use... :(
    File accountPropertiesFile = new File(FacesContext.getCurrentInstance()
    .getExternalContext().getRequestContextPath()
    + FilePath);
    properties.load(externalContext.getResourceAsStream(FilePath));
    </code>
    But none yeild any sucess while reading through the Bean class. please help...

    Your source code isn't there at run time, at least it shouldn't be, so the directory structure you've shown is irrelevant.
    If the file is in the corresponding position under WEB-INF/classes at runtime, the second technique should work, but you need to fix FilePath to agree with what it says under Class.getResource() and friends.

  • Running windows command through java code

    Hello
    i want to execute jar.exe through java code , i have written following piece of code , but it isn't working
    ProcessBuilder processBuilder = new ProcessBuilder(new String[]{"cmd.exe","/c","%java_home%\\bin\\jar.exe"});
              Process process = processBuilder.start();
              BufferedReader inputReader = new BufferedReader(new InputStreamReader(process.getErrorStream()));
              String line = inputReader.readLine();
              while(line != null){
                   System.out.println(line);
                   line = inputReader.readLine();
    does anybody knows why
    Regards
    Edited by: Mayur Mitkari on Mar 5, 2013 10:19 PM
    Edited by: Mayur Mitkari on Mar 5, 2013 10:20 PM
    Edited by: Mayur Mitkari on Mar 5, 2013 10:20 PM

    sorry for that , but the
    Runtime runtime = Runtime.getRuntime();
              Process proc = runtime.exec(new String[]{"cmd.exe","/c","jar"});
              proc.waitFor();
    int i = proc.exitValue();
    this code was different from first one
    and in case of Process if runtime .exec is succesful it is wainting for long time , in this case i want if the runtime.exec is succesful something should be returned
    Regards

  • Unable to transform XML with XSL in java code

    Hi,
    Could somebody please tell me what's wrong with my code, why it isn't transform the XML with XSL to the output that I want. If I use the command line to transform the XML, it output perfectly:
    java org.apache.xalan.xslt.Process -in marc.xml -xsl MARC21slim2MODS.xsl -out out.xml
    Here is the code of my program to transform the XML with XSL, I am using xalan-j_2_2-bin:
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import org.w3c.dom.*;
    import javax.xml.parsers.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    import javax.xml.transform.dom.*;
    import java.math.BigInteger;
    String xslDoc = "MODS.xsl";
    String xmlResult = "out.xml";
    DocumentBuilderFactory dfactory = DocumentBuilderFactory.newInstance();
    dfactory.setNamespaceAware(true);
    DocumentBuilder docBuilder = dfactory.newDocumentBuilder();
    Document xmlDoc = docBuilder.newDocument();
    Element root = xmlDoc.createElement("collection");
    root.setAttribute("xmlns", "http://www.loc.gov/MARC21/slim");
    xmlDoc.appendChild(root);
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer transformer = factory.newTransformer(new StreamSource(xslDoc));
    FileWriter fw = new FileWriter(new File(xmlResult));
    StreamResult output = new StreamResult(fw);
    transformer.transform(new DOMSource(xmlDoc), output);
    fw.flush();
    fw.close();
    ========================
    marc.xml -- source XML file
    ========================
    <?xml version="1.0" encoding="UTF-8"?>
    <collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01488cam 2200337 a 4500</leader><controlfield tag="001">2502929</controlfield><controlfield tag="005">19930521155141.9</controlfield><controlfield tag="008">920219s1993 caua j 000 0 eng </controlfield><datafield ind1=" " ind2=" " tag="035"><subfield code="9">(DLC) 92005291</subfield></datafield><datafield ind1=" " ind2=" " tag="906"><subfield code="a">7</subfield><subfield code="b">cbc</subfield><subfield code="c">orignew</subfield><subfield code="d">1</subfield><subfield code="e">ocip</subfield><subfield code="f">19</subfield><subfield code="g">y-gencatlg</subfield></datafield>
    </record></collection>
    ========================
    out.xml -- result using command line
    ========================
    <?xml version="1.0" encoding="UTF-8"?>
    <collection xmlns="http://www.loc.gov/mods/" xmlns:xlink="http://www.w3.org/TR/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/mods/ http://www.loc.gov/standards/marcxml/schema/mods.xsd">
    <mods>
    <titleInfo>
    <title>Arithmetic</title>
    </titleInfo>
    <name type="personal">
    <namePart>Sandburg, Carl</namePart>
    <namePart type="date">1878-1967</namePart>
    <role>creator</role>
    </name>
    </mods>
    </collection>
    ========================
    out.xml -- result using my java program
    ========================
    <?xml version="1.0" encoding="UTF-8"?>
    <collection xmlns="http://www.loc.gov/mods/" xmlns:xlink="http://www.w3.org/TR/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/mods/ http://www.loc.gov/standards/marcxml/schema/mods.xsd">01488cam 2200337 a 4500250292919930521155141.9920219s1993 caua j 000 0 eng (DLC) 920052917cbcorignew1ocip19y-gencatlgpc16 to br00 02-19-92; br02 to SCD 02-21-92; fd11 02-24-92 (PS3537.A618 A...); fa00 02-26-92; fa05 03-02-92; fm31 03-06-92; CIP ver. pv08 04-16-93; pv01 to CLT 04-20-93; lb10 05-21-93
    </collection>

    I am using the same XSL file. My Java program use the same XSL file I used in the command line.
    It is possible that my Java code is using a different parser, but I developed a seperate program to parse the XML using the same parser that my Java code is using. It output the result I expected. Here is the code for the program:
    import java.io.*;
    import javax.xml.transform.*;
    import javax.xml.transform.stream.*;
    public class Convertor {
    public static void main(String[] args) throws Exception {
    String xslDoc = "MARC21slim2MODS.xsl";
    String xmlResult = "out.xml";
    String xmlDoc = marc.xml";
    TransformerFactory factory = TransformerFactory.newInstance();
    Transformer transformer = factory.newTransformer(new StreamSource(xslDoc));
    StreamSource xmlSource = new StreamSource(xmlDoc);
    FileWriter fw = new FileWriter(new File(xmlResult));
    StreamResult output = new StreamResult(fw);
    transformer.transform(xmlSource, output);
    }

  • My java code doesn't work the way it should

    Hello can someone tell me why this code isn't printing on my linux computer?
    I found something about a bug in java for printing with linux see link.
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6181488
    I hope someone can help me.
    import javax.print.*;
    import javax.print.attribute.*;
    import java.io.*;
    import java.awt.BasicStroke;
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Container;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.RenderingHints;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.geom.CubicCurve2D;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import javax.print.Doc;
    import javax.print.DocFlavor;
    import javax.print.DocPrintJob;
    import javax.print.PrintException;
    import javax.print.PrintService;
    import javax.print.PrintServiceLookup;
    import javax.print.SimpleDoc;
    import javax.print.attribute.DocAttributeSet;
    import javax.print.attribute.HashDocAttributeSet;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public class PrintingOneTwoFour {
       static class MyComponent extends JPanel implements Printable {
         public void paint(Graphics g) {
           Graphics2D g2d = (Graphics2D) g;
           g2d.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
               RenderingHints.VALUE_ANTIALIAS_ON);
           g2d.setPaint(Color.BLUE);
           g2d.setStroke(new BasicStroke(3));
           CubicCurve2D cubic = new CubicCurve2D.Float(10, 80, 60, 30, 110, 130, 160, 80);
           g2d.draw(cubic);
         public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
           if (pageIndex == 0) {
             paint(g);
             return Printable.PAGE_EXISTS;
           } else {
             return Printable.NO_SUCH_PAGE;
       public static void main(String args[]) throws Exception {
         final JFrame frame = new JFrame();
         Container contentPane = frame.getContentPane();
         final Component printIt = new MyComponent();
         contentPane.add(printIt, BorderLayout.CENTER);
         JButton button = new JButton("Print");
         contentPane.add(button, BorderLayout.SOUTH);
         ActionListener listener = new ActionListener() {
           public void actionPerformed(ActionEvent e) {
             DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
          //      PrintService printService = PrintServiceLookup
             //     .lookupDefaultPrintService();
          PrintService[] services  = null;
             PrintService   myPrinter = null;
          //   DocFlavor myFlavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
             PrintRequestAttributeSet jobAttrs = new HashPrintRequestAttributeSet();
             services = PrintServiceLookup.lookupPrintServices( flavor, jobAttrs );
    if ( System.getProperty( "os.name" ).startsWith( "Windows" ) )
        myPrinter = PrintServiceLookup.lookupDefaultPrintService();
      else {
        try { 
            Process child = Runtime.getRuntime().exec(new String[] { "/bin/sh", "-c", "echo ${PRINTER:-$LPDEST}" });
            BufferedReader rdr = new BufferedReader(new InputStreamReader( child.getInputStream() ));
            String envPrinter = rdr.readLine().trim();
            System.out.println("Printer "+envPrinter+rdr.readLine());
         child.destroy();
            for ( int i=0; myPrinter == null && i<services.length; i++ )
                if ( services.getName().equals( envPrinter ) )
    myPrinter = services[i];
              System.out.println("myPrinter "+myPrinter);
    catch ( Exception ignore )
    System.out.println("Exception "+ignore);
    if(myPrinter==null)     
    myPrinter = services[0];
    System.out.println("myPrinter == null "+myPrinter);
         DocPrintJob job = myPrinter.createPrintJob();
    DocAttributeSet das = new HashDocAttributeSet();
    Doc doc = new SimpleDoc(printIt, flavor, das);
    try {
    job.print(doc, jobAttrs);
    } catch (PrintException pe) {
    pe.printStackTrace();
    button.addActionListener(listener);
    frame.setSize(350, 350);
    frame.show();

    Nobody????????????

  • Java code to invoke a native library in a Resource Adapter

    Have any of you done the project on invoking a native library in a Resource Adapter that you could share some experience/tips? Thanks

    Hi Frances,
    I haven't yet done anything in this area, but I should be rather staright forward in following the related manuals:
    Configuring the Use of Resource Adapter Native Libraries
    http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28956/adminra.htm#CACJAJHC
    The oc4j-connectors.xml File <security-permission> Element
    http://download-uk.oracle.com/docs/cd/B31017_01/web.1013/b28957/jcacontinued.htm#CHDHFEDA
    BTW: as far as I can see (haven't read the whole manual) the most important point isn't addressed in this manual: to make the native code available in your Java code, you have to load the native library with a code line like:
    System.loadLibrary("....");
    or
    Runtime.getRuntime().loadLibrary("...");
    This code line is a very critical one, because you can call it only ONCE for a native library during the runtime of a JVM.
    From the Runtime.loadLibrary JavaDoc:
    If this method is called more than once with the same library name, the second and subsequent calls are ignored.
    This statement is also true for calls in different ClassLoaders!
    Best,
    Manfred

Maybe you are looking for

  • IPod fifth Generation connection problem

    Hi My teacher has a fifth gen ipod and she got the brand new itunes update on her PC and now when she plugs it into her ipods dock, windows does not see the ipod at all, but the ipod says "Do Not Disconnect" Please Help!

  • Static Route Error

    I'm trying to set the gateway of last resort on my L3 switch. Trying to set port 1 on a 3750G switch. Switch(config)#ip route 0.0.0.0 0.0.0.0 g2/0/1 % Must specify a L3 port as the next hop interface

  • Previews in raw Nikon Df LR5

    My Lightroom 5 doesn't preview photos in raw from my new nikon Df? How come? I use Mac OS 10.8.5.

  • SCH-Notification Message: Company information update - User Attention Required

    Does anyone know what to do with this recurring and random message?  My customer is receiving this frequently and randonmly with no instructions.  Thanks. Tim

  • Regarding RAC installation

    I've setup 10g R2 RAC (Clusterware, Software and a Database) using USB 2.0 External HDD. With OCFS as the file system. Clusterware was on the internal HDD. OCR/VD, Oracle Software and Database are completely on External HDD (on OCFS ofcourse). Yester