[License Terms] Porting Java API to PHP5

Hey folks,
I hope someone can help me out here, because I could not find a better place to ask that question (if you know a better place, please tell me and do not start a flamewar).
I am porting parts of the core JAVA Api (1.4.2) to PHP5 which makes sense to me (strict API, migrating from Java to PHP easier, porting frameworks from Java to PHP is easier and so on), but I am not sure about the proprietary license the Java API uses.
So my question is:
Is it legal to use method names, class names and even parts of source code (converted to PHP-syntax, of course) in another language?
Kind regards
Thorsten

Hey folks,
I hope someone can help me out here, because I could
not find a better place to ask that question (if you
know a better place, please tell me and do not start
a flamewar).
I am porting parts of the core JAVA Api (1.4.2) to
PHP5 which makes sense to me (strict API, migrating
from Java to PHP easier, porting frameworks from Java
to PHP is easier and so on), but I am not sure about
the proprietary license the Java API uses.
So my question is:
Is it legal to use method names, class names and even
parts of source code (converted to PHP-syntax, of
course) in another language?
Kind regards
ThorstenNot being an Intellectual Property Rights lawyer, I don't know. However, a good start would be reading the license you agreed to when you downloaded the JDK. I don't know if they save it on your hard drive ... you can always go back to the download site and just cancel the download after you read the license.
RD-R
� {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Oracle 11g Standard Edition + Locator Java API

    We have Oracle 11g Standard which includes the Oracle Locator package, but not the Oracle Spatial.
    I would like to use the Oracle® Spatial Java API in my java code, but am unsure of the licensing implications of this.
    I require some form of java api in order to access the geomettry objects stored in the database. Oracle do not allow the download of the java files seperately. I was unable to find any reference to a 'Oracle Locator Java API'
    Could someone let me know what exists in terms of Java API's, what i am entitled to use under the current licensing rules, and where I can download the necessary source/jar files?

    Thanks for letting me know the location of the jar files, that will at least help me get things going.
    I am still concerned about licensing issues, as your reply appears to contradict itself:
    "There is no licensing issues if you just want to use Oracle Spatial Java API(sdoapi.jar) with your spatial data in the Oracle 11g Standard DB."
    and
    "You cannot use some oracle spatial features (PL/SQL packages and their java APIs) in the standard edition."
    I could use some clarification on this. I'm currently assuming that you mean I can legitimately use the spatial java API with any features I have available within the 11g Standard DB (i.e Oracle Locator subset of the Oracle Spatial package), but that I can't take that for granted, especially considering how militant Oracle are being over licensing and patents these days.

  • 'Public' Flex Java API licensing

    Hi all,
    I would like to use the MessageBroker and AsyncMessage classes from Flex Java API to publish messages to a Flex destination from Java classes.
    The library with this API comes in the LiveCycle Data Services release but when i look at this API, it says clear is 'Public'.
    How public is it? Can i use those classes freely for my production application? Is there any license restriction? Same license as for Live Cycle Services?
    I need to know to decide what design i will use to connect or Flex client with our java server, so is really urgent.
    Thanks,
    Dani.

    Looks like things have changed a bit since last week when I posted.
    With the announcement yesterday of BlazeDS (scheduled for release 2008), it seems the libraries mentioned will be available under the LGPL v3, so I believe you may be able to redistribute them (unmodified and probably as a separate installer/archive) under the terms of the LGPL.
    http://labs.adobe.com/technologies/blazeds/
    It sounds like there will be some features not included in the OSS version of Data Services, but from reading the FAQ it seems that the messaging API you mentioned will be included in the LGPL licenced version.

  • Java Api for Msword

    i need api and its help to Communicate with Ms Word Templates from my Java Application

    Hi vitallis,
    Would you mind telling me what the license terms for Njawin are? Can it be used in an in-house commercial application (i.e. not resold, but bundled with the application)? The simtel site says "demo" but I don't see any license terms with the distribution. Even if I can use it for this purpose I would like to document the license from the author (you). Njawin, despite being a "prototype" (your words), seems to work very well based on my testing... even with GUIs. I would be happy to promote its use (and OLEJA) in the forums here at Sun and abroad, if I am permitted to deploy it in my application. It's already working in my development version of my application, but I need to document that I have your permission.
    Regards,
    Sean

  • Java API's supported in the Jdeveloper, IAS, and RDBMS product components

    If there are any technical errors or "mistatement of the facts" in this posting, please let me know about them ..
    This article is being delivered in Draft form and may contain
    errors. Please use the MetaLink "Feedback" button to advise
    Oracle of any issues related to this article.
    PURPOSE
    This article describes the "Enterprise Java Beans" (EJB), "Java Server Pages"
    (JSP) and servlets Application Programming Interfaces (API) supported by the
    Oracle products, Jdeveloper, Internet Application Server (IAS) and the Oracle
    RDBMS release 2 and release 3, also known as Version 8.1.6 and 8.1.7,
    respectively.
    SCOPE & APPLICATION
    All parties interested in the Java API's supported by these products.
    Java API's supported in the Jdeveloper, IAS, and RDBMS product components
    JDEVELOPER
    JDEVELOPER is Oracle's Java development tool designed for coding / development,
    testing / debugging, and deployment of Java Applications to the IAS and
    RDBMS platforms.
    With the java software api's being in a constant state of evolution, each new
    release of Jdeveloper adds support for the "then current" version of the java
    software api's, if it does not already have it implemented.
    JDEVELOPER SERVLET API JSP API EJB API
    VERSION VERSION VERSION VERSION
    3.2.X.X 2.2 1.1 1.1
    3.1.X.X 2.1 1.0 1.0
    NOTE :
    Sun Microsystems and their advisory teams (Oracle is on it) is working on
    "draft" specifications for the next version of all of these API's
    EJB -------> http://java.sun.com/products/ejb/index.html
    JSP -------> http://java.sun.com/products/jsp/index.html
    Servlets --> http://java.sun.com/products/servlet/?frontpage-javaplatform
    It is anticipated that future releases of Jdeveloper will continue to be
    upgraded to include support for the next version of each api.
    To obtain the latest information on Oracle's Internet Development Suite (IDS)
    of tools, please review the "Internet Developer Suite" information located
    on Oracle's technet web site at :
    http://technet.oracle.com/products/index.htm
    IAS
    IAS is Oracle's next evolution of the web server and application server
    product technology superceeding the Web Application Server (WAS) and Oracle
    Application Server (OAS) product lines.
    IAS SERVLET API JSP API EJB API EJE VERSION
    VERSION VERSION VERSION VERSION SUPPORTED
    9I(1.0.2) 2.2 1.1 1.1 817
    8i(1.0.1-NT) 2.0 1.0 1.0 816
    8i(1.0.0-UNIX) 2.0 1.0 1.0 816
    The IAS product contains two Java Virtual Machines (JVM) within it's
    architecture.
    They are called :
    1) APACHE JSERV servlet engine
    2) ORACLE ENTERPRISE JAVA ENGINE (EJE)
    APACHE JSERV servlet engine
    The APACHE JSERV servlet engine is an EXISTING product licensed from the
    apache group which supports the servlet api 2.0.ONLY.
    The APACHE JSERV product does not support ANY JSP's unless the customer
    installs a third party jsp engine.
    The IAS 8i/9i which has the APACHE JSERV product embedded in it, comes with
    Oracle's JSP engine (OJSP) already integrated into it. OJSP supports JSP's up
    to the specific JSP engine version documented in the Oracle Universal
    Installer (OUI) for the 8.1.7 RDBMS or the IAS products. It is also documented
    in the product's release notes.
    Oracle ENTERPRISE JAVA ENGINE (EJE)
    The EJE formerly known as :
    1) Oracle 8i Java Virtual Machine (JVM)
    2) JSERVER component,
    3) Aurora JVM
    was originally releas ed in the RDBMS 8.1.5 database with jdk 1.1.6 based java
    support.
    The currently supported versions of the Oracle 8i RDBMS, versions 2 and 3,
    also known as Version 8.1.6 and 8.1.7, respectively, provides a jdk 1.2.1
    based java virtual machine support.
    "EJE" Version 816
    This EJE, found in rdbms 8.1.6 and IAS 8i, contains support for the ejb
    api 1.0, corba, and java stored procedures.
    "EJE" Version 817
    This EJE, found in rdbms 8.1.7 and IAS 9i, contains support for the ejb,
    corba, and java stored procedures as well as the Oracle Servlet Engine (OSE)
    which provides support for the servlets 2.2 api and JSP 1.1 api.
    Note :
    EJB support in the "EJE" Version 817 has been upgraded to comply with the EJB
    1.1 api specification which includes "entity beans" support.
    What is the bottom line ??
    1) Servlets deployed to the APACHE JSERV must comply with servlet api 2.0.
    2) Servlets 2.1 or higher are only supported in EJE's OSE component found in
    the rdbms 817 or ias 9i products. Servlets api 2.0 can also run in the OSE.
    References
    1) "Oracle9i Application Server Technical White Paper" located at :
    http://technet.oracle.com/products/ias/pdf/9ias_102.pdf
    2) "Whats New? Oracle8i JVM Accelerator, Oracle Servlet Engine, OracleJSP ..."
    located at :
    http://technet.oracle.com/products/oracle8i/pdf/504.pdf
    3) "Oracle8i Release 3 New Features Summary" located at :
    http://technet.oracle.com/products/oracle8i/pdf/8iR3_nfs.pdf
    null

    which jvm is used by jserv ?? EJE or a separate jdk ?
    The Jserv servlet engine is running in a separate jdk JVM external to the EJE jvm which is embedded within the "database" component of ias and the RDBMS.
    See the reference below for more details ...
    if jserv only support old apis, why it is in oracle's products ?
    i would assume that the oracle servlet engine was under development when ias 8i was released and became available in time for the ias 9i and rdbms 817 products.
    looking back in history leads me to believe ias 8i was a migration path to get to ias 9i or rdbms 817.
    Based upon the long history of new releases of every oracle product being upgraded with new features, it's reasonable to assume that these products will continue to evolve.
    when I deploy a jsp how to deploy in the right servlet container ("EJE") ?
    as documented in the reference below, you can deploy JSP's to either the apache jserv jvm or the EJE since the ORACLE JSP engine functionality is in both jvm's.
    there are many posts where you can see that people have deploy in jserv and they have problems because they don't use the right container (servlet 2.0 instead of
    servlet 2.2) http://technet.oracle.com:89/ubb/Forum2/HTML/006349.html
    when ias 8i came out this was clearly an issue since servlet support was at api 2.0, and the current servlet api was probably at 2.1.
    oracle clearly made every effort to get ias 9i released quickly to supply a servlet 2.1 and 2.2 capable engine to resolve this issue.
    since ias 9i and rdbms 8.1.7 are available this is no longer an issue.
    The reference below explains the architecture and understanding it would eliminate a lot of "deploy to the wrong ias 9i component" issues.
    so why jserv is bundled with oracle 8i/9ias since EJE support the right api version ?
    if in ias 9i release , oracle had removed the jserv component without any advance warning, many customers would have been very upset since oracle makes every attempt to give advance notice before removal of functionality.
    References
    1) "Oracle9i Application Server Technical White Paper" located at :
    http://technet.oracle.com/products/ias/pdf/9ias_102.pdf

  • Oracle Spatial 10g R2 Java API

    Hi All,
    I have a JAVA tool said to be written for Oracle Spatial 10g R2 Java API which uses for example the class oracle.spatial.georaster.JGeoRaster. I have to port it to 11g R2. The tool is definitely written for an earlier version, because compilation fails on for example JGeoRaster.getProperties() method which is not present in the new API. For this new API I have a fine Javadoc documentation here:
    http://download-llnw.oracle.com/docs/html/E11829_01/
    I have searched for a similar one for 10g R2 but found only like
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14373/toc.htm
    which misses the oracle.spatial.georaster package. Is there such a package and if so, where can I find docs for it?
    thank you in advance, best regards: Balázs Bámer

    Hi Balázs,
    the GeoRaster Java API was first released with 11gR2. Your first link points to that, or this link:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11829/toc.htm
    your second link points to 10g Oracle Spatial Java API, which doesn't include any GeoRaster related API. your tool might have been developed based on the old INTERNAL georaster jar file, which is not supposed to be used by your java program. But if you do want the api doc, you can run javadoc or jdeveloper to find out the api from the old sdogr.jar file.
    jeffrey

  • Merging any type of documents into existing PDF using Adobe Java APIs

    We know that latest Adobe Acrobat tool can convert any type
    of documents into PDF. We need the same functionality to be built
    in into our java code by using Adobe's Java APIs. I am sure that
    Adobe has some readily available Java APIs to handle such
    requirements.
    FYI: We don't want Adobe's tool to handle this and we want
    Adobe's available Java API to handle this merging functionality
    programatically. We are ready to pay for it.
    Thanks,
    Ashok Hottin

    I'm not 100 percent sure but I'm afraid the way you want to use this Web-service is far from what SAP/Adobe thought it should be used. Take a look at SAP Library [here |http://help.sap.com/saphelp_nw70/helpdata/EN/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm] and [here|http://help.sap.com/saphelp_nw70/helpdata/EN/8d/1cbf69fff9454ca9c5de84182e4bfb/frameset.htm]. This solutions relies on previously created PDF Form Template - that means, e.g. tables are not rendered as if being printed with any number of columns and rows, but components of data tables coming from SAP are injected in rows/columns of the form where they were planned to be during template design.
    Additionally I think your idea of such usage of Adobe Document Services is not covered with software license you have as SAP customer/partner. Once again, I'm not 100% sure about it.
    Still, my opinion is that you won't succeed in it anyway due to the logic of the solution.
    Special PDF manipulation components will do the job better and easier, and nearly of them have demo/trial versions. So, if you ask me, don't waste your time and check special components.

  • Exception when connecting to Reporting and Analysis services from Java API

    Hello,
    I'm trying to connect to Hyperion Reporting and Analysis services from Java API using [Developer's guide|http://www.bidw.in/docs/hs_developer.pdf] .
    I get this error:
    com.sqribe.rm.ReportMartException: com/hyperion/css/CSSException
         at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
         at com.sqribe.rm.AASessionImpl.open(Unknown Source)
         at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
         at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
         at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
         ...My code:
    String user = "user";
    String pwd = "password";
    String host = "my.hyperion.server";
    int port = 6800;
    try {
         Session theSession = SessionFactory.getInstance(user, pwd, host, port);
         Repository theRepository = theSession.getRepository();
    } catch (UserValidationException e) {
         e.printStackTrace();
    } catch (UnknownReportMartException e) {
         e.printStackTrace();
    } catch (ReportMartException e) {
         e.printStackTrace();
    }I have tried to look at my services running, and it all looks OK. I've checked user/passowrd/port for GSM. What can be wrong?
    I also tried to run samples from \BIPlus\SDK\samples\java, e.g. Login.java:
    #> java Login user password my.hyperion.server 6800with this effect
    com.sqribe.rm.ReportMartException: SystemExceptionError
            at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
            at com.sqribe.rm.AASessionImpl.open(Unknown Source)
            at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
            at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
            at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
            at Login.<init>(Login.java:36)
            at Login.main(Login.java:69)I'm sure that I'm connecting to the server because when put wrong passowrd or user as input to Login class I get this:
    com.sqribe.rm.ReportMartException: AUTHEN_CSSLoginFailed
            at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
            at com.sqribe.rm.AASessionImpl.open(Unknown Source)
            at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
            at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
            at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
            at Login.<init>(Login.java:36)
            at Login.main(Login.java:69)so it is there but something is wrong later. Any idea what?
    Please help.
    regards,
    Pawel
    Edited by: Paoro on 2010-09-27 02:02

    HI,
    I am getting the same error while running the Login file, Did any one resolve this issue?
    Please share the solution.
    Thanks.

  • Using the Java API

    Hi everyone,
    I just wanted to see if anyone knows whether I need a license to use the Java API included in the trial version of Adobe LiveCycle ES.
    I need to include some PDF manipulation code for dynamic XFA forms in an application, and I first read that XPAAJ jar was free. So is the API here also free or do I need a license? If anyone knows, could you please point me in the direction of the details if a license is needed.
    I would appreciate your help.
    Thanks.
    Mira.

    Mira
    You don't need a license as long as the application you're building is for evaluation or testing, and NOT for production use.
    You will need to purchase a license for production use.
    Licensing can be complex, and you should contact your local Adobe office or enterprise partner for details.
    XPAAJ was never free, it was bundled with other Adobe products.
    It has been deprecated, and is no longer supplied or supported, as far as I'm aware. You will need to purchase a LiveCycle license of some sort.
    Howard
    http://www.avoka.com

  • How to install Java API

    I have installed Hyperion Essbase 6.1.4, so i can use VB or C to access OLAP databases. However, i would like to use Java.How can i install Java API?thanks in advance

    You will have to download/install the Essbase Enterprise Services 6.1. The Java API is contained within this product and all interaction with Essbase via the Java API uses EES on the middle tier. The good news is that the Java API portion of EES is available for free. If, however, you want to/need to leverage the scalability options of EES, such as server clustering, you will need to add the 'High Concurrency Option' to your Hyperion license agreement.Tim TowApplied OLAP, Inc

  • Java API docs for MapViewer

    I'm looking for the Java API docs for the oracle.lbs.mapclient.MapViewer bean.
    The mapviewer .pdf file has an API section, but only inludes descriptions of some of the arguments passed to the various methods. I'm using the 9.04 release - where should I look for these docs and/or source code?
    Thanks,
    Eric Everman
    USGS

    OK - I found them. They are part of the 9.04 kit as part of the web application.
    ***NOTE: It would be if oracle had all of its javadoc in one location, rather then rely on installations to provide docs.***
    If others are looking for them, they are available as part of the installed web application at:
    host:port:context/mapclient
    Or, if you want file access to them, unzip the mapviewer.ear file that comes with the kit. From that unzip the web.war file. The viewerbean API docs are then located in the mapclient subdirectory.

  • Compiling /usr/ports/java/jdk15 error

    Topic: compiling /usr/ports/java/jdk15 error
    From: Vizion <[email protected]>
    Hi
    I am compiling the FreeBSD port onto FreeBSD 5.3 and do not have enough experience to identify the cause of the error. I have raised the question on the [email protected] mailing list but so far noone has been able to help. Thanks in advance
    Can anyone please advise what to do next--
    Here is the output:
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:220:
    <identifier> expected
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:220:
    unclosed character literal
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:221:
    ')' expected
    private static final class Aliases
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:380:
    <identifier> expected
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:380:
    unclosed character literal
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:381:
    ')' expected
    private static final class Classes
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:419:
    <identifier> expected
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:419:
    unclosed character literal
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:420:
    ')' expected
    private static final class Cache
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:220:
    cannot find symbol
    symbol : class TM
    location: class sun.nio.cs.StandardCharsets
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:220:
    cannot find symbol
    symbol : class Java
    location: class sun.nio.cs.StandardCharsets
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:380:
    cannot find symbol
    symbol : class TM
    location: class sun.nio.cs.StandardCharsets
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:380:
    cannot find symbol
    symbol : class Java
    location: class sun.nio.cs.StandardCharsets
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:419:
    cannot find symbol
    symbol : class TM
    location: class sun.nio.cs.StandardCharsets
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:419:
    cannot find symbol
    symbol : class Java
    location: class sun.nio.cs.StandardCharsets
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    ../../../src/share/classes/java/io/ObjectStreamClass.java:869: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    return cons.newInstance(null);
    ^
    ../../../src/share/classes/java/io/ObjectStreamClass.java:949: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    readObjectNoDataMethod.invoke(obj, null);
    ^
    ../../../src/share/classes/java/io/ObjectStreamClass.java:977: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    return writeReplaceMethod.invoke(obj, null);
    ^
    ../../../src/share/classes/java/io/ObjectStreamClass.java:1006: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    return readResolveMethod.invoke(obj, null);
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:220:
    missing method body, or declare abstract
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:380:
    missing method body, or declare abstract
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:419:
    missing method body, or declare abstract
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:459:
    cannot reference this before supertype constructor has been called
    super("sun.nio.cs", new Aliases(), new Classes(), new Cache());
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:459:
    cannot reference this before supertype constructor has been called
    super("sun.nio.cs", new Aliases(), new Classes(), new Cache());
    ^
    /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:459:
    cannot reference this before supertype constructor has been called
    super("sun.nio.cs", new Aliases(), new Classes(), new Cache());
    ^
    ../../../src/share/classes/sun/misc/ProxyGenerator.java:335: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Class for a varargs call
    cast to java.lang.Class[] for a non-varargs call and to suppress this warning
    hashCodeMethod = Object.class.getMethod("hashCode", null);
    ^
    ../../../src/share/classes/sun/misc/ProxyGenerator.java:338: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Class for a varargs call
    cast to java.lang.Class[] for a non-varargs call and to suppress this warning
    toStringMethod = Object.class.getMethod("toString", null);
    ^
    ../../../src/share/classes/sun/security/jca/ProviderConfig.java:243: warning:
    non-varargs call of varargs method with inexact argument type for last
    parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    obj = cons.newInstance(new String[] { argument });
    ^
    ../../../src/share/classes/javax/xml/transform/TransformerException.java:329:
    warning: non-varargs call of varargs method with inexact argument type for
    last parameter;
    cast to java.lang.Class for a varargs call
    cast to java.lang.Class[] for a non-varargs call and to suppress this warning
    null);
    ^
    ../../../src/share/classes/javax/xml/transform/TransformerException.java:334:
    warning: non-varargs call of varargs method with inexact argument type for
    last parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    exception = (Throwable) meth.invoke(exception, null);
    ^
    ../../../src/share/classes/sun/net/www/protocol/http/HttpURLConnection.java:1186:
    warning: non-varargs call of varargs method with inexact argument type for
    last parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    return (IOException)ctr.newInstance(args);
    ^
    ../../../src/share/classes/com/sun/jmx/mbeanserver/StandardMetaDataImpl.java:637:
    warning: non-varargs call of varargs method with inexact argument type for
    last parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    result = meth.invoke(instance,null);
    ^
    ../../../src/share/classes/com/sun/jmx/mbeanserver/MBeanInstantiatorImpl.java:162:
    warning: non-varargs call of varargs method with inexact argument type for
    last parameter;
    cast to java.lang.Object for a varargs call
    cast to java.lang.Object[] for a non-varargs call and to suppress this warning
    moi= cons.newInstance(null);
    ^
    Note: * uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    21 errors
    12 warnings
    gmake[3]: *** [.compile.classlist] Error 1
    gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java'
    gmake[2]: *** [all] Error 1
    gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
    gmake[1]: *** [all] Error 1
    gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
    gmake: *** [j2se-build] Error 2
    *** Error code 2
    Stop in /usr/ports/java/jdk15.
    david
    40 yrs navigating and computing in blue waters.
    English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
    Currently in San Diego, CA. Sailing May bound for Europe via Panama Canal.

    AHA!
    look here:
    http://lists.freebsd.org/pipermail/freebsd-java/2005-January/003381.html
    other posts in that thread mention a simple test, run "java -version" and if linprocfs isn't mounted, or if anything is not good with your linux emulation in general, then you'll get an error message.
    The file the poster mentions (he gets the path a little wrong but close enough it was obvious to find the right file) has comments that say it's machine generated, and it contains lines like he described, which just happen to be the same as that error message.
    I am about to manually comment out those lines and retry make install,
    but by rights this really suggests a clean start over from scratch since who knows what other files were generated badly?
    The file is:
    file:///usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java
    And the bad lines ar like this:
    It's the line in the middle that begins with "Java HotSpot(TM)..."
    ---snip---
    "cp1257",
    "cp5353",
    Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
    private static final class Aliases
    extends sun.util.PreHashedMap<String>
    private static final int ROWS = 512;
    private static final int SIZE = 141;
    ---snip---
    Enjoy. :)
    [email protected]
    ... posting from an IBM 8361-100 thin client hooked to my plasma tv with a wireless keyboard with touch pad, displaying an xfce4 desktop running on my freebsd box in the cellar...

  • Question using Java API in a multi threaded application for MDX queries

    Currently I’m building a web application that makes a lot of MDX calls using the Essbase Java API. Each time we run an MDX call we basically run the following code:
    IEssbase ess = IEssbase.Home.create(IEssbase.JAPI_VERSION);
    IEssDomain dom = ess.signOn(userName, password, false, null, "embedded");
    IEssCubeView cv = cv=dom.openCubeView("view", hostName, appName, cubeName);
    IEssOpMdxQuery op = cv.createIEssOpMdxQuery();
    op.setQuery(false,mdx,false,IEssOpMdxQuery.EEssMemberIdentifierType.NAME);
    cv.performOperation(op);
    IEssMdDataSet mddata = cv.getMdDataSet();
    cv.close();
    My questions is, is this the correct way to use the API in multi threaded environment where many users may be hitting the application at the same time? For every request do I need to create a separate IEssbase object and sign on to an IEssDomain? Or can I use a single IEssbase and IEssDomain object for the entire application? If not should I call the IEssDomain.signOff() method after each user’s request has completed? Which of the above objects are thread safe? I’m using Essabae 9.3.1. Any insight would be really appreciated.
    Thanks
    David

    Thanks for the input friend,
    I should have mentioned that in my application all
    connections to Essbase use the same user name and
    password so the filtering isn’t a concern. This is my
    first Java application using Essbase has a data
    source, I’m used to connecting to various SQL
    databases and I always use a connection pool, how is
    connection pooling handled in the Essbase java API?I'm not sure what happened to it since I never used it, but there used to be something called the High Availability Services or something that was essentially a connection pool for Essbase JAPI connections, but it required an extra license.
    Since you don't care about identity (everyone has full access to everything), you can create your own connection pool, but you'll have to manage your multithreading yourself. Its been this way since the beginning. The C API isn't/wasn't thread-safe either (we tried).

  • How can i use the operationsComplete JAVA API in EJB2.0

    Hello guys,
    My Issue is cleaning the EJB Cache. some guys saying using JAVA API like operationsComplete like the follwing
    weblogic.ejb.interfaces.EJBLocalObject
    public.void.operationsComplete()
    weblogic.ejb.EJBObject
    public.void.operationsComplete()
    Please reffer the link below
    (http://e-docs.bea.com/wls/docs92/ejb/entity.html#wp1194003)
    Understanding Passivation of Entity Beans
    Entity beans that are involved in transactions can be passivated when necessary in order to attempt to prevent a CacheFullException when an attempt is made to insert an entity bean into a cache that is full. Passivation is handled automatically by the EJB container and you do not need to change the way you program EJBs in order to take advantage of this feature. However, you can optionally program your EJBs to communicate to the cache that they are done performing all operations in the current transaction. The cache can then make use of this information when evaluating beans for the possibility of passivation.
    To optionally program EJBs to notify their cache that they are done performing operations in the current transaction, you can use the operationsComplete Java API as follows:
    weblogic.ejb.interfaces.EJBLocalObject
    public.void.operationsComplete()
    weblogic.ejb.EJBObject
    public.void.operationsComplete()
    It would be great help if any guy give me a solution.
    Thanks in Advance
    Rajasekhar

    Netweaver is comprised of different components...
    in WAS ABAP.. if you go to SPAM.. and select imported support packages and click display..
    You will see list of components.. some of the components you might see at same level and some follow different paths...
    ex:
    SAP_OCS  - > SPAM/SAINT UPDATE 24
    SAP_BASIS -> Support pacakage 13 for 7.0
    SAP_ABAP-> Support pacakge 13 for 7.0
    and the same way you can find different components in java engine...
    http://<host>:<port>/sap/monitoring/SystemInfo
    You can upgrade each of them by individual support packages.. or you can upgrade stack by stack..
    stack is collection of supporpt packages...
    If you follow stack.. then you can tell that you at NW04S Support stack 10 or 11... if you upgrade by support package always it is collection of versions of different support packs in your system...
    Please do come back if you require any further information..
    Award points if this reply found useful

  • Create User in OID using Java API

    I read the documentation, read javadoc for Java API for OID, but still am not clear "how can I create a user in OID using Java API for OID."
    It tells us how to create a java object User, but then how do we write this object to OID ?
    I searched every where, metalink, forums, google...and am still looking for answere...
    Thanks in Advance
    Cheers
    Puneet

    I did it using the Novell LDAP java api:
    import com.novell.ldap.*;
    public class LdapAdmin {
    public static final String ldap_base = "dc=your,dc=company,dc=com";
    public static final String ldap_user_base = "cn=Users," + ldap_base;
    public static final String ldap_portal_base = "cn=PORTAL_GROUPS,cn=Groups," + ldap_base;
    public static final String ldap_extended_base = "cn=Extended Properties,cn=OracleContext," + ldap_base;
    public static final String ldap_dbdomain_base = "cn=OracleDefaultDomain,cn=OracleDBSecurity,cn=Products,cn=OracleContext," + ldap_base;
    public static final String ldap_context_base = "cn=COMMON,cn=OracleDBAppContext," + ldap_dbdomain_base;
    private static final String default_ldap_host = "infrastructure.your.company.com";
    private static final int default_ldap_port = 4032;
    private static final String default_ldap_login = "cn=orcladmin," + ldap_user_base;
    private static final String default_ldap_pwd = "welcome1";
    private static final String default_user_pwd = "secret";
    private static final String[] personclass_values = { "top", "person", "organizationalPerson", "inetOrgPerson", "orcluser", "orcluserv2" };
    public static LDAPConnection getConnection (String host, int port, String user, String pwd) {
    LDAPConnection lc = new LDAPConnection();
    try {
    lc.connect(host,port);
    lc.bind(user,pwd);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in getConnection: "+lex.getResultCode()+"-"+lex.getLDAPErrorMessage());
         return lc;
    public static LDAPConnection getConnection (String host, int port) {
    LDAPConnection lc = new LDAPConnection();
    try {
    lc.connect(host,port);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in getConnection: "+lex.getResultCode()+"-"+lex.getLDAPErrorMessage());
         return lc;
    public static LDAPConnection getConnection (String user, String pwd) {
    LDAPConnection lc = new LDAPConnection();
    try {
    lc.connect(default_ldap_host,default_ldap_port);
    lc.bind(user,pwd);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in getConnection: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    lex.printStackTrace();
         return lc;
    public static LDAPConnection getConnection () {
    return getConnection(default_ldap_host,default_ldap_port);
    public static void bind (LDAPConnection conn, String user, String pwd) {
    try {
    conn.bind(user,pwd);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in bind: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    lex.printStackTrace();
    private static void bind (LDAPConnection conn) {
    bind(conn,default_ldap_login,default_user_pwd);
    public static void modifyAttribute (LDAPConnection conn, String dn, String attr, String val, int mod) {
    LDAPAttribute attribute = new LDAPAttribute(attr,val);
    LDAPModification[] modification = new LDAPModification[] { new LDAPModification(mod,attribute) };
    try {
    conn.modify(dn,modification);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in modifyAttribute: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static void modifyAttribute (LDAPConnection conn, String dn, String attr, String val) {
    modifyAttribute(conn,dn,attr,val,LDAPModification.REPLACE);
    public static void addAttribute (LDAPConnection conn, String dn, String attr, String val) {
    modifyAttribute(conn,dn,attr,val,LDAPModification.ADD);
    public static void deleteAttribute (LDAPConnection conn, String dn, String attr, String val) {
    modifyAttribute(conn,dn,attr,val,LDAPModification.DELETE);
    public static void deleteEntry (LDAPConnection conn, String dn) {
    try {
    conn.delete(dn);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in deleteEntry: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static boolean isValidDn(LDAPConnection conn, String dn) {
    try {
    LDAPSearchResults res = conn.search(dn);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in deleteEntry: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    return false;
    public static void createPerson (LDAPConnection conn, String net_id, String lname, String fname, String office, String email, String id, String fullname) {
         LDAPAttributeSet attributeSet = new LDAPAttributeSet();
    attributeSet.add(new LDAPAttribute("cn", net_id));
    attributeSet.add(new LDAPAttribute("sn", lname));
    attributeSet.add(new LDAPAttribute("objectclass", personclass_values));
    attributeSet.add(new LDAPAttribute("l", office));
    attributeSet.add(new LDAPAttribute("mail", email));
    attributeSet.add(new LDAPAttribute("employeeNumber", id));
    attributeSet.add(new LDAPAttribute("givenName", fname));
    attributeSet.add(new LDAPAttribute("uid", net_id));
    // attributeSet.add(new LDAPAttribute("fullName", fullname));
    attributeSet.add(new LDAPAttribute("orclpkcs12hint", default_user_pwd));
    attributeSet.add(new LDAPAttribute("orclpassword", VerifyPassword.getHash(net_id,default_user_pwd)));
    attributeSet.add(new LDAPAttribute("userpassword", default_user_pwd));
    attributeSet.add(new LDAPAttribute("orcldefaultprofilegroup", "cn=DEFAULT,"+ldap_portal_base));
    LDAPEntry entry = new LDAPEntry("cn="+net_id+","+ldap_user_base,attributeSet);
    try {
    conn.add(entry);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in createPerson: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static void updatePerson (LDAPConnection conn, String net_id, String lname, String fname, String office, String email, String id, String fullname) {
    LDAPModification[] mod = new LDAPModification[8];
    mod[0] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("cn", net_id));
    mod[1] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("sn", lname));
    mod[2] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("l", office));
    mod[3] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("mail", email));
    mod[4] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("employeeNumber", id));
    mod[5] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("givenname", fname));
    mod[6] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("fullName", fullname));
    mod[7] = new LDAPModification(LDAPModification.REPLACE,new LDAPAttribute("uid", net_id));
    try {
    conn.modify("cn="+net_id+","+ldap_user_base,mod);
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in updatePerson: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    public static void main (String[] args) {
    try {
    LDAPConnection conn = getConnection(default_ldap_login,default_ldap_pwd);
    // updatePerson(conn,"ID1","Somebody","Joe","CLE","[email protected]","1","Joe Somebody 2");
    // modifyAttribute(conn,"cn=ID1,"+ldap_user_base,"fullName","Joe Somebody",LDAPModification.REPLACE);
    // modifyAttribute(conn,"cn=ID1,"+ldap_user_base,"displayName","Joe Somebody");
    createPerson(conn,"ID1","Somebody","Joe","CLE","[email protected]","1","Joe Somebody");
    // deleteEntry(conn,"cn=ID1,"+ldap_user_base);
    conn.disconnect();
    } catch (LDAPException lex) {
    System.out.println("LDAP Error in main: ("+lex.getResultCode()+") - "+lex.getLDAPErrorMessage());
    }

Maybe you are looking for

  • No data in response field

    We've complete our form and are testing all of the fields.  When we review the responses, the data is not populating some of our fields.  Any idea why this might be happening?

  • Reversing a Partial payment

    SAP gurus, We are doing a partial payment to 1 of the 2 invoices for the vendor in F-53. The other invoice was paid in full.  Then the residual balance was paid thru payment run. Instead of showing both the invoices and payments as cleared items, the

  • "Could not complete your request because it is not a valid Photoshop document." Error

    Hey, I've been getting the "Could not complete your request because it is not a valid Photoshop document." error in one of my PSDs. Here are just some notes: The original file type is .psd, not a tiff whatsoever, and the file extension is purely myfi

  • Maximum number of internal drives

    Hi All, Well, I just put together a basic system, K8N Neo 2/Athlon 64 3500+/2G Corsair and the first order of business was to install 8-WD 250GB drives on 2-Promise Ultra133 cards.  Only 4 show up on the first card.  The drives are attatched with 36"

  • No start profiles found

    Hi, I'm getting this error while starting instance on application server.On application server we have 2 instances but getting this error only while starting 1 instance. usage: grep [-E|-F] [-c|-l|-q] [-bhinsvwx] [-e pattern_list...]         -f patte