Start OC4J instance with warning

Dear All
I got two problem need your help.
1.When i start the OC4J instance for run test from,after i install the oracle
deveploer suite 10g, it show the message as below
============================================================
07/03/23 14:25:30 Warning: Error reading transaction-log file <oracle_home/j2ee/DevSuite/persistence/transaction.state > for recovery: premature end of file
07/03/23 14:25:30 Forced or abrupt <crach etc> server shutdown detected, starting recovery process...
07/03/23 14:25:30 Recovery completed, 0 connections committed and 0 rolled back.
07/03/23 14:25:31 Oracle Application Server Containers for J2EE 10g < 9.0.4.0.0> initialized
============================================================
did someone get the same error? and please tell me how to solved it
2. when i try to install the oracle developer suite 10g, i try to execute the jinit.exe
from the /oracle_home/jinit/jinit.exe .. <Jinitiator 1.3.1.17>
but the window always end after the extracting files.In my client laptop
OS : Windows XP SP2
and in the directory C:\Program Files\Oracle , i had already install the
Jinitiator 1.1.8.16, 1.3.1.18, 1.3.1.21
Thanks for you reading, and if have any idea please reply it.
K.K

Dear Mark
Thank for your replied.
I have the privileges to do the install.
After i click the jinit.exe, it show the extracting files ... window.
after the extracting file process, the window been closed automatically.
by the way, if i modify the value the version of JInitiator in the formsweb.cfg, l
ike 1.3.1.17 => 1.3.1.18 show i replace the jinit.exe file in
the /ora10g_home/jinit ?
It default is for 1.3.1.17, because i can't install that successful,
so i modify the related value in the formsweb.cfg,
but i didn't replace the jinit.exe file for that .
That will it effect the oc4j work on forms running time process?
Best Regards,
K.K

Similar Messages

  • How i can Start OC4J Instance as window service

    hi ,
    How i can Start OC4J Instance as window service ?
    Regards
    Omar

    Omar,
    check
    http://www.taltech.com/TALtech_web/support/sw_tricks/NTService.htm
    Frank

  • Associating oc4j instance with OID

    Hi All,
    I am trying to associate oc4j instance with OID in enterprise manager (as a
    first step towards configuring workflow identity service with OID). But I am getting
    the following error whenever I tried
    An error occurred while attempting to associate this instance with the specified Oracle Internet Directory. The security provider will NOT be changed for any application. Please ensure that the OID instance is indeed up and that the connect information provided is correct before retrying.
    JAZN configuration failed: unable to create a JAZN entity in the directory.
    [LDAP: error code 50 - Insufficient Access Rights]
    I am logging in as orcladmin user (to OID) and this user has all the admin
    rights and all the privilages that I can see in ldap. Not sure what I am missing.
    Any pointers will be of great help.
    Thanks
    Raj

    Hi,
    I got this resolved. Basically there are two ids in OID cn=orcladmin and
    cn=orcladmin,cn=users,cn=mycompany,cn=com. I have to use
    cn=orcladmin to associate an oc4j instance with OID and I was using the other one.
    Thanks

  • Could not start OC4J instance.. Exception in thread "OC4J Launcher"

    Hi All,
    This is Kumar and I am using Oracle Enterprise Manager 10g which is installed on a Linux box. Recently, I found that I could not start OC4J instance either by giving ./opmnctl startall command or from EM console. Below is the error message from ./opmn/log/ folder.
    11/03/28 10:03:47 Start process
    11/03/28 10:03:49 Error writing server.xml
    11/03/28 10:03:49 Exception in thread "OC4J Launcher" java.lang.OutOfMemoryError: Java heap space
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerEntry.readObjBytes(TimerEntry.java:274)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerEntry.read(TimerEntry.java:248)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.TimeBasedEntry.readEntry(TimeBasedEntry.java:253)
    11/03/28 10:03:49      at oracle.ias.container.timer.Timer.readObject(Timer.java:489)
    11/03/28 10:03:49      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    11/03/28 10:03:49      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    11/03/28 10:03:49      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11/03/28 10:03:49      at java.lang.reflect.Method.invoke(Method.java:597)
    11/03/28 10:03:49      at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    11/03/28 10:03:49      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.FileTimerStore.readPersistentStore(FileTimerStore.java:191)
    11/03/28 10:03:49      at oracle.ias.container.timer.internal.TimerFactory.readPersistentStore(TimerFactory.java:103)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerService.schedulePersistedTimers(TimerService.java:655)
    11/03/28 10:03:49      at oracle.ias.container.timer.TimerService.initialize(TimerService.java:473)
    11/03/28 10:03:49      at oracle.ias.container.ContainerServiceManager.addService(ContainerServiceManager.java:209)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServer.startContainerServices(ApplicationServer.java:911)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:952)
    11/03/28 10:03:49      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    11/03/28 10:03:49      at java.lang.Thread.run(Thread.java:619)
    11/03/28 10:03:49 Shutting down OC4J...
    To resolve the issue, I have tried changing the opmn.xml file (from $ORACLE_HOME/opmn/conf/opmn.xml) such that, for the failed OC4J instance -XX:MaxPermSize=256m (old value was 128m).
    Though I made the modification and re-start the OC4J instance, I could see the same error and behavior.
    Can anyone help me to resolve this issue please?
    Regards,
    Kumar

    This is bit strange. It should work. I tested and works fine for me.
    Can you remove the entry from opmn.xml and make sure no typo in server.xml and try again. You might want to reload OPMN (opmnctl reload) and then try restarting OC4J (opmnctl startproc ias-component=OC4J).
    Note that value (-DcheckForUpdates) set in opmn.xml overrides the value set in server.xml:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28951/autodeploy.htm#CHDIBFAH
    Thanks
    Shail

  • Error when associating an OC4J instance with OID

    Hi everybody,
    I'm having a problem when trying to associate a OC4J instance with OID, i get the following error:
    An error occurred while attempting to associate this instance with the specified Oracle Internet Directory. The security provider will NOT be changed for any application. Please ensure that the OID instance is indeed up and that the connect information provided is correct before retrying.
    Error invoking method: associateOC4JWithOID on MBean: oc4j:j2eeType=Security,name=SecurityProvider,J2EEApplication=default,J2EEServer=standalone
    Error invoking method: associateOC4JWithOID on MBean: oc4j:j2eeType=Security,name=SecurityProvider,J2EEApplication=default,J2EEServer=standaloneAfter have enabled the FINEST logging i found this in the log:
    12/06/26 06:37:54 FINEST: EJBJoinPointImpl.invoke Invoking method public java.lang.Object oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(javax.management.ObjectName,java.lang.String,java.io.Serializable[],java.lang.String[],java.util.Locale) throws javax.management.InstanceNotFoundException,javax.management.MBeanException,javax.management.ReflectionException,oracle.oc4j.admin.jmx.shared.exceptions.InternalException
    12/06/26 06:37:55 FINEST: EJBJoinPointImpl.invoke Error invoking public java.lang.Object oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(javax.management.ObjectName,java.lang.String,java.io.Serializable[],java.lang.String[],java.util.Locale) throws javax.management.InstanceNotFoundException,javax.management.MBeanException,javax.management.ReflectionException,oracle.oc4j.admin.jmx.shared.exceptions.InternalExceptionjavax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation associateOC4JWithOID
         at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:369)
         at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         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.TxSupportsInterceptor.invoke(TxSupportsInterceptor.java:37)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SecurityRoleInterceptor.invoke(SecurityRoleInterceptor.java:47)
         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.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at MBeanServerEjb_RemoteProxy_1me2j7.invoke(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:67)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.security.jazn.JAZNException: JAZN configuration failed: unable to create a JAZN entity in the directory.
         at oracle.security.jazn.util.AssociateOID.createJAZNInstanceEntity(AssociateOID.java:152)
         at oracle.security.jazn.util.AssociateOID.configure(AssociateOID.java:265)
         at oracle.security.jazn.jmx.SecurityProvider.associateOC4JWithOID(SecurityProvider.java:694)
         at oracle.oc4j.admin.management.mbeans.SecurityProviderManager.associateOC4JWithOID(SecurityProviderManager.java:1493)
         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 sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)
         at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)
         at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1074)
         at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:955)
         at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:700)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
         at oracle.oc4j.admin.jmx.server.state.ApplicationStateFilterMBeanServer.invoke(ApplicationStateFilterMBeanServer.java:572)
         at oracle.oc4j.admin.jmx.ejb.MBeanServerEjbBean.invoke(MBeanServerEjbBean.java:365)
         ... 22 more
    Caused by: javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name 'orclApplicationCommonName=jaznadmin1,cn=JAZNContext,cn=products,cn=OracleContext'
         at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3049)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
         at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2794)
         at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:788)
         at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
         at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
         at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:178)
         at oracle.security.jazn.util.AssociateOID.createEntry(AssociateOID.java:382)
         at oracle.security.jazn.util.AssociateOID.createJAZNInstanceEntity(AssociateOID.java:137)
         ... 41 moreDoes anybody knows how to fix this error: "LDAP: error code 50" ?? which i guess is the problem
    Thanks for your help!
    Regards
    Carlos

    So after some days i found the answer to my problem, the user i was using when associating the OC4J instance was not in the appropriate groups, so i had to add it to these groups:
    cn=iASAdmins,cn=Groups,cn=OracleContext
    cn=OracleDASCreateUser,cn=Groups,cn=OracleContext
    hope this helps if someone gets stuck as i was :)

  • Start oc4j instance

    i started oc4j instance so i'll be able to run my forms.
    i run it from start menu.
    what i recieve is ORACLE APPLICATION SERVER CONTAINERS FOR J2EE INITIALIZED.
    BUT STILL I CAN'T RUN MY FORMS.IS THERE ANY ERROR TO OC4J?

    Hello,
    Are you talking about Oracle Forms Server?
    Which version of Oracle Application Server are you using ?
    For me OC4J is up and running -you should be able to see the instance up and running in Enterprise Manager-.
    If it is an Oracle Forms problem I would encourage you to post your question on the Forms
    Regards
    Tugdual Grall

  • Unable to start oc4j instance

    Hi,
    My application was running well. But since last two days oc4j instance is not starting up.
    I reinstalled developer suite 10g release 2. But the problem is still there.
    A flash comes when i click start oc4j instance. Even i m not able to read the messages coming on the screen & the oc4j window is closed.
    My report server is not starting. I have tried to make report server up too thru naming service.
    Kindly help it is urgent.
    Thanks in Advance.
    Regards
    Swati

    Have you installed any new software or OS updates lately? It sounds like your OS can't find Java any more because your computer's environment settings have been modified or perhaps Java was uninstalled. A quick test of Java is to open a Command Window (CMD) and type "Java -version" (without the quotes). If you get an error this indicates that your PATH environment variable no longer includes the directory where Java is installed. You may only need to clean up the PATH environment setting to get things working again, or you may need to reinstall Java.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to Keep the "Start OC4J instance" window or Forms Server always up 24*7

    Gurus -
    Can you please tell me how could I have the "Start OC4J instance" always up and running in my server. I want the Forms server ( 10g) up and running all the the time. please advice how could I do that. My DB is 11g and using the Oracle Devsuite 10g. Please advice
    Gurus - Can you please advice on this. Basically have developed a form and couple of users want to access that but get error " page cannot be displayed" and I figured out the "Start OC4J instance" windows gets closed automatically after some hours.
    so I wanted this OC4J instance to run 24*7 ( always) without closing by itself. Please advice how could I do that.
    Thanks
    Sheik

    Thanks a lot Steve,
    Just wanted to find out if there is no other work around on this except to have the Oracle App Forms server to install and up and running?
    I have 11g DB , so do I have to have 11g Oracle Apps Server or 10g Oracle apps server will be sufficient as the installed Devsuite is in 10g. Please advice
    OR
    Is there way we can setup this Oracle Apps forms server from the OEM console? or we have to do a seperate install for this Apps server.
    Other option I thought, which I am not sure will work out is the creat a scheduled task in windows and have this "Start OC4j Instance" scheduled to run always. Any ideas/commments on this.
    Thanks again for your inputs.
    Rgds
    Sheik

  • Cannot start OC4J instance after specifying default java.security.manager

    Hi All,
    I am using OracleiAS 10.1.3.4 and trying to make use of the new User and Role APIs introduced in 10.1.3.1.
    While trying to get an object of IdentityStore using the following code, I got this error -
    java.security.PrivilegedActionException: oracle.security.idm.ConfigurationException: java.security.AccessControlException: access denied (oracle.security.jazn.JAZNPermission getOC4JIntegrationData)
    oidFactory = (IdentityStoreFactory) AccessController.doPrivileged(
    new PrivilegedExceptionAction()
    public Object run() throws IMException
    IdentityStoreFactoryBuilder builder =
    new IdentityStoreFactoryBuilder();
    return builder.getIdentityStoreFactory();
    I then tried specifying the default security manager in start JAVA options for my oc4j instance - Djava.security.manager. I also verified that my java policy file is present under $ORACLE_HOME/j2ee/oc4j_soa/config/java2.policy. But the issue is - once I put this default secirity manager in startup options in opmn.xml, the oc4j instance does not get started, it gives following error -
    08/12/30 02:58:22 Start process
    Dec 30, 2008 2:58:24 AM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    08/12/30 02:58:29 WARNING: Application.setConfig Application: default is in failed state as initialization failed.
    java.lang.ExceptionInInitializerError
    08/12/30 02:58:29 Error initializing server: Application: default is in failed state as initialization failed
    08/12/30 02:58:32 Fatal error: server exiting
    Any idea ? Any pointers please ?
    Thanks,
    Ankit

    Ankit,
    Check your syntax for the datasource. If you migrated from file-based to OID, then you should look at this link:
    http://download.oracle.com/docs/cd/E12524_01/relnotes.1013/e12523/oc4j.htmThere is a known issue when migrating from file-based to OIM\OID. Navigate to:
    12.2 JAZNMigration Tool Does Not Migrate ADFPrincipal Type Correctly
    -Michael

  • Cannot start OC4J instance - after java.lang.OutOfMemory errors

    Hi, I have successfully deployed an application (using Oracle Web Services, J2EE - EJB, TopLink ) to a new OC4J instance that we created. We use the OEM web site to manage the start/stop and deploy operations.
    Then we tried to run simultaneously 10 clients....against the server app... ran ok for a while and after approx. 5 to 10 min... java.lang.OutOfMemory errors were being thrown at the client.
    After a set of OutOfMemory errors, other clients received errors like the ones show below:
    Errors from the top link log
    2003.09.24 09:39:59.630--ClientSession(1337286)--Thread[ApplicationServerThread-6,5,main]--EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Bigger type length than Maximum
    INTERNAL EXCEPTION: java.sql.SQLException: Bigger type length than Maximum
    ERROR CODE: 17412LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Bigger type length than Maximum
    INTERNAL EXCEPTION: java.sql.SQLException: Bigger type length than Maximum
    ERROR CODE: 17412
    at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
    at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.selectOneRow(Unknown Source)
    at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(Unknown Source)
    at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRow(Unknown Source)
    2003.09.24 09:40:02.365--ClientSession(1337286)--Thread[ApplicationServerThread-6,5,main]--EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Refcursor value is invalid
    INTERNAL EXCEPTION: java.sql.SQLException: Refcursor value is invalid
    ERROR CODE: 17442LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Refcursor value is invalid
    INTERNAL EXCEPTION: java.sql.SQLException: Refcursor value is invalid
    ERROR CODE: 17442
    at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
    at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.selectOneRow(Unknown Source)
    at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRowFromTable(Unknown Source)
    at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectOneRow(Unknown Source)
    at oracle.toplink.queryframework.ReadObjectQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    2003.09.24 09:40:03.553--ClientSession(6073931)--Thread[ApplicationServerThread-23,5,main]--EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Protocol violation
    INTERNAL EXCEPTION: java.sql.SQLException: Protocol violation
    ERROR CODE: 17401LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: Protocol violation
    INTERNAL EXCEPTION: java.sql.SQLException: Protocol violation
    ERROR CODE: 17401
    at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
    at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    2003.09.24 09:41:15.173--ServerSession(3066938)--Thread[ApplicationServerThread-19,5,main]--EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-01403: no data found
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-01403: no data found
    ERROR CODE: 1403LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-4002] (TopLink - 9.0.3.3 (Build 430)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: java.sql.SQLException: ORA-01403: no data found
    INTERNAL EXCEPTION: java.sql.SQLException: ORA-01403: no data found
    ERROR CODE: 1403
    at oracle.toplink.exceptions.DatabaseException.sqlException(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
    at oracle.toplink.threetier.ServerSession.executeCall(Unknown Source)
    Im not sure if this is due to a memory leak or something in my app ? Or does Oracle IAS / Toplink have any such issues for which any possible patches are available ?
    Could anyone please direct me in the possible right direction !
    Thanks,
    Krishna

    Hi,
    We have had this problem too, it only started after we deployed to production and got some load on our application server. We are using JRun as our application server.
    We found that Macromedia (JRun) already addressed the issue in general - that if you get java.lang.OutOfMemory errors, then you need to increase the heap size.
    Previously we had been using our own caching mechanism and never ran into this problem. Since we decided to go with TopLink (which has caching) we no longer use our own caching mechanism... but now we have this problem.
    We have chosen to use FullIdentityMap for caching, but didn't think we would run out of memory in the JVM. Is there a suggested or minimum JVM memory requirement to run TopLink?
    Thanks,
    Aaron

  • Configuring multiple web sites in a single OC4J instance with 10g OEM

    Hi There,
    there doesn't seem to be a way of configuring multiple web sites within a single OC4J instance using the 10g Enterprise Manager Website, so can i assume that there's some performance related issues with doing this, or is it just a case of if you want multiple web sites, configure it manually?
    We currently use 9iAS release 1 (which has been configured to use multiple web sites - with normally 1 j2ee app in each website - in a single OC4J clustered instance, using mod_proxy to forward the http requests onto oc4j), but we are looking to migrate to 10g very soon...
    The initial configuration was done by an external company, so i'm not entirely sure of the reasons why it was chosen (perhaps so that if there was a problem with a single website, it wouldn't impact all our applications)..
    Does anybody else currently use multiple *-web-site.xml's in a 9iAS release 2 or 10g in a production environment, and if so did you encounter any problems with the OEM website (assuming you configured them manually)?
    Thanks in advance,
    Andy

    Hello,
    Something like this:
    New-OWAVirtualDirectory -WebSiteName "FBA"
    Enable the Basic authentication via running the following command:
    Set-OWAVirtualDirectory -Identity "yourservername\owa (FBA)" -BasicAuthentication $true
    Restart the IIS admin service in services.msc
    Thanks,
    Simon Wu
    TechNet Community Support

  • Auto start OC4J instance if not running?

    Is there a way for get Forms Developer to start my OC4J instance if its not running or would this be a bad/impractical idea? Its a pain having to navigate to the menu option to start it all the time.
    Thanks
    Richard

    Richard,
    this is an enhancement that is on our list, not sure when this will be in.
    Frank

  • Starting OC4J Instance

    I've got an error indicating that I have to sart http listener first ,when I tried to run my form .Then I tried to start OC4J ,I left it's window open .When I ran my form again it tried to down load the java applet but it gave the following error:
    FRM-90928:positional parameter after key on command line .
    I wonder how i can solve this one .
    Thanks in advance

    I think you are trying to run the form with out saving. so when it run it creat the fmx file on u r desk top temporarly that include the space. so pls make a directory on u r hard disk that should not inlclude any space and then try agian to run again. will solve the prob.
    thanks

  • How to start oc4j instance in linux

    I need the oracle report server to generate reports via the call from JSP.
    But the response contains no data. But i think that the problem is that the oc4j instance is not started or the port number i am using in the URL is wrong.
    I have two questions in my mind.
    1) How to start the oc4j instance in linux
    2) How to find the port number of the oracle report server. will it be stored in any files.
    Pls provide some inputs on this query.

    Hello,
    1) How to start the oc4j instance in linuxYou have not specified what version, so for standalone you can use the following command:
    java -jar oc4j.jar
    In 10.1.3 you need to use the oc4j.cmd/oc4j.sh file to start and stop OC4J.
    If you are using the Application Server, then please use opmnctl start and stop the OC4J instance.
    2) How to find the port number of the oracle report server. will it be stored in any files.
    Please post this to the Reports forum.
    Hope this helps.
    Deepak

  • EJB 3.0 Cache Issue With OC4J Instance With Multiple JVM's

    I created an EJB 3.0 project in JDeveloper 10.1.3.3.0 and everything works fine in the embedded OC4J server. I am deploying the application to an OC4J instance consisting of 3 Java Virtual Machines in Oracle Application server 10.1.3 and seem to be getting a different persistence context for each virtual machine. i.e. I'll have 3 browsers that can view the same data even after updating, another 2 browsers that can't see the first 3's changes but can see changes by any browser in this group, etc.
    I tried adding the below to the persistence-unit tag in the persistence.xml but it didn't seem to help.
    <properties>
    <property name="toplink.cache.shared.default" value="true"/>
    </properties>
    How do you get all connections to use the same cache?

    here is the code for my bean.
    package com.ups;
    import java.util.logging.Logger;
    import javax.ejb.ActivationConfigProperty;
    import javax.ejb.EJBException;
    import javax.ejb.MessageDriven;
    import javax.ejb.MessageDrivenContext;
    import javax.jms.JMSException;
    import javax.jms.Message;
    import javax.jms.MessageListener;
    import javax.jms.TextMessage;
    * Message-Driven Bean implementation class for: MessageBean
    @MessageDriven(
              activationConfig = { @ActivationConfigProperty(
                        propertyName = "destinationType", propertyValue = "javax.jms.Queue"
    public class MessageBean implements MessageListener {
         private MessageDrivenContext mdc;
    * Default constructor.
    public MessageBean() {
    // TODO Auto-generated constructor stub
    * @see MessageListener#onMessage(Message)
    public void onMessage(Message message) {
         TextMessage tmsg = null;
    try {
    tmsg = (TextMessage) message;
    System.out.println("MESSAGE BEAN: Message received: " + tmsg.getText( ));
    System.out.println ("The onMessage() is called");
    } catch (JMSException e) {
    e.printStackTrace( );
    mdc.setRollbackOnly( );
    catch (Throwable th) {
    th.printStackTrace();
    public void ejbRemove( )throws EJBException{
         System.out.println("ejbRemove() is executed >>>>>>>");
    I have configured my JMS Distributed queue in the Weblogic.
    If possible please provide more details so that I can get rid of this error as soon as possible.
    Thanks for reply.
    Piyush

Maybe you are looking for

  • Is the ATV2 a true Apple Appliance or a Toy?

    Having spent a few hours studying all the problems that people are having, I am amazed at the difficulty the ATV2 is causing. It was supposed to be the transformational device that did not replicate the problems of the ATV1 which was a "hobby" device

  • Sales Order userexit

    Hi folks I try to replace default value of VBAK-KKBER with another value during sales order creation in VA01. I could find structures like VBAK, XVBAK, YVBAK, SVBAK, etc in MV45AFZZ. I assigned new value for KKBER field in these structures and tested

  • Document to open in applescript

    Is it possible to make a certain file type opened using finder to open an applescript and set filetodostuffwith to that file and skip a choose file dialog at the begging o the script?

  • ADI Error

    A user is running ADI through a Citrix Enviroment, We have been running it in this Enviroment for a number of years, But recently the user is having an issue where the applicaiton just seems to crash for no reason with the following error : An Unexpe

  • Simple queries in portal

    I am having some difficulty writing what I think should be simple queries for the portal. I cannot find any documentation about the tables and how they are linked. For instance, I need a report that gives information about items such as what folder t