Unknown ALERT while loading class

When I try to load a class in the kvm I get the following error:
"ALERT: Cannot create class in system package"
I've done a Google search, and a search on this site, with no luck. Am I the first person to get this error?
I have a few ideas about what might be causing it. If anyone could confirm or deny them, I'd appreciate it:
#1. This is prime culprit-> Dynamic class loading via Class.forName. Does the stripped down JVM support all the functionality I need for this?
#2. Am I not specifying the classpath correctly? I tried adding J2ME's src directory and J2SE's rt.jar to the classpath to no avail.
#3. Did I preverify incorrectly? I didn't get any errors, but without verbose output, I can't be sure exactly what happened anyway.
Any help would be greatly appreciated.
--Dan Clark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Let me explain the situation in more detail
I have a MIDlet class, that is in my own package JMarket:
package JMarket;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public void startApp() {
mm = new Form("Welcome to JVS!");
//make connection to Bluetooth Server
connect = new JvsConnect(); if I uncomment this line error message disappears
Let me now show you my JvsConnect class:
package JMarket;
import javax.bluetooth.*;
import javax.microedition.io.*;
import com.rococosoft.impronto.configuration.*;
import com.rococosoft.impronto.util.*;
public class JvsConnect {
These two lines cause the problem.When I uncomment them error is gone
private static LocalDevice device = null;
private final static UUID uuid = new UUID(0x7C3434CC);
public JvsConnect() {
System.out.println("Starting Bluetooth Connection...");
In my project properties(in JBuilder), as required library I have Impronto's APIs (without them I cannot say " import com.rococosoft.impronto.util.*; " - which is needed for bluetooth connection "LocalDevice" and others..)
So as you can see when I only uncomment two lines from JvsConnect class error message is gone and MIDlet can do everything ok....Otherwise it always says ALERT: Cannot create class in system package
What is wrong???

Similar Messages

  • Unknown issue while loading .dbf file by sql loader

    Hi guys,
    I am having a unknown issue while loading .dbf file by sql loader.
    I need to load .dbf data into oracle table.for this I converted .dbf file by just changing its extension as .csv . file structure after changing .dbf to .csv --
    C_N_NUMBER,COMP_CODE,CPT_CODE,C_N_AMT,CM_NUMBER
    1810/4,LKM,30,45,683196
    1810/5,LKM,30,45,683197
    1810/6,LKM,30,45,683198
    1810/7,LKM,30,135,683200
    1810/8,LKM,30,90,683201
    1810/9,LKM,1,45,683246
    1810/9,LKM,2,90,683246
    1810/10,LKF,1,90,683286
    2810/13,LKJ,1,50.5,680313
    2810/14,LKJ,1,50,680316
    1910/1,LKQ,1,90,680344
    3910/2,LKF,1,238.12,680368
    3910/3,LKF,1,45,680382
    3910/4,LKF,1,45,680395
    7910/5,LKS,1,45,680397
    7910/6,LKS,1,90,680400
    7910/7,LKS,1,45,680401
    7910/8,LKS,1,238.12,680414
    7910/9,LKS,1,193.12,680415
    7910/10,LKS,1,45,680490
    then I am loading it by sql loader.but I am getting always error below ...
    Record 1: Rejected - Error on table C_N_DETL_TAB, column CPT_CODE.
    ORA-01438: value larger than specified precision allowed for this column
    Record 2: Rejected - Error on table C_N_DETL_TAB, column CPT_CODE.
    ORA-01438: value larger than specified precision allowed for this column
    table structure-
    create table C_N_DETL_tab
    "C_N_NUMBER" VARCHAR2(13),
    "COMP_CODE" VARCHAR2(3),
    "CPT_CODE" NUMBER(4),
    "C_N_AMT" NUMBER(20,18),
    "CM_NUMBER" NUMBER(7)
    control file-
    options(skip=1)
    load data
    infile '/softdump/pc/C_N_DETL.csv'
    badfile '/softdump/pc/C_N_DETL.bad'
    discardfile '/softdump/pc/C_N_DETL.dsc'
    into table C_N_DETL_tab
    truncate
    FIELDS TERMINATED BY ","
    OPTIONALLY ENCLOSED BY '"'
    TRAILING NULLCOLS
    C_N_NUMBER CHAR,
    COMP_CODE CHAR,
    CPT_CODE INTEGER,
    C_N_AMT INTEGER,
    CM_NUMBER INTEGER
    but guys when I am increasing size of all columns of tabel upto its max value then data is loaded but when I am checking column max length after data loaded then its very less..
    changed table structure-
    create table C_N_DETL_tab
    "C_N_NUMBER" VARCHAR2(130),
    "COMP_CODE" VARCHAR2(30),
    "CPT_CODE" NUMBER(32), ---- max value of number
    "C_N_AMT" NUMBER(32,18), ---- max value of number
    "CM_NUMBER" NUMBER(32) ---- max value of number
    now i ma running ...
    sqlldr express/express control=C_N_DETL.ctl log=C_N_DETL.log
    o/p-
    Table C_N_DETL_TAB, loaded from every logical record.
    Insert option in effect for this table: TRUNCATE
    TRAILING NULLCOLS option in effect
    Column Name Position Len Term Encl Datatype
    ---------- ---- ---- C_N_NUMBER FIRST * , O(") CHARACTER
    COMP_CODE NEXT * , O(") CHARACTER
    CPT_CODE NEXT 4 INTEGER
    C_N_AMT NEXT 4 INTEGER
    CM_NUMBER NEXT 4 INTEGER
    Table C_N_DETL_TAB:
    20 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    select max(length( CPT_CODE))from C_N_DETL_tab ---> 9
    can u tell me why I need to increase size of table columns upto max value?although length of data is soo much less.
    kindly check it..thnx in advance...
    rgds,
    pc

    No database version of course. Unimportant.
    If I recall correctly, it is 'integer external ' and you would best double quoting the alphanumerics (which you didn't ).
    Try changing integer in integer external in the ctl file.
    Sybrand Bakker
    Senior Oracle DBA

  • Coldfusion having trouble while loading classes in Jar file

    Hi everybody.
    I have some weird problem with Coldfusion.
    I try to use a Jar file, that i put in the Coldfusion classpath. It works well (i can call some classes in the Jar file using the createObject() function ), but not every classes.
    For example,
    <cfset ServiceObject = createObject("java", "com.google.api.ads.dfp.v201204.NetworkServiceInterface")>
    <cfdump var="#ServiceObject#">
    this call works well, and i can the see the dump file.
    <cfset dfpServiceObject2 = createObject("java", "com.google.api.ads.dfp.v201204.NetworkServiceSoapBindingStub")>
    <cfdump var="#ServiceObject2#">
    This call fails, and i got a 500 error :
    ROOT CAUSE:
    java.lang.NoClassDefFoundError: Could not initialize class com.google.api.ads.dfp.v201204.NetworkServiceSoapBindingStub
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at coldfusion.runtime.java.JavaProxy.createObjectWithDefaultConstructor(JavaProxy.java:191)
    If i check in the Jar file, i can see the NetworkServiceSoapBindingStub class. Moreover, when i do the same thing directly in a java application, it works well. Nevertheless, Coldfusion is not able to load this class. How can this be possible? Do you have any idea to help me?

    I have not been able to resolve this to date. Does anyone have half a clue as to what I might be doing wrong?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alison Stohrer ([email protected]):
    Were you able to resolve this? I am having the same problem.<HR></BLOCKQUOTE>
    null

  • Stop Static Block Execution while loading class

    Hi,
    I want to load one class using Class. forname method. But with one condition that It should not execute static body of class.

    I would suppose that one had better really know what they are doing before using that method.

  • Errors generated while loading classes in jar file

    Hello all,
    I am attempting to install the xml parser using the loadjava utility. Here is my commandline call:
    loadjava -user user/password -r -v xmlparserv2.jar
    where user and password are the appropriate.
    I made sure my CLASSPATH was not set to anything.
    When I run this against Oracle 8.1.5 I get the following for quite a few of the classes in the JAR file.
    resolving: oracle/xml/parser/v2/XMLExternalReader
    Errors in oracle/xml/parser/v2/XMLExternalReader:
    ORA-29534: referenced object XCOM.oracle/xml/parser/v2/XMLNode could not be resolved
    ORA-29545: badly formed class: java.lang.NullPointerException
    Some the classes compile without problems, but the majority report this error. Also it takes some time to compile and reach this conclusion.
    On my first run loadjava reported 227 errors.
    What am I doing wrong. Any and all feedback would be highly appreciated.
    Thanks,
    Bediako George
    null

    I have not been able to resolve this to date. Does anyone have half a clue as to what I might be doing wrong?
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alison Stohrer ([email protected]):
    Were you able to resolve this? I am having the same problem.<HR></BLOCKQUOTE>
    null

  • ADS: com.adobe.ProcessingException: Class not found exception while loading

    Hi All,
    While i'm trying to activate FORM (Interactive Form in Transaction SFP), i'm getting error -
    ADS: com.adobe.ProcessingException: Class not found exception while loading class SAPForm, classpath: /usr/sap/AHS/DVEBMGS00/exe/jstart7 1.jar/usr/sap/AHS/DVEBMGS00/exe.
    Could anyone let me know the way to resolve this issue.
    Thanks and Regards,
    Sunil

    Many Thanks for the reply-It's working now
    I added the MySQL connector in the following manner
    1)Open the Tom Cat server console by Selecting 'Servers' in Package Explorer
    2)Right Click 'Tomcat v5.5 at localhost.server'
    3)Select 'Open Launch Configuration' under 'General Information'
    4)Select the 'Classpath' tab in the Edit configuration window that opens
    5)Select 'Add External Jars' and add the required connector

  • Exception occured while retrieving the Flowtrace XML for the Composite Instance; java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException

    When i try to view the FlowTrace i'm getting the following exception in EM
    Unable to display Flowtrace due to exception while initializing object, please review logs for detailed information.
    >> Exception occured while retrieving the Flowtrace XML for the Composite Instance; ECID: 0000JzmIFk95EgPquci8UH1HtzlR0000HC
    >> java.rmi.UnmarshalException: Problem finding error class; nested exception is:
    >>> java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
    >>> 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.getAuditTrail(Unknown Source)
    >>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:79)
    >>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:28)
    >>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:124)
    >>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:128)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:101)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:867)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
    >>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:551)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:191)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:274)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:75)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
    >>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    >>> 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:301)
    >>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:164)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    >>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    >>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    >>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    >>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    >>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    >>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    >>> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    >>> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    >>> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    >>> at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    >>> at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    >>> at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    >>> at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    >>> at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >>> Caused by: java.lang.ClassNotFoundException: Failed to load class oracle.bpel.services.workflow.WorkflowException
    >>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:208)
    >>> at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:135)
    >>> at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:305)
    >>> at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:436)
    >>> at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:268)
    >>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
    >>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
    >>> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
    >>> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
    >>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    >>> at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
    >>> at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
    >>> at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:235)
    >>> at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
    >>> at oracle.soa.management.internal.ejb.impl.FacadeFinderBean_4vacyo_FacadeFinderBeanImpl_1036_WLStub.getAuditTrail(Unknown Source)
    >>> at oracle.soa.management.internal.ejb.EJBLocatorImpl.getAuditTrail(EJBLocatorImpl.java:473)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.setFloatraceModelInfo(FlowTraceModel.java:172)
    >>> at oracle.sysman.emai.model.sca.share.composite.FlowTraceModel.initialize(FlowTraceModel.java:80)
    >>> at oracle.sysman.emai.model.sca.EMEntityModel._initializeEntityData(EMEntityModel.java:29)
    >>> at oracle.sysman.emai.model.sca.common.SCAEntityObject.initializeSCAData(SCAEntityObject.java:125)
    >>> at oracle.sysman.emai.model.sca.SCAObject.initializeData(SCAObject.java:66)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.initOrResetEMObject(ModelUtil.java:319)
    >>> at oracle.sysman.core.model.util.ModelUtil$EMObjectResetter.access$000(ModelUtil.java:280)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeMBEMObjects(ModelUtil.java:231)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:131)
    >>> at oracle.sysman.core.model.util.ModelUtil.initializeAllEMObjects(ModelUtil.java:102)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.doPrePrepareModel(EMPagePhaseListener.java:869)
    >>> at oracle.sysman.emSDK.adfext.ctlr.EMPagePhaseListener.beforePhase(EMPagePhaseListener.java:795)
    >>> at oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.beforePhase(ADFLifecycleImpl.java:552)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchBeforeEvent(LifecycleImpl.java:100)
    >>> at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:192)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$400(ADFPhaseListener.java:23)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.startPageLifecycle(ADFPhaseListener.java:238)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$1.after(ADFPhaseListener.java:276)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:77)
    >>> at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:54)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:472)
    >>> at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
    >>> at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    >>> 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:301)
    >>> at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:166)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    >>> at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    >>> at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    >>> at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:183)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    >>> at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    >>> at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    >>> at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    >>> at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    >>> at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    >>> ... 9 more

    Hi Manish,
    It seems that you are using a custom security provider and the weblogic server is not able to find the class / jar file that contains the class.
    java.lang.ClassNotFoundException: Failed to load class com.msl.security.providers.SessionPrincipal]
    Make sure you have all the required jar files in the server classpath.
    You can use the JarScan utility to find the jar that contains the class.
    Refer the below link regarding the jarScan.
    http://weblogic-wonders.com/weblogic/2011/01/26/finding-jar-files-using-jarscan/
    Regards,
    Anandraj
    http://weblogic-wonders.com

  • Getting atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index Exception while accessing merch server dynamo

    Hi Experts,
    I am getting following error while accessing merch server dynamo,
    18:10:17,334 ERROR [STDERR] java.lang.UnsupportedClassVersionError: _dasadmin_3__UTF_s8/_index : Unsupported major.minor version 51.0
    18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.defineClass1(Native Method)
    18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.defineClassCond(Unknown Source)
    18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.defineClass(Unknown Source)
    18:10:17,335 ERROR [STDERR]     at atg.servlet.pagecompile.ReusableClassLoader.findClass(ReusableClassLoader.java:330)
    18:10:17,335 ERROR [STDERR]     at atg.servlet.pagecompile.ReusableClassLoader.findClass(ReusableClassLoader.java:286)
    18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source)
    18:10:17,335 ERROR [STDERR]     at atg.servlet.pagecompile.ReusableClassLoader.loadClass(ReusableClassLoader.java:602)
    18:10:17,335 ERROR [STDERR]     at java.lang.ClassLoader.loadClass(Unknown Source)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.loadClass(PageProcessor.java:2704)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.loadClass(PageProcessor.java:2605)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.compilePageClass(PageProcessor.java:2479)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageProcessor.getPageInfo(PageProcessor.java:1787)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.jsp12.Jsp12PageProcessor.getPageInfo(Jsp12PageProcessor.java:324)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.minimal.MinimalServletContainer.compileServlet(MinimalServletContainer.java:153)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:303)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.DynamoServlet.service(DynamoServlet.java:148)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:160)
    18:10:17,336 ERROR [STDERR]     at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
    18:10:17,336 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.FileFinderPipelineServlet.service(FileFinderPipelineServlet.java:729)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,337 ERROR [STDERR]     at atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:513)
    18:10:17,337 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
    18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,338 ERROR [STDERR]     at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)
    18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
    18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)
    18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)
    18:10:17,338 ERROR [STDERR]     at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
    18:10:17,338 ERROR [STDERR]     at atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)
    18:10:17,338 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    18:10:17,338 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    18:10:17,338 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    18:10:17,338 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    18:10:17,338 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
    18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    18:10:17,339 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    18:10:17,339 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    18:10:17,339 ERROR [STDERR]     at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
    18:10:17,340 ERROR [STDERR]     at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
    18:10:17,340 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    18:10:17,340 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    18:10:17,340 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
    18:10:17,340 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    18:10:17,340 ERROR [STDERR]     at java.lang.Thread.run(Unknown Source)
    18:10:17,340 ERROR [PageCompileServlet] Error compiling page: /index.jhtml : can't load class: _dasadmin_3__UTF_s8._index
    atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index
    Can You please suggest me to fix this issue.
    Thanks & Regards,
    Murali

    I cleanedup pagebuild in both merch1 server and home path,
    Even I'm getting same error.
    10:50:40,098 ERROR [PageCompileServlet] Error compiling page: /index.jhtml : can't load class: _dasadmin_3__UTF_s8._index
    atg.servlet.pagecompile.PageCompileException: can't load class: _dasadmin_3__UTF_s8._index
      at atg.servlet.pagecompile.PageProcessor.compilePageClass(PageProcessor.java:2482)
      at atg.servlet.pagecompile.PageProcessor.getPageInfo(PageProcessor.java:1787)
      at atg.servlet.pagecompile.jsp12.Jsp12PageProcessor.getPageInfo(Jsp12PageProcessor.java:324)
      at atg.servlet.minimal.MinimalServletContainer.compileServlet(MinimalServletContainer.java:153)
      at atg.servlet.pagecompile.PageCompileServlet.service(PageCompileServlet.java:303)
      at atg.servlet.DynamoServlet.service(DynamoServlet.java:148)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:160)
      at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:657)
      at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:267)
      at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:253)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.MimeTyperPipelineServlet.service(MimeTyperPipelineServlet.java:228)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.FileFinderPipelineServlet.service(FileFinderPipelineServlet.java:729)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.DispatcherPipelineServletImpl.service(DispatcherPipelineServletImpl.java:275)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.ServletPathPipelineServlet.service(ServletPathPipelineServlet.java:208)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.security.ExpiredPasswordAdminServlet.service(ExpiredPasswordAdminServlet.java:312)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.BasicAuthenticationPipelineServlet.service(BasicAuthenticationPipelineServlet.java:513)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:249)
      at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
      at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)
      at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)
      at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
      at atg.nucleus.servlet.NucleusProxyServlet.service(NucleusProxyServlet.java:237)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
      at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
      at java.lang.Thread.run(Unknown Source)
    Can You please suggest any other solution.
    I'm using JBOSS version : jboss-eap-5.1.2
                  JDK version      : jdk1.6.0_31
    Thanks & Regards,
    Murali

  • Plug-in load class error while running portalapp.xml file in NWDS7.0

    hi,
    im facing a problem in NWDS7.0 while running portalapp.xml file im getting error realted some plug-in load class error.
    Even 3 times i have re-installed but still getting same error.
    Please help me how to over come this. This is error im getting :
    Please open this link with Firefox so that you can able to see error.
    http://www.imageurlhost.com/images/jri5lj7lpftu23ejyye0_Error.jpg
    Regards,
    prasad.

    Dear Prasad
    Please right click on portalapp.xml > open with > check all the available editors.
    Also restore default edition in NWDS. Go to windows > preference > Workbench OR Web editors > click on restore default and Apply and then Ok.
    then close the NWDS and open it.
    Hope it will helps
    Best Regards
    Arun Jaiswal

  • (Class cast Exception)Problem while loading data fro database in java class

    Dear all,
    Please help me...to solve this
    I have a database having two columns of String and Date Types.
    In my java code i was trying to load the data to a UI.
    I am successfull in loading the String type value.
    But while loading date field value,is showing Class cast Exception.
    What i am doing is Getting the values from database to a String[] array.
    So my question is how to
    get the Date field as date field itself,Then convert it to a String..Then put it in to String[] array...
    Any body please help...If any one want more clarification in question i will give......

    Hi,
    I am using GWT to display my data in a Grid.
    So it will accept a Single two dimensional String array....Here i have one as String and other as Date.
    So i was trying to get each row in a sindle dimensional array array[] then store it in a list.
    Iteration goes up to 10 rows.After i am setting it in to a list
    ie list.add(array);
    Now while returning this list i am doing this
    "return (String[][])list.toArray(new String[0][]);"
    When i tried to get the date element to String array it is showing class cast exception. When i tried with toString() method it is showing the same problem.

  • Save/Load Error "Unknown Error" while converting VI to Template VI

    Hi,
    I am trying to convert LabVIEW 8.0 VI to Template VI. If I change the file extention (Windows) from *.vi to *.vit, then icon is changing but while loading the template from LabVIEW 8.0 it tells Save/Load Error "Unknown Error".  I tried mass compiling the VI's but no change. I tryed LabVIEW Save As options to save VI as Template VI.No Use. Then I created one Blank Template VI then copyed the contents from VI to Template VI. If I am reopening the Template again it tells the same error.
    I assumed I can use all LabVIEW functions inside Template VI. (There is no difference between VI and Template VI). If this this assumption is wrong please let me know about the limitations in using Template VI's
    Please let me know what procedure I should follow to convert VI to Template in LV 8.0
    Thanks,
    S.Venkatakrishna

    Hello,
    Thank you for posting to the NI discussion forums.  Everything you tried should work, and does
    with my copy of LabVIEW 8.  I created a
    VI, saved it as a .vi, renamed it to .vit, and even did “save as..” and changed
    the extension there to be a vit.  Have
    you tried these things with a different VI – say, just a VI with a while loop
    and a stop button?  Is this error
    accompanied by any other .cpp error messages? 
    We have seen situations like this where this error dialogue comes up,
    and it’s usually a result of some sort of VI corruption.  If possible you might want to post the VI
    here too, and I can see if I can convert it for you.  I’m happy to help, please let me know if
    anything here helps, or if you have any additional information on this problem.
    Travis M
    LabVIEW R&D
    National Instruments

  • Awk: error while loading shared libraries: libdl.so.2: wrong ELF class: ELF

    Hello,
    I'm installing Application Dependency and Performance (ADP, also call CAMM) in OEM 11g. The steps is as follows:
    1) go to the directory ../oms11g/ocamm and extract ocamm.zip file
    2) then go to the directory ../oms11g/ocamm/Disk1/InstData/Linux/VM
    3) run ./install.bin to perform the installation
    However, I got following error message immediately:
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    awk: error while loading shared libraries: libdl.so.2: wrong ELF class: ELFCLASS32
    dirname: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
    /bin/ls: error while loading shared libraries: librt.so.1: wrong ELF class: ELFCLASS32
    basename: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
    dirname: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
    basename: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
    Launching installer...
    grep: error while loading shared libraries: libc.so.6: wrong ELF class: ELFCLASS32
    /tmp/install.dir.5356/Linux/resource/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    Can anybody advise me how to resolve this issue? Also more info regarding our environment:
    Product: Oracle Enterprise Manager Grid Control 11g
    Operating System: Red Hat Enterprise Linux Server release 5.5 (Tikanga) 2.6.18 194.el5 (64-bit)
    Hardware Platform: x86_64
    Thanks,
    Neddy
    Edited by: user622199 on Mar 29, 2011 3:37 AM

    execute below and check
    cat install.bin |sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > install.fixed
    chmod +x install.fixed
    ./install.fixed

  • Alert occurred while loading metadata

    Hello
    I have the following message when lauching SUPM 2.0
    Alert occurred while loading metadata - Error occured from portal component
    any ideas ? is there any logs ?
    Thanks
    Chea-Lie

    I not too long ago came across your write-up and have been reading along. I wish to express my admiration of your writing ability and capability to create readers read from the starting for the finish. I'd like to read newer posts and to share my thoughts with you.

  • Overriding eventdistributionpattern-pof throwing unable to load class error

    Hi,
    We were trying to override the "coherence-eventdistributionpattern-pof-config.xml" with our own event distribution pof due to conflicintg type-id's. We changed type-id's for few of the classes. We changed the type-id for the following classes and left others as such.
    com.oracle.coherence.patterns.eventdistribution.EventDistributor$Identifier
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntry
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntryInsertedEvent
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntryUpdatedEvent
    com.oracle.coherence.patterns.eventdistribution.events.DistributableEntryRemovedEvent
    When i start the coherence server, i get error in loading class "com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder" for which we did not change the typ-id at all.
    Coherence version 3.7.10
    Error Trace:
    (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=2): PartitionedCache caught an unhandled exception (com.tangosol.util.WrapperException: (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load class for user type (Config=test/coherence/grid/obj-pof-config.xml, Type-Id=13402, Class-Name=com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder)) (Wrapped) com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder) while exiting.
    <Error> (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=2): ClusterService.doServiceLeft: Unknown Service PartitionedCache{Name=DistributedCacheForSequenceGenerators, State=(SERVICE_STOPPED), Not initialized}
    (thread=DistributedCache:DistributedCacheForSequenceGenerators, member=2): Service DistributedCacheForSequenceGenerators left the cluster
    <Error> (thread=main, member=2): Error while starting service "DistributedCacheForSequenceGenerators": (Wrapped) (Wrapped: error creating class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Unable to load class for user type (Config=test/coherence/grid/obj-pof-config.xml, Type-Id=13402, Class-Name=com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder)) (Wrapped) java.lang.ClassNotFoundException: com.oracle.coherence.patterns.eventdistribution.channels.cache.ParallelLocalCacheEventChannelBuilder
            at com.tangosol.coherence.component.util.Daemon.start(Daemon.CDB:52)
    Thanks,

    File's permissions?

  • Error while loading java file in Oracle

    Hi,
    I am facing error while loading java class into oracle . Can you please help
    -bash-3.2$ cd /export/home/sacuser/
    -bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM - resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java
    unrecognized or badly formed option -
    loadjava: Usage: loadjava [-definer] [-encoding encoding] [-force] [-genmissing] [-genmissingjar jar] [-grant grant                                          s] [-help] [-nousage] [-noverify] [-oci8] [-order] [-resolve] [-resolver resolver] [-schema schema] [-synonym] [-th                                          in] [-tableschema schema] [-user user/password@database] [-verbose] classes..jars..resources..properties...
    -bash-3.2$ loadjava -user sacuserdb/sacuserdb@BLM -resolve Oracle_Validator/src/com/nec/blm/oracle/validator/Validate.java
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x0
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol for the error
          just occurred. Please refer to release documentation for possible
          reason and solutions.
    Current Java thread:
            at oracle.jdbc.driver.T2CConnection.t2cCreateState(Native Method)
            at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:346)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413)
            at oracle.jdbc.driver.T2CConnection.<init>(T2CConnection.java:131)
            at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:77)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
            at java.sql.DriverManager.getConnection(DriverManager.java:512)
            - locked <0xf5fdc448> (a java.lang.Class)
            at java.sql.DriverManager.getConnection(DriverManager.java:140)
            - locked <0xf5fdc448> (a java.lang.Class)
            at oracle.aurora.server.tools.loadjava.DatabaseOptions.getConnection(DatabaseOptions.java:180)
            at oracle.aurora.server.tools.loadjava.DatabaseOptions.connect(DatabaseOptions.java:123)
            at oracle.aurora.server.tools.loadjava.LoadJavaState.getConnection(LoadJavaState.java:409)
            at oracle.aurora.server.tools.loadjava.LoadJavaState.getOldMD5(LoadJavaState.java:696)
            at oracle.aurora.server.tools.loadjava.ClientSchemaObject.getOldMD5(ClientSchemaObject.java:52)
            at oracle.aurora.server.tools.loadjava.SchemaObject.doCreate(SchemaObject.java:172)
            at oracle.aurora.server.tools.loadjava.SchemaObject.process1(SchemaObject.java:215)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:532)
            at oracle.aurora.server.tools.loadjava.LoadJava.addSource(LoadJava.java:574)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:439)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:380)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:349)
            at oracle.aurora.server.tools.loadjava.LoadJava.add(LoadJava.java:652)
            at oracle.aurora.server.tools.loadjava.LoadJava.processDeferredFiles(LoadJava.java:617)
            at oracle.aurora.server.tools.loadjava.LoadJava.process(LoadJava.java:818)
            at oracle.aurora.server.tools.loadjava.LoadJava.command(LoadJava.java:251)
            at oracle.aurora.server.tools.loadjava.LoadJavaMain.run(LoadJavaMain.java:103)
            at oracle.aurora.server.tools.loadjava.LoadJavaMain.main(LoadJavaMain.java:28)
    Dynamic libraries:
    0x8050000       /opt/oracle/product/10g/jdk/jre/bin/java
    0xfef80000      /lib/libthread.so.1
    0xfef40000      /lib/libdl.so.1
    0xfee10000      /lib/libc.so.1
    0xfea00000      /opt/oracle/product/10g/jdk/jre/lib/i386/client/libjvm.so
    0xfedd0000      /usr/lib/libCrun.so.1
    0xfedb0000      /lib/libsocket.so.1
    0xfe960000      /lib/libnsl.so.1
    0xfed90000      /lib/libm.so.1
    0xfedc0000      /usr/lib/libsched.so.1
    0xfe900000      /lib/libm.so.2
    0xfed40000      /lib/libscf.so.1
    0xfe8e0000      /lib/libdoor.so.1
    0xfe8b0000      /lib/libuutil.so.1
    0xfe890000      /lib/libgen.so.1
    0xfe870000      /lib/libmd.so.1
    0xfe850000      /lib/libmp.so.2
    0xfe830000      /opt/oracle/product/10g/jdk/jre/lib/i386/native_threads/libhpi.so
    0xfe3d0000      /opt/oracle/product/10g/jdk/jre/lib/i386/libverify.so
    0xfe3a0000      /opt/oracle/product/10g/jdk/jre/lib/i386/libjava.so
    0xfe380000      /opt/oracle/product/10g/jdk/jre/lib/i386/libzip.so
    0xf9e80000      /opt/oracle/product/10g/lib32/libocijdbc10.so
    0xf0e00000      /opt/oracle/product/10g/lib32/libclntsh.so.10.1
    0xf0c60000      /opt/oracle/product/10g/lib32/libnnz10.so
    0xf9e60000      /lib/libkstat.so.1
    0xf9e30000      /lib/libaio.so.1
    0xf1b60000      /lib/librt.so.1
    Heap at VM Abort:
    Heap
    def new generation   total 576K, used 237K [0xf1e00000, 0xf1ea0000, 0xf22e0000)
      eden space 512K,  45% used [0xf1e00000, 0xf1e3a058, 0xf1e80000)
      from space 64K,   8% used [0xf1e90000, 0xf1e915c0, 0xf1ea0000)
      to   space 64K,   0% used [0xf1e80000, 0xf1e80000, 0xf1e90000)
    tenured generation   total 1408K, used 204K [0xf22e0000, 0xf2440000, 0xf5e00000)
       the space 1408K,  14% used [0xf22e0000, 0xf23130f0, 0xf2313200, 0xf2440000)
    compacting perm gen  total 4096K, used 2662K [0xf5e00000, 0xf6200000, 0xf9e00000)
       the space 4096K,  65% used [0xf5e00000, 0xf6099a38, 0xf6099c00, 0xf6200000)
    Local Time = Mon Jun 17 16:29:08 2013
    Elapsed Time = 0
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
    # An error report file has been saved as hs_err_pid27805.log.
    # Please refer to the file for further information.
    Abort (core dumped)

    Please try to compile your java source file with jdk avaiable in ORACLE_HOME\jdk\bin\javac.
    load the compiled class file in oracle DB using loadjava utility.
    loadjava -user scott/tiger javafile.class

Maybe you are looking for