SFTP adapter - missing maverick java classes

Hi
We have using the BPEL PM Developer (10.1.3.1).
We have tried to use the SFTP with the FTP Adapter. We configured the oc4j_ra.xml file, but after creating a sample BPEL process with the FTP adapter we got this error message in the log file:
"Missing class: com.maverick.ssh.SshTransport"
We have searched for this classes in the BPEL PM developer directory but we could not find jar or class files.
Has anybody use it or not? The maverick class files are not free, and the documentations does not contain the we need to buy third party software to use SFTP with FTP adapter.
Zoltan

Hi,
So the steps are:
1. I've started with a blank new asynchronous BPEL project.
2. I dropped only an FTP adapter (to put a binary file on a remote
machine, schema is opaque) to the swimlane.
3. I made some assignments to the input and output variables,
to fix the warnings and deployed into my BPEL PM server (running on
localhost).
4. When I started this BPEL process it stopped with this error message:
Missing class: com.maverick.ssh.SshTransport
Dependent class: oracle.tip.adapter.ftp.SshImpl.SshImplFactory
Loader: FtpAdapter:0.0.0
Code-source: /C:/oracle/soa/bpel/system/appserver/oc4j/j2ee/home/connectors/FtpAdapter/FtpAdapter/ftpAdapter.jar
Configuration: <code-source> in C:\oracle\soa\bpel\system\appserver\oc4j\j2ee\home\connectors\FtpAdapter\FtpAdapter
The missing class is not available from any code-source or loader in the system.
5. My oc4j-ra.xml file for the FtpAdapter:
<?xml version="1.0"?>
<oc4j-connector-factories xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/oc4j-connector-factories-10_0.xsd" schema-major-version="10" schema-minor-version="0" >
     <imported-shared-libraries>
          <import-shared-library name="oracle.bpel.common"/>
          <import-shared-library name="oracle.xml"/>
     </imported-shared-libraries>
     <connector-factory location="eis/Ftp/FtpAdapter" connector-name="Ftp Adapter">
          <config-property name="host" value="myhost"/>
          <config-property name="port" value="22"/>
          <config-property name="username" value="myusername"/>
          <config-property name="password" value="mypwd"/>
          <config-property name="keepConnections" value="true"/>
          <config-property name="serverType" value="unix"/>
          <config-property name="serverLocaleLanguage" value=""/>
          <config-property name="serverLocaleCountry" value=""/>
          <config-property name="serverLocaleVariant" value=""/>
          <config-property name="serverEncoding" value=""/>
          <config-property name="useFtps" value="false"/>
          <config-property name="walletLocation" value="C:\wallet\ewallet.p12"/>
          <config-property name="walletPassword" value="welcome1"/>
          <config-property name="channelMask" value="both"/>
          <config-property name="securePort" value="990"/>
          <config-property name="keyStoreProviderName" value=""/>
          <config-property name="keystoreType" value=""/>
          <config-property name="keystoreAlgorithm" value=""/>
          <config-property name="enableCipherSuits" value=""/>
          <config-property name="proxyHost" value=""/>
          <config-property name="proxyPort" value=""/>
          <config-property name="proxyUsername" value=""/>
          <config-property name="proxyPassword" value=""/>
          <config-property name="proxyType" value=""/>
          <config-property name="proxyDefinitionFile" value=""/>
          <config-property name="useProxy" value="false"/>
          <config-property name="useSftp" value="true"/>
          <config-property name="authenticationType" value="password"/>
          <config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
          <config-property name="preferredCompressionAlgorithm" value="zlib"/>
          <config-property name="preferredDataIntegrityAlgorithm" value="hmac-sha1"/>
          <config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
          <config-property name="privateKeyFile" value=""/>
          <config-property name="preferredCipherSuite" value="3des-cbc"/>
          <config-property name="transportProvider" value="socket"/>
          <connection-pooling use="none">
          </connection-pooling>
          <security-config use="none">
          </security-config>
     </connector-factory>
</oc4j-connector-factories>
Thanks for your answer in advance!
Zoltan

Similar Messages

  • Re-compile Oracle 11i Internet Expenses Java Classes

    Due to business requirement, we are required to re-compile Oracle 11i Internet Expenses java classes. Fortunately all files are fine, except of one for "Expense Details" screen.
    Under directory */comn/java/oracle/apps/ap/oie/server/, there is a JAVA class file DetailAMImpl.java. When I re-compile it, I got errors as below:
    $> javac DetailAMImpl.java
    DetailAMImpl.java:506: cannot resolve symbol
    symbol : method copyFrom (oracle.apps.ap.oie.server.ExpenseReportLinesVORowImpl,oracle.jbo.domain.Number,oracle.jbo.domain.Number)
    location: interface oracle.jbo.Row
    row.copyFrom(expensereportlinesvorowimpl, new Number(-10), expensereportlinesvorowimpl.getDistributionLineNumber());
    ^
    DetailAMImpl.java:508: cannot resolve symbol
    symbol : method setReportLineId (oracle.jbo.domain.Number)
    location: interface oracle.jbo.Row
    row.setReportLineId(expensereportlinesvorowimpl.getReportLineId().multiply(-1));
    ^
    DetailAMImpl.java:512: cannot resolve symbol
    symbol : method getReportLineId ()
    location: interface oracle.jbo.Row
    expenseallocationsvoimpl.duplicateDistributionsByLine(expensereportlinesvorowimpl.getReportLineId(), row.getReportLineId());
    ^
    DetailAMImpl.java:525: cannot resolve symbol
    symbol : method bIsEmpty ()
    location: interface oracle.jbo.Row
    if(row.bIsEmpty())
    ^
    4 errors
    $>
    It seems I am missing one Java class file that contains View object "ROW". Could you please advise me what is the missing file, and where can I get it?
    Many Thanks.

    Hi,
    I suggest to ask this question on one of the Oracle Applications forums, or better, address this issue with customer support at metalink.oracle.com
    Frank

  • Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec

    I have created a BPEL process in which i have used DB Adapter when i try to deploy the soa suite coposite i am getting the following error.
    [09:36:10 PM] Error deploying archive sca_TicketBooking_rev1.0.jar to partition "default" on server soa_server1 [http://utl-7c8735e613f:8001]
    [09:36:10 PM] HTTP error code returned [500]
    [09:36:10 PM] Error message from server:
    There was an error deploying the composite on soa_server1: [JCABinding] [TicketBooking.TicketBooking/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec: Cannot locate Java class oracle.tip.adapter.db.DBWriteInteractionSpec.
    [09:36:10 PM] Check server log for more details.
    [09:36:10 PM] Error deploying archive sca_TicketBooking_rev1.0.jar to partition "default" on server soa_server1 [http://utl-7c8735e613f:8001]
    [09:36:10 PM] #### Deployment incomplete. ####
    [09:36:10 PM] Error deploying archive file:/D:/Personal/OracleWork/RnDProjects/TicketBooking/TicketBooking/deploy/sca_TicketBooking_rev1.0.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)
    I already created the data source and JNDI Name in the DBAdapter but still getting the error while deploying the application.
    One mistake that i think i have made after creating the data source now the DBAdapter.rar file taking the path as follows.
    Source Path:     C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ was\ DbAdapter. rar
    Deployment Plan: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ was\ Plan. xml
    initially the path was as follows:
    Source Path:     C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    Deployment Plan: C:\ Oracle\ Middleware\ Oracle_SOA1\ soa\ connectors\ Plan. xml
    Please help me i have googled a lot but can't find the answer anywhere.
    Thanks in advance

    Mate ,
    Just check the health status and state of DB Adapter in the deployments of WLAdminConsole.
    If its inactive , redeploy and update it ,also make sure its targeted to the right server.

  • Missing Java Classes in Oracle SQL Developer

    Hello,
    I'm pretty new to Oracle (As a DBA) and very new to Java. I just refreshed our training environment and after the refresh, noticed under the Java folder within Oracle SQL Devloper that the Java Classes were missing.
    Can someone tell me how I can repopulate these classes?
    Any information would be much appreciated.
    Thank you.

    Thank you K,
    The Java Classes are not present under the SYS user and I'm not sure how to get them back. They do exist within our production and development environments.

  • Write java class for adapter

    HI all,
    I want to write my own java class to be used from an adapter,
    where should I put the jar file ? - i see that the classes/ jars i can use now located in defaultconnector directory ( the dbum for instance ).
    how can i add new jar ? to where ?
    should it have some standards the OIM is looking for ?
    how can pass parameters to it ?
    using oim 9.1.
    thanks
    S.

    Sahar wrote:
    HI all,
    I want to write my own java class to be used from an adapter,
    where should I put the jar file ? - i see that the classes/ jars i can use now located in defaultconnector directory ( the dbum for instance ).
    how can i add new jar ? to where ? Make a jar of your adapter class and put it in Java Task Directory. Once you have installed the connector, then the adapter jars from the connector would be copied to the Java task directory.
    should it have some standards the OIM is looking for ?
    how can pass parameters to it ? refer to design console guide and read about adapters and how to map them from design console.
    >
    using oim 9.1.
    thanks
    S.

  • Cannot locate Java class oracle.tip.adapter.jms.outbound.JmsProduceInteract

    Hi team ,
    I am trying to developing the JMS queue in BPEL. For it, i configure JMS adapter in BPEL. compilation done sucessfully.
    But during deployement , i am getting the following error.
    [12:21:06 PM] HTTP error code returned [500]
    [12:21:06 PM] Error message from server:
    There was an error deploying the composite on soa_server1: [JCABinding] [textmessageusingqueues.enqueue/1.0]Unable to complete unload due to: Cannot locate Java class oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec: Cannot locate Java class oracle.tip.adapter.jms.outbound.JmsProduceInteractionSpec.
    So please resolve my problem.
    Regards
    Narsi p

    Mate ,
    Just check the health status and state of DB Adapter in the deployments of WLAdminConsole.
    If its inactive , redeploy and update it ,also make sure its targeted to the right server.

  • Calling java-class from c++ misses

    Hello,
    if I call a java-class from c++-code and the java-class imports a package (not java packages, but writen by myself), then the calling misses :-(
    If I call this class without the imports - it works!
    C++-Code:
        jclass cls = env->FindClass(javaClassname.c_str());
        if (cls == 0) {
              //error     - cls is 0 if the java-class has imports  
        }Java-Includes:
    import mypackage.Conn;
    import mypackage.Para; I set the classpath to the .jar-files. Did I forget anything else?
    Thx...

    Hello,
    if I call a java-class from c++-code and the
    java-class imports a package (not java packages, but
    writen by myself), then the calling misses :-(
    If I call this class without the imports - it works!
    C++-Code:
    jclass cls =
    env->FindClass(javaClassname.c_str());
    if (cls == 0) {
    /error     - cls is 0 if the java-class has imports
    code]
    Java-Includes:import mypackage.Conn;
    import mypackage.Para;
    I set the classpath to the .jar-files. Did I forget
    anything else?
    Thx...
    From the JNI Specification: http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/jniTOC.html
    =======
    FindClass
    jclass FindClass(JNIEnv *env, const char *name);
    This function loads a locally-defined class. It searches the directories and zip files specified by the CLASSPATH environment
    variable for the class with the specified name.
    LINKAGE:
    Index 6 in the JNIEnv interface function table.
    PARAMETERS:
    env: the JNI interface pointer.
    name: a fully-qualified class name (that is, a package name, delimited by �/�, followed by the class name).
    If the name begins with �[� (the array signature character), it returns an array class.
    The string is encoded in modified UTF-8. ==============================
    So, to find the Conn class, you need to use:
    env->FindClass("mypackage/Conn");

  • Flat file to XML in SAP SFTP adapter

    Hello All
    I am trying to convert flat file to xml using SAP SFTP adapter.
    Flat File is like below:
    AABEN;20141106;20141106;45;0.00
    AABOL;20141106;20141106;45;0.00
    ABGRI;20141106;20141106;45;0.00
    ADDEA;20141106;20141106;45;0.00
    ALADA;20141106;20141106;45;58.43
    AMSCH;20141106;20141106;45;0.00
    ANOLV;20141106;20141106;45;0.00
    ANROY;20141106;20141106;45;0.00
    AVMCD;20141106;20141106;45;0.00
    Message Type structure I created like below
    In Server SFTP adapter in Module tab I am using "AF_Modules/MessageTransformBean" and conversion type ="StructPlain2XML"
    I am getting error = "Error: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Transformer Conversion3.0.5226 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found (4408) Parameter 'xml.keyFieldName' is missing (4403) Parameter 'xml.keyFieldType' is missing (4403) "
    I am not using any key field then please let me know how to overcome this issue.
    I searched on SDN but did not get any perfect answer.
    Thanks
    Dheeraj Kumar

    Hello Dheeraj,
    Thanks for your reply. I created a new discussion,
    Flatfile to XML
    Thanks well in advance for your help!
    -Satish.

  • Binding a JavaFX variable to a Java class instance variable

    Hi,
    I am pretty new to JavaFX but have been developing in Java for many years. I am trying to develop a JavaFX webservice client. What I am doing is creating a basic scene that displays the data values that I am polling with a Java class that extends Thread. The Java class is reading temperature and voltage from a remote server and storing the response in an instance variable. I would like to bind a JavaFx variable to the Java class instance variable so that I can display the values whenever they change.
    var conn: WebserviceConnection; // Java class that extends Thread
    var response: WebserviceResponse;
    try {
    conn = new WebserviceConnection("some_url");
    conn.start();
    Thread.sleep(10000);
    } catch (e:Exception) {
    e.printStackTrace();
    def bindTemp = bind conn.getResponse().getTemperature();
    def bindVolt = bind conn.getResponse().getVoltage();
    The WebserviceConnection class is opening a socket connection and reading some data in a separate thread. A regular socket connection is used because the server is not using HTTP.
    When I run the application, the bindTemp and bindVolt are not updated whenever new data values are received.
    Am I missing something with how bind works? Can I do what I want to do with 'bind'. I basically want to run a separate thread to retrieve data and want my UI to be updated when the data changes.
    Is there a better way to do this than the way I am trying to do it?
    Thanks for any help in advance.
    -Richard

    Hi,
    If you don't want to constantly poll for value change, you can use the observer design pattern, but you need to modify the classes that serve the values to javafx.
    Heres a simple example:
    The Thread which updates a value in every second:
    // TimeServer.java
    public class TimeServer extends Thread {
        private boolean interrupted = false;
        public ValueObject valueObject = new ValueObject();
        @Override
        public void run() {
            while (!interrupted) {
                try {
                    valueObject.setValue(Long.toString(System.currentTimeMillis()));
                    sleep(1000);
                } catch (InterruptedException ex) {
                    interrupted = true;
    }The ValueObject class which contains the values we want to bind in javafx:
    // ValueObject.java
    import java.util.Observable;
    public class ValueObject extends Observable {
        private String value;
        public String getValue() {
            return this.value;
        public void setValue(String value) {
            this.value = value;
            fireNotify();
        private void fireNotify() {
            setChanged();
            notifyObservers();
    }We also need an adapter class in JFX so we can use bind:
    // ValueObjectAdapter.fx
    import java.util.Observer;
    import java.util.Observable;
    public class ValueObjectAdapter extends Observer {
        public-read var value : String;
        public var valueObject : ValueObject
            on replace { valueObject.addObserver(this)}
        override function update(observable: Observable, arg: Object) {
             // We need to run every code in the JFX EDT
             // do not change if the update method can be called outside the Event Dispatch Thread!
             FX.deferAction(
                 function(): Void {
                    value = valueObject.getValue();
    }And finally the main JFX code which displays the canging value:
    // Main.fx
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.text.Text;
    import javafx.scene.text.Font;
    import threadbindfx.TimeServer;
    var timeServer : TimeServer;
    var valueObjectAdapter : ValueObjectAdapter = new ValueObjectAdapter();
    timeServer = new TimeServer();
    valueObjectAdapter.valueObject = timeServer.valueObject;
    timeServer.start();
    Stage {
        title: "Time Application"
        width: 250
        height: 80
        scene: Scene {
            content: Text {
                font : Font {
                    size : 24
                x : 10, y : 30
                content: bind valueObjectAdapter.value;
    }This approach uses less cpu time than constant polling, and changes aren't dependent on the polling interval.
    However this cannot be applied to code which you cannot change obviously.
    I hope this helps.

  • Importing Java Class Question

    Hello,
    Sorry for such a newbie question and such a long post, I did remember how to do this before but now I can't for the life of me remember. Anyhow, I have a simple question about importing custom-made java classes, from another directory in the windows operating system. I have the classpath set, and also I realize that because the two files below are in the same directory theres no need for an import statement as Java will look for the class in the same directory.
    But I would like to know how the import statement is suppose to look to import a custom made java class from another directory, (assuming of course that I set the correct classpath)
    here's the java class location:
    c:\school\csc365\narcus.java
    //narcus.java
    import java.io.*;
    class narcus implements Comparable
    String firstName = "firstName";
    String lastName = "lastName";
         public narcus()
         firstName = firstName;
         lastName = lastName;
         public narcus(String f)
         firstName = f;
         lastName = lastName;
         public narcus(String f, String l)
         firstName = f;
         lastName = l;
    public String getFirst()
    return "first..";
         public int compareTo(Object e)
         return 1;
    Here's the location of the driver program thats suppose to use the narcus.java class
    c:\school\csc365\test.java
    //test.java
    //import statement? maybe import "c:\\school\\csc365\\*"; ?
    import java.io.*;
    class test
    public static void main(String[] args)
         narcus jim = new narcus();
         System.out.println("omg\n");
         System.out.println(jim.getFirst());
    And also, here is my classpath:
    PATH=c:\school\csc365\;c:\school\
    The classpath also points to the jdk libraries and few other directories but I didn't write that above, as it probably isn't relevant.
    I've tried the following import statements.
    import "c:\\school\csc365\\narcus.java";
    import "narcus.java";
    import "c:\\school\\csc365\\*";
    But I keep getting an error that says:
    test.java:1 <identifier> expected
    Any help is appreciated!

    Hi Folks,
    I am new to this forum, heard that interesting discussions always happens on this forum so immediately registered,don't want to miss any oppurtunity to participate in discussions.
    I have pretty much basic question regarding compiling and exceuting files in different packages.I have the following directory structure
    C:\Projects\WDPROEast\Development\CommonService\Code\Java from where java files stored in different packages as follows:
    com\wdpro\commerce\common\crm\dae\nautilus\adapter directory has java files in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package.
    com\wdpro\commerce\common\dae\exception has java files with package named com.wdpro.commerce.common.dae.exception.
    com\wdpro\commerce\common\dls\exception has java files with corresponding package name.
    com\wdpro\commerce\common\dto has java files under proper package name.
    com\wdpro\commerce\common\exception has java files with appropriate package name.
    com\wdpro\commerce\common\util has java files with package name. I am starting at Java Directory,want to compile and run file named a.java in com.wdpro.commerce.coomon.crm.dae.nautilus.adapter package with having all other java files on classpath as follows
    so I issued command for compilation as follows C:\Projects\WDPROEast\Development\CommonService\Code\Java>javac com/wdpro/commerce/common/crm/dae/nautilus/ada
    pter/a.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdp
    ro/commerce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    b.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java
    com/wdpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dl
    s/exception/*.java It compiled greatly but when I issue command to run a.class file as
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccesssit's giving following exception
    Exception in thread "main" java.lang.NoClassDefFoundError: com/wdpro/commerce/common/crm/dae/nautilus/adapter/
    UtilityAccesssbut when I run a.java with the following command
    C:\Projects\WDPROEast\Development\CommonService\Code\Java>java com/wdpro/commerce/common/crm/dae/nautilus/adap
    ter/UtilityAccess com/wdpro/commerce/common/crm/dae/nautilus/adapter/NautilusServiceUtility.java com/wdpro/com
    merce/common/crm/dae/nautilus/adapter/URLReader.java com/wdpro/commerce/common/crm/dae/nautilus/adapter/Nautil
    usAccessUtility.java com/wdpro/commerce/common/dae/exception/*.java com/wdpro/commerce/common/dto/*.java com/w
    dpro/commerce/common/exception/*.java com/wdpro/commerce/common/util/*.java com/wdpro/commerce/common/dls/exce
    ption/*.javaSo my question do I need to add all required java files to path when required class files are under different packages?is it manadatory.
    I hope you understand my question,pass me any comments you may have.
    Thanks alot,
    Anu

  • Cannot lookup LogicalLockingFactory from custom SFTP Adapter

    Hi,
    We developed an SFTP Adapter on a clustered Advanced Adapter Engine.
    When we try to lookup the LogicalLockingFramework, we get a ClassCastException and the proxy Class is missing the Interface LogicalLockingFactory.
    We use the following code for the lookup:
    LogicalLockingFactory lockingFactory = null;                    
    lockingFactory = (LogicalLockingFactory) new InitialContext().lookup(
              LogicalLockingFactory.JNDI_NAME);
    Does anybody have an idea, wht the problems could be?
    Thanks in advance,
    Gernot

    Hi Gernot,
    i think you are right in this forum.
    You receive this ClassCastException probably because the class loader which tries to load the class is not application classloader. I suggest change the class where you change the classloader.                                                                               
    So you should change the source like this                                                                               
    ClassLoader oldClassLoader =                                                                  
    Thread.currentThread().getContextClassLoader();                                               
    Thread.currentThread().setContextClassLoader(this.getClass().getClassLoa                      
    der());                                                                               
    try {                                                                               
    //Perform the lookup here                                                                               
    } finally { // this step is very important!                                                   
       Thread.currentThread().setContextClassLoader(oldClassLoader);                                 
    It is very important to return back the original contextClassLoader when the lookup finishes.                                                  
    Best regards,
    Martin

  • Fatal Error: missing resource: java.util.PropertyResourceBundle =Urgent

    Hi all,
    In the JSP ,if I include the statement <%@ page import="jack.samples.*" %>
    it is throwing following error:
    This is the Error Message from the Exception:
         Server caught unhandled exception from servlet [BaseServlet]: Server caught
         unhandled exception from servlet [CategoryDisplay]: Server caught unhandled
         exception from servlet [jsp]: Fatal Error: missing resource: java.util.PropertyResourceBundle
         I am using Websphere 3.5 on Windows NT.
         can somebody please help me what is going wrong here ???I am stopped at
         this problem for last 2 days.
    Thanks
    Jack

    Hi,
    Finally I was able to resolve after adding this jar file to the classfile
    path of the application.
    Now,I am trying to access use linkTable.add(new Item(222,"222","333",12.33)) in JSP.
    where linkTable is a LinkedList.
    It fails giving following error:
    This is the Error Message from the Exception:
    Server caught unhandled exception from servlet [BaseServlet]: Server caught unhandled exception from servlet : Server caught unhandled exception from servlet [jsp]: Compilation of "softproduct.jsp" failed: d:\ibm\WAServer\temp\default_host\WCSServlets\_jameco_2F_softproduct_2E_jsp_jsp_2.java:824: No constructor matching Item&#40;int, java.lang.String, java.lang.String, double&#41; found in class jack.samples.Item. linkTab.add&#40;new Item&#40;2222,"222","222",22.33&#41;&#41;&#59; ^ Note: d:\ibm\WAServer\temp\default_host\WCSServlets\_jameco_2F_softproduct_2E_jsp_jsp_2.java uses or overrides a deprecated API. Recompile with "-deprecation" for details. 1 error, 1 warning
    I dont understand why it is failing to add Item object to LinkedList.
    can somebody help me in the forum in this regard.
    Thanks
    Jack

  • How do you invoke custom java classes???

    Could someone post a detailed method of invoking custom java classes that works including what files go where, settings and the way it is invoked etc.
    I have tried various ways from this forum and in the documentation without success. I am using IDM 8. I found these instructions regarding how you would do it if you were writing custom resource adaptors in the deployment tools guide:
    To install a resource adapter you’ve customized:
    1. Load the NewResourceAdapter.class file in the Identity Manager installation
    directory under
    idm/WEB-INF/classes/com/waveset/adapter/sample
    (You might have to create this directory.)
    2. Copy the .gif file to idm/applet/images.
    This .gif file is the image that displays next to the resource name on the List
    Resources page, and it should contain an image for your resource that is
    18x18 pixels and 72 DPI in size.
    3. Add the class to the resource.adapter property in
    config/waveset.properties.
    4. Stop and restart the application server. (For information about working with
    application servers, see Identity Manager Installation.)
    I tried the instructions here but placed my custom class in a folder entitled custom instead of /adapter/sample. Not sure about instruction 3 or whether it is relevent. Anyway nothings working.
    Edited by: masj78 on Nov 25, 2008 3:50 AM
    Edited by: masj78 on Nov 25, 2008 4:03 AM

    Hi,
    The way to add custom class is the same as you followed , put them in the WEB-INF/classes.
    To use the custom adapter ,
    Go To Resources - > Configure Types -> Add Custom Resource .
    Type in the fully qualified class name of the custom adapter you added.and Save.
    Now the new adapter you added should showup in the list of available adapters when you try to
    configure a new adapter.
    (Make sure that the prototype XML of your custom adapter is correct so that it displays the correct name / type for the adapter in the adapter list.
    Thanks,
    Balu

  • Problem with cfobject calling java class

    hi there,
    i have a small java class that takes 2 arguments in
    (fileToRead & fileToWrite) and everything runs fine when i run
    the class from the command line...
    C:\>java csvParser fileToRead fileToWrite
    however when i try to instantiate the class via cfobject like
    so :
    <cfobject type="Java" action="create" class="csvParser"
    name="convert">
    <cfset convert.init(#tmpfile#, "text.xml")>
    it continuously throws the following error at me :
    Unable to find a constructor for class csvParser that accepts
    parameters of type ( java.lang.String, java.lang.String ).
    any ideas ast to what i may be missing here...startin to
    drive me batty.

    C:\>java csvParser fileToRead fileToWrite
    Suggests you passed arguments as args[0] and args[1] to the
    method
    public static void main(String[] args)
    <cfobject type="Java" action="create" class="csvParser"
    name="convert">
    <cfset convert.init(#tmpfile#, "text.xml")>
    Suggests the code for the class CSVParser has the following
    constructor definition:
    private String s1, s2;
    CSVParser (String s1, String s2) {
    this.s1=s1;
    this.s2=s2;
    This seems unlikely, in view of
    "everything runs fine when i run the class from the command
    line". One possibility is to convert the
    public static void main method into, for example, the public
    method
    doThemFiles(String s1, String s2), not forgetting to include
    the return-type in its signature. You could then run
    <cfobject type="Java" action="create" class="csvParser"
    name="convert">
    <cfset convert.doThemFiles("#tmpfile#", "text.xml")>

  • Than how can i get java class by using it's class file?

    Hi
    After compilation of a java program, it creates a class file.
    After getting class file suppose class file has been deleted.
    Than how can i get java class by using it's class file?
    Thanks in advance.

    get a decompiler and run your class file through it--I'll assume you want the source code back and that you are not trying to recover a missing class file by attempting to use the class file that is missing--if it's missing, then I've not a clue on how to get it back by using what is already missing.
    BTW: many of your compilers have source control--if it does, just restore your missing file.

Maybe you are looking for

  • SD Card gets "wiped" by MacBook Pro's SD Card Slot.

    Oddly enough, the first time I plug in an 8GB SDHC card into my MacBook, it reads perfectly fine.  I leave the card in there for a while (an hour or so) then I reopen the SD Card to move a few of the pictures I took over... But as soon as I do... I n

  • Material ledger problem raised by material type

    Hello Expert I activated matrial ledger for plant ZNST and also processed production startup. But something strange is that for material with type 'ROW', in MM03 from accounting view, I can see mutiply tabs for current period data, previous period da

  • Manipulating Text Files

    Hello I have about 100 text log files generated by SQLLDR. Each log file has a number of successful and rejected records denoted in the file. I want to extract this information out from each file. Beside from opening each file up and looking at each

  • Mail shuts down when processing junk

    when fetching mails, mail did always shut down after some seconds. now (with junk settings inactive) everything works, but as soon as i try to classify a mail as junk, then mail shuts down immediately and i can't open the programm anymore... error re

  • Regarding Output in Two pages

    hi all,     I developed Check Printing Form. Output is coming but that is coming in second page. First Page is contain only one line. I was not defined next page also. But data is coming in next page. What will be the problem. Please suggest. Regards