Failed to lazily initialize a collection -, could not initialize proxy - no Session

I have an application that i am extending to provide a REST API.  Everything works fine in the main site, but I am getting the following in the exception log when I try to hit the REST API:
    "Error","ajp-bio-8014-exec-3","12/02/14","12:54:06","table","failed to lazily initialize a collection of role: field, could not initialize proxy - no Session The specific sequence of files included or processed is: service.cfc'' "
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: field, could not initialize proxy - no Session
        at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationExc eption(AbstractPersistentCollection.java:566)
        at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeed ed(AbstractPersistentCollection.java:186)
        at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersisten tCollection.java:137)
        at org.hibernate.collection.internal.PersistentBag.size(PersistentBag.java:242)
        at coldfusion.runtime.xml.ListIndexAccessor.getSize(ListIndexAccessor.java:44)
        at coldfusion.runtime.xml.ArrayHandler.serialize(ArrayHandler.java:69)
        at coldfusion.runtime.xml.CFComponentHandler.serialize(CFComponentHandler.java:106)
        at coldfusion.runtime.XMLizerUtils.serializeXML(XMLizerUtils.java:83)
        at coldfusion.rest.provider.CFObjectProvider.writeTo(CFObjectProvider.java:378)
        at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationIm pl.java:1479)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1391)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1381)
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
        at coldfusion.rest.servlet.CFRestServletContainer.service(CFRestServletContainer.java:141)
        at coldfusion.rest.servlet.CFRestServletContainer.service(CFRestServletContainer.java:86)
        at coldfusion.rest.servlet.CFRestServlet.serviceUsingAlreadyInitializedContainers(CFRestServ let.java:556)
        at coldfusion.rest.servlet.CFRestServlet.invoke(CFRestServlet.java:434)
        at coldfusion.rest.servlet.RestFilter.invoke(RestFilter.java:58)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.rest.servlet.CFRestServlet.invoke(CFRestServlet.java:409)
        at coldfusion.rest.servlet.CFRestServlet.service(CFRestServlet.java:400)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Disabling lazy loading will fix this, but results in unacceptable performance (load times go from 200ms to 22s).  I'm not sure how else to handle this.
I am new to REST in ColdFusion, and it seems to me that the CFC's are being handled in an unusual way.  They do not appear to be initialized (init method does not seem to run) and now it seems that ORM is not handled the same either.  Am I missing something?
Here is the excerpt of my code producing this error:
    component rest="true" restpath="item"
        import model.beans.*;
        remote item function getitem( numeric id restargsource="Path" ) restpath="{id}" httpmethod="GET"
            var item = entityLoad("item",{ id = id },true);
            return item;
And the bean:
    component persistent="true" table="item" output="false" extends="timestampedBean" batchsize="10" cacheuse="read-only"
        /* properties */
        property name="id" column="id" type="numeric" ormtype="int" fieldtype="id" generator="identity";
        property name="title" column="title" type="string" ormtype="string";
        property name="description" column="description" type="string" ormtype="string";
        property name="status" column="status" type="numeric" ormtype="byte" default="0" ;
        property name="user" fieldtype="many-to-one" cfc="user" fkcolumn="userid" inversejoincolum="userid" lazy="true" cacheuse="read-only";
        property name="field" type="array" fieldtype="many-to-many" cfc="field" fkcolumn="id" linktable="items_fields" inversejoincolumn="fieldid" lazy="extra" batchsize="10" cacheuse="read-only";
I also noticed in the stdout log that Hibernate is logging the query, but then it logs the "No session" error:
    Hibernate:
        select
            item0_.id as id0_0_,
            item0_.dtcreated as dtcreated0_0_,
            item0_.dtmodified as dtmodified0_0_,
            item0_.title as title0_0_,
            item0_.description as descript6_0_0_,
            item0_.status as status0_0_,
            item0_.userid as userid0_0_
        from
            item item0_
        where
            item0_.id=?
    Dec 2, 2014 15:23:00 PM Error [ajp-bio-8014-exec-3] - failed to lazily initialize a collection of role: field, could not initialize proxy - no Session The specific sequence of files included or processed is: service.cfc''
I should probably also add that this "item" table is part of a many-to-many relationship, so "collection of role: field" is referencing the foreign table.

I have an application that i am extending to provide a REST API.  Everything works fine in the main site, but I am getting the following in the exception log when I try to hit the REST API:
    "Error","ajp-bio-8014-exec-3","12/02/14","12:54:06","table","failed to lazily initialize a collection of role: field, could not initialize proxy - no Session The specific sequence of files included or processed is: service.cfc'' "
    org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: field, could not initialize proxy - no Session
        at org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationExc eption(AbstractPersistentCollection.java:566)
        at org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeed ed(AbstractPersistentCollection.java:186)
        at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersisten tCollection.java:137)
        at org.hibernate.collection.internal.PersistentBag.size(PersistentBag.java:242)
        at coldfusion.runtime.xml.ListIndexAccessor.getSize(ListIndexAccessor.java:44)
        at coldfusion.runtime.xml.ArrayHandler.serialize(ArrayHandler.java:69)
        at coldfusion.runtime.xml.CFComponentHandler.serialize(CFComponentHandler.java:106)
        at coldfusion.runtime.XMLizerUtils.serializeXML(XMLizerUtils.java:83)
        at coldfusion.rest.provider.CFObjectProvider.writeTo(CFObjectProvider.java:378)
        at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationIm pl.java:1479)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1391)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1381)
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538)
        at coldfusion.rest.servlet.CFRestServletContainer.service(CFRestServletContainer.java:141)
        at coldfusion.rest.servlet.CFRestServletContainer.service(CFRestServletContainer.java:86)
        at coldfusion.rest.servlet.CFRestServlet.serviceUsingAlreadyInitializedContainers(CFRestServ let.java:556)
        at coldfusion.rest.servlet.CFRestServlet.invoke(CFRestServlet.java:434)
        at coldfusion.rest.servlet.RestFilter.invoke(RestFilter.java:58)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.rest.servlet.CFRestServlet.invoke(CFRestServlet.java:409)
        at coldfusion.rest.servlet.CFRestServlet.service(CFRestServlet.java:400)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
        at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:422)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:198)
        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.jav a:607)
        at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Disabling lazy loading will fix this, but results in unacceptable performance (load times go from 200ms to 22s).  I'm not sure how else to handle this.
I am new to REST in ColdFusion, and it seems to me that the CFC's are being handled in an unusual way.  They do not appear to be initialized (init method does not seem to run) and now it seems that ORM is not handled the same either.  Am I missing something?
Here is the excerpt of my code producing this error:
    component rest="true" restpath="item"
        import model.beans.*;
        remote item function getitem( numeric id restargsource="Path" ) restpath="{id}" httpmethod="GET"
            var item = entityLoad("item",{ id = id },true);
            return item;
And the bean:
    component persistent="true" table="item" output="false" extends="timestampedBean" batchsize="10" cacheuse="read-only"
        /* properties */
        property name="id" column="id" type="numeric" ormtype="int" fieldtype="id" generator="identity";
        property name="title" column="title" type="string" ormtype="string";
        property name="description" column="description" type="string" ormtype="string";
        property name="status" column="status" type="numeric" ormtype="byte" default="0" ;
        property name="user" fieldtype="many-to-one" cfc="user" fkcolumn="userid" inversejoincolum="userid" lazy="true" cacheuse="read-only";
        property name="field" type="array" fieldtype="many-to-many" cfc="field" fkcolumn="id" linktable="items_fields" inversejoincolumn="fieldid" lazy="extra" batchsize="10" cacheuse="read-only";
I also noticed in the stdout log that Hibernate is logging the query, but then it logs the "No session" error:
    Hibernate:
        select
            item0_.id as id0_0_,
            item0_.dtcreated as dtcreated0_0_,
            item0_.dtmodified as dtmodified0_0_,
            item0_.title as title0_0_,
            item0_.description as descript6_0_0_,
            item0_.status as status0_0_,
            item0_.userid as userid0_0_
        from
            item item0_
        where
            item0_.id=?
    Dec 2, 2014 15:23:00 PM Error [ajp-bio-8014-exec-3] - failed to lazily initialize a collection of role: field, could not initialize proxy - no Session The specific sequence of files included or processed is: service.cfc''
I should probably also add that this "item" table is part of a many-to-many relationship, so "collection of role: field" is referencing the foreign table.

Similar Messages

  • Could not initialize photoshop elements could not initialize ACE implementation

    Hi,
    Hoping somebody can help.I have Adobe photoshop elements 2.0 (i know its pretty old).Its always worked well until lately its bringing this message up and not letting me open it : could not inialize photoshop elements could not initialize ACE implementation.
    I have been trying to clean up the computer and am not 100% confident at using the computer so im afraid i have deleted or locked something that this program needs to run.
    Can any body help?
    Erica

    Repair does not work on any Windows version of PSE.  Try resetting the preferences:  Press and hold CTRL, ALT, and SHIFT when launching Elements until you see a box asking if you want to delete the settings.  Yes, you do.
    Juergen

  • Could not initialize a collection+[Microsoft][ODBC SQL Server Driver]Invali

    Hi All,
    I am getting the following message, when i try to retreive the child object from the parent..
    Session sess = sessionFactory.openSession();
    Team obj = (Team) sess.load(Team.class, new Long(2457600));
    Set s = obj.getPlayers();
    System.out.println("PLayer -- "+obj.getPlayers());
    Error Message :
    org.hibernate.exception.GenericJDBCException: could not initialize a collection: [com.test.Team.players#2457600]
    org.hibernate.exception.GenericJDBCException: could not initialize a collection: [com.test.Team.players#2457600]
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:82)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:70)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    at org.hibernate.loader.Loader.loadCollection(Loader.java:1351)
    at org.hibernate.loader.collection.OneToManyLoader.initialize(OneToManyLoader.java:106)
    at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:484)
    at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
    at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1346)
    at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:170)
    at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:47)
    at org.hibernate.collection.PersistentSet.toString(PersistentSet.java:221)
    at java.lang.String.valueOf(String.java:2131)
    at java.lang.StringBuffer.append(StringBuffer.java:370)
    at com.test.TeamPlayer.main(TeamPlayer.java:70)
    Caused by: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
    at sun.jdbc.odbc.JdbcOdbc.SQLGetDataDouble(JdbcOdbc.java:3658)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getDataDouble(JdbcOdbcResultSet.java:5579)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getLong(JdbcOdbcResultSet.java:635)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getLong(JdbcOdbcResultSet.java:653)
    at org.hibernate.type.LongType.get(LongType.java:26)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:77)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:68)
    at org.hibernate.persister.collection.AbstractCollectionPersister.readKey(AbstractCollectionPersister.java:612)
    at org.hibernate.loader.Loader.readCollectionElement(Loader.java:545)
    at org.hibernate.loader.Loader.readCollectionElements(Loader.java:344)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:299)
    at org.hibernate.loader.Loader.doQuery(Loader.java:384)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:203)
    at org.hibernate.loader.Loader.loadCollection(Loader.java:1344)
    ... 10 more
    Team [Parent] <--> Player [Child]
    Team.hbm.xml
    <hibernate-mapping>
    <class name="com.test.Team" table="dbo.teams">
    <id name="id" column="team_id" >
    <generator class="hilo"/>
    </id>
    <property name="name" column="team_name" />
    <property name="city" column="city" />
    <set name="players" cascade="all" inverse="true" lazy="true">
    <key column="team_id"/>
    <one-to-many class="com.test.Player"/>
    </set>
    </class>
    </hibernate-mapping>
    PLayer.hbm.xml:
    <hibernate-mapping>
    <class name="com.test.Player" table="dbo.players">
    <id name="id" column="player_id">
    <generator class="hilo"/>
    </id>
    <property name="firstName" column="first_name" />
    <property name="lastName" column="last_name" />
    <property name="draftDate" column="draft_date" />
    <property name="annualSalary" column="salary" />
    <property name="jerseyNumber" column="jersey_number" />
    <many-to-one name="team" class="com.test.Team" column="team_id" />
    </class>
    </hibernate-mapping>
    Any help would be highly appreciated..
    Thanks,
    /Shridhar..

    http://forums.hibernate.org/viewtopic.php?t=928277&view=next&sid=e3ed34f2b57526386ba6ac7ac29b6471

  • AutoVue20.2 - 2DPro - Initialization failed. Could not initialize socket

    Hi,
    We are running a standard install of AutoVue 20.2 2DPro. We have the situation of the JVueAX.ocx activeX being coded in VB.Net.
    When we run the custom application as an admin user there is no issue, however when there is a restriction placed on the users (ie non-admin restricted to read & write on most things) we get the following issue in a popup messagebox.
    Error
    Initialization failed. Could not initialize socket on localhost:5099
    nested exception is:
    java.net.ConnectException: Connection refused: connect
    at java.net.PlainSocketlmpl.socketconnect(Native Method)
    at java,net.PlainSocketlmpl,doConnect(Unknown Source)
    at java.net.PlainSocketlmpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketlmpl,connect(Unknown Source)
    at java,net.SocksSocketlmpl,connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init> (Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at com.cimmetiy.vueconnection.g.a(Unknown Source)
    at com.cimmetiy.vueconnection.g.<init> (Unknown Source)
    at com.cimmetry.vueconnection.ServerControl.a(Unknown Source)
    at com.cimmetry.vueconnection.ServerControl.connect(Unknown Source)
    at com,cimmetry.vueframe,VueFrame.h(Unknown Source)
    at com,cimmetry.vueframe.VueFrame.<init>(Unknown Source)
    at com.cimmetry.jvue.JVue.b(Unknown Source)
    at com.cimmetiy.jvue.JVue.a(Unknown Source)
    at com.cimmetry.jvue.JVue$a.run(Unknown Source)
    at java,awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.Event.Queue.dispatchEventImpl(Unknown Source)
    at java.awt.Event.Queue.access$000(Unknown Source)
    at java.awt.Event.Queue$l.run(Unknown Source)
    at java.awt.Event.Queue$l.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$l.dolntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    An error occurred while connecting to the server.
    Restart the applet?
    So it appears to be a permissions issue.
    We have changed the security settings on the Autovue folder but that doesn't alter the outcome.
    We have looked for more debug and altered the Log4j.xml to be all DEBUG but that didn't increase the output.
    The install log is 3007 of successful and no warnings or failed components.
    So we now ask for your input. What port needs opening or what file/folder needs the modify or full control assigned? Or is there a manual we may have misread?
    Any pointers would be appreciated.
    I have reviewed the AutoVue Desktop Deployment post.
    Cheers,

    The fix for this is to copy a file called Config.properties into the %userprofile%\AutoVue\Offline_Files
    for each user.
    In the text file Config.properties are these lines.
    #Offline Files Configuration
    [WORK OFFLINE]
    INSTALLDIR=C:\Oracle\AutoVue Desktop Deployment
    ISOFFLINE=1
    INSTALLVER=20.2.0.0
    Edited on 24-Oct-2012 14:51

  • Could not initialize Photoshop failed to initialize CoolType

    Could not initialize Photoshop failed to initialize CoolType.....  photoshop cs6, upon launch.. crashes with this error..  any fix??

    What does the crash report say?
    And most likely this will be due to a corrupt font on the system, or corrupt OS font caches (see http://helpx.adobe.com/photoshop/kb/troubleshoot-fonts-photoshop-cs5.html  ).

  • All VM's on hyper-v fail to start with ' guest could not initialize'

    This afternoon I tried to startup a VM and got the message '<guest> could not initialize'. I checked some other VM's, the same message. I had a VM running, stopped that one and tried to start it again, the same message: 'could not initialize'.
    I checked the bios, all settings are correct.
    I uninstalled (turned off) the hyper-v feature, rebooted the machine twice, checked with CPU-Z to see if VT-X was enabled; it was.
    Turned hyper-v on again, rebooted. And I still have the same error message....
    I have seen this error on the forum, but sofar I have not found an answer.
    Regards,
    Rolf Koolma
    My system:
    Microsoft Windows Enterprise (MSDN version) on an AMD Phenom II X6 1090T

    Hi Rolf,
    How about the current situation? Did you confirm your consideration?
    Please note to backup your registry before doing any changes on registry.
    And then I also would like to suggest you read this blog that is aiming at this kind of issue:
    Hyper-V Could Not Initialize - Could Not Create or Access Saved State File
    http://blogs.technet.com/b/rmilne/archive/2014/01/15/hyper-v-could-not-initialize-could-not-create-or-access-saved-state-file.aspx
    Karen Hu
    TechNet Community Support

  • Could not initialize class com.bea.security.quark.ASIParserProxy in ADF

    Hi Everyone,
    I am trying to learn ADF Skinning.I am using Jdeveloper 11.1.2.3.0 version.I am practicing ADF Skinning Doc, "Changing an Application's Look and Feel by Using Skins" in Jdeveloper tutorials.
    While i am downloaded ADF Skin Sample Example and running Home.jspx page i am getting the following error and it is fail to deploy into integrated weblogic server.
    <LoggerHelper> <log> Error during preRegister for MBean oracle.mds.lcm:name=MDSAppRuntime,type=MDSAppRuntime,Application=ADFSkinSample
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:663)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.preRegister(OracleStandardEmitterMBean.java:619)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.preRegisterInvoke(DefaultMBeanServerInterceptor.java:1010)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:938)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:714)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.mbeanservers.internal.JMXContextInterceptor.registerMBean(JMXContextInterceptor.java:445)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$27.run(WLSMBeanServerInterceptorBase.java:712)
         at java.security.AccessController.doPrivileged(Native Method)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.registerMBean(WLSMBeanServerInterceptorBase.java:709)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.registerMBean(WLSMBeanServer.java:462)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor$1.run(PrivilegedMBeanServerInterceptor.java:55)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at oracle.as.jmx.framework.wls.spi.security.PrivilegedMBeanServerInterceptor.registerMBean(PrivilegedMBeanServerInterceptor.java:60)
         at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:163)
         at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:73)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:556)
         at oracle.security.jps.internal.policystore.PolicyUtil.getGrantedAppRoles(PolicyUtil.java:2876)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$5.run(JpsAbsSubjectResolver.java:497)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver$5.run(JpsAbsSubjectResolver.java:487)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getApplicationRoles(JpsAbsSubjectResolver.java:487)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.createJpsSubject(JpsAbsSubjectResolver.java:334)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.getAuthenticatedSubject(JpsAbsSubjectResolver.java:328)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveJpsSubject(JpsAbsSubjectResolver.java:263)
         at oracle.security.jps.internal.jaas.JpsAbsSubjectResolver.resolveSubject(JpsAbsSubjectResolver.java:214)
         at oracle.security.jps.ee.jmx.JpsJmxInterceptor.internalPreRegister(JpsJmxInterceptor.java:461)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalPreRegister(ContextClassLoaderMBeanInterceptor.java:150)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.DefaultMBeanInterceptor.internalPreRegister(DefaultMBeanInterceptor.java:81)
         at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doPreRegister(AbstractMBeanInterceptor.java:180)
         at oracle.as.jmx.framework.generic.spi.interceptors.BasePublicMBeanInterceptor.internalPreRegister(BasePublicMBeanInterceptor.java:110)
         at oracle.as.jmx.framework.generic.spi.interceptors.LoggingMBeanInterceptor.internalPreRegister(LoggingMBeanInterceptor.java:633)
         ... 45 more
    <Jan 17, 2013 12:33:46 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1358406226826' for task '9'. Error is: 'java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy'
    java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    >
    <Jan 17, 2013 12:33:47 PM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'ADFSkinSample'.>
    <Jan 17, 2013 12:33:47 PM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.NoClassDefFoundError: Could not initialize class com.bea.security.quark.ASIParserProxy
         at oracle.security.jps.az.internal.runtime.entitymanager.ExtensionsManagerImpl.init(ExtensionsManagerImpl.java:227)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initWithAppPolicyEntry(ApplicationPolicyImpl.java:322)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyImpl.initAppPolicy(ApplicationPolicyImpl.java:274)
         at oracle.security.jps.az.internal.runtime.policy.ApplicationPolicyMap.get(ApplicationPolicyMap.java:110)
         at oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.getApplicationPolicy(PDPServiceImpl.java:575)
         Truncated. see log file for complete stacktrace
    >
    [12:33:47 PM] Deployment cancelled.
    [12:33:47 PM] ---- Deployment incomplete ----.
    [12:33:47 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application ADFSkinSample due to error deploying to IntegratedWebLogicServer.
    [Application ADFSkinSample stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Could any one help on this.
    Best Regards

    I have deployed CF 9 on WebLogic 10.3.4. 
    The K2Encrypt error occured when I was accessing the CF Admin page and I would get blank pages.  The workaround to that was to change the adminconfig.xml setting of <unsetupwizard> to false.  Everything seemed to work, but then when I accessed the Coldfusion Collections page then I would again see a blank page and the K2Encrypt error in the exception log.
    The K2Encrypt class is provided by the verity.jar which was being picked up, although not properly it seems, by ColdFusion in its class path.
    As of 8/15, support at Adobe confirmed that this was an issue after they replicated the same problem.  They stated that they have escalated this to their engineering department.

  • Could not initialize activation agent.

    Hi All,
    I am getting the following error while deploying a bpel process,with a AQ Adapter for dequeuing operations.
    BUILD FAILED
    A problem occured while connecting to server "10.209.123.25" using port "80": bpel_ReceiveProcess_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "ReceiveProcess", revision "1.0".
    Please ensure that the activation agents are configured correctly in the bpel deployment descriptor (bpel.xml).
    oracle.tip.adapter.fw.agent.jca.JCAActivationAgent: java.lang.reflect.InvocationTargetException
    at com.collaxa.cube.engine.core.BaseCubeProcess.startAllActivationAgents(BaseCubeProcess.java:370)
    at com.collaxa.cube.engine.deployment.DeploymentManager.activateDefaultRevision(DeploymentManager.java:1577)
    at com.collaxa.cube.engine.deployment.DeploymentManager.setDefaultRevision(DeploymentManager.java:1536)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:886)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:728)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    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:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:646)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:319)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:341)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Can somebody throw some light this.
    Regards
    Ashwini

    Hi,
    Issue Resolved.
    I recreated the whole process,its working fine now.
    Regards
    Ashwini

  • Mplayer doesn't play anything, could not initialize video filters

    When trying to play a video, this is what I get.  I've tried changing the video driver, same error
    [max@gayforceone ~]$ mplayer capture.avi
    MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Pentium(R) 4 CPU 3.40GHz (Family: 15, Model: 3, Stepping: 4)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    115 audio & 237 video codecs
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.
    Playing capture.avi.
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    Detected NON-INTERLEAVED AVI file format.
    VIDEO: [MJPG] 800x600 24bpp 15.015 fps 11713.4 kbps (1429.9 kbyte/s)
    Clip info:
    Name:
    Software: guvcview-0.9.5
    Comments: Fri Nov 28 06:58:53 2008
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [pcm] Uncompressed PCM audio decoder
    AUDIO: 44100 Hz, 1 ch, s16le, 705.6 kbit/100.00% (ratio: 88200->88200)
    Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
    ==========================================================================
    AO: [oss] 44100Hz 1ch s16le (2 bytes per sample)
    Starting playback...
    VDec: vo config request - 800 x 600 (preferred colorspace: Planar 422P)
    Could not find matching colorspace - retrying with -vf scale...
    Opening video filter: [scale]
    VDec: using Planar 422P as output csp (no 1)
    Movie-Aspect is nan:1 - prescaling to correct movie aspect.
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 1 -> 4
    SwScaler: reducing / aligning filtersize 1 -> 1
    SwScaler: reducing / aligning filtersize 9 -> 8
    [swscaler @ 0x89d5f50]SwScaler: BICUBIC scaler, from yuv422p to yuv420p using MMX2
    [swscaler @ 0x89d5f50]SwScaler: using 4-tap MMX scaler for horizontal luminance scaling
    [swscaler @ 0x89d5f50]SwScaler: using 4-tap MMX scaler for horizontal chrominance scaling
    [swscaler @ 0x89d5f50]SwScaler: using 1-tap MMX "scaler" for vertical scaling (YV12 like)
    [swscaler @ 0x89d5f50]SwScaler: 800x600 -> 800x600
    VO: invalid dimensions!
    FATAL: Cannot initialize video driver.
    VDec: vo config request - 800 x 600 (preferred colorspace: Planar 422P)
    VDec: using Planar 422P as output csp (no 1)
    Movie-Aspect is nan:1 - prescaling to correct movie aspect.
    VO: invalid dimensions!
    FATAL: Cannot initialize video driver.
    FATAL: Could not initialize video filters (-vf) or video output (-vo).
    Exiting... (End of file)

    I've tried all the options in gmplayer, they all don't work.  I'm assuming the command line carries out the same functions.  I've tried a couple (but not all) and they didn't work either.

  • Could not initialize Report Engine server. (Error: RWI 00226)

    Hi All,
    I am trying to export a webi report from a Java application. When I connect to XI R3.1 report server, it is throwing me the following error. The error is at the line
    DocumentInstance boDocumentInstance = boReportEngine.openDocument(infoObject.getID());
    I amable to connect to the BO server and get the list of reports but when I try to open the document after getting the service(boReportEngines.getService(...), no error at this point), it is throwing the following error. I tried to restart the report server and the CMS server, but it is still giving this error. Any pointer is appreciated.
    The Report Export Failed!com.businessobjects.rebean.wi.CommunicationException: Could not initialize Report Engine server. (Error: RWI 00226)
         at com.businessobjects.rebean.wi.occa.OccaConnection.doConnect(OccaConnection.java:243)
         at com.businessobjects.rebean.wi.occa.OccaConnection.<init>(OccaConnection.java:67)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.createCadenzaSession(OccaReportEngineComAdapter.java:322)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.initNewCadenzaSession(OccaReportEngineComAdapter.java:410)
         at com.businessobjects.rebean.occa.OccaReportEngineComAdapter.openDocument(OccaReportEngineComAdapter.java:152)
         at com.businessobjects.rebean.wi.ReportEngineImpl.openDocument(ReportEngineImpl.java:391)
         at com.businessobjects.rebean.wi.occa.WebiReportEngine.openDocument(WebiReportEngine.java:191)
         at com.infostep.ext.step.BOReportNode.openBOWebiReport(BOReportNode.java:307)
         at com.infostep.ext.step.BOReportNode.openBOReport(BOReportNode.java:860)
         at com.infostep.ext.step.BOReportTestNodeEditor$6.doCallback(BOReportTestNodeEditor.java:519)
         at com.itko.util.swing.panels.ProcessingDialog$2.run(ProcessingDialog.java:248)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$CommunicationError: Communication error occurred when trying to connect to server BOCOE.WebIntelligenceProcessingServer
    cause:com.crystaldecisions.thirdparty.org.omg.CORBA.BAD_PARAM:   minor code: 0x0  completed: No
    detail:Communication error occurred when trying to connect to server BOCOE.WebIntelligenceProcessingServer
    The exception originally thrown was com.crystaldecisions.thirdparty.org.omg.CORBA.BAD_PARAM:   minor code: 0x0  completed: No
         at com.crystaldecisions.enterprise.ocaframework.e.do(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source)
         at com.businessobjects.rebean.wi.occa.OccaConnection$CDZStubHelper.getService(OccaConnection.java:291)
         at com.crystaldecisions.enterprise.ocaframework.e.do(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.try(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.o.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.p.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(Unknown Source)
         at com.businessobjects.rebean.wi.occa.OccaConnection.doConnect(OccaConnection.java:121)
         ... 11 more
    Caused by: com.crystaldecisions.thirdparty.org.omg.CORBA.BAD_PARAM:   minor code: 0x0  completed: No
         at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.WICDZServer.CDZHomeHelper.narrow(CDZHomeHelper.java:109)
         at com.businessobjects.rebean.wi.occa.OccaConnection$HomeStubHelper.narrow(OccaConnection.java:359)
         ... 25 more
    Thanks,
    Sulagna

    Hi,
    Did you find a solution to this issue? I am having exacty the same problem and I can't find a solution for this.
    Thanks
    J. Russell

  • Linux Issue  - Could not initialize class sun.print.CUPSPrinter

    Afternoon All,
    I am using the latest CR4Ev2.
    Java 1.6 (Am very sure but will double check)
    My Windows enviroment is all working perfectly and so have moved my application over to a Linux setup.
    After solving all my case-sensitivity issues I have managed to get my reports almost working. (I hope almost)
    When the following code is run:
    reportClientDocument = new ReportClientDocument();
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    reportClientDocument.open(reportFilePath,OpenReportOptions._openAsReadOnly);
    I get the below error messages in my logging.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Could not initialize class sun.print.CUPSPrinter---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
         at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
         at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)
         at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)
    Now it could just be as simple as we dont have a printer setup on that box.
    Is this a definate requirement. Does the server have to have a printer setup, even if we are only exporting to PDF files.
    I am still doing some testing and since it is the first time getting this far on Linux it might be mistakes on my side,
    but thought I would ask the wide world and see what replies I get back.
    Cheers
    Darren
    Edited by: Darren Jackson on Mar 10, 2010 11:12 AM
    Sorry for the bump but wanted to change the subject to something more enticing

    After many many hours of reading and pulling my hair out I have found a solution to my problem,
    Whether it is a valid solution or a workaround or a cheat I am hoping someone can tell me.
    If I run my application with the switch
    java -jar -Djava.awt.headless=true MyApp.jar
    It works.
    Now I am still doing some investigation on what exactly this headless switch is doing. But it works so I am happy.
    If anyone can give me a technical and or a laymans explanation that would be great.
    All I have to do now is solve my Font issue
    Cheers
    Darren

  • ORABPEL-09903: Could not initialize activation agent

    Hi,
    I have installed SOA suite 10.1.3.1.0
    I am trying to deploy a BPEL process which does a Dequeue operation using Oracle AQ adapter. The deployment is giving me following error.
    BUILD FAILED
    C:\SampleWS\BPELApplication\SubscribeOrderForOracle\build.xml:79: A problem occured while connecting to server "10.48.233.135" using port "8888": bpel_SubscribeOrderForOracle_1.0.jar failed to deploy. Exception message is: ORABPEL-09903
    Could not initialize activation agent.
    An error occured while initializing an activation agent for process "SubscribeOrderForOracle", revision "1.0".
    Has any one came across this error. I tried reading through few topics in this forum related to this error but could not get any resolution.
    Any help is appreciated.
    Thanks & Regards,
    Vikas

    Hi And thanks for your reply.
    Well I have recently installed SOA suite 10.1.3.1 release-3. Earlier I was working on 10.1.2.1.0 PM server and looks like there are lots of changes that have happened in the new release.
    On the newly installed SOA suite I created a BPEL process (EnqueueOrder) and instructed in the Reference guide and I was able to queue a message to Oracle AQ on Oracle 9i database.
    For dequeing I created another empty BPEL process (DequeueOrder) and instantiated the process with a Receive activity which inturn dequeus message from the above said queue and writes the message to a file using File Adapter.
    I was trying to deploy DequeueOrder process and few a times it got deployed successfully but on testing it from the BPEL Console the receive activity was not responding with any message. It only showed a message saying "Received "Receive_1_Dequeue_InputVariable" call from partner "SiebelOrderSubscriber"" on the BPEL console.
    Now again it has started giving the same error while deployment, saying ORABPEL-09903: Could not initialize activation agent. Anu clues.....?
    I have one more question....Do I need to create a seperate jndi and DataSource in oc4j to point to my local 9i database and refer it in the AQ Adapter configuration wizard?
    Thanks & Regards.
    Vikas

  • Could not initialize LDAP cache

    Hi,
    We are using the iplanet application server version 6.5 with iplanet directory server version 5.0 .
    We are facing the problem in the restart of application server since we have deployed an application. Here is some log on the same. Any help or advise is appreciated.
    When application server is running, we are finding it impossible to stop by using 'iascontrol stop' command. We are forced to use the command 'iascontrol kill'. Once it is stopped, when we try to start it, it gives the following messages in KJS logs.
    Connected to LDAP server on egovdevsrvr2.dubai-e.gov.ae port 389
    iPlanet Application Server is running in international mode
    Initializing LDAP cache from server egovdevsrvr2.dubai-e.gov.ae port 389
    Could not initialize LDAP cache from server egovdevsrvr2.dubai-e.gov.ae port 389: Success
    On the kas log it gives the following.
    [16/May/2003 20:04:21:5] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''0'' (CCS0)
    [16/May/2003 20:05:17:6] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''1'' (CCS0)
    [16/May/2003 20:06:13:8] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''2'' (CCS0)
    [16/May/2003 20:06:13:8] info: ADMIN-030: kas> listening for connections..
    I am sure LDAP is running already.
    Now if I test any sample applications, likfe fortune and Hello World, they work fine. But a particular application fails with the following message at the KJS logs.
    ava.lang.IllegalStateException: internal assert: Why is the servlet GDS key for: {03c1437d-f21a-1c38-941e-0003ba084dc6
    } = null?
    at com.kivasoft.util.Debug.assert(Unknown Source)
    at com.netscape.server.deployment.WebAppCompGDSUtil.getServletFromGDS(Unknown Source)
    at com.netscape.server.deployment.DescriptorManager.getServletByGuidStr(Unknown Source)
    at com.netscape.server.deployment.WebAppDescriptor.getServletFromGDSorCache(Unknown Source)
    at com.netscape.server.deployment.WebAppDescriptor.getServlet(Unknown Source)
    at com.netscape.server.deployment.WebAppDescriptor.getAllServlets(Unknown Source)
    at com.netscape.server.servlet.servletrunner.AppInfo.resetServlets(Unknown Source)
    at com.netscape.server.servlet.servletrunner.AppInfo.<init>(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletModule.getAppInfo(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.getAppInfo(Unknown Source)
    at com.netscape.server.servlet.servletrunner.StaticServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:484)
    What is this cache initialization that happens at the startup of ias? Is it anything related to server settings? I remember, some times when the ias starts with a successful cache initialization message, I find this application to be working fine.
    Please help.

    Hi,
    We are using the iplanet application server version 6.5 with iplanet directory server version 5.0 .
    We are facing the problem in the restart of application server since we have deployed an application. Here is some log on the same. Any help or advise is appreciated.
    When application server is running, we are finding it impossible to stop by using 'iascontrol stop' command. We are forced to use the command 'iascontrol kill'. Once it is stopped, when we try to start it, it gives the following messages in KJS logs.
    Connected to LDAP server on egovdevsrvr2.dubai-e.gov.ae port 389
    iPlanet Application Server is running in international mode
    Initializing LDAP cache from server egovdevsrvr2.dubai-e.gov.ae port 389
    Could not initialize LDAP cache from server egovdevsrvr2.dubai-e.gov.ae port 389: Success
    On the kas log it gives the following.
    [16/May/2003 20:04:21:5] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''0'' (CCS0)
    [16/May/2003 20:05:17:6] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''1'' (CCS0)
    [16/May/2003 20:06:13:8] error: ADMIN-071: kas> error: failed to either start up or connect to engine ''2'' (CCS0)
    [16/May/2003 20:06:13:8] info: ADMIN-030: kas> listening for connections..
    I am sure LDAP is running already.
    Now if I test any sample applications, likfe fortune and Hello World, they work fine. But a particular application fails with the following message at the KJS logs.
    ava.lang.IllegalStateException: internal assert: Why is the servlet GDS key for: {03c1437d-f21a-1c38-941e-0003ba084dc6
    } = null?
    at com.kivasoft.util.Debug.assert(Unknown Source)
    at com.netscape.server.deployment.WebAppCompGDSUtil.getServletFromGDS(Unknown Source)
    at com.netscape.server.deployment.DescriptorManager.getServletByGuidStr(Unknown Source)
    at com.netscape.server.deployment.WebAppDescriptor.getServletFromGDSorCache(Unknown Source)
    at com.netscape.server.deployment.WebAppDescriptor.getServlet(Unknown Source)
    at com.netscape.server.deployment.WebAppDescriptor.getAllServlets(Unknown Source)
    at com.netscape.server.servlet.servletrunner.AppInfo.resetServlets(Unknown Source)
    at com.netscape.server.servlet.servletrunner.AppInfo.<init>(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletModule.getAppInfo(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.getAppInfo(Unknown Source)
    at com.netscape.server.servlet.servletrunner.StaticServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown Source)
    at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:484)
    What is this cache initialization that happens at the startup of ias? Is it anything related to server settings? I remember, some times when the ias starts with a successful cache initialization message, I find this application to be working fine.
    Please help.

  • Could not initialize class com.verity.security.k2.K2Encrypt

    I have error message see below when select Verity collections in the Data and Services coldfusion menu.
    My config:
    window 2008, IIS 7, Coldfusion MX 7,0,2,142559
    Java Home                        C:\Program Files (x86)\Java\jdk1.6.0_22\jre
    Java Class  Path
    CF Classpath
    ;C:/CFusionMX7/runtime/../lib/ant-launcher.jar;   C:/CFusionMX7/runtime/../lib/ant.jar;   C:/CFusionMX7/runtime/../lib/axis.jar;   C:/CFusionMX7/runtime/../lib/backport-util-concurrent.jar;   C:/CFusionMX7/runtime/../lib/bcel.jar;   C:/CFusionMX7/runtime/../lib/cdo.jar;   C:/CFusionMX7/runtime/../lib/cdohost.jar;   C:/CFusionMX7/runtime/../lib/cf4was.jar;   C:/CFusionMX7/runtime/../lib/cf4was_ae.jar;   C:/CFusionMX7/runtime/../lib/cfmx-ssl.jar;   C:/CFusionMX7/runtime/../lib/cfusion.jar;   C:/CFusionMX7/runtime/../lib/commons-beanutils-1.5.jar;   C:/CFusionMX7/runtime/../lib/commons-collections-2.1.jar;   C:/CFusionMX7/runtime/../lib/commons-digester-1.7.jar;   C:/CFusionMX7/runtime/../lib/commons-discovery-0.2.jar;   C:/CFusionMX7/runtime/../lib/commons-discovery.jar;   C:/CFusionMX7/runtime/../lib/commons-logging-1.0.2.jar;   C:/CFusionMX7/runtime/../lib/commons-logging-api-1.0.2.jar;   C:/CFusionMX7/runtime/../lib/commons-net-1.2.2.jar;   C:/CFusionMX7/runtime/../lib/crystal.jar;   C:/CFusionMX7/runtime/../lib/flashgateway.jar;   C:/CFusionMX7/runtime/../lib/flashremoting_update.jar;   C:/CFusionMX7/runtime/../lib/flex-assemblerservice.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging-common.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging-opt.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging-req.jar;   C:/CFusionMX7/runtime/../lib/flex-messaging.jar;   C:/CFusionMX7/runtime/../lib/httpclient.jar;   C:/CFusionMX7/runtime/../lib/ib61patch.jar;   C:/CFusionMX7/runtime/../lib/ib6addonpatch.jar;   C:/CFusionMX7/runtime/../lib/ib6core.jar;   C:/CFusionMX7/runtime/../lib/ib6swing.jar;   C:/CFusionMX7/runtime/../lib/ib6util.jar;   C:/CFusionMX7/runtime/../lib/im.jar;   C:/CFusionMX7/runtime/../lib/iText.jar;   C:/CFusionMX7/runtime/../lib/iTextAsian.jar;   C:/CFusionMX7/runtime/../lib/izmado.jar;   C:/CFusionMX7/runtime/../lib/jakarta-oro-2.0.6.jar;   C:/CFusionMX7/runtime/../lib/java2wsdl.jar;   C:/CFusionMX7/runtime/../lib/jaxrpc.jar;   C:/CFusionMX7/runtime/../lib/jdom.jar;   C:/CFusionMX7/runtime/../lib/jeb.jar;   C:/CFusionMX7/runtime/../lib/jintegra.jar;   C:/CFusionMX7/runtime/../lib/ldap.jar;   C:/CFusionMX7/runtime/../lib/ldapbp.jar;   C:/CFusionMX7/runtime/../lib/log4j.jar;   C:/CFusionMX7/runtime/../lib/macromedia_drivers.jar;   C:/CFusionMX7/runtime/../lib/mail.jar;   C:/CFusionMX7/runtime/../lib/msapps.jar;   C:/CFusionMX7/runtime/../lib/pbclient42RE.jar;   C:/CFusionMX7/runtime/../lib/pbembedded42RE.jar;   C:/CFusionMX7/runtime/../lib/pbserver42RE.jar;   C:/CFusionMX7/runtime/../lib/pbtools42RE.jar;   C:/CFusionMX7/runtime/../lib/poi-2.5.1-final-20040804.jar;   C:/CFusionMX7/runtime/../lib/poi-contrib-2.5.1-final-20040804.jar;   C:/CFusionMX7/runtime/../lib/ri_generic.jar;   C:/CFusionMX7/runtime/../lib/saaj.jar;   C:/CFusionMX7/runtime/../lib/smack.jar;   C:/CFusionMX7/runtime/../lib/smpp.jar;   C:/CFusionMX7/runtime/../lib/STComm.jar;   C:/CFusionMX7/runtime/../lib/tools.jar;   C:/CFusionMX7/runtime/../lib/tt-bytecode.jar;   C:/CFusionMX7/runtime/../lib/vadmin.jar;   C:/CFusionMX7/runtime/../lib/verity.jar;   C:/CFusionMX7/runtime/../lib/vparametric.jar;   C:/CFusionMX7/runtime/../lib/vsearch.jar;   C:/CFusionMX7/runtime/../lib/wc50.jar;   C:/CFusionMX7/runtime/../lib/webchartsJava2D.jar;   C:/CFusionMX7/runtime/../lib/wsdl2java.jar;   C:/CFusionMX7/runtime/../lib/wsdl4j-1.5.1.jar;   C:/CFusionMX7/runtime/../lib/wsdl4j.jar;   C:/CFusionMX7/runtime/../lib/xalan.jar;   C:/CFusionMX7/runtime/../lib/xercesImpl.jar;   C:/CFusionMX7/runtime/../lib/xml-apis.jar;   C:/CFusionMX7/runtime/../lib/;   C:/CFusionMX7/runtime/../gateway/lib/examples.jar;   C:/CFusionMX7/runtime/../gateway/lib/flex-messaging-gateway.jar;   C:/CFusionMX7/runtime/../gateway/lib/;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-css.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-ext.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/batik-util.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/commons-discovery.jar;    C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/commons-logging.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/concurrent.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/flex.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jcert.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jnet.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/jsse.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/oscache.jar;   C:/CFusionMX7/runtime/../wwwroot/WEB-INF/cfform/jars/;  C:/Program  Files (x86)/Java/jdk1.6.0_22/src.zip;  C:/Program Files  (x86)/Java/jdk1.6.0_22/; 
    Server Classpath
    C:\CFusionMX7\runtime\servers\lib; 
    C:\CFusionMX7\runtime\servers\lib\jrun-patch.jar;
    C:\CFusionMX7\runtime\..\lib\macromedia_drivers.jar; 
    C:\CFusionMX7\runtime\lib\cfmx_mbean.jar;
    C:\CFusionMX7\runtime\lib; 
    C:\CFusionMX7\runtime\lib\cfmx_mbean.jar;
    C:\CFusionMX7\runtime\lib\instutil.jar; 
    C:\CFusionMX7\runtime\lib\java2wsdl.jar;
    C:\CFusionMX7\runtime\lib\jrun-ant-tasks.jar; 
    C:\CFusionMX7\runtime\lib\jrun-xdoclet.jar;
    C:\CFusionMX7\runtime\lib\jrun.jar; 
    C:\CFusionMX7\runtime\lib\jspc.jar;
    C:\CFusionMX7\runtime\lib\migrate.jar; 
    C:\CFusionMX7\runtime\lib\oem-xdoclet.jar;
    C:\CFusionMX7\runtime\lib\sniffer.jar; 
    C:\CFusionMX7\runtime\lib\webservices.jar;
    C:\CFusionMX7\runtime\lib\wsconfig.jar; 
    C:\CFusionMX7\runtime\lib\wsdl2java.jar;
    C:\CFusionMX7\runtime\lib\xmlscript.jar; 
    C:\CFusionMX7\runtime\lib\jrun.jar
    Java Ext Dirs
    C:\Program Files  (x86)\Java\jdk1.6.0_22\jre\lib\ext;C:\Windows\Sun\Java\lib\ext 
    Error Message:
    Could not initialize class com.verity.security.k2.K2Encrypt The specific  sequence of files included or processed is:  C:\inetpub\wwwroot\CFIDE\administrator\verity\index.cfm, line: 227
    Do you have the solution.
    Thanks

    I have deployed CF 9 on WebLogic 10.3.4. 
    The K2Encrypt error occured when I was accessing the CF Admin page and I would get blank pages.  The workaround to that was to change the adminconfig.xml setting of <unsetupwizard> to false.  Everything seemed to work, but then when I accessed the Coldfusion Collections page then I would again see a blank page and the K2Encrypt error in the exception log.
    The K2Encrypt class is provided by the verity.jar which was being picked up, although not properly it seems, by ColdFusion in its class path.
    As of 8/15, support at Adobe confirmed that this was an issue after they replicated the same problem.  They stated that they have escalated this to their engineering department.

  • SAPJCo problem --   Could not initialize dynamic link library sapjcorfc

    Hi there,
    I have a J2EE application running on Websphere Application Server ND V6.1 (on MS Windows Server, Enterprise Edition with
    SP2). J2EE application need to communicate to SAP on P560 z/OS via SAP Java Connector (SAP JCo). As per instructions given by
    SAP JCo, I have created a folder and extracted SAPJCo zip to that, and also copied librfc32.dll & sapjcorfc.dll to
    C:\Windows\system32 folder and created the shared libraries at the Application server level on Websphere to point to the
    sapjco.jar file.
    Now when I start my J2EE Application on Webpshere, I get hte error which is under the dashed line. The main complaint is.....
    <b>java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer
    'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [D:\Software\SAPJCo\sapjcorfc.dll (JVMPORT015E Unable
    to resolve DLL references - a prerequisite DLL may be missing)].</b>
    Please let me know if any one has experienced similar problems. As we have a milestone to present this in a very short time,
    I appreciate if any one could help me out as soon as possible.
    ==========================================================================================================================
    Cannot resolve reference to bean 'sapConnector' while setting bean property 'sapConnector'; nested exception is
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sapConnector' defined in class path
    resource [sapInterfaceContext.xml]: Instantiation of bean failed; nested exception is
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class
    [au.com.allianz.fsi.journal.sap.SapConnector]: Constructor threw exception; nested exception is
    java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer
    'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [D:\Software\SAPJCo\sapjcorfc.dll (JVMPORT015E Unable
    to resolve DLL references - a prerequisite DLL may be missing)]. java.library.path
    [D:\WebSphere61\AppServer\java\jre\bin;.;D:\WebSphere61\AppServer\bin;D:\WebSphere61\AppServer\java\bin;D:\WebSphere61\AppSer
    ver\java\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Software\SAPJCo;D:\WebSphere61\AppServer\lib\WMQ\
    java\lib]
         at
    org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         at
    org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.jav
    a:109)
         at
    org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:381)
         at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:120)
         at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanF
    actory.java:781)
         at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFa
    ctory.java:699)
         at
    org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.ja
    va:386)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:255)
         at
    org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:252)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at
    org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java
    :287)
         at
    org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.jav
    a:689)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:358)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:244)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:187)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
         at com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:635)
         at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:279)
         at com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:283)
         at com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
         at com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
         at com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
         at com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
         at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:335)
         at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:551)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1312)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
         at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:569)
         at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:965)
         at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2131)
         at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:341)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
    Regards
    Satish

    Hi,
    The following error is id due to the following cause :
    Exception: Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' default_cpc_mode at com.sap.mw.jco.JCO.<clinit>(JCO.java:309)
    Exception: Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc [C:devcu rrjcosapjcorfc.dll]. Required version "2.1.5 (2005-02-15)". at com.sap.mw.jco.JCO.<clinit>(JCO.java:735)
    Exception: Exception in thread "main" java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC' JCO.nativeInit(): Could not initialize dynamic link library sapjcorfc. Found version "2.0.11 (2005-01-21)" but required version "2.1.5 (2005-02-15)". at com.sap.mw.jco.JCO.<clinit>(JCO.java:735)
    Cause: These exceptions typically occur when different versions of sapjcorfc.dll and sapjco.jar have been installed. Anytime the JCo connector is upgraded to a new version, you need to ensure that all three libraries are updated (librfc32.dll, sapjcorfc.dll, and sapjco.jar). If any are left at the older version, one of the above exceptions is likely to occur.
    Resolution: Extract sapjcorfc.dll and sapjco.jar from the original JCo archive. Copy these files to the appropriate locations, overwriting the originally installed versions. Ensure that the PATH statement is updated to reflect the directory location of the DLL files and the Java CLASSPATH points to sapjco.jar.
    U can use the following link to solve any problem associating JCO :
    http://searchsap.techtarget.com/general/0,295582,sid21_gci1096472,00.html
    Please reward with points if the answer is helpful.
    Thanks
    ritu

Maybe you are looking for