Error while creating JVM -Urgent

This is my Java program - Prog.java
public class Prog {
public static void main(String[] args) {
System.out.println("Hello World" + args[0]);
This is my c program --invoke.c
include <jni.h>
#ifdef _WIN32
#define PATH_SEPARATOR ';'
#else /* UNIX */
#define PATH_SEPARATOR ':'
#endif
#define USER_CLASSPATH "." /* where Prog.class is */
main() {
JNIEnv *env;
JavaVM *jvm;
JDK1_1InitArgs vm_args;
jint res;
jclass cls;
jmethodID mid;
jstring jstr;
jobjectArray args;
char classpath[1024];
/* IMPORTANT: specify vm_args version # if you use JDK1.1.2 and beyond */
vm_args.version = 0x00010001;
JNI_GetDefaultJavaVMInitArgs(&vm_args);
/* Append USER_CLASSPATH to the end of default system class path */
sprintf(classpath, "%s%c%s",
vm_args.classpath, PATH_SEPARATOR, USER_CLASSPATH);
vm_args.classpath = classpath;
/* Create the Java VM */
res = JNI_CreateJavaVM(&jvm,&env,&vm_args);
if (res < 0) {
fprintf(stderr, "Can't create Java VM\n");
exit(1);
cls = (*env)->FindClass(env, "Prog");
if (cls == 0) {
fprintf(stderr, "Can't find Prog class\n");
exit(1);
mid = (*env)->GetStaticMethodID(env, cls, "main", "([Ljava/lang/String;)V");
if (mid == 0) {
fprintf(stderr, "Can't find Prog.main\n");
exit(1);
jstr = (*env)->NewStringUTF(env, " from C!");
if (jstr == 0) {
fprintf(stderr, "Out of memory\n");
exit(1);
args = (*env)->NewObjectArray(env, 1,
(*env)->FindClass(env, "java/lang/String"), jstr);
if (args == 0) {
fprintf(stderr, "Out of memory\n");
exit(1);
(*env)->CallStaticVoidMethod(env, cls, mid, args);
(*jvm)->DestroyJavaVM(jvm);
I am compiling my program using this
gcc -I/usr/java/jdk1.3.1_06/include -I/usr/java/jdk1.3.1_06/include/linux -L/usr/java/jdk1.3.1_06/jre/lib/i386 -ljava invoke.c
All the paths and classpath is correct.
But I am getting an error
invoke.c: In function `main':
invoke.c:34: warning: passing arg 2 of `JNI_CreateJavaVM' from incompatible pointer type
Please tell me what could be the problem.
Thanks and Regarsd,
Anand

Hi Anandabrata,
I think you had referred to the following link
http://java.sun.com/docs/books/jni/html/invoke.html
But you had forgotten to note in which version you are going to invoke the JVM.
Since your compiling command refers to include paths as
======
gcc -I/usr/java/jdk1.3.1_06/include -I/usr/java/jdk1.3.1_06/include/linux -L/usr/java/jdk1.3.1_06/jre/lib/i386 -ljava invoke.c
======
I think you should be using jdk1.3XXXX some thing.
So, the JNI version that you should have tried should be Version2.
As I have commented the release that is specific to the version check and that of version1, better use the uncommented code and try creating the JavaVM.
You should be getting it right.
To be more specific
Do use this
// #ifdef JNI_VERSION_1_2
JavaVMInitArgs vm_args;
JavaVMOption options[1];
options[0].optionString =
"-Djava.class.path=" USER_CLASSPATH;
vm_args.version = 0x00010002;
vm_args.options = options;
vm_args.nOptions = 1;
vm_args.ignoreUnrecognized = JNI_TRUE;
/* Create the Java VM */
res = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
// #else
// JDK1_1InitArgs vm_args;
// char classpath[1024];
// vm_args.version = 0x00010001;
// JNI_GetDefaultJavaVMInitArgs(&vm_args);
// /* Append USER_CLASSPATH to the default system class path */
// sprintf(classpath, "%s%c%s",
// vm_args.classpath, PATH_SEPARATOR, USER_CLASSPATH);
// vm_args.classpath = classpath;
// /* Create the Java VM */
// res = JNI_CreateJavaVM(&jvm, &env, &vm_args);
// #endif /* JNI_VERSION_1_2 */
Good Luck
Dhamo

Similar Messages

  • Error while creating fields in the Category Structure Urgent

    Hii,
    I am getting the Error while creating the Category structure fields
    Error Message : Entry YF_COU   does not exist in CABN - check your entry
    Message no. 00058
    Diagnosis
    Input values must be defined in Table CABN. The value or values 'YF_COU ' are not specified in this table.
    Procedure
    Check whether the input is correct and correct if necessary.
    Procedure for System Administration
    If this is not an incorrect entry, check the system settings and change them if necessary.
    If there is a connection to the Customizing system, you can maintain the system settings by choosing Customizing in the Performance Assistant or Maintain Entries (F5) when displaying the help in a modal dialog box.
    Please help me in this error
    Regards,
    Kumar

    Hii,
    I have assigned the Characteristics group /AFS/SAP_C to the characteristics but still i am getting the error when i assign the Char Field under the Category Structure.
    I have manually created the Characteristics Group AFS characteristics for categories. Is this will automatically updated or while installing the Add On.
    Please explain of the Configuration related to the Category Structure.  
    Regards,
    Kumar

  • URGENT: Error while creating a BAPI

    Hi all !!
    I am facing the below mentioned error while creating a BAPI , to be more specific , the error comes when i try adding a new method by using
    Utilities > API method > add a method
    on after adding a function modile name in there, when i click on the tick mark..
    It shows an error as in :
    BAPI &1 : BAPI function module &2 has no return parameter
    Please help in resolving the same !!
    Thanks & Regards
    Gaurav Verma
    Edited by: Gaurav Verma on Feb 13, 2008 11:52 AM

    Hi,
    cehck the below link how to create a bapi and add as method..
    http://www.sapdev.co.uk/java/jco/bapi_jco.pdf
    Regards,
    Nagaraj

  • Error while creating a new entity row

    This exception raise when i attempt to set an attribute in overwrite entity's create() method. Please show me what mistake did i take ? Thanks !!!
    My error stack says:
    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ManualEntry.
         void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
              ViewRowStorage.java:778
         void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
              ViewRowImpl.java:280
         oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              ViewObjectImpl.java:2105
         oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              QueryCollection.java:771
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1438
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1476
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
              ViewRowSetImpl.java:1460
         oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
              ViewObjectImpl.java:5400
         void oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt()
              JUCtrlActionBinding.java:315
         void oracle.jbo.uicli.controls.JUNavigationBar.doAction(int)
              JUNavigationBar.java:257
         void oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(java.awt.event.ActionEvent)
              JUNavigationBar.java:228
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
              BasicButtonListener.java:216
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85
    ## Detail 0 ##
    java.lang.NullPointerException
         void oracle.jbo.server.ViewDefImpl.processEntityAssociations()
              ViewDefImpl.java:3268
         com.sun.java.util.collections.ArrayList oracle.jbo.server.ViewAttributeDefImpl.getEntityAssociationReferences()
              ViewAttributeDefImpl.java:566
         void oracle.jbo.server.ViewObjectImpl.associatedReferenceEntities(oracle.jbo.server.ViewAttributeDefImpl, com.sun.java.util.collections.ArrayList)
              ViewObjectImpl.java:7697
         void oracle.jbo.server.ViewObjectImpl.sourceChanged(oracle.jbo.server.EntityEvent)
              ViewObjectImpl.java:7199
         void oracle.jbo.server.EntityCache.deliverEntityEvent(oracle.jbo.server.EntityEvent)
              EntityCache.java:504
         void oracle.jbo.server.EntityCache.notifyColumnChange(oracle.jbo.server.EntityImpl, int[], java.lang.Object[])
              EntityCache.java:534
         void oracle.jbo.server.EntityImpl.notifyAttributesChanged(int[], java.lang.Object[])
              EntityImpl.java:4034
         void oracle.jbo.server.EntityImpl.setAttributeValue(int, java.lang.Object)
              EntityImpl.java:1984
         void oracle.jbo.server.AttributeDefImpl.set(oracle.jbo.Row, java.lang.Object)
              AttributeDefImpl.java:1700
         void oracle.jbo.server.EntityImpl.setAttributeInternal(int, java.lang.Object)
              EntityImpl.java:941
         void vn.com.tivn.ticas.bc.ManualEntryImpl.setBatchlogid(oracle.jbo.domain.Number)
              ManualEntryImpl.java:152
         void vn.com.tivn.ticas.bc.ManualEntryImpl.create(oracle.jbo.AttributeList)
              ManualEntryImpl.java:128
         void oracle.jbo.server.EntityImpl.callCreate(oracle.jbo.AttributeList)
              EntityImpl.java:380
         void oracle.jbo.server.ViewRowStorage.create(oracle.jbo.AttributeList)
              ViewRowStorage.java:765
         void oracle.jbo.server.ViewRowImpl.create(oracle.jbo.AttributeList)
              ViewRowImpl.java:280
         oracle.jbo.server.ViewRowImpl oracle.jbo.server.ViewObjectImpl.createInstance(oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              ViewObjectImpl.java:2105
         oracle.jbo.server.RowImpl oracle.jbo.server.QueryCollection.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.server.ViewRowSetImpl, oracle.jbo.AttributeList)
              QueryCollection.java:771
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(int[], oracle.jbo.server.EntityImpl[], oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1438
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(oracle.jbo.AttributeList)
              ViewRowSetImpl.java:1476
         oracle.jbo.Row oracle.jbo.server.ViewRowSetImpl.createRow()
              ViewRowSetImpl.java:1460
         oracle.jbo.Row oracle.jbo.server.ViewObjectImpl.createRow()
              ViewObjectImpl.java:5400
         void oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt()
              JUCtrlActionBinding.java:315
         void oracle.jbo.uicli.controls.JUNavigationBar.doAction(int)
              JUNavigationBar.java:257
         void oracle.jbo.uicli.controls.JUNavigationBar.actionPerformed(java.awt.event.ActionEvent)
              JUNavigationBar.java:228
         void javax.swing.AbstractButton.fireActionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1450
         void javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(java.awt.event.ActionEvent)
              AbstractButton.java:1504
         void javax.swing.DefaultButtonModel.fireActionPerformed(java.awt.event.ActionEvent)
              DefaultButtonModel.java:378
         void javax.swing.DefaultButtonModel.setPressed(boolean)
              DefaultButtonModel.java:250
         void javax.swing.plaf.basic.BasicButtonListener.mouseReleased(java.awt.event.MouseEvent)
              BasicButtonListener.java:216
         void java.awt.AWTEventMulticaster.mouseReleased(java.awt.event.MouseEvent)
              AWTEventMulticaster.java:230
         void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
              Component.java:3715
         void java.awt.Component.processEvent(java.awt.AWTEvent)
              Component.java:3544
         void java.awt.Container.processEvent(java.awt.AWTEvent)
              Container.java:1164
         void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
              Component.java:2593
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1213
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
              Container.java:2451
         boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
              Container.java:2216
         boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
              Container.java:2125
         void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
              Container.java:1200
         void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
              Window.java:922
         void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
              Component.java:2497
         void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
              EventQueue.java:339
         boolean java.awt.EventDispatchThread.pumpOneEventForHierarchy(java.awt.Component)
              EventDispatchThread.java:131
         void java.awt.EventDispatchThread.pumpEventsForHierarchy(java.awt.Conditional, java.awt.Component)
              EventDispatchThread.java:98
         void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
              EventDispatchThread.java:93
         void java.awt.EventDispatchThread.run()
              EventDispatchThread.java:85

    It's most likely a bug.
    See:
    Urgent:  nullpointer exception in postChanges
    Sascha

  • Revenue Recognition - error while creating sales order

    Hi,
    one of my colleague is having a Problem. Its very urgent. could you guys help.
      I have used Revenue recog as"b" and Accrual start period as "a".
      We are getting the error while creating a sales order, G/L account no. not found.
      We have checked all the account assignment config but couldn't find anything.

    Hi guys,
    I have a question, we being SD consultants, do we deal with n e of the revenue issues, I am assuming we deal it to a really brief extent, but I am not familiar with the areas of doing it, so could someone please help me by letting me know the areas where we deal with those issues and how are they looked upon, any material would also be great.
    Just in case, my email is : [email protected]
    Look forward for a response
    Thanks..

  • Error while creating/changing/desplay cost element

    Gents
    Need urgent help. I am getting a below error while creating/changing/Displaying the cost element.
    Table CI_CSKB is not an active table
    Message no. AD 228
    Kindly help me to get the resolve this issue.
    Thanks and Regards
    Vinay Thakre

    hi
    In Cost Elements (Data is Dependent on Controlling Area), please go to extras and check your controlling area while creating the cost element, and make sure if u r creating Primary CE, it has been created as a G/L account and also make sure you use correct CE Category.
    Thanks
    plz award points if helpful.

  • *Error while creating Trave Requset through ESS*

    Hi,
    We are getting following error while creating request through ESS:
    Entry not found in table T706V. Argument: 40P IN 0010120090608
    The estimated travel amounts could not be determined
    Errors have been discovered when checking the Expense Report. Please correct them in order to proceed.
    Whereas we have already maintained entries in the same table.
    Please reply urgently...
    Thanks
    Neha

    Hello,
    The solution is documented in Travel Wiki:
    https://wiki.sdn.sap.com/wiki/display/ERPHCM/Entrynotfoundintable+T706V
    Regards,
    Raynard
    Edited by: Raynard Coscolluela on May 8, 2009 10:53 AM

  • Error while creating new application in windows client

    Hai Experts,
    I am experiencing an error while creating a new application in HFM
    Error Reference number: {F6BA937D-6CBC-486C-800C-57DAB415C5EE}
    NUM:0X80040225;TYPE:1;DTIME:6/12/2012 10:52:48 AB;SVR; STATION31; FILE: CHSXSERVERIMP1: CPP; LINE:3537;VER:11.1.1.3.0.2413;
    Please reply me it's urgent.

    Hai,
    After doing snapshot my application was created and even in fdm also i found error while creating application(hint:cache not found) but now everything is fine don't know what exactly the error may be but now i am facing 404 error while doing Assign Access control in shared services console what may be the reason did anyone experienced this error if so please provide me the solution.
    Edited by: 940022 on Jun 15, 2012 3:50 AM
    Edited by: 940022 on Jun 15, 2012 3:51 AM

  • Error while creating ADS User

    Hi,
    I'm in the process of installing NW 2004's, but i got error while Creating ADS user. Below are the logs, which i'm getting--
    WARNING 2008-02-12 07:02:15
    Execution of the command "/usr/sap/ND2/DVEBMGS00/exe/jlaunch UserCheck.jlaunch com.sap.security.tools.UserCheck /tmp/install/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/install/lib:/tmp/install/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/install/sharedlib:/tmp/install/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/install -c sysnr=00 -c ashost=gnwux04 -c client=001 -c user=DDIC -c XXXXXX -a checkCreate -u ADSUSER -p XXXXXX -message_file UserCheck.message" finished with return code 255. Output: Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    ERROR 2008-02-12 07:02:15
    CJS-30197  . For more details see output of logfile:
    ERROR 2008-02-12 07:02:15
    FCO-00011  The step createADSUser with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_ADS|ind|ind|ind|ind|2|0|createADSUser was executed with status ERROR .
    Please help me out this is urgent, as my installation is halted.
    THanks,
    Anand.

    Hello,
    this is not really an ADS problem. It might be better if try to ask this in the WebAS forum. The problem is here with the UME.
    Best regards,
    Dezso

  • Error while creating index

    hi all,
    i got this error while creating index in portal.
    <b>Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213)</b>
    it a little urgent any will be appreciated.
    thanks in advance
    Ranga

    Hi Ranga,
    Please follow http://help.sap.com/saphelp_nw04s/helpdata/en/c7/e0d13f7fb44c21e10000000a1550b0/frameset.htm
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • ***Error while creating tne applications in Essbase***

    Hi all,
    We are getting the following error while creating the applications in Essbase console ( we are using Oracle EPM 11.1.1.2 on vmware 2003 server).
    Error: 1056603 Unable to spawn process for application. Please ensure that adequate memory is available.
    Kindly have insight on this error and advise on the same.
    Expecting assistance very soon as it is of urgent requirement we are in amidst of processes
    Thank you.

    Hi Mink,
    Thanks for ur quick reply.
    I am working with vmware,I have allocated 1.5GB of RAM and it has 20GB of disk space is available.
    Is there anything else that I need to check?Its not becoz of Memory I assume.
    Thank you.

  • Error while creating JAAS subject credentials

    Hello,
    I have a client program that runs in a separeate JVM accessing a server (on a different JVM of course). A user name and password is given as inputs to the client program. One of our testers have found out that any user name containing the "@" character seems to mess up the JAAS authentication. For example, as user names,
    sunil.com will work.
    [email protected] will not
    sunil@xyz will not.
    On the client side, I get a
    "nested exception is: org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe" error and on the server side I see the following
    SEVERE: IOP5035: Error while creating a JAAS subject credential.
    com.sun.enterprise.iiop.security.SecurityMechanismException: Unknown realm
    at com.sun.enterprise.iiop.security.GSSUPToken.<init>(GSSUPToken.java:222)
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.createAuthCred(SecServerRequestInterceptor.java:387)
    at com.sun.enterprise.iiop.security.SecServerRequestInterceptor.receive_request(SecServerRequestInterceptor.java:562)
    at com.sun.corba.ee.internal.Interceptors.InterceptorInvoker.invokeServerInterceptorIntermediatePoint(InterceptorInvoker.java:479)
    at com.sun.corba.ee.internal.Interceptors.PIORB.invokeServerPIIntermediatePoint(PIORB.java:810)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.internalDispatch(GenericPOAServerSC.java:207)
    at com.sun.corba.ee.internal.POA.GenericPOAServerSC.dispatch(GenericPOAServerSC.java:113)
    at com.sun.corba.ee.internal.iiop.ORB.process(ORB.java:275)
    at com.sun.corba.ee.internal.iiop.RequestProcessor.process(RequestProcessor.java:83)
    at com.iplanet.ias.corba.ee.internal.iiop.ServicableWrapper.service(ServicableWrapper.java:25)
    at com.iplanet.ias.util.threadpool.FastThreadPool$ThreadPoolThread.run(FastThreadPool.java:283)
    at java.lang.Thread.run(Thread.java:536)
    Does any one know if this is expected?

    I'm not using AS.
    I have full permission on the file.
    It's not a non-English environment.
    So I feel it doesn't resemble.
    My environment is on 11.1.0.6.0 and that note applies to Version: 10.1.3.0.0 to 10.1.3.1.0
    Regards,
    S.K.
    Edited by: Santosh Kumar on Oct 7, 2009 4:25 PM

  • Error while creating a new connection in ODSM for OVD

    Hi all,
    I am getting the following error while creating a new connection in ODSM for OVD.
    Error log:
    [2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by:
    =======
    java.lang.NoClassDefFoundError: Could not initialize class
    com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
    at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
    at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
    at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
    at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
    at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
    at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
    at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
    at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
    at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
    at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    ... 28 more
    How to resolve this issue.Pls suggest me.
    Regards,
    -Deena.

    Hi Deena,
    This error:
    "[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
    is known issue
    Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
    You need to apply that patch.
    I hope this helps,
    Thiago Leoncio.

  • Error while creating a recipe in plm..

    Hi every one,
    System throughing below error while creating a recipe.
    "Entries in status management Customizing are incorrect"
    kindly suggest.
    have a good day..
    regards,
    kirran

    Hi Kirran,
    Please see if you have defined a status scheme and assigned it to the recipe type. Before defining a status scheme, you must complete the one time IMG activity 'Collect Object Types and Assigned Attributes' under Recipe Development > Status Management. Then in the next node you define individual statuses and a scheme with transitions. For each status, you must define 'field value' for the field RCP_USAGE which is nothing but a value from Recipe Purposes customizing.
    Hope this helps.
    Regards,
    Rajeev

  • Error while creating a PO

    Hi all,
    I have got an error while creating a PO with an Internal Order. I am trying to post this PO against an Internal Order. The error message says that:
    User status BUDG is active (ORD 10034). When I click the perform assistant, it says that according to this status, transaction 'Material purchase order' is not allowed.
    Can somebody plss help me in this regards, I will assign points.
    Thank you,
    Sony

    What you enter in the Cost element master data is only for defaulting the cost center or order when you use that GL account.
    When you see a message  transction  requires an account assignment, you can enter the relevant cost center for which the cost is incurred.
    For your information, If an order has been marked as statistical, you can find it in KO02 change order > Control data. there may be  check box saying statistical. If it is not available, then, you can't make it statistical until, you make that field available for change for the order type. Usually orders of a particular type can be made as statistical, by providing a model order to the order type. In the model order you specify that it will be statistical.

Maybe you are looking for