Migrating from OC4J 9.0.4 to 10.1.2

Hi,
I have migrated my Java application from Standalone OC4J 9.0.4 version to 10.1.2 on Windows XP operating system. It works fine with the new oc4j_extended.zip folder that I downloaded from the net. I haven't changed any of the jar files that have been included with the code. Client side JRE version is 1.4.2_05, JDK being used is 1.4.2_04.
The only problem is that, when I start the Orion server, I get the below message on the console -
'Warning a client is using a different version of the ormi protocol 1.0 != 1.1'
Can someone please help me to get rid of this message by letting me know how to acquire the right versioned jars?
Thanks in advance,
Sonia Shinde

To clearify: for me a test case is a piece of code that shows exactly the problem in question. This task takes sometimes a lot of time but very often reveals the problem.
In your case, I'd like to know what's in the libraries
11) connector-client.jar
10) application server code - ejb-generic.jar
11) application common code - common.jar
12) application code - client.jar
Is there some OC4J related library included?
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Problem with servlet after migrating from OC4J to WebLogic 10.3

    I come across a problem when I was migrating from jDev 11g TP4 to production version in that step also server got changed from OC4J to webLogic.
    I am running java http servlet along other jspx pages. When everything was on OC4J there was no problem whit security on this servlet ( servlet was under same authorization automatically, and I was able to create new application module on this servlet by createRootApplicationModule
    ) but when I changed to WebLogic 10.3 I come across a numerous problems. First one is solved i managed to put the servlet under same authorization as jspx pages by
    *<servlet>*
    *<servlet-name>report</servlet-name>*
    *<servlet-class>path.to.class</servlet-class>*
    *<security-role-ref>*
    *<role-name>name</role-name>*
    *<role-link>valid-users</role-link>*
    *</security-role-ref>*
    *</servlet>*
    but when I trying to create new application module I get JBO-30003 error which is Caused by:
    oracle.adf.share.security.ADFSecurityAuthenticationException: JAAS login error.
    Invalid null input: name
    Has anybody any idea what I am doing wrong?
    Thank you for your help, Rok Kogovšek

    for example:
    web.xml
    <security-role>
    <role-name>yourrole</role-name>
    </security-role>
    weblogic.xml
    <security-role-assignment>
    <role-name>yourrole</role-name>
    <principal-name>wlsuser</principal-name > <!-- wlsuser is define at wls console-->
    </security-role-assignment>

  • Deploying ear application - migrating from OC4j to Weblogic

    I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
    "both the remote home and remote component interface must be specified. Currently, only one of them is specified"
    It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
    Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
    Thanks a lot!

    OK. I just want to make sure that there are no problems with the deployment descriptors.
    To pin point the problem do the following in JDeveloper:
    1. Create a simple EJB 3.0 session bean
    2. On that session bean create a Sample Java Client.
    3. Run the Session Bean
    4. Run the Client
    5. If both are running fine, compare the deployment descriptors from the sample and your real application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Migration from oc4j 9.0.3 to oc4j 9.0.4 Issues

    Has anyone migrated the code from oc4j 9.0.3 to oc4j 9.0.4? Could anyone tell the migration issues please? That is, what are the parts of the code or the deployment-descriptors that need to be changed/updated?

    Did anyone migrate to OC4J 9.0.4 and experience snail pace execution? I installed the pre-release 9.0.4 and deploy my applications without any problem. When I run my applications, it has very slow response. The CPU is intermittenly processing for a long time. I didn't change any code and it was my original "ear" files from 9.0.3. Is there anything I miss?
    Regards,
    Kenny Lau

  • Migrating from OC4J to Unix middle tier

    Hi,
    Does anyone know where I can get some documentation that assists me with moving my app from my PC to the application server on a UNIX platform.
    I am running 10g OC4J.
    Thanks

    Documentation comes with 10gAS for Unix. Same as here (check your version!):
    http://download-east.oracle.com/docs/cd/B19375_06/doc/frs/docs.htm

  • Issues migrating from oc4j 9.0.4 to  oc4j 10.1.3

    Is there an alterntive to env.put("dedicated.connection", "true") in the new version of oc4j, as this environment property is no longer used in 10.1.3
    I am getting an error trying to get the principal from the sessionContext.
    Though I am able to deploy my application correctly, I can login only once as the second time the principal is cached and i can no longer login to my application.
    Is there a way to obtain a new connection each time.
    Any kind of help is welcome as I have spent a lot of time trying to resolve this issue.

    Take a look at this:
    http://download.oracle.com/docs/cd/B14099_19/sol.1012/quickupgrade.1012/quickupgrade/toc.htm#CJAEFHHG
    Thanks
    Shail

  • Migration of webservices from OC4J 10.1.4.2 to Weblogic 10.3.5 fails

    Hello All,
    We have a webservices war file that needs to be migrated from existing Oc4J to weblogic version 10.3.5. While trying to deploy the war file on the server, some functions do not work due to an exception caused by
    Unable to create Service Factory : weblogic.webservice.core.rpc.ServiceFactoryImpl cannot be cast to javax.xml.rpc.ServiceFactory.
    The error messages reveived from server logs are: Unable to create Service Factory : weblogic.webservice.core.rpc.ServiceFactoryImpl cannot be cast to javax.xml.rpc.ServiceFactory and from the debugger of eclipse is
    javax.xml.rpc.ServiceException: Provider com.sun.xml.rpc.client.ServiceFactoryImpl not found
    at javax.xml.rpc.FactoryFinder.newInstance(FactoryFinder.java:44)
    at javax.xml.rpc.FactoryFinder.find(FactoryFinder.java:137)
    at javax.xml.rpc.ServiceFactory.newInstance(ServiceFactory.java:58)
    Need help resolving this error. Any help is highly appreciated.
    Edited by: 882457 on Mar 9, 2012 11:21 AM
    Edited by: 882457 on Mar 9, 2012 11:22 AM

    Hi Frank,
    the problem is this.
    I have a .js file which have the following two methods
    function deactivateProgressIndicators()
    if (self._pollManager)
    if (document.getElementById('fileUploadStatus').value=='noUpload')
    _pollManager.deactivateAll();
    function reactivateProgressIndicators()
    if (self._pollManager)
    document.getElementById('panelBox').style.display='';
    document.getElementById('fileUploadStatus').value='uploading';
    _pollManager.reactivateAll();
    I call these methods with in a .jsp file.
    But the things that are inside the if conditions doesn't work.
    I think the problem is clear now. Is there a way to run these methods or is there another way to
    do this ?
    Thank you for replying!
    Melaka

  • Migration from weblogic6.1 to OC4J

    Hi,
    We are evaluating OC4J to migrate our application (EJB2.0). Currently we are evaluating weblogic6.1 too. We have 66 local entity beans and 7 session Facade(for those local Entities) beans. It's perfectly working with weblogic.
    Here I would like to mention that OC4J talks NOTHING about how to specify OC4J-specific XML descriptors. 'How to create EJB2.0' compatible stuff are already provided by SUN & co. OC4J-docs must also say how to deploy it into OC4J. HOW CAN "OC4J" EXPECT THE DEVELOPER TO START EASILY TO MIGRATE FROM another APP-SERVER?
    Allright, this is the problem we are facing after INVENTING some of "how to specify OC4J-specific XML descriptors" on our own. Please correct me if anything is incorrect.
    When we tried to deploy into OC4J, we couldn't invoke local entity beans using JNDI lookup.
    Weblogic gives two tags "jndi-name" & "local-jndi-name" to specify JNDI names of remote & local respectively.
    Orion has only one 'location=' attribute to specify JNDI location for a bean, for Entity beans presumably it takes for remote-beans, even if I don't specify any remote home/interfaces.
    OC4Js 'How-To: Implement Local Interfaces' says that we need to have 'ejb-local-ref' in each referring ejb. In that case I've to create atleast 50 'ejb-local-ref' tags in each of my 7 session beans. Is that really OK?.
    I would like to know whether there is any way of specifying JNDI names for local CMP's in one place, not in all other referring EJBs.
    Please advise.
    Thanks,
    Sasikumar.

    Hi Sasikumar,
    In order to fully understand your situation, please answer the following
    questions:
    1. Are you using the latest, standalone, production version of OC4J
    (version 9.0.2.0.0)?
    2. Are you using Java 2 SDK version 1.3.1_02?
    3. Are you using Windows2000?
    4. Are you using the latest, production version of JDeveloper 9i?
    5. Have you read the documentation for OC4J -- available from
    http://tahiti.oracle.com
    6. Do you know about the "BEA to Oracle Migration Kit"?
    http://www.oracle.com/consulting/start/BEAmigration/intro.html?src=1260040&Act=8
    and
    http://technet.oracle.com/products/ias/pdf/weblogic_migration.pdf
    7. Do you know about these other, OC4J related web sites:
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    8. Do you know about these tools for automatically creating EJB related
    files (including XML deployment descriptors)
    http://beust.com/cedric/ejbgen/
    http://opensource.itplus.dk/EJBCreator/index.html
    http://www.myhtg.com/product.html
    So if you haven't exhausted all of the above, I suggest you do so
    before throwing a tantrum about OC4J. If you have exhausted the above,
    and you still can't work with OC4J, then I suppose you could always
    just stick with BEA (couldn't you :-)
    Good Luck,
    Avi.

  • Trasaction problem when migrate ejb application from oc4j 10.1.2 to 10.1.3

    When i migrate my ejb application from oc4j 10.1.2 to 10.1.3
    in application log i found following many exceptions:
    where is problem? on AS 10.1.2 all works fine.
    javax.transaction.SystemException: Transaction state is COMMITTED and therefore can not be suspended, transaction
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.suspend(ApplicationServerTransaction.java:356)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionManager.suspend(ApplicationServerTransactionManager.java:541)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EJBTransactionManager.suspend(EJBTransactionManager.java:186)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EJBTransactionManager.suspendLocal(EJBTransactionManager.java:163)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BeanPool.suspend(BeanPool.java:588)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BeanPool.destroyContext(BeanPool.java:460)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BeanPool.releaseContext(BeanPool.java:306)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.BMPOrionEntityBeanPool.releaseContext(BMPOrionEntityBeanPool.java:72)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBHome.releaseContextInstance(EntityEJBHome.java:114)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBHome.passivateAndRelease(EntityEJBHome.java:182)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBObject.releaseContext(EntityEJBObject.java:402)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBObject.removeFromCacheNew(EntityEJBObject.java:336)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EntityEJBObject.endTransaction(EntityEJBObject.java:178)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionSynchronization.endTransaction(ApplicationServerTransactionSynchronization.java:198)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionSynchronization.freeEjbResources(ApplicationServerTransactionSynchronization.java:179)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionSynchronization.afterCompletion(ApplicationServerTransactionSynchronization.java:677)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.callSynchronizationAfterCompletion(ApplicationServerTransaction.java:1215)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionManager.freeResources(ApplicationServerTransactionManager.java:394)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.doCommit(ApplicationServerTransaction.java:282)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransaction.commit(ApplicationServerTransaction.java:162)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ApplicationServerTransactionManager.commit(ApplicationServerTransactionManager.java:472)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.EJBTransactionManager.end(EJBTransactionManager.java:143)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:57)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermindhttp://Oracle Containers for J2EE 10g (10.1.3.4.0) .server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    any idea?
    Thanks. J.

    java.lang.NoSuchMethodError: java.lang.String oracle.adf.model.BindingContext.findBindingContainerIdByPath(java.lang.String) at oracle.adf.controller.v2.struts.actions.DataAction.mappingCreate
    Refer Steve's blog
    http://radio-weblogs.com/0118231/stories/2006/02/28/notesOnMigratingAdfstruts1012ApplicationsTo1013.html

  • Like to migrate SRDemo from OC4J to Weblogic 10g but in vain

    Hi all experts,
    I'm newbie in WebLogic Server Admin.
    I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
    After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
    Connection name SRDemo not defined -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    What can I do ?

    CillyBanZorLore wrote:
    Hi all experts,
    I'm newbie in WebLogic Server Admin.
    I 'm migrating SRDemo from oc4j to weblogic10.3. Firstly, deployment and login engagement are ok.
    After LOGIN, I click the "start" button at page SRWelcome.jspx, oh Errors burst out !
    Connection name SRDemo not defined -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    java.lang.NullPointerException at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1735) -
    What can I do ?WAR SR Demo requires "SRDemo" connection . Have you provided it yet ?

  • Migrating from jserv to OC4J

    Are there some documents related to this theme?
    Please help me.
    I'm obtaining an error when i deploy the app to oc4j, referent to jdbc connection.

    There was a generic Migration guide produced for the earlier 9.0.2 release with some content on migrating from JServ to OC4J.
    http://download-west.oracle.com/docs/cd/A97331_08/migrate.902/migrate/intapps.htm#1006415
    It's hard to provide much help without more details.
    cheers
    -steve-

  • Migrating from JServ to OC4J: problems with XSQLServlet configuration

    I'm trying to move an application using xsql pages from 9iAS to 10g (9.04). Development is currently done under JDev9 (9.02) an its OC4J standalone server.
    I guess I've done most of the configurations, since the application is working correctly now, BUT only with the connections defined statically in the XSQLConfig.xml of the XSQLServlet. On JServ, we implemented our own connection manager to pass our connections to the XSQLServlet as defined by the <connection-manager><factory> tag. Now, under OC4J, this no longer works:
    The log files tells:
    Failed to create custom connection manager factory: "our.connection.manager.factory": Using default.
    And with the default one, we get of course the 'cannot acquire database connection' error message which is ok, since we're not using one of those defined under XSQLConfig.xml...
    Background: Our connection manager is contained in a jar file with many other classes. These are visible to the 2 applications ("P" and "T") we're running successfully under OC4J Standalone. As I interprete the message as the XSQLServlet not being able to create an instance of our ConnectionManager, I guess I missed somewhere an library or classpath entry??
    Many thanx for any hints!

    There was a generic Migration guide produced for the earlier 9.0.2 release with some content on migrating from JServ to OC4J.
    http://download-west.oracle.com/docs/cd/A97331_08/migrate.902/migrate/intapps.htm#1006415
    It's hard to provide much help without more details.
    cheers
    -steve-

  • Migrated from SOA 10.1.3.1 to 10.1.35, Error While Deploying an Application

    I have migrated from Application server 10.1.3.1 to 10.1.3.5 by applying patches. After that i have tried to deploy a application, I got this error
    Operation failed with error: [resonance:resonance] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit
    Please reply as soon as possible, It's very urgent , I am trying to resolve this issue for the past 1 week

    The Error which is present in the logs as follows
    *10/05/12 16:05:18 Stop process*
    *10/05/12 16:06:58 Start process*
    May 12, 2010 4:07:04 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    May 12, 2010 4:07:05 PM com.evermind.server.XMLApplicationServerConfig randomize
    JtaAdminPassword
    INFO: Updating JtaAdmin account
    *10/05/12 16:07:17 Oracle Containers for J2EE 10g (10.1.3.5.0) initialized*
    May 12, 2010 4:10:28 PM com.evermind.server.XMLDataSourcesConfig parseRootNode
    INFO: Legacy datasource detected...attempting to convert to new syntax.
    *10/05/12 16:10:41 WARNING: Code-source /home/oracle/product/j2ee/resonance/appli*
    cations/resonance/resonance/WEB-INF/lib/toplink.jar (from WEB-INF/lib/ directory
    in /home/oracle/product/j2ee/resonance/applications/resonance/resonance/WEB-INF
    */lib) has the same filename but is not identical to /home/oracle/product/toplink*
    */jlib/toplink.jar (from <code-source> (ignore manifest Class-Path) in META-INF/b*
    oot.xml in /home/oracle/product/j2ee/home/oc4j.jar). If it contains different ve
    rsions of the same classes, it will be masked as the latter is already visible i
    n the search path of loader resonance.web.resonance:0.0.0.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    *10/05/12 16:10:59 oracle.oc4j.admin.internal.DeployerException: [resonance:reson*
    ance] - Exception creating EntityManagerFactory using PersistenceProvider class
    oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence
    unit ResonanceUnit.
    *10/05/12 16:10:59 at com.evermind.server.ejb.exception.DeploymentException*
    *.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)*
    *10/05/12 16:10:59 at com.evermind.server.ejb.persistence.PersistenceUnitMa*
    nagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:19
    *7)*
    *10/05/12 16:10:59 at com.evermind.server.ejb.persistence.PersistenceUnitMa*
    nagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
    *10/05/12 16:10:59 at com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerIm*
    pl.java:87)
    *10/05/12 16:10:59 at com.evermind.server.http.HttpApplication.createDefaultPersistenceUnitManager(HttpApplication.java:*
    *875)*
    *10/05/12 16:10:59 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:844)*
    *10/05/12 16:10:59 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)*
    *10/05/12 16:10:59 at com.evermind.server.Application.getHttpApplication(Application.java:592)*
    *10/05/12 16:10:59 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReferen*
    ce(HttpSite.java:2280)
    *10/05/12 16:10:59 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)*
    *10/05/12 16:10:59 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)*
    *10/05/12 16:10:59 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52*
    *10/05/12 16:10:59 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)*
    *10/05/12 16:10:59 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.j*
    ava:298)
    *10/05/12 16:10:59 at java.lang.Thread.run(Thread.java:595)*
    *10/05/12 16:11:00 WARNING: DeployerRunnable.run [resonance:resonance] - Exception creating EntityManagerFactory using Persist*
    enceProvider class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit ResonanceUnit.oracle.
    *oc4j.admin.internal.DeployerException: [resonance:resonance] - Exception creating EntityManagerFactory using PersistenceProvi*
    der class oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider for persistence unit ResonanceUnit.
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    at java.lang.Thread.run(Thread.java:595)
    Help me

  • Migrating from 10.1.3.1 to JHS10.1.3.2 gives 500 Internal Server Error

    Hi all,
    I am busy migrating from Jheadstart version 10.1.3.1 to 10.1.3.2, but now I am stuck with some binding issue.
    I can generate my application without no errors, but when I try to access a none default tab I get a 500 error. An example incl. stacktrace is added at the end of this post.
    The default 1st tab contains a Table-Form which I can use with no problem and I even can drilldown to the edit page and save some changes.
    But when I navigate to an alternative tab I get the error shown below.
    When I access the URL which the system should navigate to originally the page is shown normally and I can even save changes normally. Navigating back to the first tab gives then also the rangeBinding error.
    Using debugging and from the log I know that no rangeBinding is handed in during the prepareRender phase of the lifecycle when I get the error,
    when the app runs normally the rangeBinding handed in is not null.
    I have the assumption that some thing is wrong within the filter-mapping ordering but I am using the standard generated one from JHeadstart.
    To be precise I will include it:
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>*.jsp</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <servlet-name>ordDeliverMedia</servlet-name>
    </filter-mapping>
    Does somebody have a clue what's wrong within my configuration?
    Regards,
    Michel Jansen
    Log including stacktrace:
    16-jan 15:14:32 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/onderhoud/BijzonderheidTable.jspx, pagedef=BijzonderheidPageDef
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -User is authorized
    16-jan-2008 15:14:32 oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    16-jan-2008 15:14:32 oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    16-jan-2008 15:14:32 oracle.adfinternal.view.faces.model.binding.FacesCtrlRangeBinding$FacesModel getSelectedRow
    WARNING: rowIterator is null
    16-jan 15:14:32 DEBUG (DoRollbackActionListener) -Executing Rollback action binding
    16-jan 15:14:32 DEBUG (JhsPageLifecycle) -executing onRollback
    16-jan 15:14:32 DEBUG (JhsPageLifecycle) -No rollback performed because there are no pending changes
    16-jan 15:14:32 DEBUG (ResetBreadcrumbStackActionListener) -Resetting breadcrumb stack
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -handleNavigation action=null, outcome=StartDomein
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -User is authorized
    16-jan 15:14:32 DEBUG (JhsPageLifecycle) -Executing prepareModel, page=/pages/onderhoud/DomeinTable.jspx, pagedef=DomeinPageDef
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -Executing checkRoles
    16-jan 15:14:32 DEBUG (JhsNavigationHandlerImpl) -User is authorized
    16-jan 15:14:32 DEBUG (JhsPageLifecycle) -Executing prepareRender, page=/pages/onderhoud/DomeinTable.jspx, pagedef=DomeinPageDef
    16-jan 15:14:32 DEBUG (JhsPageLifecycle) -Locale nl set on current JSF page
    16-jan-2008 15:14:32 oracle.adfinternal.view.faces.webapp.AdfFacesFilterHelperImpl startFilter
    WARNING: AdfFacesContext had not been properly released on earlier request.
    16-jan 15:14:32 ERROR (ApplicationImpl) -Managedbean DomeinCollectionModel could not be created Can't set managed bean property: 'rangeBinding'.
    javax.faces.FacesException: Can't set managed bean property: 'rangeBinding'.
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:596)
         at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:253)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:306)
         at com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:97)
         at oracle.adfinternal.view.faces.el.AdfFacesVariableResolver.resolveVariable(AdfFacesVariableResolver.java:40)
         at oracle.adfinternal.view.faces.model.VariableResolverUtils$JspResolver.resolveVariable(VariableResolverUtils.java:79)
         at com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:145)
         at com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:166)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:160)
         at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:406)
         at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1019)
         at javax.faces.webapp.UIComponentTag.createChild(UIComponentTag.java:1046)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:761)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:451)
         at oracle.adf.view.faces.webapp.UIXComponentTag.doStartTag(UIXComponentTag.java:85)
         at pages.onderhoud._DomeinTable_jspx._jspService(_DomeinTable_jspx.java:525)
         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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:287)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         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.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.java:1789)
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:578)
         ... 63 more
    Caused by: java.lang.NullPointerException
         at oracle.jheadstart.controller.jsf.bean.JhsCollectionModel.setRangeBinding(JhsCollectionModel.java:446)
         ... 68 more

    Michel,
    Usually, such problems come from a custom 10.1.3.1 template that is still used in 10.1.3.2, which has not been merged with the new 10.1.3.2 default template. Could you check if your application definition contains any custom templates, and if so, test the application with only the default templates?
    To see if custom templates are used, you could check the xml source of the application definition and check for the occurrence of a <Templates> tag as opposed to an empty <Templates/> tag.
    Hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Creation of domain issues - migration from weblogic 10.3.0 to 10.3.5 versio

    Hello,
    i would like to kindly ask for a help with following issue:
    Basically we are migrating from the 10.3.0 to the 10.3.5 version. We are building the domain using the template in "silent mode". And when i try to create the domain with new weblogic 10.3.5 im getting some errors.
    The command to run the creation of the domain is following:
    ${WL_HOME}/common/bin/config.sh -mode=silent -silent_script=${SILENT_SCRIPT} -log=${WLLOGFILE} >> ${LOGFILE} 2>&1
    returnCode=$?
    SILENT_SCRIPT contains following commands:
    read template from "/local/wg372/BM/appl/config/NEW_DOMAIN_CONFIGURED.jar";
    write domain to "/local/wg372/BM/appl/BmDomain";
    set OverwriteDomain "true";
    close template;
    When i setup new env(solaris) with weblogic 10.3.5 im getting following error when the silent_script command (*write domain to "/local/wg372/BM/appl/BmDomain";*) is executed:
    2011-07-18 16:53:00,427 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - succeed: read template from "/local/wg372/BM/appl/config/NEW_DOMAIN_CONFIGURED.jar"
    2011-07-18 16:53:00,427 INFO [runScript] com.oracle.cie.domain.script.ScriptExecutor - write Domain to "/local/wg372/BM/appl/BmDomain"
    2011-07-18 16:53:00,505 ERROR [runScript] com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: /local/wg372/BM/appl/installer/silent_script
    java.lang.NullPointerException
         at com.oracle.cie.domain.security.SecurityGenerateLDIFT.buildSecurityInfo(SecurityGenerateLDIFT.java:460)
         at com.oracle.cie.domain.security.SecurityGenerateLDIFT.<init>(SecurityGenerateLDIFT.java:119)
         at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:718)
         at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:573)
         at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
         at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
         at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
         at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
         at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
         at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:551)
         at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:335)
         at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
         at java.lang.Thread.run(Thread.java:662)
    In Windows env im getting following error:
    create.domain:
    [exec] -mode="silent" -silent_script=J:/_dev/build/installer/silent_script
    [exec] << read template from "J:/_dev/build/config/NEW_DOMAIN_CONFIGURED.jar"
    [exec] >> succeed: read template from "J:/_dev/build/config/NEW_DOMAIN_CONFIGURED.jar"
    [exec] << write Domain to "J:/_dev/build/BmDomain"
    [exec] CFGFWK-60550: Script execution aborted. The script may contain an error.
    [exec] null
    CFGFWK-60550: - doc says
    CFGFWK-60550: Script execution aborted. The script may contain an error.
    Cause:
    Action:
    Level: 1
    Type: ERROR
    Impact: Configuration
    I tried to google for this issue, look into the weblogic documentation but with no luck.
    So i would like to kindly ask, if anyone of you perhaps could give me a hint/advise with this problem.
    Thanks in advance.

    Hi,
    thanks for the reply but im not sure if we are talking about the same thing. What i need is to upgrade the weblogic "DOMAIN" not the weblogic installation itself.
    Anyway,
    after some googling and testing im again stucked with another issue:
    1. First i have created the old doman (10.3.0)
    2. Then i have tested the domain with the new weblogic version 10.3.5 - as it should be (and is) compatible within those 2 versions
    ---> worked fine
    3. Then via offline WLST(of weblogic 10.3.5) i have managed to create new template with command writeTemplate(nameOfTemplate.jar)
    4. But when i try to create the new domain with the new template via WLST(of weblogic 10.3.5) im again stucked (im able to read the template in wlst but not able to writeDomain ) - error:
    wls:/offline> readTemplate('/home/wg372/tmp/new_template.jar')
    wls:/offline/BmDomain>writeDomain('/home/wg372/tmp/new_domain')
    Error: writeDomain() failed. Do dumpStack() to see details.
    wls:/offline/BmDomain>dumpStack()
    com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: The application location must have write permission.
    at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
    at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
    at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:803)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.python.core.PyReflectedFunction.__call__(Unknown Source)
    at org.python.core.PyMethod.__call__(Unknown Source)
    at org.python.core.PyObject.__call__(Unknown Source)
    at org.python.core.PyInstance.invoke(Unknown Source)
    at org.python.pycode._pyx3.writeDomain$15(/var/tmp/WLSTOfflineIni6651397525640719781.py:71)
    at org.python.pycode._pyx3.call_function(/var/tmp/WLSTOfflineIni6651397525640719781.py)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyFunction.__call__(Unknown Source)
    at org.python.pycode._pyx24.f$0(<console>:1)
    at org.python.pycode._pyx24.call_function(<console>)
    at org.python.core.PyTableCode.call(Unknown Source)
    at org.python.core.PyCode.call(Unknown Source)
    at org.python.core.Py.runCode(Unknown Source)
    at org.python.core.Py.exec(Unknown Source)
    at org.python.util.PythonInterpreter.exec(Unknown Source)
    at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
    at weblogic.management.scripting.WLST.main(WLST.java:173)
    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 weblogic.WLST.main(WLST.java:29)
    Caused by: com.oracle.cie.domain.script.ScriptException: The application location must have write permission.
    at com.oracle.cie.domain.script.ScriptExecutor.writeDomain(ScriptExecutor.java:757)
    at com.oracle.cie.domain.script.jython.WLScriptContext.writeDomain(WLScriptContext.java:795)
    ... 29 more
    I tried to have a look around for the "The application location must have write permission." problem but again with no luck.
    Furthemore when i try to do the same with old domain template, with old version of WLST (of weblogic 10.3.0), i have no problems with creating of the domain.
    Any ideas?
    Ill keep you updated :-)

Maybe you are looking for

  • Travel adapter kit

    I am going to Thailand, Malaysia and Singapore.  I went into an Apple store and inquired about a travel adapter.  I was told that the Apple World Travel Adapter Kit would not be suitable for my destinations.  Is this correct?  What product should I b

  • How do I sync my Groups in Panorama

    When I sync with my work computer from home, the groups of tabs in Panorama don't sync. What am I doing wrong?

  • I do not have the hdv option in the new project menu

    Hello all as my title says I do not not have the hdv option in my new project menu. I have tried reinstalling and that did not work. Also I do own the software.

  • Ironport Outlook Plugin Reply Encrypted Email

    I would like to clarify whether Ironport Outlook plugins can (with flag mode) reply a "reply-message" originated from external CRES user. Here is a situation:- 1. Corp User A compose an encrypted email to external user B 2. External user B receive th

  • Unable to download SAPGui

    I seem to be unable to download the gui or any of the patches. I installed the download manager but it keeps giving me a 403 error and then cycling through the next item in the list. Why did we ever move away from ftp which just worked? Is there anyb