Error while running a Java Program

Can anyone help me,
I am getting the following error while running a Java program, Below is the exception thrown, please help.
java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:425)
at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
at org.jetel.graph.Edge.writeRecord(Edge.java:288)
at com.tcs.re.component.RESummer1.run(RESummer1.java:505)
java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:425)
at java.nio.DirectByteBuffer.putChar(DirectByteBuffer.java:463)
at org.jetel.data.StringDataField.serialize(StringDataField.java:295)
at org.jetel.data.DataRecord.serialize(DataRecord.java:283)
at org.jetel.graph.DirectEdge.writeRecord(DirectEdge.java:216)
at org.jetel.graph.Edge.writeRecord(Edge.java:288)
at com.tcs.re.component.RECollectCont.run(RECollectCont.java:304)

Ok, let's see. Write the following class:
public class Grunt {
  public static void main(String[] args) {
    System.out.println("Hello Mars");
}Save it as "C:\Grunt.java", compile by typing:
javac c:\Grunt.javaRun by typing:
java -classpath "C:\" GruntDoes it say "Hello Mars"? If yes, go back to your program and compare for differences (maybe you used the "package" statement?).
Regards

Similar Messages

  • NoClassFoundError exception while running the java program

    Hi,
    I am getting the following exception while running a java program CSTToGMTToSQL.java
    Exception in thread "main" java.lang.NoClassDefFoundError: CSTToGMTToSQL
    However, the class file is getting created for this program in the same directory where the program is residing.
    Any idea on this ?
    Regards
    Ramesh

    I know that in the past there was an issue with running a particular version of the SDK on a particular version of windows. The resulant error was a ClassNotFoundException. I am not sure about the versions involved.

  • Error while running background deployment, program /SAPAPO/RMSDPDEP

    Hi all,
    For the second time in 3 months, I encounter this strange error while running a daily background deployment job, using program /SAPAPO/RMSDPDEP.
    The job starts correctly and does a part of its job, but then interrupt with this message in the job log :
      -->  "no valid simulation guid"  (class SAPAPO/OM_TS, n° 101)
      -->  "Unknown error"  (class SAPAPO/OM, n° 100)
      -->  "Job cancelled  after system exception ERROR_MESSAGE"  (class 00, n° 564)
    I just can't find any clue about what causes the problem...
    Did anyone encounter that kind of difficulties before ? Any help would be usefull...
    Thanks !
    Fabrice

    Hi Siva,
    In this range of time, I effectively run 13 parallel deployment jobs, as follow :
    n° 1, 2, 3, 4 and 5 : same location (factory 1) and each treats a products selection
    n° 6, 7, 8, 9 and 10 : same location (factory 2) and each treats a products selection
    n° 11 : all products of factory 3
    n° 12 : all products of factory 4
    n° 13 : all products of factory 5
    A product can only be produced in a single location, so there might not have access concurencies during parallel jobs. Do you think it could be some kind of a technical problem (not enough process available ?). Note that the problem can't come from CPU, we use CPU auto-allocation, and it works well.
    What do you think ?
    Thanks
    Fabrice

  • Rdf Report Error while running from concurrent program

    hi,
    i have created a RDF Report with the below query created Concurrent Prog exec and Concurrent Prog with the respective parameters
    p_fromsrdate---FND_STANDARD_DATE(ValueSet)
    p_tosrdate---FND_STANDARD_DATE(ValueSet)
    for the report layout i have taken example template working fine from the report console
    SELECT
    incident.Incident_Number as ServiceRequestNumber,
    TO_CHAR (incident.incident_date,'DD-MON-YYYY') as ServiceRequestDate,
    incident.Summary as Summary,
    agenttime.agentname as AgentName,
    to_char(agenttime.agentstarttime,'DD-MM-YYYY HH24:MI') as StartTime,
    to_char(to_date('00:00:00','HH24:MI:SS') +
    (agenttime.endtime-agenttime.agentstarttime), 'HH24:MI') as TimeSpent
    FROM cs_incidents_all_b incident,cs_agenttime_agv agenttime
    WHERE agenttime.incident_id=incident.incident_id
    AND incident.incident_date between to_date(:p_fromsrdate,'DD-MON-YYYY')
    AND to_date(:p_tosrdate,'DD-MON-YYYY');
    Service: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    AGTIMREP module: SR Agent Time Report
    Current system time is 01-AUG-2009 04:46:13
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_fromsrdate='2009/07/05 00:00:00'
    p_tosrdate='2009/07/20 00:00:00'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-300: ORACLE error occurred.
    Report Builder: Release 10.1.2.0.2 - Production on Sat Aug 1 04:46:21 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4444878.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 01-AUG-2009 04:46:23
    ---------------------------------------------------------------------------

    hi,
    i have enabled the trace
    Service: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    AGTIMREP module: SR Agent Time Report
    Current system time is 01-AUG-2009 06:25:18
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_fromsrdate='2009/07/05 00:00:00'
    p_tosrdate='2009/07/07 00:00:00'
    -- Start of Reports Command --
    /home/orasfa/inst/apps/SFA_appsr12/ora/10.1.2/bin/appsrwrun.sh
    P_CONC_REQUEST_ID=4444890
    p_fromsrdate='2009/07/05 00:00:00'
    p_tosrdate='2009/07/07 00:00:00'
    report=/home/orasfa/apps/apps_st/appl/cs/12.0.0/reports/US/AGTIMREP.rdf
    batch=yes
    destype=file
    desname=/home/orasfa/inst/apps/SFA_appsr12/logs/appl/conc/out/o4444890.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    APPLLCSP Environment Variable set to :
    Previous NLS_LANG Environment Variable was :
    American_America.UTF8
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    REP-0069: Internal error
    REP-50002: Server is shutting down
    Report Builder: Release 10.1.2.0.2 - Production on Sat Aug 1 06:26:20 2009
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Reset original NLS_LANG in environment as :
    American_America.UTF8
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 4444890.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 01-AUG-2009 06:26:20
    ---------------------------------------------------------------------------

  • Exception while Running a Java Program for UME.

    Hi Experts,
                           I am trying to run a java program to acess UME. Its a sample to create user but all of my samples are throwing this exception in NWDS  (Console).Can anyone tell me why is it throwing this exception .
    com.sap.security.api.UMRuntimeException: UME factory 'com.sap.security.api.IUserFactory' cannot be accessed because UME initialization has not started yet.
    Please check
            UMFactory.isInitialized() before using UME functionality.
        at com.sap.security.api.UMFactory.checkInitialized(UMFactory.java:1019)
        at com.sap.security.api.UMFactory.getUserFactory(UMFactory.java:801)
        at Search.main(Search.java:25)
    Exception in thread "main"
    Thanks in advance
    Somil

    Hi,
    Earlier i faced the same exception when i tried to call the UME form Standalone java application,To resolve this i used stateless session bean approach. i follow the Below Mentioned Steps,
    1:-- create an J2EE -- EJB module project.
    2:-- Create stateless session bean and define the require methods ,implement Local and remote interface methods  in your bean class.
    3:-- refer the UME apis in EJB Projects build path.
    4:-- Call UME in Bean class methods.Build the EJB project and Archive.
    5:--Now create an Enterprise application Project ,Include the EJB module project to your EA Project by right clicking on EA project.Build EA project and EAR file
    6:--Deploy the EAR file on your server.
    7:--Now from your standalone java application include these two projects in Project tab of your Application.
    8:--Lookup the stateless session bean in your java class by its default JNDI name ,Obtain remote or local Home interface,And execute the BEAN Method which deals with UME.
    You can also refer this tutorial in some parts of it UME apis(like IUser,UMFactory) are used in Servelets and EJB ,You can download this tutorial source from SDN for your reference.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/297f35cf-0201-0010-00b2-fe2f3e23d360
    Siddharth

  • Getting error while running service.java

    I am fresher to this technology i don't what it the error is.
    I am trying the oracle provided docs for Building Mobile Applications with Oracle ADF Mobile exercises on 3 pages.
    first page done successfully.
    while coming to dsecond page http://docs.oracle.com/cd/E18941_01/tutorials/buildmobileappscontent/adfmobiletutorial_2.html
    Step 2: Define a Web Service Data Control
    I am getting error which i don't know. I am sharing the error details below.
    Running:IntegratedWebLogicServer - Log
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    starting weblogic with Java version:
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b50)
    Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode)
    Starting WLS with line:
    d:\ORACLE\MIDDLE~1\JDK160~1\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\ORACLE\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy "-Djavax.net.ssl.trustStore=C:\DOCUME~1\ta257789\Local Settings\Temp\trustStore7426681428235698927.jks" -Dhttp.proxyHost=pdc-proxy.wipro.com -Dhttp.proxyPort=8080 "-Dhttp.nonProxyHosts=localhost|localhost.localdomain|127.0.0.1|::1|D-11309677.wipro.com|D-11309677" -Dhttps.proxyHost=pdc-proxy.wipro.com -Dhttps.proxyPort=8080 -Doracle.jdeveloper.adrs=true -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none  -da -Dplatform.home=D:\ORACLE\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\ORACLE\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\ORACLE\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Dcommon.components.home=D:\ORACLE\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain -Djrockit.optfile=D:\ORACLE\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\config\fmwconfig\servers\DefaultServer -Doracle.domain.config.dir=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\config\fmwconfig  -Digf.arisidbeans.carmlloc=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\config\fmwconfig\carml  -Digf.arisidstack.home=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\config\fmwconfig\arisidprovider -Doracle.security.jps.config=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dweblogic.alternateTypesDirectory=D:\ORACLE\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\ORACLE\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\ta257789\Application Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\oracle\store\gmds   -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\ORACLE\MIDDLE~1\patch_wls1035\profiles\default\sysext_manifest_classpath;D:\ORACLE\MIDDLE~1\patch_jdev1112\profiles\default\sysext_manifest_classpath  weblogic.Server
    java.lang.NoClassDefFoundError: Data\JDeveloper\system11/1/2/3/39/62/76/1\DefaultDomain
    Caused by: java.lang.ClassNotFoundException: Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain
    at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
    Could not find the main class: Data\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain.  Program will exit.
    Exception in thread "main" Process exited.
    Messages - Log
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Jun 18, 2013 3:33:53 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
    WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
    Jun 18, 2013 3:33:55 PM oracle.adfdtinternal.model.ide.jdev.JDevDataControlManager notifyAfterPopulatingDataControls
    INFO: Number of data controls:0
    Jun 18, 2013 3:33:56 PM oracle.adfdtinternal.model.ide.jdev.JDevDataControlManager notifyAfterPopulatingDataControls
    INFO: Number of data controls:0
    Compiling...
    Nothing to build.
    [3:34:10 PM] Successful compilation: 0 errors, 0 warnings.
    [Application SampleWS is bound to Server Instance IntegratedWebLogicServer]
    [Starting Server Instance IntegratedWebLogicServer]
    #### Server Instance IntegratedWebLogicServer could not be started: Server Instance was terminated.

    Thank you dvohra21,
    I followed Gayaz solution and it worked on my jdev11.2.3
    1. Modified the TEMP and TMP env var from "%USERPROFILE%\Local Settings\Temp" to "c:\temp".
    We should created the temp folder in c directry if it does not exist.
    2. Created two more env variables
    (a) JDEV_USER_HOME
    (b) JDEV_USER_DIR
    and it is pointing to "C:\jdevhome".
    We should created the jdevhome folder in c directry if it does not exist.
    Finally what I observed is these four variable should point to a folder path where it should not contain spaces in the folders name.

  • Error while running a Servlet program in Eclipse IDE

    Hi,
    I have tried running the following program in the Eclipse Editor. It doesnt compile. I have installed the Tomcat plugin too.
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    public class HTTPGetServlet extends HttpServlet {
         public void doGet(HttpServletRequest request,
                   HttpServletResponse response)
         throws ServletException, IOException
              PrintWriter output;
              response.setContentTe("text/html");
              output=response.getWriter();
              StringBufer buf=new StringBuffer();
              buf.append("<HTML><HEAD><TITLE>\n");
              buf.append("A simple servlet example\n");
              buf.append("</TITLE></HEAD><BODY>");
              buf.append("<H1>Welcome to the world</H1>\n");
              buf.append("</BODY></HTML>");
              out.println(buf.toString());
              output.close();
    On a closer look i realized that the IDE is showing as error any import statements i type in. Can anyone help me get over this problem? Thanks a lot in advance.
    bye
    V

    You need to add the JAR containing the servlet API in the external JARs for the project.
    Regards,
    Carol.

  • Error while running msgshow.java

    Error: Could not find the main class.
    Error: A JNI error has occurred, please check your installation and try again
    these errors occur while i run msgshow.java file
    please help me out in this
    thanks

    jackwenttohill wrote:
    MOD:
    Please don't post spam here. I have blocked your messages that contains the link. You are allowed to post a reply with a link to your project if you don't resurrect old threads and if you also explain in the post how it solves the problem. It's not ok to just post a link without any further explanation, and it's not ok to now create a template and post it into all threads that you see.

  • Getting error while running standalone Java application related to Workflow

    Hi,
    I am using the following code
    import oracle.bpel.services.workflow.client.IWorkflowServiceClient;
    import oracle.bpel.services.workflow.task.model.Task;
    import oracle.bpel.services.workflow.client.WorkflowServiceClientFactory;
    import oracle.bpel.services.workflow.verification.IWorkflowContext;
    import java.util.List;
    public class CompleteUserTask {
         public static void main(String[] args) throws Exception{
         System.out.println("Classpath: "+System.getProperty("java.class.path","."));
         String userId = "jcooper";
         String password = "welcome1";
         String taskId = "";
         IWorkflowServiceClient wfSvcClient = WorkflowServiceClientFactory.getWorkflowServiceClient(WorkflowServiceClientFactory.JAVA_CLIENT);
         IWorkflowContext wfCtx = wfSvcClient.getTaskQueryService().authenticate(userId,password,oracle.tip.pc.services.identity.config.ISConfiguration.getDefaultRealmName(),null);
         Task task = wfSvcClient.getTaskQueryService().getTaskDetailsById(wfCtx,taskId);
         List assigneeUsers = task.getSystemAttributes().getAssigneeUsers();
         List assigneeGroups = task.getSystemAttributes().getAssigneeGroups();
    if ((assigneeUsers != null && assigneeUsers.size() > 1)
    || (assigneeGroups != null && assigneeGroups.size() > 0))
         task = wfSvcClient.getTaskService().acquireTask(wfCtx, taskId);
         task = wfSvcClient.getTaskService().updateTaskOutcome(wfCtx, task, "Approve");
    I have added wf_client_config.xml, wf_config.xml,is_config.xml to the classpath. While executing this java code, i am getting the following error
    <XMLAuthenticationService::authenticateUser> XMLAuthenticationService:: call authenticate
    <PCException::<init>> User is not found.
    <PCException::<init>> User "jcooper" is not found in realm "jazn.com"
    <PCException::<init>> Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    <PCException::<init>> ORABPEL-10509
    <PCException::<init>>
    <PCException::<init>> User is not found.
    <PCException::<init>> User "jcooper" is not found in realm "jazn.com"
    <PCException::<init>> Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
    Kindly help me out.
    Thanks,
    Gomathi

    Hi,
    I am not using OID. I am using only JAZN. I copied is_config.xml and wf_config.xml to classes folder where i am running standalone application and also i referred this to the classpath. Kindly do the needful.. I am struggling with this issue for past 3 days.
    Another thing is if i am giving the user name as "jcooper" it is throwing the error. If i give "oc4jadmin", then the issue resolved.
    kindly tell me what should i do inorder to login as jcooper instead of oc4jadmin
    Thanks,
    Gomathi
    Edited by: user647559 on Sep 15, 2008 4:37 AM

  • Error while running command: "java weblogic.WLST"

    I am using Web Logic Server Version: 10.3.3.0.
    I have created a script file.when I gave command “java weblogic.WLST”, I get below error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic.WLS at gnu.java.lang.MainThread.run(libgcj.so.7rh)
    Caused by: java.lang.ClassNotFoundException: weblogic.WLST not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} at java.net.URLClassLoader.findClass(libgcj.so.7rh)
    at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)
    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
    at java.lang.ClassLoader.loadClass(libgcj.so.7rh)
    at gnu.java.lang.MainThread.run(libgcj.so.7rh)
    I have created a boot.properties file in the location where my domain is, but that didn’t help.
    Contents of boot.properties file:
    Password=weblogic1
    Username=weblogic

    Hello User,
    I am a novice weblogic admin.
    I am trying to enroll domain (created before installation of Node Manager) to Node Manager, in the process I got to use:
    user_projects/domains/test_domain/bin$ ./setDomainEnv.sh
    java weblogic.WLST
    but when I use so I am getting the following err
    "Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/WLST
    Caused by: java.lang.ClassNotFoundException: weblogic.WLST
         at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    Could not find the main class: weblogic.WLST. Program will exit. "
    I did ./setWLSEnv.sh, and I got my environment has been set, after that I used java weblogic.WLST still ended up with the above error.
    Please help me .
    Thanks in advance.

  • Error while running the sample program in Oracle CEP

    Hi I am New to CEP. I have installed Oracle CEP 11g. I am trying to run the example available in sample folder. I am getting the below error.
    Exception in thread "Main Thread" java.lang.reflect.InvocationTargetException
         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.bea.wlevs.Server.main(Server.java:185)
    Caused by: java.lang.IllegalArgumentException: Bundle <file:/D:/bea/modules/com.bea.core.apache.commons.logging.api_1.1.0.jar> has no known start level label
         at com.bea.backplane.launcher.Launcher.getStartLevelLabelFromJarLabel(Launcher.java:1663)
         at com.bea.backplane.launcher.Launcher.updateStartLevelViaJarLabel(Launcher.java:1714)
         at com.bea.backplane.launcher.Launcher.adjustStartLevel(Launcher.java:1625)
         at com.bea.backplane.launcher.Launcher.prepareConfig(Launcher.java:1169)
         at com.bea.backplane.launcher.Launcher.run(Launcher.java:539)
         at com.bea.backplane.launcher.Launcher.main(Launcher.java:149)
         ... 5 more
    Please let me know the reason for getting the error.

    I'm gussing you installed OCEP in an existing ORACLE_HOME. You should create a new home otherwise the modules may conflict with other products.
    andy

  • Error while executing HelloWorld.java program

    Hi All,
    I am trying to execute the samples(HelloWorld.java) program from Jdeveloper and provided the following details in runtime.defaults:
    CONTENT_DB_URL
    ADMIN_USER_NAME
    ADMIN_USER_PASSWORD
    however getting the following exception:
    FdkException:
    Error Code: ORACLE.FDK.UnexpectedError
    Detailed Error Code: ORACLE.FDK.FeatureNotEnabled
    Trace Id:
    info (NamedValue[]): null
    can any one please help me to resolve this issue.
    Thanks
    Krrish.

    See the Cleartext Authentication note in the running_client_samples.html file of the CDB devkit.
    The default configuration for an out-of-box Oracle Content DB installation allows Cleartext Authentication only if SSL has been enabled (and the Web Services connection string begins with https). See the authentication topic for details.
    To allow Cleartext Authentication to take place over standard (non-SSL) HTTP, set the Oracle Content DB domain property IFS.DOMAIN.WS.CleartextAuthenticationRequiresHttps to false using Enterprise Manager (Application Server Control). See the Content DB Administration Guide for details.
    If the domain property above is not modified to false and Cleartext Authentication is attempted using using standard HTTP, an FdkException will be thrown:
    ORACLE.FDK.UnexpectedError : ORACLE.FDK.FeatureNotEnabled
    cheers
    Matt.

  • High CPU usage while running a java program

    Hi All,
    Need some input regarding one issue I am facing.
    I have written a simple JAVA program that lists down all the files and directories under one root directory and then copies/replicates them to another location. I am using java.nio package for copying the files. When I am running the program, everything is working fine. But the process is eating up all the memories and the CPU usage is reaching upto 95-100%. So the whole system is getting slowed down.
    Is there any way I can control the CPU usage? I want this program to run silently without affecting the system or its performance.

    Hi,
    Below is the code snippets I am using,
    For listing down files/directories:
            static void Process(File aFile, File aFile2) {
              spc_count++;
              String spcs = "";
              for (int i = 0; i < spc_count; i++)
              spcs += "-";
              if(aFile.isFile()) {
                   System.out.println(spcs + "[FILE] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newFile = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nf = new File(newFile);
                   try {
                        FileCopy.copyFile(aFile ,nf);
                   } catch (IOException ex) {
                        Logger.getLogger(ContentList.class.getName()).log(Level.SEVERE, null, ex);
              } else if (aFile.isDirectory()) {
                   //System.out.println(spcs + "[DIR] " + aFile2.toURI().relativize(aFile.toURI()).getPath());
                   String newDir = dest + aFile2.toURI().relativize(aFile.toURI()).getPath();
                   File nd = new File(newDir);
                   nd.mkdir();
                   File[] listOfFiles = aFile.listFiles();
                   if(listOfFiles!=null) {
                        for (int i = 0; i < listOfFiles.length; i++)
                             Process(listOfFiles, aFile2);
                   } else {
                        System.out.println(spcs + " [ACCESS DENIED]");
              spc_count--;
    for copying files/directories:public static void copyFile(File in, File out)
    throws IOException {
    FileChannel inChannel = new
    FileInputStream(in).getChannel();
    FileChannel outChannel = new
    FileOutputStream(out).getChannel();
    try {
    inChannel.transferTo(0, inChannel.size(),
    outChannel);
    catch (IOException e) {
    throw e;
    finally {
    if (inChannel != null) inChannel.close();
    if (outChannel != null) outChannel.close();
    Please let me know if any better approach is there. But as I already said, currently it's eating up the whole memory.
    Thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Getting error while running command java -jar oc4j.jar -install

    java -jar oc4j.jar -install
    ON RUNNING The above command getting below error , is it because Java home is not set?
    Warning: -jar not understood. Ignoring.
    Exception in thread "main" java.lang.NoClassDefFoundError: oc4j.jar
    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
    at JvThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
    at JvRunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
    at __gcj_personality_v0 (/oracle/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/java.version=1.4.2)
    at __libc_start_main (/lib/tls/libc-2.3.4.so)
    at JvRegisterClasses (/oracle/u01/app/oracle/product/10.2.0/db_1/oc4j/j2ee/home/java.version=1.4.2)
    navisdb.igglobal.com(express)$ javac
    ksh: javac: not found
    ENVIORNMENT DETAIL : RED HAT LINUX ENTERPRISE EDITION
    Extracted OC4J_extended.zip file at oracle 10g installation location.

    does this command work?
    /home/oracle:MCSE>gij --showversion
    gij (GNU libgcj) version 3.4.6 20060404 (Red Hat 3.4.6-11)

  • Getting error while running the concurrent program

    XDO Data Engine Version No: 5.6.3
    Resp: 50554
    Org ID : 204
    Request ID: 4469953
    All Parameters: p_operating_unit=Vision Operations:p_from_date="2005/01/01 00:00:00":p_to_date="2011/09/28 00:00:00"
    Data Template Code: TRAIL
    Data Template Application Short Name: SQLAP
    Debug Flag: N
    {p_from_date=2005/01/01 00:00:00, p_to_date=2011/09/28 00:00:00, p_operating_unit=Vision Operations}
    Calling XDO Data Engine...
    [092811_033352790][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:345)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:277)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:599)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1737)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:320)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:279)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 4469953 on node HSCHBSCGN20076 at 28-SEP-2011 15:33:53.
    Post-processing of request 4469953 failed at 28-SEP-2011 15:33:53 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    Finished executing request completion options.

    Hi,
    What is the program name? Is this a standard program? Please share the details.
    The 345th line of the oracle.apps.xdo.dataengine.DataTemplateParser file is the cause of the error. Looks like somewhere you are passing nulls. Make sure provided all the required parmeters and done all the required setups.
    HTH,
    Syed.

Maybe you are looking for

  • Holding "C" Key during power up not working?

    I deleted adn backed up everyting. Everytime I restart my computer I try holding the "C" key so it can go to the installation window for MAC OS X Leopard. Instead the computer freezes there. Is there something I can do to fix this? Maybe press a diff

  • CR XI R2 Viewer not obeying printer collation setting?

    Just noticed this. Steps to duplicate: Print a printjob to the viewer. Hit print button in Viewer. Change to 2 copies, change collation, print. Result is the same whether you select a collation of 111 222 333 or 123 123 123. Printout is printed as 11

  • Service Blocked in Listener

    Hello All To be able to write a rman backup to a share I need to have the db service and listener started as the same user that I use to write to the share. According to MOS: How to Configure RMAN to Write to Shared Drives on Windows NT/2000 [ID 1458

  • Multiple button groups

    Hey everyone I am writing a program that contains 2 button groups(of radio buttons) and I am try to set a different value of Height for every height, and either the gender of male or female. But i can't get the getActionCommand to work with it. I don

  • How can i tell if Native code is being used or not?

    Hi, I imported a jar file called dnsjava, and set my system property to use this so that my getHostName method doesnt use native code to get the host name. My question is, how can i know for sure that it is using the code from the jar file dnsjava? I