JDeveloper Internal Exception

When editing java source code, a window pops up
multiple times:
JniPortal for C:\Java\JDev20\java\bin\javai.dll reported
java.lang.NullPointerException
java.lang.NullPointerException
at borland.jbuilder.ide.zip.IdeZipFile_Impl.listEntries
(Compiled Code)
at
borland.jbuilder.ide.zip.portal.IdeZipFile_JavaDispatch.invoke
(Compiled Code)
at
borland.jbuilder.ide.zip.portal.IdeZipFile_JavaDispatch.invoke
(Compiled Code)
My Configuration is:
NT4SP5, JDeveloper 2.0 Build 343
Is there a fix or workaround?
Regards
Rainer Spritzendorfer
null

I solved it in the meantime. This error occurs only
when JBCL 2.0 is in the library path. After removing
it everything works smoothly. Maybe the jbcl.zip is
corrupt?
Rainer Spritzendorfer
JDeveloper Team (guest) wrote:
: Rainer,
: I am not sure what is happening...Could you please send us a
: small test case?
: Thanks,
: Rainer Spritzendorfer (guest) wrote:
: : When editing java source code, a window pops up
: : multiple times:
: : JniPortal for C:\Java\JDev20\java\bin\javai.dll reported
: : java.lang.NullPointerException
: : java.lang.NullPointerException
: : at borland.jbuilder.ide.zip.IdeZipFile_Impl.listEntries
: : (Compiled Code)
: : at
borland.jbuilder.ide.zip.portal.IdeZipFile_JavaDispatch.invoke
: : (Compiled Code)
: : at
borland.jbuilder.ide.zip.portal.IdeZipFile_JavaDispatch.invoke
: : (Compiled Code)
: : My Configuration is:
: : NT4SP5, JDeveloper 2.0 Build 343
: : Is there a fix or workaround?
: : Regards
: : Rainer Spritzendorfer
null

Similar Messages

  • Internal Exception: oracle.xml.parser.v2.XMLParseException xsi:type "toplin

    i am using toplink 10.1.3.0.0 with oracle app server 10.1.2.2, i am using change field optimistic locking and generating the project xml,
    application runs great locally in the jdeveloper, but when it is deployed on app server getting following error
    here are the headers from both my project.xml as well as session xml..
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink:object-persistence version="Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <opm:name>PROJ</opm:name>
    <opm:class-mapping-descriptors>
    <opm:class-mapping-descriptor xsi:type="toplink:relational-class-mapping-descriptor">
    <?xml version="1.0" encoding="UTF-8"?>
    <toplink-sessions version="4.5" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <session xsi:type="server-session">
    <name>PROJSession</name>
    <event-listener-classes/>
    <logging xsi:type="toplink-log">
    <log-level>finer</log-level>
    </logging>
    <primary-project xsi:type="xml">PROJ.xml</primary-project>
    <login xsi:type="database-login">
    <platform-class>oracle.toplink.platform.database.oracle.OraclePlatform</platform-class>
    <user-name></user-name>
    any help/idea appreciated...
    Exception [TOPLINK-9005] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException
    Exception Description: An exception was thrown while loading the <project-xml> file [PROJ.xml].
    Internal Exception: Exception [TOPLINK-25004] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.XMLMarshalException
    Exception Description: An error occurred unmarshalling the document
    Internal Exception: Exception [TOPLINK-27101] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.platform.xml.XMLPlatformException
    Exception Description: An error occurred while parsing the document.
    Internal Exception: oracle.xml.parser.v2.XMLParseException: xsi:type "toplink:changed-field-locking-policy" not resolved to a type definition
    at oracle.toplink.exceptions.SessionLoaderException.failedToLoadProjectXml(SessionLoaderException.java:74)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.loadProjectConfig(TopLinkSessionsFactory.java:316)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.createSession(TopLinkSessionsFactory.java:241)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildServerSessionConfig(TopLinkSessionsFactory.java:215)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildSession(TopLinkSessionsFactory.java:168)
    at oracle.toplink.tools.sessionconfiguration.TopLinkSessionsFactory.buildTopLinkSessions(TopLinkSessionsFactory.java:124)
    at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.load(XMLSessionConfigLoader.java:103)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:367)
    at oracle.toplink.tools.sessionmanagement.SessionManager.getSession(SessionManager.java:334)
    at myProjectPackage.common.data.toplink.ToplinkDataManagerPeer.<init>(ToplinkDataManagerPeer.java:41)
    at myProjectPackage.common.data.DataManagerFactory.getDataManagerInstance(DataManagerFactory.java:40)
    at myProjectPackage.common.servlet.NYSDOTFilter.getDataManager(NYSDOTFilter.java:964)
    at myProjectPackage.common.servlet.NYSDOTFilter.doFilter(NYSDOTFilter.java:144)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at myProjectPackage.caf.servlet.NYSDOTCAFFilter.doFilter(NYSDOTCAFFilter.java:90)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at myProjectPackage.common.servlet.NYSDOTLoginFilter.doFilter(NYSDOTLoginFilter.java:95)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:669)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:570)

    first thanks for your reply,
    i already figured that out and deployed it using 10.1.3.1 jars
    my question
    1) if it is a bug , how come it works fine with jdeveloper (
    i would appreciate if you could provide any info about it.
    2) i dont want to sound sarcastic , but 10.1.3.1 has of optimistic locking and the recommended solution i found was to use descriptor.getQueryManager().setUpdateCallCacheSize(0);
    looks like 10.1.3.1 fixed one bug and introduced other one which was working fine earlier...
    is there any other way of fixing optimistic locking issue other than using the
    descriptor.getQueryManager().setUpdateCallCacheSize(0);
    where i can find the latest/greatest (up to date patched version of toplink)
    thanks again for your help

  • Regarding Internal Exception: java.sql.SQLException

    While deploying the application we are encounter a following error,
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: FATAL: sorry, too many clients already
    Error Code: 0
    Deployment error:
    Please give me a suggession for this error.
    Thanks,

    While deploying the application we are encounter a following error,
    Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: FATAL: sorry, too many clients already
    Error Code: 0
    Deployment error:
    Please give me a suggession for this error.
    Thanks,

  • Internal exception with horizontal mapping

    When two horizontally mapped classes stored with the same ID system comits
    work to database and the throws internal exception. As result corrupt data
    is saved which can not be read back
    1469 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 20089978> [0 ms]
    executing prepstmnt 3972145 SELECT DISTINCT JDO_CLASS FROM TEST.CONTRACT
    1500 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 24257622> [0 ms]
    executing prepstmnt 9649099 SELECT t0.JDO_CLASS, t0.JDO_LOCK FROM
    TEST.CONTRACT t0 WHERE t0.CONTRACT_ID = ? [params=(long) 1]
    1563 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 30008954> [0 ms]
    executing prepstmnt 10233621 INSERT INTO TEST.ORGANIZATION (ACRONYM,
    CONTRACT_ID, JDO_CLASS, JDO_LOCK, NAME, ORG_ID) VALUES (?, ?, ?, ?, ?, ?)
    [params=(null) null, (long) 1, (String) com.peacetech.test.jdo.Organization,
    (int) 0, (null) null, (long) 3]
    1563 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 30008954> [0 ms]
    executing prepstmnt 3823508 INSERT INTO TEST.PERSON (CONTRACT_ID, JDO_CLASS,
    JDO_LOCK, NAME, NICK_NAME, ORG_ID, PERSON_ID) VALUES (?, ?, ?, ?, ?, ?, ?)
    [params=(long) 1, (String) com.peacetech.test.jdo.Person, (int) 0, (null)
    null, (null) null, (long) 3, (long) 3]
    1563 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 30008954> [0 ms]
    executing prepstmnt 4973260 INSERT INTO TEST.POST (CONTRACT_ID, JDO_CLASS,
    JDO_LOCK, NAME, ORG_ID, POST_ID, TITLE) VALUES (?, ?, ?, ?, ?, ?, ?)
    [params=(long) 1, (String) com.peacetech.test.jdo.Post, (int) 0, (null)
    null, (long) 3, (long) 3, (null) null]
    1594 TRACE [main] kodo.Runtime - An exception occurred while ending the
    transaction. This exception will be re-thrown.
    kodo.util.FatalInternalException: 3 :: 3:kodo.runtime.PNonTransState@129b0e1
    :: 3:kodo.runtime.PNonTransState@129b0e1
    at
    kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.j
    ava:3314)
    at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:737)
    at
    kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.ja
    va:1103)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:842)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    1594 TRACE [main] kodo.Runtime - An exception occurred while ending the
    transaction. This exception will be re-thrown.
    kodo.util.UserException: Can only perform operation while a transaction is
    active.
    at
    kodo.runtime.PersistenceManagerImpl.assertActiveTransaction(PersistenceManag
    erImpl.java:3602)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:840)
    at kodo.runtime.LocalManagedRuntime.rollback(LocalManagedRuntime.java:125)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:101)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    1594 TRACE [main] kodo.Runtime - An exception occurred while ending the
    transaction. This exception will be re-thrown.
    kodo.util.FatalInternalException: 3 :: 3:kodo.runtime.PNonTransState@129b0e1
    :: 3:kodo.runtime.PNonTransState@129b0e1
    at
    kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.j
    ava:3314)
    at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:737)
    at
    kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.ja
    va:1103)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:842)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    Exception in thread "main" kodo.util.FatalInternalException: 3 ::
    3:kodo.runtime.PNonTransState@129b0e1 ::
    3:kodo.runtime.PNonTransState@129b0e1
    at
    kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.j
    ava:3314)
    at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:737)
    at
    kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.ja
    va:1103)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:842)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    Process terminated with exit code 1

    Note that this bug is reported at:
    http://bugzilla.solarmetric.com/show_bug.cgi?id=940
    Currently, the only solution is to ensure that you are using globally
    unique IDs. One good way of doing this is to use an application identity
    hierarchy that mirrors the hierarchy of the persistent classes, as
    described in the documentation at:
    http://docs.solarmetric.com/manual.html#horizontal_caveats.
    In article <[email protected]>, Alex Roytman wrote:
    When two horizontally mapped classes stored with the same ID system comits
    work to database and the throws internal exception. As result corrupt data
    is saved which can not be read back
    1469 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 20089978> [0 ms]
    executing prepstmnt 3972145 SELECT DISTINCT JDO_CLASS FROM TEST.CONTRACT
    1500 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 24257622> [0 ms]
    executing prepstmnt 9649099 SELECT t0.JDO_CLASS, t0.JDO_LOCK FROM
    TEST.CONTRACT t0 WHERE t0.CONTRACT_ID = ? [params=(long) 1]
    1563 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 30008954> [0 ms]
    executing prepstmnt 10233621 INSERT INTO TEST.ORGANIZATION (ACRONYM,
    CONTRACT_ID, JDO_CLASS, JDO_LOCK, NAME, ORG_ID) VALUES (?, ?, ?, ?, ?, ?)
    [params=(null) null, (long) 1, (String) com.peacetech.test.jdo.Organization,
    (int) 0, (null) null, (long) 3]
    1563 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 30008954> [0 ms]
    executing prepstmnt 3823508 INSERT INTO TEST.PERSON (CONTRACT_ID, JDO_CLASS,
    JDO_LOCK, NAME, NICK_NAME, ORG_ID, PERSON_ID) VALUES (?, ?, ?, ?, ?, ?, ?)
    [params=(long) 1, (String) com.peacetech.test.jdo.Person, (int) 0, (null)
    null, (null) null, (long) 3, (long) 3]
    1563 TRACE [main] kodo.jdbc.SQL - <t 20688146, conn 30008954> [0 ms]
    executing prepstmnt 4973260 INSERT INTO TEST.POST (CONTRACT_ID, JDO_CLASS,
    JDO_LOCK, NAME, ORG_ID, POST_ID, TITLE) VALUES (?, ?, ?, ?, ?, ?, ?)
    [params=(long) 1, (String) com.peacetech.test.jdo.Post, (int) 0, (null)
    null, (long) 3, (long) 3, (null) null]
    1594 TRACE [main] kodo.Runtime - An exception occurred while ending the
    transaction. This exception will be re-thrown.
    kodo.util.FatalInternalException: 3 :: 3:kodo.runtime.PNonTransState@129b0e1
    :: 3:kodo.runtime.PNonTransState@129b0e1
    at
    kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.j
    ava:3314)
    at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:737)
    at
    kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.ja
    va:1103)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:842)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    1594 TRACE [main] kodo.Runtime - An exception occurred while ending the
    transaction. This exception will be re-thrown.
    kodo.util.UserException: Can only perform operation while a transaction is
    active.
    at
    kodo.runtime.PersistenceManagerImpl.assertActiveTransaction(PersistenceManag
    erImpl.java:3602)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:840)
    at kodo.runtime.LocalManagedRuntime.rollback(LocalManagedRuntime.java:125)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:101)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    1594 TRACE [main] kodo.Runtime - An exception occurred while ending the
    transaction. This exception will be re-thrown.
    kodo.util.FatalInternalException: 3 :: 3:kodo.runtime.PNonTransState@129b0e1
    :: 3:kodo.runtime.PNonTransState@129b0e1
    at
    kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.j
    ava:3314)
    at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:737)
    at
    kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.ja
    va:1103)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:842)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    Exception in thread "main" kodo.util.FatalInternalException: 3 ::
    3:kodo.runtime.PNonTransState@129b0e1 ::
    3:kodo.runtime.PNonTransState@129b0e1
    at
    kodo.runtime.PersistenceManagerImpl.setStateManager(PersistenceManagerImpl.j
    ava:3314)
    at kodo.runtime.StateManagerImpl.commit(StateManagerImpl.java:737)
    at
    kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.ja
    va:1103)
    at
    kodo.runtime.PersistenceManagerImpl.afterCompletion(PersistenceManagerImpl.j
    ava:842)
    at kodo.runtime.LocalManagedRuntime.commit(LocalManagedRuntime.java:86)
    at
    kodo.runtime.PersistenceManagerImpl.commit(PersistenceManagerImpl.java:542)
    at
    com.peacetech.test.jdo.TestJDOHelper.commitTransaction(TestJDOHelper.java:40
    at com.peacetech.test.HorizontalTest.insert(HorizontalTest.java:57)
    at com.peacetech.test.HorizontalTest.main(HorizontalTest.java:34)
    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:495)
    at com.intellij.rt.execution.application.AppMain.main(Unknown Source)
    Process terminated with exit code 1
    Marc Prud'hommeaux
    SolarMetric Inc.

  • Internal Exception: java.lang.NoSuchFieldException

    i have a java app that displays data from a table called MasterScrip using jpa. i wish to add an extra field to my table but, when i add an extra field named 'change' to my database table MasterScrip i get following exception, when i remove the field, the app works fine
    Exception [EclipseLink-0] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.IntegrityException
    Descriptor Exceptions:
    Exception [EclipseLink-59] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DescriptorException
    Exception Description: The instance variable [change] is not defined in the domain class [entity.MasterScrip], or it is not accessible.
    Internal Exception: java.lang.NoSuchFieldException: change
    Mapping: org.eclipse.persistence.mappings.DirectToFieldMapping[change-->StockCommodityDB.MasterScrip.Change]
    Descriptor: RelationalDescriptor(entity.MasterScrip --> [DatabaseTable(StockCommodityDB.MasterScrip)])
    //stack trace with ejbTransactionRolledBackException
    entity MasterScrip.java:
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package entity;
    import java.io.Serializable;
    import java.util.Collection;
    import javax.persistence.Basic;
    import javax.persistence.CascadeType;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.FetchType;
    import javax.persistence.GeneratedValue;
    import javax.persistence.GenerationType;
    import javax.persistence.Id;
    import javax.persistence.JoinColumn;
    import javax.persistence.ManyToOne;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.OneToMany;
    import javax.persistence.Table;
    import javax.validation.constraints.NotNull;
    import javax.validation.constraints.Size;
    import javax.xml.bind.annotation.XmlRootElement;
    import javax.xml.bind.annotation.XmlTransient;
    * @author root
    @Entity
    @Table(name = "MasterScrip", catalog = "StockCommodityDB", schema = "")
    @XmlRootElement
    @NamedQueries({
    @NamedQuery(name = "MasterScrip.findAll", query = "SELECT m FROM MasterScrip m"),
    @NamedQuery(name = "MasterScrip.findByScripID", query = "SELECT m FROM MasterScrip m WHERE m.scripID = :scripID"),
    @NamedQuery(name = "MasterScrip.findByScripSymbol", query = "SELECT m FROM MasterScrip m WHERE m.scripSymbol = :scripSymbol"),
    @NamedQuery(name = "MasterScrip.findByType", query = "SELECT m FROM MasterScrip m WHERE m.type = :type"),
    @NamedQuery(name = "MasterScrip.findByCompanyName", query = "SELECT m FROM MasterScrip m WHERE m.companyName = :companyName"),
    @NamedQuery(name = "MasterScrip.findByLastTradedPrice", query = "SELECT m FROM MasterScrip m WHERE m.lastTradedPrice = :lastTradedPrice"),
    @NamedQuery(name = "MasterScrip.findByLastTradedQuantity", query = "SELECT m FROM MasterScrip m WHERE m.lastTradedQuantity = :lastTradedQuantity"),
    @NamedQuery(name = "MasterScrip.findByOpenPrice", query = "SELECT m FROM MasterScrip m WHERE m.openPrice = :openPrice"),
    @NamedQuery(name = "MasterScrip.findByHighPrice", query = "SELECT m FROM MasterScrip m WHERE m.highPrice = :highPrice"),
    @NamedQuery(name = "MasterScrip.findByLowPrice", query = "SELECT m FROM MasterScrip m WHERE m.lowPrice = :lowPrice"),
    @NamedQuery(name = "MasterScrip.findByTotalTradedQuantity", query = "SELECT m FROM MasterScrip m WHERE m.totalTradedQuantity = :totalTradedQuantity"),
    @NamedQuery(name = "MasterScrip.findByVolume", query = "SELECT m FROM MasterScrip m WHERE m.volume = :volume"),
    @NamedQuery(name = "MasterScrip.findByExchange", query = "SELECT m FROM MasterScrip m WHERE m.exchange = :exchange"),
    @NamedQuery(name = "MasterScrip.findByBrokerageCharge", query = "SELECT m FROM MasterScrip m WHERE m.brokerageCharge = :brokerageCharge"),
    @NamedQuery(name = "MasterScrip.findByPreviousClose", query = "SELECT m FROM MasterScrip m WHERE m.previousClose = :previousClose"),
    @NamedQuery(name = "MasterScrip.findByChange", query = "SELECT m FROM MasterScrip m WHERE m.change = :change")})
    public class MasterScrip implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Basic(optional = false)
    @NotNull
    @Column(name = "ScripID", nullable = false)
    private Integer scripID;
    @Size(max = 15)
    @Column(name = "ScripSymbol", length = 15)
    private String scripSymbol;
    @Size(max = 10)
    @Column(name = "Type", length = 10)
    private String type;
    @Size(max = 50)
    @Column(name = "CompanyName", length = 50)
    private String companyName;
    // @Max(value=?) @Min(value=?)//if you know range of your decimal fields consider using these annotations to enforce field validation
    @Column(name = "LastTradedPrice", precision = 22)
    private Double lastTradedPrice;
    @Column(name = "LastTradedQuantity")
    private Integer lastTradedQuantity;
    @Column(name = "OpenPrice", precision = 22)
    private Double openPrice;
    @Column(name = "HighPrice", precision = 22)
    private Double highPrice;
    @Column(name = "LowPrice", precision = 22)
    private Double lowPrice;
    @Column(name = "TotalTradedQuantity")
    private Integer totalTradedQuantity;
    @Column(name = "Volume")
    private Integer volume;
    @Size(max = 30)
    @Column(name = "Exchange", length = 30)
    private String exchange;
    @Column(name = "BrokerageCharge", precision = 22)
    private Double brokerageCharge;
    @Column(name = "PreviousClose", precision = 22)
    private Double previousClose;
    @Column(name = "Change", precision = 22)
    private Double change;
    @JoinColumn(name = "CommoditySubCategoryID", referencedColumnName = "CommoditySubCategoryID")
    @ManyToOne(fetch = FetchType.EAGER)
    private CommoditySubCategoryMaster commoditySubCategoryID;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
    private Collection<UserStock> userStockCollection;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
    private Collection<UserTrack> userTrackCollection;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
    private Collection<OrderStock> orderStockCollection;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "scripID", fetch = FetchType.EAGER)
    private Collection<TradeStock> tradeStockCollection;
    public MasterScrip() {
    public MasterScrip(Integer scripID) {
    this.scripID = scripID;
    public Integer getScripID() {
    return scripID;
    public void setScripID(Integer scripID) {
    this.scripID = scripID;
    public String getScripSymbol() {
    return scripSymbol;
    public void setScripSymbol(String scripSymbol) {
    this.scripSymbol = scripSymbol;
    public String getType() {
    return type;
    public void setType(String type) {
    this.type = type;
    public String getCompanyName() {
    return companyName;
    public void setCompanyName(String companyName) {
    this.companyName = companyName;
    public Double getLastTradedPrice() {
    return lastTradedPrice;
    public void setLastTradedPrice(Double lastTradedPrice) {
    this.lastTradedPrice = lastTradedPrice;
    public Integer getLastTradedQuantity() {
    return lastTradedQuantity;
    public void setLastTradedQuantity(Integer lastTradedQuantity) {
    this.lastTradedQuantity = lastTradedQuantity;
    public Double getOpenPrice() {
    return openPrice;
    public void setOpenPrice(Double openPrice) {
    this.openPrice = openPrice;
    public Double getHighPrice() {
    return highPrice;
    public void setHighPrice(Double highPrice) {
    this.highPrice = highPrice;
    public Double getLowPrice() {
    return lowPrice;
    public void setLowPrice(Double lowPrice) {
    this.lowPrice = lowPrice;
    public Integer getTotalTradedQuantity() {
    return totalTradedQuantity;
    public void setTotalTradedQuantity(Integer totalTradedQuantity) {
    this.totalTradedQuantity = totalTradedQuantity;
    public Integer getVolume() {
    return volume;
    public void setVolume(Integer volume) {
    this.volume = volume;
    public String getExchange() {
    return exchange;
    public void setExchange(String exchange) {
    this.exchange = exchange;
    public Double getBrokerageCharge() {
    return brokerageCharge;
    public void setBrokerageCharge(Double brokerageCharge) {
    this.brokerageCharge = brokerageCharge;
    public Double getPreviousClose() {
    return previousClose;
    public void setPreviousClose(Double previousClose) {
    this.previousClose = previousClose;
    public Double getChange() {
    return change;
    public void setChange(Double change) {
    this.change = change;
    public CommoditySubCategoryMaster getCommoditySubCategoryID() {
    return commoditySubCategoryID;
    public void setCommoditySubCategoryID(CommoditySubCategoryMaster commoditySubCategoryID) {
    this.commoditySubCategoryID = commoditySubCategoryID;
    @XmlTransient
    public Collection<UserStock> getUserStockCollection() {
    return userStockCollection;
    public void setUserStockCollection(Collection<UserStock> userStockCollection) {
    this.userStockCollection = userStockCollection;
    @XmlTransient
    public Collection<UserTrack> getUserTrackCollection() {
    return userTrackCollection;
    public void setUserTrackCollection(Collection<UserTrack> userTrackCollection) {
    this.userTrackCollection = userTrackCollection;
    @XmlTransient
    public Collection<OrderStock> getOrderStockCollection() {
    return orderStockCollection;
    public void setOrderStockCollection(Collection<OrderStock> orderStockCollection) {
    this.orderStockCollection = orderStockCollection;
    @XmlTransient
    public Collection<TradeStock> getTradeStockCollection() {
    return tradeStockCollection;
    public void setTradeStockCollection(Collection<TradeStock> tradeStockCollection) {
    this.tradeStockCollection = tradeStockCollection;
    @Override
    public int hashCode() {
    int hash = 0;
    hash += (scripID != null ? scripID.hashCode() : 0);
    return hash;
    @Override
    public boolean equals(Object object) {
    // TODO: Warning - this method won't work in the case the id fields are not set
    if (!(object instanceof MasterScrip)) {
    return false;
    MasterScrip other = (MasterScrip) object;
    if ((this.scripID == null && other.scripID != null) || (this.scripID != null && !this.scripID.equals(other.scripID))) {
    return false;
    return true;
    @Override
    public String toString() {
    return "entity.MasterScrip[ scripID=" + scripID + " ]";
    what could be the reason of this exception? how do i solve it?

    i cleaned and built the app and redeployed it. now i am getting the following exception:
    Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.0.v20110604-r9504): org.eclipse.persistence.exceptions.DatabaseException
    Internal Exception: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Change, CompanyName, Exchange, HighPrice, LastTradedPrice, LastTradedQuantity, L' at line 1
    Error Code: 1064
    Call: SELECT ScripID, BrokerageCharge, Change, CompanyName, Exchange, HighPrice, LastTradedPrice, LastTradedQuantity, LowPrice, OpenPrice, PreviousClose, ScripSymbol, TotalTradedQuantity, Type, Volume, CommoditySubCategoryID FROM StockCommodityDB.MasterScrip
    Query: ReadAllQuery(name="MasterScrip.findAll" referenceClass=MasterScrip sql="SELECT ScripID, BrokerageCharge, Change, CompanyName, Exchange, HighPrice, LastTradedPrice, LastTradedQuantity, LowPrice, OpenPrice, PreviousClose, ScripSymbol, TotalTradedQuantity, Type, Volume, CommoditySubCategoryID FROM StockCommodityDB.MasterScrip")
         at org.eclipse.persistence.exceptions.DatabaseException.sqlException(DatabaseException.java:333)
    where am i wrong?

  • GP Mail: Unexpected internal exception during background execution

    Hi,
          I have designed a process in Guided Procedures which send mails when Approved or Rejected. I get an exception for users who have yahoo or gmail IDs.
    Technical Exception:
    Unexpected internal exception during background execution: The message contains non-trusted or invalid receivers
    Is there any setting /configuration for sending mails to these.
    Pl help
    Thanks,
    Vasu
    Message was edited by:
            Vasu Mullapudi

    Hi,
    are you using the Bounced Mails Framework to manage you mails? If so, one possible explanation is that BMF blocks untrusted messages.
    To configure BMF options, go to the Administration workset and edit the list of trusted addresses in BMF.
    More info:
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/450862f1f014bce10000000a155369/frameset.htm">Administering the BMF</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/44/4491dafaab0597e10000000a155369/frameset.htm">Managing Trusted Addresses</a>
    HTH
    Regards, Petja

  • Internal Exception: java.sql.SQLException: Closed ConnectionError Code: 170

    I have the following situation:
    When accidentaly toplink loose connection with database server for short time and request coming from client in the same time toplink close connection with database server and generate the following exception:
    Exception [TOPLINK-4002] (Oracle TopLink - 10g Developer Preview 3 (10.1.3.0 ) (Build 041116)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Closed ConnectionError Code: 17008
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:272)
    Problem is because toplink does not renew the connection with database server. Anybody know how to resolve this situation ?
    Mention:
    Application is build around toplink server session that serve client giving them clientsession and unitofwork.

    Hi
    I am getting this exception randomly, I want my application to be flexible. I am using Glassfish V2.1.1, Toplink Essentials, Windows linux, Oracle 11g database.
    Below is the stacktrace :
    Local Exception Stack:
    Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.1 (Build b31g-fcs (10/19/2009))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: Closed Connection
    Error Code: 17008
    Call: SELECT t0.CRITICALITY, t0.USER_TAG_IDENT, t0.SEGMENT_GROUP_YN, t0.NAME, t0.GMT_LAST_UPDATED, t0.LONG_DESCRIPTION, t0.CS_TYPE_DB_SITE, t0.CS_TYPE_DB_ID, t0.CS_TYPE_CODE, t0.SEGMENT_SITE, t0.SEGMENT_ID, t0.RSTAT_TYPE_CODE, t0.LAST_UPD_DB_SITE, t0.LAST_UPD_DB_ID, t0.SG_DB_SITE, t0.SG_DB_ID, t0.SG_TYPE_CODE FROM SEGMENT t0, ROW_STATUS_TYPE t2, SEGMENT_TYPE t1 WHERE ((((t0.SEGMENT_ID NOT IN (SELECT t3.CHILD_SG_ID FROM SEGMENT_CHILD t3 WHERE (t3.SEGMENT_SITE = ?)) AND (t0.SEGMENT_SITE = ?)) AND (t1.SG_TYPE_CODE = ?)) AND (t2.RSTAT_TYPE_COD = ?)) AND (((t1.SG_DB_SITE = t0.SG_DB_SITE) AND ((t1.SG_DB_ID = t0.SG_DB_ID) AND (t1.SG_TYPE_CODE = t0.SG_TYPE_CODE))) AND (t2.RSTAT_TYPE_COD = t0.RSTAT_TYPE_CODE))) ORDER BY t0.USER_TAG_IDENT ASC
         bind => [0000000100000001, 0000000100000001, 9, 1]
    Query: ReportQuery(com.esrg.jpa.Segment)
         at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:319)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:566)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:452)
         at oracle.toplink.essentials.threetier.ServerSession.executeCall(ServerSession.java:473)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:214)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:285)
         at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:615)
         at oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2416)
         at oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:2382)
         at oracle.toplink.essentials.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:802)
         at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:628)
         at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:692)
         at oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:746)
         at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2244)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
         at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:924)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:367)
         at oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getResultList(EJBQueryImpl.java:478)
         at com.sun.enterprise.util.QueryWrapper.getResultList(QueryWrapper.java:196)
         at com.esrgtech.erm.viewer.segment.eRMViewerSegmentBean.findSystem(eRMViewerSegmentBean.java:537)
         at com.esrgtech.erm.viewer.segment.eRMViewerSegmentBean.getTree(eRMViewerSegmentBean.java:131)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
         at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
         at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2929)
         at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4020)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:127)
         at $Proxy60.getTree(Unknown Source)
         at com.esrgtech.erm.DataViewerSession.getTree(DataViewerSession.java:237)
         at com.esrgtech.erm.ui.dashboard.DashboardLeft.buildTree(DashboardLeft.java:88)
         at com.esrgtech.erm.ui.dashboard.DashboardLeft.<init>(DashboardLeft.java:48)
         at com.esrgtech.erm.ui.dashboard.Dashboard.createLeftContent(Dashboard.java:55)
         at com.esrgtech.erm.ui.base.WebPageTwoColLeft180.buildPage(WebPageTwoColLeft180.java:58)
         at com.esrgtech.erm.ui.dashboard.Dashboard.<init>(Dashboard.java:34)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:192)
         at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:57)
         at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:81)
         at com.esrgtech.erm.ui.signin.SignInPanel.onSignInSucceeded(SignInPanel.java:236)
         at com.esrgtech.erm.ui.signin.SignInPanel$SignInForm.onSubmit(SignInPanel.java:116)
         at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1536)
         at org.apache.wicket.markup.html.form.Form.process(Form.java:925)
         at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:887)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:182)
         at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents(ListenerInterfaceRequestTarget.java:73)
         at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
         at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
         at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
         at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
         at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
         at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:479)
         at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:312)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1093)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:291)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:666)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:597)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:872)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:264)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.sql.SQLException: Closed Connection
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:840)
         at oracle.jdbc.driver.PhysicalConnection.prepareStatement(PhysicalConnection.java:759)
         at com.sun.gjc.spi.base.ConnectionHolder.prepareStatement(ConnectionHolder.java:475)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.prepareStatement(DatabaseAccessor.java:1162)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseCall.prepareStatement(DatabaseCall.java:612)
         at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:485)
         ... 90 more
    Need Help.....

  • JDBC 2.0 feature is not yet implemented Internal Exception

    I succeed in testing movie merge sample
    I can insert lines in tables movies
    My database source is defined on oracle lite bpel db
    Here a summary of the steps I follow to create a copy of merge projet from scratch
    New project TestMovies
    Asynchronous
    New PartnerLink
    Define Adapter Sevice
    database adater
    service name dbwrite
    My connection
    Perform select insert
    import system.movies
    finish
    add an invoke task
    partner link as
    merge operation
    autocreate variable invoke_1_merge_inputvariable
    change requestmessage to Movies project schema file
    add assing task
    copy rule from inputvariable to invoke_1_merge_inputvariable
    When I invoke the process with BPEL console I get an error:
    <part name="summary" >
    <summary>file:/C:/Oracle/OraBPEL/integration/orabpel/domains/default/tmp/.bpel_TestMovies_1.0.jar/dbwrite.wsdl [ dbwrite_ptt::merge(MoviesCollection) ] - WSIF JCA Execute of operation 'merge' failed due to: DBWriteInteractionSpec Execute Failed Exception. unknown failed. Descriptor name: [unknown]. ; nested exception is: ORABPEL-11616 DBWriteInteractionSpec Execute Failed Exception. unknown failed. Descriptor name: [unknown]. Caused by Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException Exception Description: java.sql.SQLException: JDBC 2.0 feature is not yet implemented Internal Exception: java.sql.SQLException: JDBC 2.0 feature is not yet implemented Error Code: 0. </summary>
    </part>
    <part name="detail" >
    <detail> Exception Description: java.sql.SQLException: JDBC 2.0 feature is not yet implemented Internal Exception: java.sql.SQLException: JDBC 2.0 feature is not yet implemented Error Code: 0</detail>
    </part>
    Then I investigate to the files created by the db adapter the main difference between the sample and the project I create is :
    - diffrence between movie.java
    sample file is
         private String title;
         private String director;
         private String starring;
         private String synopsis;
         private String genre;
         private String runTime;
         private Timestamp releaseDate;
         private String rated;
         private String rating;
         private String viewerRating;
         private String status;
         private String totalGross;
         private String deleted;
         private String sequenceno;
         private Timestamp lastUpdated;
    my file is
         private String title;
         private String director;
         private String starring;
         private String synopsis;
         private String genre;
         private String runTime;
         private Timestamp releaseDate;
         private String rated;
         private String rating;
         private String viewerRating;
         private String status;
         private String totalGross;
         private String deleted;
         private String sequenceno;
         private Timestamp lastUpdated;
         in the sampe every thing is in string and in my file some fields are Timestamp object...
         What's going wrong with my work
         Any help will be very appriciated.
         I one work what's going wrong with my database adatper
         Emmanuel

    Hi Clemens,
    I try to change palltformClassName in the oc4j-ra file to the one declared in wdsl. Then I change in the wsdl file the location to match the one of oc4j-ra. Then I restart the BPEL server. Here is my declaration in oc4j-ra
         <connector-factory location="eis/DB/OracleLite" connector-name="Database Adapter">
              <config-property name="driverClassName" value="oracle.lite.poljdbc.POLJDBCDriver"/>
              <config-property name="connectionString" value="jdbc:polite4@localhost:100:orabpel"/>
              <config-property name="userName" value="system"/>
              <config-property name="password" value="any"/>
              <config-property name="minConnections" value="1"/>
              <config-property name="maxConnections" value="5"/>
              <config-property name="minReadConnections" value="1"/>
              <config-property name="maxReadConnections" value="5"/>
              <config-property name="usesExternalConnectionPooling" value="false"/>
              <config-property name="dataSourceName" value=""/>
              <config-property name="usesExternalTransactionController" value="false"/>
              <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.OraclePlatform"/>
              <config-property name="usesNativeSequencing" value="true"/>
              <config-property name="sequencePreallocationSize" value="50"/>
              <config-property name="tableQualifier" value=""/>
              <config-property name="defaultNChar" value="false"/>
              <config-property name="usesBatchWriting" value="true"/>
         </connector-factory>
    But we I try to redo the test I still get the same error...
    Do you have any magic solution ;-)
    If not I can still use the declaration in the wsdl file...
    Emmanuel

  • Unexpected internal Exception (RelatchRequiredException)

    Hi,
    I have recently upgraded to version 5.0.34 and was testing our application when I saw the following error:
    com.sleepycat.je.EnvironmentFailureException: (JE 5.0.34) com.sleepycat.je.utilint.RelatchRequiredException UNEXPECTED_EXCEPTION: Unexpected internal Exception, may have side effects.
    at com.sleepycat.je.EnvironmentFailureException.unexpectedException(EnvironmentFailureException.java:286)
    at com.sleepycat.je.tree.BIN.fetchTarget(BIN.java:1268)
    at com.sleepycat.je.Cursor.checkForInsertion(Cursor.java:3006)
    at com.sleepycat.je.Cursor.retrieveNextAllowPhantoms(Cursor.java:2926)
    at com.sleepycat.je.Cursor.retrieveNextNoDups(Cursor.java:2789)
    at com.sleepycat.je.Cursor.retrieveNext(Cursor.java:2763)
    at com.sleepycat.je.Cursor.getNext(Cursor.java:1116)
    As a rough overview, the application has many threads (transactionally) inserting and removing into three separate tables. Commits are non synchronous (i.e. Transaction.commitNoSync() is being used). A separate thread regularly calls Environment.flushLog(true).
    I've only seen this once so far, when the application was under very heavy load...
    Any ideas?
    Cheers,
    Rob

    OK... I've been doing some more testing and have some more information.
    Firstly I have seen this a few more times though by no means is this particular error easily reproducable.
    I have determined that it occurs on both jdk 1.7.0 and 1.6.0_26 (both linux, 64bit) as I wanted to rule out jdk 1.7 as a factor.
    Since I had never seen this error when using v4.x of BDB I looked at the code change I hade made simultaneous with the upgrade, namely that previously in order to synchronously flush the asyncronoush transaction commits to disk I was calling Environment.sync() whereas with v5.0.34 I was calling Environment.flushFlog(true) (since this had demonstrated better performance and covered exactly the use case that I desired).
    After switching this code back to sync() I could not reproduce the issue. Moreover neither did I see any of the other perplexing errors that I had been investigating (see below).
    The part in my code where the error was occuring is the only place where cursors are actively used. All other transactional activity is either single record inserts, or single record deletes drived by a unique key. In the area of the code where I saw this exception being thrown, looks somewhat like this:
    DatabaseEntry value = new DatabaseEntry();
    value.setPartial(0, 0, true);
    cursor = database.openCursor(tx, null);
    status = cursor.getSearchKeyRange(key, value, LockMode.RMW);
    while (status == OperationStatus.SUCCESS)
    keyObject = binding.entryToObject(key);
    if(keyObject.getId() != id)
    break;
    else
    status = cursor.delete();
    status = cursor.getNext(key, value, LockMode.RMW);
    cursor.close();
    tx.commitNoSync();
    Where the idea is that the actual primary key for the table is a compound of (id,number), and we start the cursor from the key (id,0) and delete all entires until we find an entry with a different id.
    Now as it happens, for the test I am running I know that there will only ever be at most one entry of the form (id, 0).
    And if I change the code to remove the cursor, and instead just do a straight delete operation on the database, I again see no errors.
    The other thing to note is that in addition to the Unexpected Internal Exception described above, I was seeing far more frequent LockTimeout exceptions... moreover backing off and retrying the transactions didn't seem to work - the locks seemed to be permanently locked. These timeouts also only occurred in the above part of my code, and not in any of the other transactions it was performing.
    After changing to use Environment.sync() (rather than flushLog), or after removing the cursor (but keeping flishLog) these lock timeout exceptions also went away.
    Finally I was seeing an even stranger (to me) error... Occaisionally my tests seemed to be completing fine, but when I came to shut down my process, closing the environment was reporting that some transactions were still uncommitted. Again - the only instances were from the transactions involving the cursor above. Now as above the only way that you can get through that code without committing is (AFAICT) by some method throwing an exception... and I was seeing no such exceptions reported.
    Once again, either changing from flushLog(true) to sync(), or replacing the cursor with a straight delete stopped these issues from occurring.
    So, in summary I was seeing a number of weird behaviours that only seemed to occur when I was using a cursor to delete records from my database, and when I was using flushLog() to flush the log records to disk.
    Hope this is helpful... If there's anything more I can do to help you debug this issue, please let me know,
    Cheers,
    Rob

  • Internal exception starting JDeveloper

    I started JDeveloper 3.2.3 on my Windows NT 4.0 box and got the following exception:
    JniPortal for D:\Oracle\JDeveloper\java1.2\jre\bin\OJVM\jvm.dll reported
    java.lang.NullPointerException
    java.lang.ExceptionInInitializerError: java.lang.NullPointerException
    void borland.jbuilder.wizard.treatastext.TreatAsTextWizard.startup(borland.jbuilder.addin.IdeEnvironment)
    void borland.jbuilder.addin.impl.AddinManager.$TQ()
    void borland.jbuilder.addin.impl.AddinManager.start()
    void borland.jbuilder.addin.impl.AddinManagerIdeInterface.start()
    void borland.jbuilder.addin.impl.IAddinManager_JavaDispatch.invoke(int, borland.javaport.JavaCallStack)
    Some environment variables I have:
    CLASSPATH=E:\Oracle\806\Forms60\java;E:\Oracle\806\TOOLS\COMMON60\java\importer.jar
    E:\Oracle\806\bin;D:\Oracle\JDeveloper\java1.2\bin;D:\Oracle\JDeveloper\java1.2\jre\bin;D:\Oracle\JDeveloper\java1.2\jre\bin\classic;C:\WINNT\system32;C:\WINNT
    Any ideas why I am getting this exception?
    Thanks,
    - NR

    Hi,
    This is a known issue. If you restart JDeveloper it should no longer occur.
    Brian
    JDeveloper Team ( SCM Integration )

  • JDeveloper 11g - exception when trying to set Code Style in Preferences

    Hi forum
    I have just installed the new JDeveloper 11g and have upgraded my projects, and would now like to define my code style. But when I open Preferences -> Code Editor -> Code Style, I get the following error. Is this a known issue? Not being able to set my coding style like I'm used to is pretty annoying...
    Thanks in advance,
    Jacob
    "Internal error when trying to create this panel: "
    java.lang.NullPointerException
         at oracle.jdevimpl.style.profile.ProfileModel$ProfileComparator.compare(ProfileModel.java:409)
         at java.util.Arrays.mergeSort(Arrays.java:1270)
         at java.util.Arrays.sort(Arrays.java:1210)
         at java.util.Collections.sort(Collections.java:159)
         at oracle.jdevimpl.style.profile.ProfileModel.<init>(ProfileModel.java:72)
         at oracle.jdevimpl.style.preferences.CodingStylePreferencesPanel.<init>(CodingStylePreferencesPanel.java:144)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:315)
         at oracle.ide.panels.MetaTraversable.newTraversable(MetaTraversable.java:219)
         at oracle.ide.panels.MDDPanel.getTraversable(MDDPanel.java:1347)
         at oracle.ide.panels.MDDPanel.mav$getTraversable(MDDPanel.java:128)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1610)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1518)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1512)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:177)
         at java.awt.Dialog$1.run(Dialog.java:1045)
         at java.awt.Dialog$3.run(Dialog.java:1097)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1095)
         at java.awt.Component.show(Component.java:1422)
         at java.awt.Component.setVisible(Component.java:1375)
         at java.awt.Window.setVisible(Window.java:806)
         at java.awt.Dialog.setVisible(Dialog.java:985)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
         at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:593)
         at oracle.ide.cmd.IdeSettingsCommand.doit(IdeSettingsCommand.java:45)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.jdevimpl.vcs.cvs.CVSPreferencesCommand.doit(CVSPreferencesCommand.java:46)
         at oracle.ide.controller.CommandProcessor.invoke(CommandProcessor.java:309)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:547)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:866)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)"

    To anyone else encountering this:
    I would just like to report, that Oracle Development has managed to reproduce this problem from scratch by following a similar upgrade path 10.1.3.0->10.1.3.4->11.1.1.0. The problem is NOT OS-related, but related to migrating the user settings from 10.1.3.3. So Jan you were right about that. Credits go to you :)
    The only workaround for me has so far been to take a backup of my old SYSTEM directory causing the problem, and I have been forced to carefully recreate all my settings to get around this problem, since I already removed my old 10.1.3.3 installation, assuming the migration went OK - which it didn't... So, I will keep my old backup, in the hope that Development finds a fix to this issue, so I can go back to the settings I used to have, even though I THINK I have recreated them all for 11g - not completely sure though... time will tell.
    Until then, I will track the bug, that Didier has logged for me, which he mentioned in his post.
    Regards,
    Jacob

  • Getting internal exceptions after import

    Hi,
    I imported my ES 8.2 application into LCES2 using the Archive Migration tool.  It worked like a charm, except...
    Now whenever I encounter an error in my orchestrations, instead of throwing an exception that I can catch in my orchestration code and instead of producing a usable error message in the log, instead I get the following exception in the log:
    2011-03-01 17:28:44,043 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.adobe.pof.omapi.POFObjectSet com.adobe.pof.omapi.POFObjectManagerLocal.retrieveObjectSet(com.adobe.pof.omapi.POFQuery, int,int,com.adobe.idp.Context) throws com.adobe.pof.POFException, causedBy:
    org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57f05c:c00a:4d6d07c7:3e2bb1 status: ActionStatus.ABORTED >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57f05c:c00a:4d6d07c7:3e2bb1 status: ActionStatus.ABORTED >)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94 )
    at com.adobe.pof.ConnectionWrapper.getConnection(ConnectionWrapper.java:45)
    at com.adobe.pof.ConnectionWrapper.prepareStatement(ConnectionWrapper.java:179)
    at com.adobe.pof.adapter.JDBCAdapter.prepareStatement(JDBCAdapter.java:5308)
    at com.adobe.pof.adapter.sqlserver.SQLServer7Adapter.retrieveObjectSet(SQLServer7Adapter.jav a:618)
    at com.adobe.pof.omapi.POFObjectManagerImpl.retrieveObjectSet(POFObjectManagerImpl.java:148)
    at com.adobe.pof.omapi.POFObjectManagerRemoteBean.retrieveObjectSet(POFObjectManagerRemoteBe an.java:228)
    at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy174.retrieveObjectSet(Unknown Source)
    at com.adobe.pof.omapi.POFObjectManagerLocalEJBAdapter.retrieveObjectSet(POFObjectManagerLoc alEJBAdapter.java:115)
    at com.adobe.pof.omapi.POFObjectManagerAbstractAdapter.retrieveObjectSet(POFObjectManagerAbs tractAdapter.java:481)
    at com.adobe.pof.omapi.POFObjectManagerAbstractAdapter.retrieveBOIObjects(POFObjectManagerAb stractAdapter.java:404)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.getBOIContents(App licationStoreImpl.java:836)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.createTLOConfigura tionFromBOI(ApplicationStoreImpl.java:259)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.createTLOConfigura tionFromBOI(ApplicationStoreImpl.java:237)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.getApplicationConf iguration(ApplicationStoreImpl.java:546)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationStoreImpl.getApplicationConf iguration(ApplicationStoreImpl.java:566)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.getApplicationC onfiguration(ApplicationRegistryImpl.java:936)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.getTLOConfigura tion(ApplicationRegistryImpl.java:1760)
    at com.adobe.idp.applicationmanager.application.impl.ApplicationRegistryImpl.populateApplica tionContext(ApplicationRegistryImpl.java:1841)
    at com.adobe.idp.applicationmanager.invoker.ApplicationInvoker.populateApplicationContext(Ap plicationInvoker.java:65)
    at com.adobe.idp.applicationmanager.invoker.ApplicationInvoker.invoke(ApplicationInvoker.jav a:53)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.adobe.idp.dsc.registry.naming.impl.NamingRegistryImpl.loadApplicationContext(NamingRe gistryImpl.java:248)
    at com.adobe.idp.dsc.registry.naming.impl.NamingRegistryImpl.internalCreateApplicationContex t(NamingRegistryImpl.java:198)
    at com.adobe.idp.dsc.registry.naming.impl.NamingRegistryImpl.createApplicationContext(Naming RegistryImpl.java:141)
    at com.adobe.idp.dsc.impl.InvocationContextImpl.getApplicationContext(InvocationContextImpl. java:91)
    at com.adobe.workflow.engine.PEUtil.getOnFaultAction(PEUtil.java:383)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:364)
    at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)
    at sun.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy160.doRequiresNew(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:158)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    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.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -3f57f05c:c00a:4d6d07c7:3e2bb1 status: ActionStatus.ABORTED >
    at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectio nManager.java:304)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnec tionManager2.java:396)
    at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.alloca teConnection(BaseConnectionManager2.java:842)
    at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88 )
    ... 130 more
    2011-03-01 17:28:44,050 ERROR [com.adobe.workflow.AWS] Internal error.
    2011-03-01 17:28:44,050 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterLocal.doRequiresNe w(com.adobe.idp.dsc.transaction.TransactionDefinition,com.adobe.idp.dsc.transaction.Transa ctionCallback) throws com.adobe.idp.dsc.DSCException, causedBy:
    java.lang.IllegalStateException: [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] [com.arjuna.ats.internal.jta.transaction.arjunacore.inactive] The transaction is not active!
    at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImp le.java:223)
    at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:501)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:411)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
    at org.jboss.ejb.Container.invoke(Container.java:960)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
    at $Proxy160.doRequiresNew(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:158)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:329)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:139)
    at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
    at sun.reflect.GeneratedMethodAccessor297.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
    at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
    at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:41)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
    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.j ava:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)
    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
    It seems that no matter what the problem is I get the above exception and no response is returned to the caller.  This means that if I'm calling from workbench, workbench hangs for about 3 minutes until it gets a timeout.
    Any idea what could be causing this?  I tried creating a new application that has errors in it and the new application/orchestrations seem to error out like you would expect (a usable error in the log and an exception thrown that you can catch in the orchestration - and no timeout).
    Regards,
    Rob

    What is the upgrade history of the LiveCycle server?
    Is the LiveCycle server upgraded from LC7->LC8.x->LC9?
    If that is case, there should be lots of pof problems caused by LC7->LC8.x. More details could be found from:
    http://www.golivecycle.com/documents/prepareupgrade.pdf

  • Alert "An internal exception has occurred during discovery." related with Lync

    Greetings All,
    I'm facing this alert in one Lync 2013 agent. The problem is the SCOM agent is trying to execute a Lync 2010 PowerShell script in folder “'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync'” but this server is Lync 2013 so this folder
    does not exist, due to this error is generated the alert.
     I have recreated the SCOM health state folder in order to force all discoveries process, but the problem continues after. 
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Log Name:      Operations Manager
    Source:        Health Service Script
    Date:          3/13/2014 1:47:48 PM
    Event ID:      223
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MYSERVER.MYDOMAIN.LOCAL
    Description:
    DiscoverCluster.ps1 : 
    -Script Name:      Lync Server MP Central Topology Discovery
    -Run as account:   nt authority\network service
    -Execution Policy: Bypass
    Value of Source Id is {333B2339-35AA-8115-0B0D-639F319A6333}.
    Value of ManagedEntity Id is {4B127CAD-36D6-FCAB-507F-03FF1CF5555}.
    Value of Target Computer is MYSERVER.MYDOMAIN.LOCAL.
    Failed to load Lync Server Module. Error: The specified module 'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync' was not loaded because no valid module file was found in any module directory..
    An exception occured during discovery script, Exception : System.Management.Automation.CommandNotFoundException: The term 'Get-CsManagementStoreReplicationStatus' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Health Service Script" />
        <EventID Qualifiers="0">223</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-13T12:47:48.000000000Z" />
        <EventRecordID>130617</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>MYSERVER.MYDOMAIN.LOCAL</Computer>
        <Security />
      </System>
      <EventData>
        <Data>DiscoverCluster.ps1</Data>
        <Data>
    -Script Name:      Lync Server MP Central Topology Discovery
    -Run as account:   nt authority\network service
    -Execution Policy: Bypass
    Value of Source Id is {88BB2339-35AA-8115-0B0D-639F31999999}.
    Value of ManagedEntity Id is {4B127CAD-36D6-FCAB-507F-77777777}.
    Value of Target Computer is MYSERVER.MYDOMAIN.LOCAL.
    Failed to load Lync Server Module. Error: The specified module 'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync' was not loaded because no valid module file was found in any module directory..
    An exception occured during discovery script, Exception : System.Management.Automation.CommandNotFoundException: The term 'Get-CsManagementStoreReplicationStatus' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).
    </Data>
      </EventData>
    </Event>
    Thanks!

    Try adding the NETWORK SERVICE account to the following local groups on the Edge server:
    RTC Component Local
    RTC Local Administrators
    Then restart the System Center Management service.
    This fixed it for me. If you look at the membership of the equivalent local groups on a Lync Server 2013 Front End you'll see that these groups contain the NETWORK SERVICE account. Looks to be an oversight by MSFT.
    Also you can refer below link, Same issue here
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/f164f5a4-8dab-4f28-8cef-5d83d98d78a7/lync-2013-mp-lync-application-discovery-issue-for-the-dmz-servers?forum=operationsmanagermgmtpacks
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • JDeveloper 11g - Exception when trying to run on Tomcat 5.5.20

    I am trying to get an application working on JDeveloper 11g Technology Preview (4524) using Tomcat 5.5.20 as the server (NOT the Oracle embeded server), so that I can run and debug on Tomcat from JDeveloper. I can deploy to the Tomcat server but when I try to run the application (entry point is loginfos.jsp), after selecting the runtime service as Development Runtime Service (Tools > Select Runtime Service > Development Runtime Service (Packaged Deployment), I get the following error. Any ideas what might be wrong.
    Target fos-app.jpr is not runnable, using default target loginfos.jsp.
    oracle.jdeveloper.cm.CMException: Cannot find presentation for JSR160 in this ConnectionWrapper instance
         at oracle.jdeveloper.cm.JndiConnectionWrapper.getPresentation(JndiConnectionWrapper.java:118)
         at oracle.jdeveloper.asnav.ASConnectionWrapper.getPresentation(ASConnectionWrapper.java:60)
         at oracle.jdevimpl.runner.adrs.AdrsConfigAdminJMX.<init>(AdrsConfigAdminJMX.java:55)
         at oracle.jdevimpl.runner.adrs.AdrsAdmin.getAdrsConfigAdmin(AdrsAdmin.java:187)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.getAdrsConfigAdmin(AdrsStarter.java:606)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.prepareToStart(AdrsStarter.java:239)
         at oracle.ide.runner.RunProcess.prepareToStart(RunProcess.java:847)
         at oracle.ide.runner.RunProcess$1.run(RunProcess.java:803)
    java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at java.util.Properties.setProperty(Properties.java:128)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.generateJndiProperties(AdrsStarter.java:729)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.preStart(AdrsStarter.java:704)
         at oracle.jdevimpl.runner.adrs.AdrsStarter.start(AdrsStarter.java:258)
         at oracle.ide.runner.RunProcess.startTarget(RunProcess.java:871)
         at oracle.jdeveloper.runner.JRunProcess.startTarget(JRunProcess.java:529)
         at oracle.jdeveloper.runner.RunningProcess.startTarget(RunningProcess.java:78)
         at oracle.ide.runner.RunProcess$1$1.run(RunProcess.java:809)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    #### Failed to start Application in Development Runtime Instance.
    Thanks
    RayC

    Hi,
    JDeveloper 11 is in early technology preview and has not been tested outside of OC4J yet. In a nwer preview that then will be closer to production, those compatibility test should be run.
    Frank

  • How to disable debugger to stop at java internal exceptions?

    I'm debugging my code with following line:
    TimeZone tz = TimeZone.getTimeZone("GMT");
    It works when I run it. But the debugger keeps prompting me there is uncaught exception when debugging it. In fact this method does not throws any exception. There are many exceptions threw inside the sun's implementation, but not actually throws it out.
    Is there any way to disable this behavior?
    By the way, I'm using TP4.
    Message was edited by:
    lfengl
    Message was edited by:
    lfengl

    Yes. If Im remembering well there are two Norton entries. Norton update and Norton antivir application. Check it please.
    I have removed it every time when I have installed recovery image. At first Ive removed Norton update and then Norton application. Everything went well and after notebook restart Ive simply installed Avira antivir.
    Anyway, as far as I know, Norton is just trial version and you can use it 60 days I think. So there must be some option where you can define your usage and this should not be shown anymore.

Maybe you are looking for

  • Character Set issues.  Please advise

    I have a client who use a version 10gR2 DB that stores both English and French data. There are several times where they will send up .dmp file where we load it into ours. 2 questions. What would be the best charater sets to use here in this setup? I

  • APEX Collection - how to process

    Hello all. I am fairly new to apex and using apex 4.0. I have a SQL report based on collections, with 2 columns updateable. Following is the query. SELECT APEX_ITEM.TEXT(1,SEQ_ID) AS SEQ_ID, APEX_ITEM.TEXT(2,c001) AS R_TYPE, APEX_ITEM.TEXT(3,c002) AS

  • Why has the lyrics tab disappeared from songs' "Get Info" menu?

    I got a new laptop today with Windows 7, and downloaded the most recent version of iTunes. I am keeping all my music files on an external hard drive, but have dragged all of them into my iTunes library. This is how I've done it before and have never

  • Why Can't I get Idvd window up to drag movie from iMovie. OS 10.8.5  idvd is from iLife '11

    Have just bought update iLife 11 and installed idvd.  When I open it, it just spins 'load themes'. I dont want to use the themes - I just want the Idvd window to come up so I can drag the movie into it, loop it and burn the dvd. Thannks for your help

  • CSS and WebMethods

    I have a customer interested in balancing servers that run WebMethods. From what I can tell reading through this forum, looks like I might have to try using a script for doing the keepalive. Not being familiar with Webmethods, just wondering if anyon