Java API - PublicReportServiceClient.class

I have a BI Publisher API, publicreportserviceclient.class, that was created by a contractor in 2007 that needs to be reengineered. Code anomolies appear when opening the class in Oracle JDeveloper 11g Release 2. The code follows. What is the purpose of the _mthclass$(String s) methode.  There are many occurances of $, why?  How can I remove these unnecessary $ characters in the code without destroying the code?  Kinda lost, please help! Thanks.
package oracle.apps.xdo.webservice;
import java.io.FileOutputStream;
import java.util.Properties;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
// Referenced classes of package oracle.apps.xdo.webservice:
//      ParamNameValue, ReportRequest, ReportResponse
public class PublicReportServiceClient
Couldn't fully decompile method _mthclass$
Couldn't resolve all exception handlers in method _mthclass$
  private static Service service = null;
  private static Call call = null;
  private static Class class$oracle$apps$xdo$webservice$ReportRequest; /* synthetic field */
  private static Class class$org$apache$axis$encoding$ser$BeanSerializerFactory; /* synthetic field */
  private static Class class$org$apache$axis$encoding$ser$BeanDeserializerFactory; /* synthetic field */
  private static Class class$oracle$apps$xdo$webservice$ParamNameValue; /* synthetic field */
  private static Class class$oracle$apps$xdo$webservice$ReportResponse; /* synthetic field */
  public static void main(String args[])
    throws Exception
    callRunReport("Report", "pdf", "11-NOV-2009", "19-NOV-2009", "4", "13", "13-NOV-2009");
  public static void callRunReport(String reportName, String reportType, String a_DATE, String b_DATE, String c_NUMBER, String d_NUMBER, String e_DATE)
    throws Exception
    Properties props = new Properties();
    ClassLoader loader = Thread.currentThread().getContextClassLoader();
    java.io.InputStream in = loader.getResourceAsStream("connInfoCHANGEME.properties");
    props.load(in);
    String url = props.getProperty("BIPubWebServiceURL");
    service = new Service();
    call = (Call)service.createCall();
    call.setTargetEndpointAddress(url);
    call.setTimeout(new Integer(0x36ee80));
    QName reportReq = new QName("http://xmlns.oracle.com/oxp/service/PublicReportService", "ReportRequest");
    Class cls = class$oracle$apps$xdo$webservice$ReportRequest == null && (class$oracle$apps$xdo$webservice$ReportRequest = _mthclass$("oracle.apps.xdo.webservice.ReportRequest")) == null ? class$oracle$apps$xdo$webservice$ReportRequest : class$oracle$apps$xdo$webservice$ReportRequest;
    call.registerTypeMapping(cls, reportReq, class$org$apache$axis$encoding$ser$BeanSerializerFactory == null && (class$org$apache$axis$encoding$ser$BeanSerializerFactory = _mthclass$("org.apache.axis.encoding.ser.BeanSerializerFactory")) == null ? class$org$apache$axis$encoding$ser$BeanSerializerFactory : class$org$apache$axis$encoding$ser$BeanSerializerFactory, class$org$apache$axis$encoding$ser$BeanDeserializerFactory == null && (class$org$apache$axis$encoding$ser$BeanDeserializerFactory = _mthclass$("org.apache.axis.encoding.ser.BeanDeserializerFactory")) == null ? class$org$apache$axis$encoding$ser$BeanDeserializerFactory : class$org$apache$axis$encoding$ser$BeanDeserializerFactory);
    QName nmvals = new QName("http://xmlns.oracle.com/oxp/service/PublicReportService", "ParamNameValue");
    cls = class$oracle$apps$xdo$webservice$ParamNameValue == null && (class$oracle$apps$xdo$webservice$ParamNameValue = _mthclass$("oracle.apps.xdo.webservice.ParamNameValue")) == null ? class$oracle$apps$xdo$webservice$ParamNameValue : class$oracle$apps$xdo$webservice$ParamNameValue;
    call.registerTypeMapping(cls, nmvals, class$org$apache$axis$encoding$ser$BeanSerializerFactory == null && (class$org$apache$axis$encoding$ser$BeanSerializerFactory = _mthclass$("org.apache.axis.encoding.ser.BeanSerializerFactory")) == null ? class$org$apache$axis$encoding$ser$BeanSerializerFactory : class$org$apache$axis$encoding$ser$BeanSerializerFactory, class$org$apache$axis$encoding$ser$BeanDeserializerFactory == null && (class$org$apache$axis$encoding$ser$BeanDeserializerFactory = _mthclass$("org.apache.axis.encoding.ser.BeanDeserializerFactory")) == null ? class$org$apache$axis$encoding$ser$BeanDeserializerFactory : class$org$apache$axis$encoding$ser$BeanDeserializerFactory);
    QName reportRespqn = new QName("http://xmlns.oracle.com/oxp/service/PublicReportService", "ReportResponse");
    cls = class$oracle$apps$xdo$webservice$ReportResponse == null && (class$oracle$apps$xdo$webservice$ReportResponse = _mthclass$("oracle.apps.xdo.webservice.ReportResponse")) == null ? class$oracle$apps$xdo$webservice$ReportResponse : class$oracle$apps$xdo$webservice$ReportResponse;
    call.registerTypeMapping(cls, reportRespqn, class$org$apache$axis$encoding$ser$BeanSerializerFactory == null && (class$org$apache$axis$encoding$ser$BeanSerializerFactory = _mthclass$("org.apache.axis.encoding.ser.BeanSerializerFactory")) == null ? class$org$apache$axis$encoding$ser$BeanSerializerFactory : class$org$apache$axis$encoding$ser$BeanSerializerFactory, class$org$apache$axis$encoding$ser$BeanDeserializerFactory == null && (class$org$apache$axis$encoding$ser$BeanDeserializerFactory = _mthclass$("org.apache.axis.encoding.ser.BeanDeserializerFactory")) == null ? class$org$apache$axis$encoding$ser$BeanDeserializerFactory : class$org$apache$axis$encoding$ser$BeanDeserializerFactory);
    call.setOperationName(new QName("http://xmlns.oracle.com/oxp/service/PublicReportService", "runReport"));
    call.addParameter("ReportRequest", reportReq, ParameterMode.IN);
    call.addParameter("userID", XMLType.XSD_STRING, ParameterMode.IN);
    call.addParameter("password", XMLType.XSD_STRING, ParameterMode.IN);
    call.setReturnClass(class$oracle$apps$xdo$webservice$ReportResponse == null && (class$oracle$apps$xdo$webservice$ReportResponse = _mthclass$("oracle.apps.xdo.webservice.ReportResponse")) == null ? class$oracle$apps$xdo$webservice$ReportResponse : class$oracle$apps$xdo$webservice$ReportResponse);
    ParamNameValue paramNmVals[] = new ParamNameValue[5];
    paramNmVals[0] = new ParamNameValue("a_date", new String[] {
      a_START_DATE
    paramNmVals[1] = new ParamNameValue("b_date", new String[] {
      b_END_DATE
    paramNmVals[2] = new ParamNameValue("c_volume", new String[] {
      c_NUMBER
    paramNmVals[3] = new ParamNameValue("d_number", new String[] {
      d_NUMBER
    paramNmVals[4] = new ParamNameValue("e_date", new String[] {
      e_DATE
    String reportPath = props.getProperty("BIPubReportsFolder");
    reportPath = reportPath + "/" + reportName + "/" + reportName + ".xdo";
    ReportRequest req = new ReportRequest(reportPath, paramNmVals, reportType, null, null);
    String bi_username = props.getProperty("BIPubUser");
    String bi_pass = props.getProperty("BIPubPass");
    ReportResponse reportResp = (ReportResponse)call.invoke(new Object[] {
      req, bi_username, bi_pass
    String bip_location = props.getProperty("BIPLOCATION");
    byte baReport[] = reportResp.getReportBytes();
    FileOutputStream fio = new FileOutputStream(bip_location);
    fio.write(baReport);
    fio.close();
  public PublicReportServiceClient()
  static Class _mthclass$(String s)
    s;
    Class.forName();
    return;
    JVM INSTR new #8   <Class NoClassDefFoundError>;
    JVM INSTR dup_x1 ;
    JVM INSTR swap ;
    getMessage();
    NoClassDefFoundError();
    throw ;
}

To get this to work, I added every file defined in OWB_HOME\owb\bin\admin\owb.classpath to my classpath. So far it is working.
You could also look at OWB_HOME\owb\bin\win32\setowbenv.bat to see how all the environment variables are set before starting OWB.

Similar Messages

  • Can i generate java API from class files

    I have only class files. Is it possible to generate the java API using the javadoc.If yes, pls tell me how can i do??

    Also, Javadoc 1.4.2 will contain an unsupported option -Xclasses
    that should allow you to do this. You must pass in class names
    and use -classpath to find them. For com.package.MyClass
    at /home/classes/com/package/MyClass.class,
    you would run:
    javadoc -Xclasses -classpath /home/classes com.package.MyClass
    For mroe info, see:
    http://developer.java.sun.com/developer/bugParade/bugs/4720100.html-
    Doug Kramer
    Javadoc team

  • Java API - Editor class for an XML schema

    Hi,
    i am very interesting in Java API. I would like to make an editor class for an XML schema. (I will create XML files in the current project based on this XML schema.) What step's are require for this editor class?
    Regards
    Gabor

    DavidThi808 wrote:
    jtahlborn wrote:
    you can provide a schema when parsing an xml document in order to check for schema conformance, but that isn't going to affect your XPath queries at all. DOM content is never anything but strings.In the case of both dom4j/jaxen and the .NET runtime the values returned from XPath queries when a schema is provided are typed. So you get back numbers, dates, and booleans as well as strings. And for numbers you get correct comparisons so 20 > 1.i guess it's possible. i use schemas when parsing xml, and i've used xpath (infrequently), but i'm not sure that i've ever used them together in a way that i would see functionality like that.
    FYI, you use http://docs.oracle.com/javase/6/docs/api/javax/xml/parsers/DocumentBuilderFactory.html#setSchema%28javax.xml.validation.Schema%29 to specify a schema while parsing with a DocumentBuilder.

  • Need Java api for .class file comparison....

    Hi all,
    In .net one CecilAssemblyAnalyzer api is der it analyze the two version of .net applic in offline mode (pick .exe and .dll files)
    n forms tree structure and den copares both tree n get the changed function..
    i need same type api in Java...
    Thanks in advance..
    Regards,
    Sachith

    <blockquote>quote:<br><hr><i>Originally posted by: <b>sunny_rush</b></i><BR>com_beacon_essbase_jni_EssApiJni.c:15:20: essotl.h: No such file or directory<BR><hr></blockquote><BR><BR>That package does not appear to be from Hyperion but rather from a third party. Based on the name, it may have come from Beacon Analytics which is now part of Answerthink. Did you have consulting from them in the past?<BR><BR>Tim<BR><BR><BR>

  • Can i create more than one attributes for the custom class created using java API

    Hello everyone,
    I have been creating class and its attributes programatically using java APIs, I want to know that is there any way to create multipal attributs for the same class in just one call of API with all the options for each attributes,
    thanks

    You can create a new class and define all of the Attributes at the time the class is created - this is the preferred way of creating classes. Use the addAttributeDefinition() method on ClassObjectDefinition. If you need to add attributes to existing classes, you can only add them one at a time (using the addAttribute() method on ClassObject).
    (dave)

  • Where are the Java API classes?

    Hello All,
    I understand that Oracle9i uses a Java API different than those older classes found in sdoapi.zip here on the OTN.
    Problem is, I don't know where to find them in my newly-installed 9iR2.
    Can anyone help me with this simple question or point me to appropriate documentation?
    Thanks!
    -- john

    I believe the new Java API classes are slated for 10i.

  • Where can I find the original code for class in Java API

    I am learning Java programming and wanted to see how professionals handel all cases. Can anyone tell me where I can find the original implementation code for classes in Java API? It would be a great help for me.

    the basic source is where you installed java in a file called java.src, its either in the main dir of one of the sub dirs ( mmm ), contains all the source code for all the classes in the api.

  • CODE SAMPLES OF JAVA API CLASS

    Hi,
    JAVA API information almost doesn't have any example of code (real life examples).
    Is any site or download where I can find examples for any API class ( free is best).
    thank you

    All API examples are there at
    http://developer.java.sun.com/developer/codesamples/examplets/index.html

  • Example code for each and every class in java API

    hi,
    Is there any place where i can get example code for eacha and every class in java API.
    for eample...if i wanna find sample codes for all the clases in java.lang.*
    please let me know ASAP.
    thanks in advance

    Crossposted here: http://forum.java.sun.com/thread.jsp?thread=570264&forum=54&message=2820774

  • Which java API package contains Container class???????

    can forum experts tell me which java API package contains Container and GlobalContainer class......???????/

    <b>aii.map.api</b>
    If you need to access the Cotainer Object (i.e) the runtime constants inside you java mapping etc, you use
    AbstractTrace trace=(AbstractTrace)getParameters().get(StreamTransformationConstants.MAPPING_TRACE);
    To access this in a UDF in graphical mapping you mention,
    container.getTrace()
    Regards
    Bhavesh

  • HFM Security Class Java API

    Dear All,
    I'm trying to get HFM Security Class info using Java APIs. Recently I was able to connect to the Hyperion Shared Services using the hyperion css.jar java file. Is there a similar jar to access the Security classes and get users, groups and vice versa?
    Any examples would be great as well.

    Thanks for the reply. I was hoping this was not the case...
    In 9.2 I used these objects but I was hoping to move away from this and use provided API's.
    I'm using c# to talk to the object which I expose to java using web services so I guess that is what I'll be using!!!
    Cheers,

  • Extracting specific detial about class from the JAVA API created by Javadoc

    hi ,
    Bacialy I need to get detials of all classes from the Java packages for my project. So i thought getting detials from the Java API document might be one way of doing it. If any one tell me some package or software which can get particulat text from the API document that will be great.
    Thank you,
    Raj

    Hi,
    I think, much easier way would be to write a little doclet. That doclet would take the information you need directly from the Doclet API and generate by it a plain text with the content you wish (for instance, as an SQL script that loads everything into a certain database).
    Obtaining this from the generated HTML documentation just adds one extra step (and a lot more complicated, by the way).
    Also, you can avoid even writing a doclet.
    There is a tool called DocFlex/Javadoc:
    http://www.filigris.com/products/docflex_javadoc/
    It is a template-driven doclet, which can be easily programmed to do the job. (However, a license will be needed).
    Regards,
    Leonid Rudy
    http://www.docflex.com

  • Unable to raise password expiry warning exception in OID using JAVA API

    Hi,
    We are maintaing the user information for our application in OID(9.2). During logon, it is required that a warning is given to the user according to the value set in "Password Expiration Warning" parameter.
    A pl/sql program (using DBMS_LDAP/DBMS_LDAP_UTL packages) written to test password expiry raises the PWD_EXPIRE_WARN exception as expected. However we are unable to simulate the same using the JAVA APIs.
    We did try some thing like the following:
    public class SampleExpire {
    public static void main(String argv[])
    throws NamingException {
    // Create InitialDirContext
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx( "TCS-UUODC4",
    "4032",
    "cn=orcladmin",
    "welc0me" );
    System.out.println("Hello");
    // Create User Objects
    User myuser = null,
    try {
    // Create User using a subscriber DN and the User DN
    myuser = new User ( ctx,
    Util.IDTYPE_DN,
    "uid=C100013, ou=People, o=UUSD",
    Util.IDTYPE_DN,
    "ou=People, o=UUSD",
    false );
    catch ( UtilException e ) {
    * Exception encountered in User object constructor
    System.out.println("User creation failed");
    // Authenticate User
    try {
    myuser.authenticateUser(ctx,User.CREDTYPE_PASSWD,"Z100013");
    catch ( UtilException e ) {
    * Authenticate fails
    System.out.println("Authentication failed");
    } // End of SampleExpire.java
    The authenticate user does not raise any exception.
    Am I missing something ?
    Regards -
    Adhiraj

    Hi,
    did you manage to solve this problem? Please let me know

  • Unable to run the 9.3 JAVA API in "embedded" mode without APS installed

    <p>Hello,</p><p> </p><p>I'm trying to run the 9.3 JAVA API in "embedded" modewithout APS installed.</p><p> </p><p>I first used build Build <b>242</b> which was supplied with 9.3beta. This worked great and exactly the way I wanted to.</p><p>Now I'm trying to do the same with the production release of 9.3JAPI which is (to my knowledge) build <b>305</b>. With build 305I'm not able to connect to Essbase without APS installed.</p><p> </p><p>The reason I do not want to install APS is because I'm runningthe Java code from with an Oracle database (the JAPI jars areloaded into the database)</p><p> </p><p>Please see below loglines (running the sampleConnect.class):</p><p> </p><p><span style=" text-decoration: underline;"><b>Build 242 (whichworks ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:53:24 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 242<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>Connection to Analyic server '10.130.60.78' was successful.<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number 5178)<br>Process exited with exit code 0.<br></p><p> </p><p><span style=" text-decoration: underline;"><b>Build 305 (whichdoes not work ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 305<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 68529)<br>Error: Cannot connect to olap service. null<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number68529)<br>Process exited with exit code 1.</p>

    <p>Hello,</p><p> </p><p>I'm trying to run the 9.3 JAVA API in "embedded" modewithout APS installed.</p><p> </p><p>I first used build Build <b>242</b> which was supplied with 9.3beta. This worked great and exactly the way I wanted to.</p><p>Now I'm trying to do the same with the production release of 9.3JAPI which is (to my knowledge) build <b>305</b>. With build 305I'm not able to connect to Essbase without APS installed.</p><p> </p><p>The reason I do not want to install APS is because I'm runningthe Java code from with an Oracle database (the JAPI jars areloaded into the database)</p><p> </p><p>Please see below loglines (running the sampleConnect.class):</p><p> </p><p><span style=" text-decoration: underline;"><b>Build 242 (whichworks ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:53:24 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 242<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:53:25 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 5178)<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: (from user '**aps_profile is Enabled**' session numberfalse)<br>Connection to Analyic server '10.130.60.78' was successful.<br>INFO [main]: - Time: Mon Feb 12 08:53:25 CET 2007,<br>[Mon Feb 12 08:53:25 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number 5178)<br>Process exited with exit code 0.<br></p><p> </p><p><span style=" text-decoration: underline;"><b>Build 305 (whichdoes not work ok)</b></span></p><p>Java(TM) 2 Runtime Environment, Standard Edition (build1.4.2_06-b03)<br>Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, AnalyticProvider Services - Release 9.3.0.0 Build 305<br>Copyright (c) 1991-2006 Hyperion Solutions Corporation. All rightsreserved.<br>connection mode : EMBEDDED<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, connection mode: EMBEDDED<br>essbase.properties: essbase.properties<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,essbase.properties: essbase.properties<br>domain.db location: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007, domain.dblocation: ./domain.db<br>WARN [main]: - Time: Mon Feb 12 08:54:28 CET 2007,cluster.monitor.interval : 30</p><p>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign on (from user Administrator session number 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: get my analytics mode (from user Administrator sessionnumber 68529)<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: connect to olap service (from user Administrator sessionnumber 68529)<br>Error: Cannot connect to olap service. null<br>INFO [main]: - Time: Mon Feb 12 08:54:28 CET 2007,<br>[Mon Feb 12 08:54:28 CET 2007] - Service using EMBEDDED<br>Request: sign off (from user Administrator session number68529)<br>Process exited with exit code 1.</p>

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

Maybe you are looking for

  • Home wireless NAS suddenly stops working

    I had a working wireless NAS up until a couple days ago, but when I tried to mount the NAS wirelessly as I always do - Connect To Server (from Go menu) - I get the error message: "The finder cannot complete the operation because some data in "smb://s

  • ITunes not installed correctly   Error 7 Windows error 126   Please help

    iTunes not installed correctly.  Error 7    Windows error 126    Any suggestions would be greatly appreciated!  Thank you!

  • Messages are remaining in my Outbox

    Hello, last night I tried to set up my mail application, but now I tried to send an e-mail and I am getting the following message: "This message could not be delivered and will remain in your Outbox until it can be delivered. The sender address *****

  • How to assign contact person with user id to vendor via upload

    Dear All, We have successfully uploaded external business partner (Vendor) from ECC6 to SRM5.0  via BBPGETVD. So vendor is available in PPOMV_BBP. Now we would like to assign the contact person with user ID to this vendor so that he can logon to our

  • Using Outlook with MacBook is frustrating - need help

    One main reason I purchased a MacBook Pro is because I knew they had a compatable Microsoft Office program. Unfortunately now that i have it installed I cant sink my contacts, notes and calendars with the MacBrook Pro/iPdad Iphone. Does anyone know i