Exception: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.

Hi All,
    I am getting the exception "Exception: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.", when i try to execute the code  "Composite MFTComposite = (Composite)locator.lookupComposite(compositeNameRevision); ".Below mentioned the sample code , i am using this code for getting the running instances.
try{   
          String componentInstanceID = new Long(getInstanceId()).toString();   
          addAuditTrailEntry("Component Instance ID is "+componentInstanceID);   
          Locator locator = LocatorFactory.createLocator();   
          addAuditTrailEntry("Created locator..");   
         String compositeRevision = (String)getVariableData("compositeRevision"); 
addAuditTrailEntry("compositeRevision..1111"+compositeRevision);   
          String compositeNameRevision = "ManagedFileTransfer/MFT!" + compositeRevision;
          Composite MFTComposite = (Composite)locator.lookupComposite(compositeNameRevision);  
          addAuditTrailEntry("MFT Composite lookup complete..setting filter");   
          CompositeInstanceFilter filter = new CompositeInstanceFilter();   
          filter.setState(CompositeInstance.STATE_RUNNING);  
          filter.setTitle((String) getVariableData("transferName"));  
          List<CompositeInstance> instances = MFTComposite.getInstances(filter);   
          StringBuffer message = new StringBuffer();  
          if ((instances != null) && (instances.size() > 1)) {   
              addAuditTrailEntry("currently running MFT Instances..");   
              for (CompositeInstance instance : instances) {   
                message.append("Instance: " + instance.getId() + " Creation date: " + instance.getCreationDate() + ",");        
                addAuditTrailEntry("Instance: " + instance.getId() +   
                             " creation-date: " + instance.getCreationDate());  
          setVariableData("runningInstance", message.toString());    
        } catch (Exception ex) {   
            setVariableData("runningInstance", ex.getMessage());  
            addAuditTrailEntry("Exception: " + ex);   
Appreaciate your quick response.
Thank You,
Vamsi.P

Hi Vamsi.P,
Try something like below... Using weblogic admin credentials...
Hashtable props = new Hashtable();
props.put(Context.SECURITY_PRINCIPAL,   "fred");
props.put(Context.SECURITY_CREDENTIALS, "seafood");
Locator locator = LocatorFactory.createLocator(props);  
Cheers,
Vlad

Similar Messages

  • Java.lang.RuntimeException: Caller doesn't have enough permission to call this method

    Hi,
    I am trying to abort a composite instance from SOA BPM Worklist.
    I was able to do the same using weblogic 10.3.6 and SOA 11.1.1.6
    Now, I am using weblogic 10.3.6 (same server) and SOA 11.1.1.7 . I have done the complete FacadeFinderBean and SOATestBean JNDI setup on my servers.
    I am getting the below error now.
    Caused by:  An error occurred while aborting or purging composite instance.
    Caused by: java.rmi.RemoteException: EJB Exception: ; nested exception is:
      java.lang.RuntimeException: Caller doesn't have enough permission to call this method.
      at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:237)
      at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
      at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getCompositeInstances(Unknown Source)
      at oracle.soa.management.internal.ejb.EJBLocatorImpl.getCompositeInstances(EJBLocatorImpl.java:401)
    Caused by: java.lang.RuntimeException: Caller doesn't have enough permission to call this method.
      at oracle.soa.management.internal.ejb.impl.BaseSOABeanImpl.checkSecurityRole(BaseSOABeanImpl.java:55)
      at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.getCompositeInstances(FacadeFinderBeanImpl.java:913)
      at oracle.soa.management.internal.ejb.impl.FacadeFinderBeanImpl.getCompositeInstances(FacadeFinderBeanImpl.java:905)
      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)
    Please provide your valuable inputs to solve the issue.
    Thanks and Regards,
    Vijay

    Hi,
    I was able to solve the issue by a workaround >>>
    Set the facade.security.check system property to false in setDomainEnv.sh on SOA domain under java_options
    -Dfacade.security.check=false
    Regards,
    Vijay

  • Exception java.lang.RuntimeException

    hello,
    I have received the following error on my browser
    "Exception java.lang.RuntimeException: Data is not Base64 encoded. occured while processing your Request"
    how can I fix this error?
    regards,
    Hisham

    Hi Vamsi.P,
    Try something like below... Using weblogic admin credentials...
    Hashtable props = new Hashtable();
    props.put(Context.SECURITY_PRINCIPAL,   "fred");
    props.put(Context.SECURITY_CREDENTIALS, "seafood");
    Locator locator = LocatorFactory.createLocator(props);  
    Cheers,
    Vlad

  • EJBGen Exception --- java.lang.RuntimeException

    hi,
    If i use the 2.16 version of the ejbgen.jar , the ejbgen is working fine but
    the following mdb variables are cannot be set in the bean class.
    the variables are
    * jms-polling-interval-seconds=4
    * dispatch-policy=JMSDispatcher
    But these variables can be set in the latest version i.e 2.19 version of ejbgen.jar.
    But the following error is comming.....
    compile.ejbgen:
    [java] java.lang.RuntimeException: Unknown javadoc problem: result=1, root=null:
    [java] JAM: Illegal package name: "D:\cvsmain\asap_root\application\setup\dev\tavant\common\common.properties"
    [java] JAM: Illegal package name: "D:\cvsmain\asap_root\application\-propertyFile"
    [java] Loading source file D:\cvsmain\asap_root\application\common\build\commonEJB\mdbJar\tavant\app\asap\integrati
    on\invoker\ProcessInvokerBean.java...
    [java] JAM: Illegal package name: "D:\cvsmain\asap_root\application\DTO"
    [java] 3 errors
    [java]
    [java] at com.bea.util.jam.internal.javadoc.JavadocRunner.run(JavadocRunner.java:113)
    [java] at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.init(JavadocClassBuilder.java:132)
    [java] at com.bea.util.jam.provider.CompositeJamClassBuilder.init(CompositeJamClassBuilder.java:46)
    [java] at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:177)
    [java] at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:136)
    [java] at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
    [java] at com.bea.sgen.SGen.loadClassesNew(SGen.java:330)
    [java] at com.bea.sgen.SGen.run(SGen.java:187)
    [java] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:303)
    [java] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:311)
    [java] at weblogic.tools.ejbgen.EJBGen.main(EJBGen.java:21)
    [java] Exception in thread "main"
    [if] Error in class net.sf.antcontrib.logic.IfTask
    [if] Error in class net.sf.antcontrib.logic.IfTask
    [if] Error in class net.sf.antcontrib.logic.IfTask
    BUILD FAILED
    file:D:/cvsmain/asap_root/application/build_sds.xml:662: Java returned: 1
    The build script is as follows
    <target name="compile.ejbgen" description="Generates the interfaces and descriptors for a bean.">
    <java
    classname="weblogic.tools.ejbgen.EJBGen"
    failonerror="yes"
    fork="yes">
    <classpath refid="compile.classpath"/>
    <arg value="-sourcepath" />
    <arg value="${src.ejb.dir}" />
    <arg value="-d" />
    <arg value="${dest.ejb.dir}" />
    <arg value="-forceGeneration" />
    <arg value="-descriptorDir" />
    <arg value="${dest.ejb.dir}/${module}/META-INF" />
    <arg value="-valuePackage" />
    <arg value="${valPackage}" />
    <arg value="-valueObjectSuffix" />
    <arg value="DTO" />
    <arg value="-propertyFile" />
    <arg value="setup/${config}/tavant/${application.name}/${application.name}.properties" />
    <arg value="${src.ejb.dir}/${package}/${subpackage}/*Bean.java" />
    </java>
    <jar destfile="${destExp.dir}/${module}.jar">
    <fileset dir="${dest.dir}/${application.name}EJB/${submodule}Jar/${module}" includes="**/*.xml"/>
    </jar>
    </target>
    Can u plz help me ...
    thanks,
    vinod reddy.

    hello vinod,
    i had the same problem. have you got the solution already? if yes,
    please help me! it's an urgent problem.
    thx before!
    bye,
    zoltan baji
    vinod reddy wrote:
    hi,
    If i use the 2.16 version of the ejbgen.jar , the ejbgen is working fine but
    the following mdb variables are cannot be set in the bean class.
    the variables are
    * jms-polling-interval-seconds=4
    * dispatch-policy=JMSDispatcher
    But these variables can be set in the latest version i.e 2.19 version of ejbgen.jar.
    But the following error is comming.....
    compile.ejbgen:
    [java] java.lang.RuntimeException: Unknown javadoc problem: result=1, root=null:
    [java] JAM: Illegal package name: "D:\cvsmain\asap_root\application\setup\dev\tavant\common\common.properties"
    [java] JAM: Illegal package name: "D:\cvsmain\asap_root\application\-propertyFile"
    [java] Loading source file D:\cvsmain\asap_root\application\common\build\commonEJB\mdbJar\tavant\app\asap\integrati
    on\invoker\ProcessInvokerBean.java...
    [java] JAM: Illegal package name: "D:\cvsmain\asap_root\application\DTO"
    [java] 3 errors
    [java]
    [java] at com.bea.util.jam.internal.javadoc.JavadocRunner.run(JavadocRunner.java:113)
    [java] at com.bea.util.jam.internal.javadoc.JavadocClassBuilder.init(JavadocClassBuilder.java:132)
    [java] at com.bea.util.jam.provider.CompositeJamClassBuilder.init(CompositeJamClassBuilder.java:46)
    [java] at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:177)
    [java] at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:136)
    [java] at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
    [java] at com.bea.sgen.SGen.loadClassesNew(SGen.java:330)
    [java] at com.bea.sgen.SGen.run(SGen.java:187)
    [java] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:303)
    [java] at com.bea.wls.ejbgen.EJBGen.main(EJBGen.java:311)
    [java] at weblogic.tools.ejbgen.EJBGen.main(EJBGen.java:21)
    [java] Exception in thread "main"
    [if] Error in class net.sf.antcontrib.logic.IfTask
    [if] Error in class net.sf.antcontrib.logic.IfTask
    [if] Error in class net.sf.antcontrib.logic.IfTask
    BUILD FAILED
    file:D:/cvsmain/asap_root/application/build_sds.xml:662: Java returned: 1
    The build script is as follows
    <target name="compile.ejbgen" description="Generates the interfaces and descriptors for a bean.">
    <java
    classname="weblogic.tools.ejbgen.EJBGen"
    failonerror="yes"
    fork="yes">
    <classpath refid="compile.classpath"/>
    <arg value="-sourcepath" />
    <arg value="${src.ejb.dir}" />
    <arg value="-d" />
    <arg value="${dest.ejb.dir}" />
    <arg value="-forceGeneration" />
    <arg value="-descriptorDir" />
    <arg value="${dest.ejb.dir}/${module}/META-INF" />
    <arg value="-valuePackage" />
    <arg value="${valPackage}" />
    <arg value="-valueObjectSuffix" />
    <arg value="DTO" />
    <arg value="-propertyFile" />
    <arg value="setup/${config}/tavant/${application.name}/${application.name}.properties"
    />
    <arg value="${src.ejb.dir}/${package}/${subpackage}/*Bean.java" />
    </java>
    <jar destfile="${destExp.dir}/${module}.jar">
    <fileset dir="${dest.dir}/${application.name}EJB/${submodule}Jar/${module}"
    includes="**/*.xml"/>
    </jar>
    </target>
    Can u plz help me ...
    thanks,
    vinod reddy.

  • After a long time, i looged in to add some files in my iphone 4s but when i connect my iphone, it says that the iphone zizous friend cannot synced,you do not have enough permission to run this operation..using windows 7 and transfering videos

    i am facing this issue for the first time.....cannot sync my iphone 4s ...iphone cannot sync.you do not have enough permission for this operation...
    i am adding videos to my iphone....
    using windows 7
    ios latest update

    there are lot of threads in respect to this issue but still unable to get the problem solved from the solutions available

  • OIM Installn :java.lang.RuntimeException: Could not find OffLine WLST class

    Installation of OIM On weblogic.
    oracle/oim/xellerate/setup/setup.xml:443: The following error occurred while executing this line:
    /oracle/oim/xellerate/setup/weblogic-setup.xml:196: java.lang.RuntimeException: Could not find the OffLine WLST class
         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
         at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at org.apache.tools.ant.Main.runBuild(Main.java:668)
         at org.apache.tools.ant.Main.startAnt(Main.java:187)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    Tried to run this command ./wlst.sh
    shows
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar:
    PATH=/oracle/weblogic/server/server/bin:/home/oracle/bea/modules/org.apache.ant_1.6.5/bin:/oracle/jdk/jre/bin:/oracle/jdk/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/oracle/bin:/home/oracle/bin:/oracle/jdk/bin
    Your environment has been set.
    CLASSPATH=/home/oracle/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/oracle/bea/patch_cie660/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/oracle/jdk/lib/tools.jar:/oracle/weblogic/server/server/lib/weblogic_sp.jar:/oracle/weblogic/server/server/lib/weblogic.jar:/home/oracle/bea/modules/features/weblogic.server.modules_10.3.0.0.jar:/oracle/weblogic/server/server/lib/webservices.jar:/home/oracle/bea/modules/org.apache.ant_1.6.5/lib/ant-all.jar:/home/oracle/bea/modules/net.sf.antcontrib_1.0.0.0_1-0b2/lib/ant-contrib.jar::/oracle/weblogic/server/common/eval/pointbase/lib/pbembedded57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbtools57.jar:/oracle/weblogic/server/common/eval/pointbase/lib/pbclient57.jar
    Initializing WebLogic Scripting Tool (WLST) ...
    Problem invoking WLST - java.lang.RuntimeException: Could not find the OffLine WLST class
    Edited by: user10213645 on Mar 9, 2010 3:37 PM

    There is an existing Bug 8431390 - WLST NOT WORKING IF WE USE NON-DEFAULT INSTALLATION (WL_HOME OUTSIDE BEA_HOME)
    As per this bug, the issue can be reproduced as follows:
    Steps to reproduce:
    1. Install WLS 10.3GA (essex) kit in a non-default fashion (WL_HOME outside BEA_HOME)
    2. Go to ur $WL_HOME/common/bin directory and execute wlst.cmd
    3. It exits with the following exception:
    java.lang.RuntimeException:could not find the OffLine WLST class
    Hope this helps.
    For more details, refer: http://idm-oracle.blogspot.com/2010/03/javalangruntimeexception-could-not-find.html

  • Need help (java.lang.RuntimeException: Unknown/unsupported charset:)

    Hi,
    Previously our application is running fine in
    iPlanet web server 4 and some times in Tomcat. Now we
    are migrating this application to weblogic 8.1 due to
    some load.
    After migrating to weblogic 8.1 we are getting some
    exception.
    The exception is:
    Servlet failed with Exception
    java.lang.RuntimeException: Unknown/unsupported
    charset: - java.io.UnsupportedEncodingException:
    Charset: '' not recognized, and there is no alias for
    it in the WebServerMBean
    at
    weblogic.servlet.jsp.JspParser.parse(JspParser.java:288)
    at
    weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:125)
    In my Jsp page we have top declarations like in the
    below:
    <%@ include file="header.jsp" %>
    <%@ page import="com.customer.customercare.servlet.*"
    %>
    <%@ page import="com.customer.customercare.types.*" %>
    <%@ page import="com.customer.customercare.search.*"
    %>
    <%@ page import="com.customer.customercare.utils.*" %>
    <%@ page import="com.customer.customercare.log.*"%>
    <%@ page import="java.util.Date" %>
    <%@ page import="com.customer.customercare.utils.*" %>
    <%@ page
    import="com.customer.customercare.servlet.handler.*"
    %>
    <%@ page import="java.sql.Timestamp"%>
    <%@ page import="java.text.SimpleDateFormat"%>
    <%@ page import="java.util.StringTokenizer"%>
    <%@ page import="java.util.Calendar"%>
    We are not using any charter sets in the above page
    directory but we are using that in a meta tag:
    <meta http-equiv="Content-Type" content="text/html;
    charset=ISO-8859-1">
    This might cause any problem?
    I tried charset=UTF-8, windows-1252 and UTF-16. But i
    am getting the same error.
    The thing is i am not getting this error from the JSP
    page. This jsp page calls a java class, that java
    class has a prepared statement. When the prepared
    statement is executed or before execution, this error is thrown on weblogic console. That
    error is not related to SQL.
    I think "charset" exception means it should come in JSP only. But i don't know why it is coming in the java class? i am confused?
    I don't know why exactly that error is coming...?
    My application is compiled in JDK1.3.1_08 and running
    in weblogic 8.1 which internally uses JDK1.4. Is this
    because of version problem?
    I am creating the .war file from the command prompt
    which path is set to JDK1.3.1_08...
    Can anybody help me out in this problem?
    Thanks and Regards,
    Chandu.

    Hi,
              For this issue,The CR was filed in weblogic 8.1 sp2
              go through the link, you will find CR information in link.
              http://e-docs.bea.com/wls/docs81/notes/resolved_sp02.html#1390392
              -----Anilkumar kari

  • Java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space

    Hi All ..we are running with the following configuration.
    Solaris Version 5.10
    ./prtconf
    System Configuration: Sun Microsystems sun4v
    Memory size: 8184 Megabytes
    App Server Version,
    Sun Java System Application Server Enterprise Edition 8.1_02 (build b11-fcs)
    JVM Options in domain.xml,
    <jvm-options>-Xmx512m</jvm-options>
    but what Im facing is..say once in two days..when I open my application in the browser it shows..
    Server Error
    This server has encountered an internal error which prevents it from fulfilling your request. The most likely cause is a misconfiguration. Please ask the administrator to look for messages in the server's error log.
    and in my server.log it shows..,
    WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.container.web|_ThreadID=17;|WEB3061 : HttpService: Unhandled pipeline exception
    java.lang.RuntimeException: java.lang.OutOfMemoryError: PermGen space
    at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:251)
    at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2071)
    Caused by: java.lang.OutOfMemoryError: PermGen space
    |#]
    after getting this I used to reboot the machine..then It ll be fine for some time.,this happens repeatedly..
    and some of the documents says..we need to increase the Xmx..
    if it so.,how much I can incerase..we are running sun x-fire t2000
    Thanks in Advance,
    Ashik

    Rebooting the machine is unnecessary; you can just stop and restart the application server.
    The PermGen holds Class objects primarily (also interned strings and a few other things); are you doing a lot of deployment/redeployment? Those operations greatly increase the number of classes in use by the app server (because each new deployment is a new set of classes from the app server perspective), and that's the most common cause of this problem. In that case, the only thing to do is increase the PermGen size by including in your jvm-options -XX:MaxPermSize=<something>; I'd try 128m or 256m.
    More recent versions of the app server (especially platform edition 9.0) have better handling of the multiple classes involved, so you might want to check them out.
    A good reference on GC is http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html
    -Scott

  • Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime prop

    Hi there
    Running Oracle Enterpride Edition 8.1.7
    including Oracle Http webserver
    I'm trying to run a JSP application developed with Jdeveloper
    through th http server
    Think I have modified alle the .conf files correctly
    I get the message :
    "Error Message: java.lang.RuntimeException: JSP Registry could not locate runtime property file:ORDERS_ORDERS_PKG_ORDERS_PKGModule.properties"
    Any ideas ?
    Or can anyone point me to a (proper) document that decribes (correctly and completely) alle the steps that need to be done ?
    Many Thanxs
    Regards TJ
    null

    I am also experiancing this problem. I have updated the ojsp to version 112200 and the properties file exist within the .jar used by the .jsp file.
    Exception:
    java.lang.RuntimeException: java.lang.RuntimeException: JSP Registry could not locate runtime property file:deseweb_DesewebModule.properties
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.(Compiled Code)
    at java.lang.Exception.(Compiled Code)
    at java.lang.RuntimeException.(RuntimeException.java:47)
    at morenet.jsp.JSPApplicationRegistry.registerApplicationFromProperties(JSPApplicationRegistry.java:199)
    at morenet.jsp.MorenetWebBeanImpl.internalInitialize(MorenetWebBeanImpl.java:119)
    at oracle.jdeveloper.html.WebBeanImpl.initialize(WebBeanImpl.java:56)
    at oracle.jdeveloper.html.DataWebBeanImpl.initialize(DataWebBeanImpl.java:395)
    at morenet.jsp.MorenetWebBeanImpl.initialize(MorenetWebBeanImpl.java:62)
    at apps.deseweb._index._jspService(_index.java:71)
    at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java)
    at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java)
    at oracle.jsp.JspServlet.doDispatch(JspServlet.java)
    at oracle.jsp.JspServlet.internalService(Compiled Code)
    at oracle.jsp.JspServlet.service(JspServlet.java)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
    at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
    at org.apache.jserv.JServConnection.run(Compiled Code)
    at java.lang.Thread.run(Compiled Code)

  • Java.lang.RuntimeException: Cannot find FacesContext

    Error 500--Internal Server Error
    java.lang.RuntimeException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
         at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
         at jsp_servlet.__servicemethod_jspx._jspx___tag0(__servicemethod_jspx.java:90)
         at jsp_servlet.__servicemethod_jspx._jspService(__servicemethod_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         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.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    *** Using port 7101 ***
    "C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\MIDDLE~1\JDK160~1\jre\bin;C:\Oracle\MIDDLE~1\JDK160~1\bin;C:\OracleBI\web\bin;C:\OracleBI\web\catalogmanager;C:\OracleBI\SQLAnywhere;C:\Program Files\Java\jdk1.5.0_15\bin;C:\OracleBI\server\Bin;C:\ADE\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\emacs\bin;c:\PROGRAM FILES\TERATERM;C:\CYGWIN\BIN;c:\Program Files\WinZip;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\farm;\\StCifsRR1.us.oracle.com\packages\windows\packages\farm\sfe\generic;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    C:\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=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dhttp.proxyHost=www-proxy.us.oracle.com -Dhttp.proxyPort=80 "-Dhttp.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dhttps.proxyHost=www-proxy.us.oracle.com -Dhttps.proxyPort=80 "-Dhttps.nonProxyHosts=*oraclecorp.com|*oracle.com|localhost|localhost.localdomain|127.0.0.1|::1|sgodavar-pc.us.oracle.com|sgodavar-pc" -Dweblogic.nodemanager.ServiceEnabled=true -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=C:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\DOCUME~1\sgodavar\APPLIC~1\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath weblogic.Server
    <Oct 5, 2010 10:31:50 AM PDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 16.0-b13 from Sun Microsystems Inc.>
    <Oct 5, 2010 10:31:51 AM PDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 5, 2010 10:31:53 AM PDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log00009. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Oct 5, 2010 10:31:53 AM PDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log is opened. All server side log events will be written to this file.>
    <Oct 5, 2010 10:32:01 AM PDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Oct 5, 2010 10:32:06 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Oct 5, 2010 10:32:06 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log00005. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\access.log.>
    <Oct 5, 2010 10:32:20 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Oct 5, 2010 10:32:20 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Oct 5, 2010 10:32:30 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application BrowseEditApp is not versioned.>
    <Oct 5, 2010 10:32:46 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application methodActionInvokeAction is not versioned.>
    <Oct 5, 2010 10:33:21 AM PDT> <Notice> <LoggingService> <BEA-320400> <The log file C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Oct 5, 2010 10:33:21 AM PDT> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log00009. Log messages will continue to be logged in C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\servers\DefaultServer\logs\DefaultDomain.log.>
    <Oct 5, 2010 10:33:21 AM PDT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 144.25.110.215:7101 for protocols iiop, t3, ldap, snmp, http.>
    <Oct 5, 2010 10:33:24 AM PDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "DefaultServer" for domain "DefaultDomain" running in Development Mode>
    <Oct 5, 2010 10:33:25 AM PDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Oct 5, 2010 10:33:25 AM PDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    IntegratedWebLogicServer startup time: 101421 ms.
    IntegratedWebLogicServer started.
    [Running application service_method_app on Server Instance IntegratedWebLogicServer...]
    [10:33:28 AM] ---- Deployment started. ----
    [10:33:28 AM] Target platform is (Weblogic 10.3).
    [10:33:31 AM] Retrieving existing application information
    [10:33:32 AM] Running dependency analysis...
    [10:33:32 AM] Deploying 2 profiles...
    [10:33:34 AM] Wrote Web Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\service_method_app\ViewControllerWebApp.war
    [10:33:36 AM] Wrote Enterprise Application Module to C:\Documents and Settings\sgodavar\Application Data\JDeveloper\system11.1.1.3.37.56.60\o.j2ee\drs\service_method_app
    [10:33:36 AM] Deploying Application...
    <Oct 5, 2010 10:33:37 AM PDT> <Warning> <J2EE> <BEA-160195> <The application version lifecycle event listener oracle.security.jps.wls.listeners.JpsAppVersionLifecycleListener is ignored because the application service_method_app is not versioned.>
    [10:33:50 AM] Application Deployed Successfully.
    [10:33:50 AM] The following URL context root(s) were defined and can be used as a starting point to test your application:
    [10:33:50 AM] http://144.25.110.215:7101/service_method_app-ViewController-context-root
    [10:33:50 AM] Elapsed time for deployment: 22 seconds
    [10:33:50 AM] ---- Deployment finished. ----
    Run startup time: 22250 ms.
    [Application service_method_app deployed to Server Instance IntegratedWebLogicServer]
    Target URL -- http://127.0.0.1:7101/service_method_app-ViewController-context-root/servicemethod.jspx
    <Oct 5, 2010 10:33:51 AM PDT> <Error> <HTTP> <BEA-101020> <[ServletContext@5299877[app:service_method_app module:service_method_app-ViewController-context-root path:/service_method_app-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.RuntimeException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
         at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
         at jsp_servlet.__servicemethod_jspx._jspx___tag0(__servicemethod_jspx.java:90)
         at jsp_servlet.__servicemethod_jspx._jspService(__servicemethod_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         Truncated. see log file for complete stacktrace
    >
    <Oct 5, 2010 10:33:51 AM PDT> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Oct 5, 2010 10:33:51 AM PDT. Notification details:
    WatchRuleType: Log
    WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
    WatchData: DATE = Oct 5, 2010 10:33:51 AM PDT SERVER = DefaultServer MESSAGE = [ServletContext@5299877[app:service_method_app module:service_method_app-ViewController-context-root path:/service_method_app-ViewController-context-root spec-version:2.5]] Servlet failed with Exception
    java.lang.RuntimeException: Cannot find FacesContext
         at javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1855)
         at javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1672)
         at jsp_servlet.__servicemethod_jspx._jspx___tag0(__servicemethod_jspx.java:90)
         at jsp_servlet.__servicemethod_jspx._jspService(__servicemethod_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         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.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
         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.doIt(WebAppServletContext.java:3684)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101020 MACHINE = sgodavar-pc TXID = CONTEXTID = 15a0f7a52bec9522:45602610:12b7d74678b:-8000-0000000000000014 TIMESTAMP = 1286300031515
    WatchAlarmType: AutomaticReset
    WatchAlarmResetPeriod: 30000
    >
    <Oct 5, 2010 10:33:55 AM PDT> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\documents and settings\sgodavar\application data\jdeveloper\system11.1.1.3.37.56.60\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_4 with a lockout minute period of 1.>

    Wow, I like stack traces ;-)
    No indication what you try to do, no information about your environment either.
    What I see is that the URL you use to start the app (if it is an app) has a suffix '.jspx' in it. This is normally not the case for Fusion Web apps. And the 'faces' part of the url is missing. So try http://127.0.0.1:7101/service_method_app-ViewController-context-root/faces/servicemethodTimo
    @John: same idea :-) You beat me again...

  • JDBC Recv: Generic Exception:  - java.lang.ArrayIndexOutOfBoundsException

    Dear SDNers,
    I'm facing a strange issue in my PI Quality server when inserting data using recv JDBC adapter. The error description which I get in the channel is given below:-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: ERROR occured parsing request:com.sap.engine.lib.xml.parser.NestedSAXParserException: Generic Exception:  -> java.lang.ArrayIndexOutOfBoundsException.
    Now, I have tried out this message in a different PI server, to the same destination DB and it worked fine. Hence I'm very sure that this is not a mapping bug which is causing incomplete or wrong payload structures going in to the JDBC adapter.
    I request the xperts to please suggest on this issue..
    Thanks a lot
    Varun

    It seems the latest JDBC Driver for MS-SQL does not support batch mode for multiple tables. Removed the batch mode option and works as a charm..
    Regards
    Varun

  • Bold 9900 Uncaught exception: java.lang.Error

    MY BOLD 9900 IS RUNNING ON OS V 7.1 AND I WHEN EVER I START UP MY BB IT GETS A POP UP SAYING: "Uncaught exception: java.lang.Error".
    NOW I HAVE RELOADED THE OS AND DONE MANY THINGS TO CURE IT I RESEARCHED EVERYTHING TO FIX THIS ERROR BUT NOTHING SEEMS TO WORK ANY IDEAS ???

    Hi psn93
    Welcome to BlackBerry Support Forums
    If you already tried reload without success, then you may need to use some third party software like BBSAK to compltely wipe your device and then load a fresh OS pack on your device.In addition please remember after installing the OS don't restore anything from the backup files,do a selective restore i;e , restore only your Contacts and calander entries. Try this again :
    1.Locate your Carrier and Download the OS you desire from here and Install it in your PC or Laptop Carriers
    (make sure you are downloading for the same model as you have )
    2. Download and install the latest BlackBerry desktop software from here BlackBerry desktop software
        Then if it allow  perform your backup of your device.
    3.Search your C: drive for Vendor.xml and delete them, there may be one or two vendor.xml ( On your Pc change your folders option to show hidden files/folders ) Skip step- 3 if using your Carrier OS pack .
        C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
        C:\Users\Windows UserName\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    4. Use BBSAK from  http://bbsak.org/   and wipe the device then after you get the error 507 ( no OS ) then proceed to next step.
    5. Go to C:\Program Files\Common Files\Research In Motion\AppLoader. (For 64-bit Vista or Windows 7, the path       will be C: > Program Files x86 > Common Files > Research In Motion > AppLoader) double click Loader.exe. 
    Update will continue just follow the onscreen instructions,when it completes see if problem resolves.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Exception : java.lang.NoSuchMethodError: sun.io.ByteToCharGBK.getIndex1()[S

    Hi,
    We are having webApplication Built using servlets.When invoking a URL ( HTTP GET) we are getting exception and stack trace shows
    JSP Error:
    Request URI:/OA_HTML/OA.jsp
    Exception:
    java.lang.NoSuchMethodError: sun.io.ByteToCharGBK.getIndex1()[S
    Any clue on this , as why this could happen. Is this because of the application is using old JRE / Incompatible JRE?
    Thanks
    Joseph

    Where exactly OAF is coming into the picture for this issue? Where is the URL invoke code?
    --Shiv                                                                                                                                                                                                       

  • Oracle BI 11.1.1.7.1: Calling BI webservices from Plsql Procedure: ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError

    Hi,
         I have a requirement of calling BI webservices from Plsql stored procedure. I generated all my wsdl java classes and loaded them into the database. However, when I tried to call one of my java class using stored procedure, it is giving me"ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError".
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.
    But all my dependency classes are present in database as java class objects and are valid. Can some one help me out of this?

    Stiphane,
    You can look in USER_ERRORS to see if there's anything more specific reported by the compiler. But, it could also be the case that everything's OK (oddly enough). I loaded the JavaMail API in an 8.1.6 database and also got bytecode verifier errors, but it ran fine. Here are the errors I got when loading Sun's activation.jar, which ended up not being a problem:
    ORA-29552: verification warning: at offset 12 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):12 by a throw at offset 18 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):18 by a throw at offset 30 of <init> void (java.lang.String, java.lang.String) cannot access class$java$io$InputStream
    verifier is replacing bytecode at <init> void (java.lang.String, java.lang.String):30 by a throw
    Hope this helps,
    -Dan
    http://www.compuware.com/products/devpartner/db/oracle_debug.htm
    Debug PL/SQL and Java in the Oracle Database

  • CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [loadCommerceItemObjects].; SOURCE:java.lang.RuntimeException:

    Can Any one help me in finding the cause of following error
    16:18:27,565 INFO  [PipelineManager] DEBUG Cancel Link Transaction
    16:18:27,565 INFO  [PipelineManager] DEBUG Transaction is TX_MANDATORY
    16:18:27,565 INFO  [PipelineManager] DEBUG Setting transaction to rollback
    16:18:27,565 INFO  [PipelineManager] DEBUG Cancel Chain Transaction
    16:18:27,565 INFO  [PipelineManager] DEBUG Transaction is TX_REQUIRED
    16:18:27,565 INFO  [PipelineManager] DEBUG Setting transaction to rollback
    16:18:27,565 ERROR [OrderManager]
    CAUGHT AT:
    CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [loadCommerceItemObjects].; SOURCE:java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status: ActionStatus.ABORT_ONLY >; - nested throwable: (ja
            at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:393)
            at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:207)
            at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:475)
            at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipelineManager.java:123)
            at atg.commerce.order.OrderImpl.ensureContainers(OrderImpl.java:1745)
            at atg.commerce.order.OrderImpl.getShippingGroups(OrderImpl.java:1084)
            at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.processShippingGroups(EpicorSalesAuditDataManager.java:477)
            at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.constructSalesAuditFeed(EpicorSalesAuditDataManager.java:431)
            at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.exportFullfilledOrder(EpicorSalesAuditDataManager.java:213)
            at com.mk.integration.epicor.salesAudit.processor.EpicorSalesAuditProcessor.exportFullfilledOrder(EpicorSalesAuditProcessor.java:42)
            at com.mk.integration.epicor.salesAudit.scheduler.EpicorSalesAuditScheduler.startSalesAuditExport(EpicorSalesAuditScheduler.java:65)
            at com.mk.integration.epicor.salesAudit.scheduler.EpicorSalesAuditScheduler.doScheduledTask(EpicorSalesAuditScheduler.java:49)
            at atg.service.scheduler.SingletonSchedulableService.performScheduledTask(SingletonSchedulableService.java:253)
            at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:466)
            at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:782)
    Caused by: java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status:
            at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:5994)
            at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:1315)
            at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1208)
            at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1405)
            at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:151)

    Hi,
    I seems like you don't have any active transaction. Try start or get transaction before execute your required operations.
    After it, commit (or rollback, if something wrong happens) the transaction.
    Hope it helps.

Maybe you are looking for

  • I bought The New iPad 36 days ago...

    I'm just frustrated that I held out for years and waited to buy an iPad. I did, finally and I love it. Absolutely love it. I will say this: when I bought it, I had one concern - the 30-pin dock connector. On my old iPod touch, I had that thing fixed

  • How to save Checkbox inputs as a Variants in WD ABAP

    Hi, I am going through this nice blog [http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID0832150950DB20043138143752756391End?blog=/pub/wlg/10731] which helped me creating varaint options for SELECT -optins fields. Everything works fine

  • JAXB 2.0 Marshaling Exception

    Hello, I ran into an error when trying marshal a java class. NullPointerException is caught when this line of code is executed. I previously used XJC to generate the Java classes including ObjectFactory.java in textjaxb.student package. JAXBContext j

  • How to download fonts into CS5

    I have downloaded fonts to my mac but cannot access them when I am in CS5. I have also lost some that were working in CS5. How do I fix these fonts?

  • Workspace problem : project has no Java Nature.

    Hi, I'm having this problem since I tried to deploy and run an ESS application for testing. here are the details of problem. An internal error has occured. See error log for more details. Plugin name: Metamodel Core Plugin ID: com.sap.ide.metamodel.c