Cant convert boolean to java.lang.Boolean - HUH?

I'm fairly new to Java, but I'm pretty sure this should work.
Can someone tell me why I'm getting these compiler errors:
wehServlet.java:72: Incompatible type for if. Can't convert java.lang.Boolean to boolean.
if (checkoutSpecificFile(req,res,busId,tempDir)) {
^
wehServlet.java:123: Incompatible type for return. Can't convert boolean to java.lang.Boolean.
return true;
Here's the basic code:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.util.*;
public class wehServlet extends HttpServlet {
private void someThing (HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
if(tryThis()) {
<do something>
} else {
<do something else>
private Boolean tryThis() {
return false;
Why can't I do this?
How do I fix it?
I tried
if(tryThis().booleanValue())....
and I get this compile error:
Incompatible type for return. Can't convert boolean to java.lang.Boolean
Now what do I do?

There's a lot of confusion caused by these "Wrapper" objects, not just Boolean but Integer, Long etc.
The basic ("primitive") types are lower case names, boolean, int, long etc..
The related items with capital letters are "wrapper" objects. The are used in a context where you basically want to store a single value but must do so as an Object, for example in aggregate objects like Map or List.
You should avoid these unless there's a specific reason to use them.
You can convert between boolean and Boolean, int and Integer etc. but it has to be done explicitly. As far as Java is concerned they're entirely different kind of thing. To java the Boolean class is just another kind of Object, it has no special syntactic significance.
boolean b;
Boolean bo;
b = bo.booleanValue();  // covert from Boolean object to boolean primitive
bo = new Boolean(b); // convert primitive to Object
if(bo.booleanValue()) {  // test Boolean objed

Similar Messages

  • Error in compilation of decompiled code (class$java$lang$Boolean )

    hi all
    i used jad 1.5.8 to decompile the CashAndOtherCO class ,now when trying agian to decompile the same it is throwing errors for the lines .
    if(class$java$lang$Boolean == null)
    class$java$lang$Boolean = _mthclass$("java.lang.Boolean");
    i have tried with
    if(class.java.lang.Boolean == null)
    class.java.lang.Boolean = _mthclass("java.lang.Boolean");
    but it wont work ,,your valuable suggestions are welcome
    thanx in advance
    Pratap

    It looks like decompilation problem.
    look for any missing code logic.otherwise just comment the code.
    Seeded code would have checked like
    if(someBooleanObj == null)
    someBooleanObj = new Boolean(false);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java Importer: import of java.lang.Boolean does not compile?

    I have created a webservicestub for the Reports webservice with JDeveloper.
    Now I want to use it in Forms. All methods work correctly, except the runJob method, which uses a boolean argument. I think I need to import java.lang.Boolean for it, but the created package body does not compile ("wrong number or type of arguments" in jni calls).
    Does anybody have suggestions how to get it compiling, or how to call the runJob method without the import of java.lang.Boolean?

    Downloading 1.4 sdk does not have the javac, it just has the JRENo, you apparently downloaded the JRE runtime. Do this to get the compiler, etc:
    Go here: http://java.sun.com/j2se/1.4/download.html
    and in the section titled:
    Download J2SETM v 1.4.0_01 JRE SDK
    look in this row:
    Windows (all languages, including English)
    and click download in the column headed SDK at the far right

  • Cannot convert type class java.lang.String to class oracle.jbo.domain.Clob

    Cannot convert type class java.lang.String to class oracle.jbo.domain.ClobDomain.
    Using ADF Business Components I have a JSFF page fragment with an ADF form based on a table with has a column of type CLOB. The data is retrieved from the database and displayed correctly but when any field is changed and submitted the above error occurs. I have just used the drag and drop technique to create the ADF form with a submit button, am I missing a step?
    I am using the production release of Jdeveloper11G

    Reproduced and filed bug# 7487124
    The workaround is to add a custom converter class to your ViewController project like this
    package oow2008.view;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import javax.faces.convert.ConverterException;
    import oracle.jbo.domain.ClobDomain;
    import oracle.jbo.domain.DataCreationException;
    public class ClobConverter implements Converter {
         public Object getAsObject(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   String string) {
           try {
             return string != null ? new ClobDomain(string) : null;
           } catch (DataCreationException dce) {
             dce.setAppendCodes(false);
             FacesMessage fm =
               new FacesMessage(FacesMessage.SEVERITY_ERROR,
                                "Invalid Clob Value",
                                dce.getMessage());
             throw new ConverterException(fm);
         public String getAsString(FacesContext facesContext,
                                   UIComponent uIComponent,
                                   Object object) {
           return object != null ?
                  object.toString() :
                  null;
    }then to register the converter in faces-config.xml like this
    <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee">
      <application>
        <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
      </application>
      <converter>
        <converter-id>clobConverter</converter-id>
        <converter-class>oow2008.view.ClobConverter</converter-class>
      </converter>
    </faces-config>then reference this converter in the field for the ClobDomain value like this
              <af:inputText value="#{bindings.Description.inputValue}"
                            label="#{bindings.Description.hints.label}"
                            required="#{bindings.Description.hints.mandatory}"
                            columns="40"
                            maximumLength="#{bindings.Description.hints.precision}"
                            shortDesc="#{bindings.Description.hints.tooltip}"
                            wrap="soft" rows="10">
                <f:validator binding="#{bindings.Description.validator}"/>
                <f:converter converterId="clobConverter"/>
              </af:inputText>

  • Error: could not be converted to [class java.lang.Class].

    I am newbie to JDeveloper (10.1.2) on winxp and i was trying to setup the example from the following url http://radio.weblogs.com/0129487/2003/09/19.html
    It is a how to on "Executing Toplink Queries using JavaBean DataControl "
    Any help would be greatly appreciated.
    Near the bottom on step "In StrutsPageFlow diagram, select allEmpsDA Data Action, right mouse and chooe Run" i get a the following runtime errors:
    Validation Error
    You must correct the following error(s) before proceeding:
    JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.toplink.exceptions.ConversionException, msg= Exception Description: The object [mypackage.Employees], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: mypackage.Employees
    JBO-29000: Unexpected exception caught: oracle.toplink.exceptions.ConversionException, msg= Exception Description: The object [mypackage.Employees], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: mypackage.Employees
    Exception Description: The object [mypackage.Employees], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Please ensure that the class [class java.lang.Class] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: mypackage.Employees

    This error is happening on a read.
    Here is the mapping descriptor:
    <database-mapping>
    <attribute-name>SuppItemCollection</attribute-name>
    <read-only>false</read-only>
    <reference-class>package.SuppItem</reference-class>
    <is-private-owned>false</is-private-owned>
    <uses-batch-reading>false</uses-batch-reading>
    <indirection-policy>
    <mapping-indirection-policy>
    <type>oracle.toplink.internal.indirection.NoIndirectionPolicy</type>
    </mapping-indirection-policy>
    </indirection-policy>
    <container-policy>
    <mapping-container-policy>
    <container-class>java.util.Vector</container-class>
    <type>oracle.toplink.internal.queryframework.ListContainerPolicy</type>
    </mapping-container-policy>
    </container-policy>
    <source-key-fields>
    <field>SUPP.REQ_NUM</field>
    </source-key-fields>
    <target-foreign-key-fields>
    <field>SUPP_ITEM.REQ_NUM</field>
    </target-foreign-key-fields>
    <type>oracle.toplink.mappings.OneToManyMapping</type>
    </database-mapping>
    Object model has a Supp class that has a collection of SuppItem(s). I was allowing the Mapping Workbench to create the Java Source. I'm not to fond of that, but I thought it would be easiest to get things going.
    The datamodel is similiar to the class model.
    Thanks for the help,
    Mike

  • Can't convert int to java.lang.Integer.

    Hi everyone.
    I'm working on an auction site at the moment and have problems gaining a bidID number. This is part of my code and my error.
    AuctionFacade aHse = (AuctionFacade) application.getAttribute("AuctionFacade");
    String strTraderName = (String)session.getAttribute("traderName");
    String strPassword = (String)session.getAttribute("password");
    String strIDNum = request.getParameter("auctionID");
    Integer intID = Integer.valueOf(strIDNum);
    Integer [] bids = aHse.getAllBids(intID);
    float fltYourBid = aHse.getBidPrice(bids.length);
    ^
    Can't convert int to java.lang.Integer.
    can anyone help please?

    So, does "aHse.getBidPrice" expect an int or an Integer as its parameter? And does it return an int, or an Integer, or what? The answer to those questions may lead to your solution -- look at what you are actually using as the parameter, for example.

  • Can't convert int to java.lang.Object

    When I deploy my customer Bean, the following error occures, I think the main problem is Can't convert int to java.lang.Object, does anyone facing the same problem with me?
    <pre>C:\j2sdkee1.3\repository\home\gnrtrTMP\CustomerApp\CustomerBean_RemoteHomeImpl.j
    ava:27: Incompatible type for declaration. Can't convert int to java.lang.Object
    java.lang.Object primaryKey = ejb.ejbCreate(param0, param1, para
    m2);
    ^
    C:\j2sdkee1.3\repository\home\gnrtrTMP\CustomerApp\CustomerBean_RemoteHomeImpl.j
    ava:57: Incompatible type for =. Can't convert int to java.lang.Object.
    primaryKeys = ejb.ejbFindByPrimaryKey( param0);
    ^</pre>
    I really need your help!!!

    you can only convert one object type to another. Integer is an object int isnt. You might want to convert int to Integer and then go ahead.
    see if it works.

  • Changing java.lang.String default converter

    JSF by default assign empty string at backing bean properties when a form is sent. I want to override that with a custom converter. My problem is my converter is never called. This is the code at faces-config.xml:
            <converter>
              <converter-for-class>java.lang.String</converter-for-class>
              <converter-class>
                   myPackage.NullableStringConverter
              </converter-class>
         </converter>If I set breakpoints inside getAsObject or getAsString I see it doesn't stops there. What am I doing wrong?

    You'll need to migrate to JSF 1.2 in order to accomplish what you're trying. If I recall correctly, 1.1 will ignore converters for String.

  • Runtime Error: java.lang.ClassCastException

    My project is to creat a postfix with boolean. I finished my code, it compiled great, than I got an java.lang.ClassCastException. So obviously I have a casting problem. Any help or hints in the right direction would be greatly appreciated.
         import java.util.*;    
    import javax.swing.*;
    public class KimbelPostfix
        public static void main(String[] args)
         String expression;
         String token;
         String operator;
         String myString = "true";
         StringTokenizer tokens;
         Boolean operand1, operand2, result = true;
         //create empty stack of pending boolean operands
         Stack operandStack = new Stack(); 
         expression = JOptionPane.showInputDialog( "Enter postfix expression" );
         tokens = new StringTokenizer(expression);
         while (tokens.hasMoreTokens())
             token = tokens.nextToken();
             if (!isOperator(token))   //operand
                 new Boolean(myString);
                 myString = token;
                 operandStack.push(token); 
             //  printStack(operandStack);   //display stack at each step. Debugging
             else
             {   //token is an operator
                 //pop two booleans off stack.
                 //convert popped Object to boolean, extract boolean
                 operand2 = ((Boolean)operandStack.pop()).booleanValue();
                 operand1 = ((Boolean)operandStack.pop()).booleanValue();  //"first" one
              if (token.equals("!"))
                  operandStack.push(token);
                  result = operand1 && !operand2;
              else if (token.equals("&&"))
                  result = operand1 && operand2;
              else if (token.equals("||"))
                  result = operand1 || operand2;
              operandStack.push(new Boolean(result)); 
         //only object in stack is the answer
         result =  ((Boolean)operandStack.pop()).booleanValue();
         JOptionPane.showMessageDialog(null,expression+" = "+result);
         System.exit(0);
        static boolean isOperator(String t) {
             if (t.equals("!") || t.equals("&&") || t.equals("||"))
                 return true;
             else
                 return false;
        static void printStack( Stack s)
         System.out.print("Stack is: ");
            Iterator items = s.iterator();
            while (items.hasNext())
            System.out.print(items.next()+"  ");
            System.out.println();
         

    When I run the program and enter "false false ||" I get the slightly more useful error message:
    Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean\\     at KimbelPostfix.main(KimbelPostfix.java:38)Now line 38 is the one in the else part of the while loop, that says:operand2 = ((Boolean)operandStack.pop()).booleanValue();Evidently what you were casting to a Boolean - operandStack.pop() - is a String. And you can't cast Strings to Booleans like that. So the questions are "what were you expecting to be on the stack?" and "what was actually on the stack?".
    You already have a method that will help answer the second question. As regards the first, if you were expecting a Boolean on the stack you had better go back to whereever you push things onto the stack and see why it's a String not a Boolean.
    Edited by: pbrockway2 on Dec 17, 2007 2:05 PM
    I've just read the edit of your last post, and I agree with petes1234. No-one here is going to write the code for you. That's not trying to be discouraging or dismissive: just saying how things are.
    There are signs of dispair in the myString variable, and the way you (attempt to) handle the unary ! operator. If you're tired and "fiddling around" to no productive effect your best bet would be to step away from the computer and do something else for a few hours.

  • Error while opening a dwg file :java.lang.NoSuchMethodException: Method

    Hello Experts,
    I tried to integrate WebCenter Content with Autovue ,the integration was good untill i get this error while trying to open a dwg file checked in Content Server using View in Autovue option in Actions :
    java.lang.NoSuchMethodException: Method fileOpen(com.cimmetry.core.SessionID, com.cimmetry.core.DocID, com.cimmetry.core.Authorization, <null>, java.lang.Boolean, <null>) not found in class com.cimmetry.jvueserver.VCETConnection
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ar.d(Unknown Source)
         at com.cimmetry.jvueserver.ar.a(Unknown Source)
         at com.cimmetry.jvueserver.ah.run(Unknown Source)
    Any suggestions would help me,
    Thanks in Advance
    Raj

    Hi Raj,
    The solution to this problem is posted in My Oracle Support:
    Error: "java.lang.NoSuchMethodException: Method fileOpen" when Trying to View Files Using AutoVue Integrated to Oracle Universal Content Management (UCM) (Doc ID 1341644.1).
    It has all the details, step by step.
    Jeff

  • Calling a web service from a servlet via stub: java.lang.reflect.Invocation

    Hi all, I'm developping my first web application using Apache Tomcat and Axis, using servlets, jsp and web services.
    My problem is that I cannot make any call to my web service (a very simple one) because I get the following exception:
    <code>
    java.lang.reflect.InvocationTargetException CAUSA: null
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.reflect.InvocationTargetException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:lexis02
    java.lang.reflect.InvocationTargetException
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    </code>
    The stack trace is longer than that, but I didn't find any hints to solve the problem.
    The exception is thrown for every method of the web service:

    public java.lang.String[] getMessage(java.lang.String , int) throws java.rmi.RemoteException
    public boolean addMessage(java.lang.String, java.lang.String, int)
    throws java.rmi.RemoteException
    I'm using stub to call the web service, as generated by wsdl tool.
    Can someone help me?
    Thanx
    PS: sorry for the double message but I pressed the wronk key at the wrong time :)

  • Java.lang.NoClassDefFoundError in  JavaEmbedding Activity

    Hi All,
    Jdev, SOA_Suite- 10g
    While Executing Below portion of the code in the Java Embedding Activity,(BPEL Process), getting below error,
    <bpelx:exec name="TraceLog_BeginABCS" language="java" version="1.3">
    <![CDATA[   
    Code:
    java.lang.String TraceLogMessage = null; 
         java.lang.Boolean tracelogenabled; 
    tracelogenabled = oracle.apps.aia.core.eh.logging.AIALogger.isTraceLoggingEnabled("INFO","{http://xmlns.oracle.com/ABCSImpl/OHP/Core/SyncCustomerParReqABCSImpl/V1}SyncCustomerPartyReqABCSImpl");
    setVariableData("TraceLogEnabled", tracelogenabled);
    if (tracelogenabled.booleanValue())
    TraceLogMessage = "Starting " + serviceName + " Instance: " + instanceID + title; ;
    oracle.apps.aia.core.eh.logging.AIALogger.logTraceMessage("INFO", null ,TraceLogMessage);
    ]]>
    </bpelx:exec>
    Error:
    <runtimeFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>java.lang.NoClassDefFoundError
    </code>
    </part>
    -<part name="summary">
    <summary>null
    </summary>
    </part>
    -<part name="detail">
    <detail>
    java.lang.NoClassDefFoundError
         at bpel.synccustomerpartyohpreqabcsimpl.ExecLetBxExe11.execute(ExecLetBxExe11.java:434)
         at com.collaxa.cube.engine.ext.wmp.BPELXExecWMP.__executeStatements(BPELXExecWMP.java:50)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:200)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:4326)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1839)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:77)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:240)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:345)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:6460)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1270)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:684)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:400)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:705)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:150)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    </detail>
    </part>
    </runtimeFault>
    Can anybody help me to resolve this issue.
    Thanks in Advance,
    Santosh M E

    Hello Santosh,
    Are you importing the used java classes using <bpelx:exec import="classname"/>
    Regards,
    Melvin

  • Dosen't generate Client stubs; java.lang.NoSuchMethodException

    I'm trying to do the sameple web services at http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
    I got error in Client Configuration Page (step 25) , when I clicked Finish,
    It show following error. Please help me to resolve. Thanks.
    Exception occurred while code generation for WSDL org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCodegen(boolean)
    Exception occurred while code generation for WSDL org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCodegen(boolean)
        java.lang.NoSuchMethodException: org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setCodegen(boolean)
        at java.lang.Class.getMethod(Unknown Source)
        at org.eclipse.jst.ws.axis2.consumption.core.utils.WSDL2JavaGenerator.getAxisService(WSDL2JavaGenerator.java:369)
        at org.eclipse.jst.ws.axis2.consumption.core.command.Axis2ClientCodegenCommand.execute(Axis2ClientCodegenCommand.java:89)
        at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:418)
        at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(CommandFragmentEngine.java:358)
        at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(CommandFragmentEngine.java:253)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(SimpleCommandEngineManager.java:252)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
        at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
        at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(SimpleCommandEngineManager.java:222)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(WizardPageManager.java:96)
        at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.performFinish(WizardPageManager.java:255)
        at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.performFinish(DynamicWizard.java:380)
        at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
        at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:182)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1169)Edited by: Nidh on Dec 21, 2007 5:34 AM

    Norbert,
    Bill has mentioned in the past that the JARs present in the SDK have to
    match those JARs that live on the SLM server - there are some new
    methods and whatnot that have been added.
    So copy any JARs from SLM that match anything in
    //content/dev/sdk/build over, and try again.
    DCorlette
    DCorlette's Profile: http://forums.novell.com/member.php?userid=4437
    View this thread: http://forums.novell.com/showthread.php?t=441144

  • Java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory. init

    I am trying to update 3.x to 4.0.1
    Cloning of JDOConnectionFactory is throwing following exception
    (JDOConnectionFactory)pmf1.clone();
    I had this working with 3.x the only difference was that JDBCConnectionFactory was being used instead of JDOConnectionFactory, and I have to use JDOConnectionFactory in 4.0.1 to get PersistenceManagerFactory.
    com.solarmetric.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
    at com.solarmetric.conf.ConfigurationImpl.clone(ConfigurationImpl.java:752)
    at com.bea.rfid.login.console.ejb.CredentialMapperBean.setSessionContext(CredentialMapperBean.java:125)
    at com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_Impl.setSessionContext(CredentialMapperEJB_ckhjzn_Impl.java:124)
    at weblogic.ejb.container.manager.StatelessManager.createBean(StatelessManager.java:296)
    at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:174)
    at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    at weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)

    Thanks for the suggestion.
    I updated to kodo-4.1.2 now, and still I am getting following exception
    javax.ejb.EJBException: Error during setSessionContext: org.apache.openjpa.lib.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.clone(ConfigurationImpl.java:873)
    at com.bea.rfid.login.console.ejb.CredentialMapperBean.setSessionContext(CredentialMapperBean.java:125)
    at com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_Impl.setSessionContext(CredentialMapperEJB_ckhjzn_Impl.java:124)
    at weblogic.ejb.container.manager.StatelessManager.createBean(StatelessManager.java:296)
    at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:174)
    at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    at weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)
    at com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_ELOImpl.getPersistenceManager(CredentialMapperEJB_ckhjzn_ELOImpl.java:42)
    at com.connecterra.epcis.server.ejb.EPCISBean.ejbCreate(EPCISBean.java:147)
    at com.connecterra.epcis.server.ejb.EPCIS_9tvcog_Impl.ejbCreate(EPCIS_9tvcog_Impl.java:150)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:178)
    at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    at weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)
    at com.connecterra.epcis.server.ejb.EPCIS_9tvcog_ELOImpl.getAllSubscriptionInfo(EPCIS_9tvcog_ELOImpl.java:1304)
    at com.connecterra.epcis.server.ejb.scheduler.SchedulerBean.refreshTimer(SchedulerBean.java:131)
    at com.connecterra.epcis.server.ejb.scheduler.SchedulerBean.initializeTimer(SchedulerBean.java:98)
    at com.connecterra.epcis.server.ejb.scheduler.SubscriptionScheduler_jm2ekz_ELOImpl.initializeTimer(SubscriptionScheduler_jm2ekz_ELOImpl.java:63)
    at com.connecterra.epcis.server.schedulerservlet.SchedulerServlet.init(SchedulerServlet.java:32)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:352)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
    at java.lang.Class.getConstructor0(Class.java:2647)
    at java.lang.Class.getConstructor(Class.java:1629)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.clone(ConfigurationImpl.java:863)
    ... 68 more
    ; nested exception is: org.apache.openjpa.lib.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
    at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:141)
    at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:657)
    at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:604)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:141)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    Truncated. see log file for complete stacktrace
    >
    <Dec 22, 2006 3:58:34 PM EST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'WLRFID-EPCIS'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "SchedulerServlet" failed to preload on startup in Web application: "schedulerservlet".
    javax.ejb.EJBException: Error during setSessionContext: org.apache.openjpa.lib.util.ParseException: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.clone(ConfigurationImpl.java:873)
    at com.bea.rfid.login.console.ejb.CredentialMapperBean.setSessionContext(CredentialMapperBean.java:125)
    at com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_Impl.setSessionContext(CredentialMapperEJB_ckhjzn_Impl.java:124)
    at weblogic.ejb.container.manager.StatelessManager.createBean(StatelessManager.java:296)
    at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:174)
    at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    at weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)
    at com.bea.rfid.login.console.ejb.CredentialMapperEJB_ckhjzn_ELOImpl.getPersistenceManager(CredentialMapperEJB_ckhjzn_ELOImpl.java:42)
    at com.connecterra.epcis.server.ejb.EPCISBean.ejbCreate(EPCISBean.java:147)
    at com.connecterra.epcis.server.ejb.EPCIS_9tvcog_Impl.ejbCreate(EPCIS_9tvcog_Impl.java:150)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:178)
    at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:105)
    at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:143)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:133)
    at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:81)
    at weblogic.ejb.container.internal.StatelessEJBLocalObject.preInvoke(StatelessEJBLocalObject.java:48)
    at com.connecterra.epcis.server.ejb.EPCIS_9tvcog_ELOImpl.getAllSubscriptionInfo(EPCIS_9tvcog_ELOImpl.java:1304)
    at com.connecterra.epcis.server.ejb.scheduler.SchedulerBean.refreshTimer(SchedulerBean.java:131)
    at com.connecterra.epcis.server.ejb.scheduler.SchedulerBean.initializeTimer(SchedulerBean.java:98)
    at com.connecterra.epcis.server.ejb.scheduler.SubscriptionScheduler_jm2ekz_ELOImpl.initializeTimer(SubscriptionScheduler_jm2ekz_ELOImpl.java:63)
    at com.connecterra.epcis.server.schedulerservlet.SchedulerServlet.init(SchedulerServlet.java:32)
    at javax.servlet.GenericServlet.init(GenericServlet.java:256)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:276)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:68)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1698)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1675)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1595)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2734)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:892)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:336)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:641)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:229)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:352)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: java.lang.NoSuchMethodException: kodo.jdo.jdbc.JDOConnectionFactory.<init>(boolean)
    at java.lang.Class.getConstructor0(Class.java:2647)
    at java.lang.Class.getConstructor(Class.java:1629)
    at org.apache.openjpa.lib.conf.ConfigurationImpl.clone(ConfigurationImpl.java:863)
    ... 68 more

  • URGENT: java.lang.UnsatisfiedLinkError

    Hi all,
    I'm calling a particular method which in turn calls a native method. But this gives an error:
    java.lang.UnsatisfiedLinkError: no ifjapi90 in java.library.path
    But just before the method call I set the System property java.library.path with the location of this file. After that i also print the same which is satisfactory. But it still gives me an error.
    The following is the console output:
    ==========================
    Inside parseFMB
    java.library.path: :\oracle\ora9i_dev\bin;D:\oracle\ora9i_dev\bin\ifjapi90.dll;D:\oracle\ora9i_dev\bin\ifjapi90.sym;
    java.lang.UnsatisfiedLinkError: no ifjapi90 in java.library.path
    void java.lang.ClassLoader.loadLibrary(java.lang.Class, java.lang.String, boolean)
    void java.lang.Runtime.loadLibrary0(java.lang.Class, java.lang.String)
    void java.lang.System.loadLibrary(java.lang.String)
    void oracle.forms.jdapi.Jdapi.<clinit>()
    java.lang.String com.churchill.formsgen.xml.FormParser.parseFMB()
    void com.churchill.formsgen.FormsAnalyser$39.run()
    void java.lang.Thread.run()
    Please help. This is quite urgent.
    Regards,
    Naveen

    This did not help. I loaded the library using
    System.load but it still gives the same error. Is
    there no way I can set the System property
    java.library.path after startup?
    Did you provide the complete path to the library using load()?
    If you did then I would suggest using java.io.File to test that path for existence before calling load() to see if it is correct.

Maybe you are looking for

  • Report for Open Sales Orders

    Hi.. my client want the report for all open sales orders in following manner : CUSTOMER NAME         ITEM 1      ITEM 2     ITEM 3  ITEM 4 Customer 1                     23             45           54          76 Customer 2                     10    

  • If current period is closed, use next period for posting...

    Hello Experts, I am currently developing a report that posts via F-02. Now, my functional said that if before posting, I need to check if the current period is open.If yes, then proceed posting. If not, then get the next period and use it for posting

  • Hyperion Reports timing out

    Hi, I get this error when trying to rum some reports. 5200 : Error executing query: Servername/AppName/DBname//Error(1042017) Network error: The client or server timed out waiting to receive data using TCP/IP. Check network connections. Increase the

  • Sy-tcode No Longer Exist in SRM 7.0

    Hi Experts, Right now we are doing a Upgrade from SRM 4.0 to SRM 7.0. In SRM 4.0 there is lot of code written with system variables like sy-tcode & sy-ucomm. I could do workaround of some system variables. But for If sy-tcode EQ 'BBPSOCO001' i could

  • Error writing to file: C:\Program Files\iPod\bin\iPodService.exe...Help!!!

    I recently installed the newest version of iTunes however after installing I did not restart my computer right away. Instead I just waited until the next time I was going to turn my comp off and then back on. So when I turned my comp on the next time