Migrate application to x64

Hello community
I have a java application, which calls a managed dll, which calls C++/Cli dll, which calls a third party c# dll. This works fine on x86.
Now I want to migrate this application to x64, but i cannot link the native dll.
My question is:
Do I need other jni-header files for x64 or is that not necessary?
Best regards,
Michael

I asked in the msdn forum and they told me to include some additional, x64 specific, lib files of the jdk.
Does anybody know which files to include additionaly?

Similar Messages

  • Migrate Application Role from uat to prod in 11.1.1.6.10

    Hi All,
    We have to migrate the UAT Application Roles to Prod instance. I followed Rittman Mead policy store migration. servers  in LINUX
    http://www.rittmanmead.com/2011/04/oracle-bi-ee-11g-migrating-security-policy-store-part-2/
    But at MigrateSecurityStore step, I am facing an issue with the wlst script which is throwing below error.
    I am getting bellow error
    wls:/offline> migrateSecurityStore(type="appPolicies",srcApp="obi",configFile="/ usr/app/MW/SecurityMigration/jps-config-policy.xml",src="sourceFileStore",dst="t                                                                                                         argetFileStore",overWrite="false")
    Oct 17, 2013 11:41:27 AM oracle.security.jps.internal.config.xml.XmlConfigurationFactory initDefaultConfiguration
    SEVERE: org.xml.sax.SAXParseException: The XML declaration must end with "?>".
    Command FAILED, Reason: The XML declaration must end with "?>".
    Traceback (innermost last):
      File "<console>", line 1, in ?
      File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 955, in migrateSecurityStore
      File "/usr/app/MW/oracle_common/common/wlst/jpsWlstCmd.py", line 927, in migrateSecurityStoreImpl
            at oracle.security.jps.internal.tools.utility.source.JpsInitializerSource.getSources(JpsInitializerSource.java:155)
            at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtilty.java:62)
            at oracle.security.jps.internal.tools.utility.JpsUtilMigrationPolicyImpl.migrateAppPolicyData(JpsUtilMigrationPolicyImpl.java:151)
            at oracle.security.jps.tools.utility.JpsUtilMigrationTool.executeCommand(JpsUtilMigrationTool.java:231)
            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)
    oracle.security.jps.JpsException: oracle.security.jps.JpsException: The XML declaration must end with "?>".
    This is config.xml file
    <?xml version='1.0' encoding='utf-8'? standalone='yes'?>
    <jpsConfig xmlns="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd">
       <property name="oracle.security.jps.jaas.mode" value="Off"/>
       <propertySets>
    <propertySet name="sam1.trusted.issuers.1">
    <property name="name" value="www.oracle.com" />
    </propertySet>
    </propertySets>
       <serviceProviders>
          <serviceProvider type="POLICY_STORE" name="policystore.xml.provider" class="oracle.security.jps.internal.policystore.xml.XmlPolicyStoreProvider">
             <description>XML-based PolicyStore Provider</description>
          </serviceProvider>
       </serviceProviders>
       <serviceInstance name="srcpolicystore.xml" provider="policystore.xml.provider" location="/usr/app/MW/SecurityMigration/uat/system-jazn-data.xml">           
      <description>File Based Policy Store Service Instance</description>       
      </serviceInstance>
      <serviceInstance name="policystore.xml" provider="policystore.xml.provider" location="/usr/app/MW/SecurityMigration/prod/system-jazn-data.xml">           
    <description>File Based Policy Store Service Instance</description>       
    </serviceInstance>
       </serviceInstances>
        <jpsContexts default="default">       
    <!-- This is the default JPS context. All the mendatory services and Login Modules must be configured in this default context -->       
    <jpsContext name="sourceFileStore">           
    <serviceInstanceRef ref="srcpolicystore.xml"/>       
    </jpsContext> <jpsContext name="targetFileStore">           
    <serviceInstanceRef ref="policystore.xml"/>     
    </jpsContext>   
    </jpsContexts>
    </jpsConfig>
    Please let me know if i need to provide further inputs.Appreciate your help.

    make sure you are running the wlst.sh from this path /MWHOME/Oracle_BI1/common/bin/wlst.sh
    you can take a look at this too Migrating Security Policies from Development to Standalone WLS 11g
    http://ssssupport.blogspot.com/2013/02/obiee-11g-application-role-migration.html
    Obiee11g: Migrating application role from DEV to Prod server in obiee11g

  • Best way to migrate Applications across environments of different versions

    Hello Gurus,
    Source EPM Environment - EPM 11.1.1.3
    Target EPM Environment - EPM 11.1.2.2
    What is the best way to migrate applications for Planning , Essbase , HFM and also the related reports from 11.1.1.3 to 11.1.2.2 .
    Any help will be highly appreciated..
    Thanks
    HyperEPM.

    I tried with upgrading the application and it was done pretty smoothly as compared to the LCM import export method.
    Now what would be the feasible way to move all the applications when following is the scenario and we need a minimum downtime.
    1. Move from EPM 11.1.1.3 to EPM 11.1.2.2
    2. DB used to configure EPM 11.1.2.2 should be fresh and not the existing one.
    3. We want to move all the applications across to EPM 11.1.2.2 on the freshly configured EPM 11.1.2.2.
    4. Move all the applications intact across the version.
    Thanks
    HyperEPM

  • 'Incorrect Login Name' error after migrating application in planning

    Hi,
    We are doing a migration to Planning 9.2.1 from a pre-system 9 version (3.5), using sql server 2000 as repository
    System 9 is installed in a fresh new server, and we are copying the applications/repositories from the old server.
    The admin user is the same in old installation and in new one.
    At the moment, all products are installed in the same server
    We have already sucessfully migrated the essbase applications, including substitution variables and users
    We had a problem creating a new application in planning, reading these forums we added External Authentication to Shared Services, and created application succesfully.
    We created the UDL for old database in SQL server and new essbase. Test connection was succesfull
    Created DSN based on UDL, test connection was succesfull
    We inserted application to migrate into PLN database, table HSX_DATASOURCES
    Saved SID for admin user (5001)
    Opened Desktop Planning, and opened the aplication.
    We got the 'upgrade application' message, and we upgraded it. No errors reported.
    We replaced the SID with the previously saved one. Actually, they are the same SID
    Now, when we try to open the migrated application in Desktop Planning, we get a 'Failled to Open application: M_09 Incorrect login name'
    We have already verified that the admin user id dbowner of the database in sql server 2000
    The event log only says the following
    Error*16*HypAdmin*4/15/2009 11:54:12 AM*CHspSession.cpp*Line 119*Incorrect login name*
    Any help will be appreciated!
    P.S. please excuse my writing skills, I am not a native english speaker.
    Edited by: hectorsosar on 15/04/2009 10:44 AM

    Please nevermind my previous post. I didn't read carefully enough, that the SID to save and copy was from the newly created applciation, not from old app. Now everything worls ok.
    Thanks, and regards,
    Hector

  • How do I migrate applications from old MacBook Pro to a MacBook Air?

    How do I migrate applications such as Word & iWork from my old Macbook Pro running Lion to my new MacbOok Air, running Mountain Lion?
    Thanks for advice. Cheers.

    One way: if you have a backup of your MBP on an external disk which you could connect to your MBA, or you could establish a connection in between the two Macs, you may want to launch the "Migration Assistant" on the MBA. You'll find it in Applications under Utilities. It guides you through the steps and options.
    The other (better) way is re-installing all apps fresh, and best the latest versions and updates to make sure it's all ML compatible. "Purchases" in the App Store are helpful as you simply download and install the latest and greatest again. For MS Word etc you should have the install disks. It's a bit more work but usually worth it.

  • Does anyone have experience with migrating applications from iAS6.0 SP2 to SP3? Did it go smoothly or are there problems to be expected?

     

    Hi,
    I haven't. But, there are lots of changes from each service packs,
    henceforth you may have to stick to what the documentation says to avoid
    the errors that shoots up. Again, the errors depends upon how you have
    coded your application. Please let me know if you have encountered any
    errors and the messages for me to help you.
    Regards
    Raj
    Peter Clijsters wrote:
    Does anyone have experience with migrating applications from iAS6.0
    SP2 to SP3? Did it go smoothly or are there problems to be expected?
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Migrating application from tomcat 3 to tomcat 5

    Hello everybody,
    Does anyone have information about some kind of manual or tutorial with steps to migrate applications from Tomcat 3 to Tomcat 5??
    Thanks a lot,
    Johnny

    What issues are you having? There have been some important changes between the Servlet and JSP specs between the two but most of these have been additions - nothing that will be too hard to handle.
    Does your application use a database? If so there have been configuration changes between Tomcat 3 and 5 but for that the Tomcat 5 docs are very good at telling you what you need.
    I would start by trying it and see where you get problems. I think it will be easier than you think, depending on how complicated your app is.

  • Migrating Application from Weblogic to JBOSS

    Hi all,
    I have an requirement to migrate Application running in Weblogic 8.1 to JBOSS, However my biggest problem is i do not have my JSP files and have only JSP converted Class files which are currently decomplied JAVA files and used in place of JSP. While migating to JBOSS my JSP converted JAVA files are erroring out.
    Can any body please help me out. Thanks in advance for the help.

    can be any body help me out with this issue

  • How to migrate application server from Tomcat to WebSphere?

    Hi,
    I installed BO XI 3.1 32 bit in environment:
    - AIX 5.3 64 bit
    - Deployed Tomcat 5.5 from installing BO
    - Oracle client 10G
    I need to migrate application server from Tomcat to WebSphere 6.1 and WebSphere 6.1 Server 32 bit in Windows platform.
    Could you someone give detail steps
    Many thanks in advance and best regards,

    I tried manually to deploy web applications, but not successful. This is my deployment step following:
    AIX 5.3: BOE XI 3.1 :
    Copy all <INSTALLDIR>/bobje/enterprise120/java/applications/  to Windows Websphere D:\BO_WAS
    WebSphere 6.1 location & IP (windows) :
    C:\Program Files\IBM\WebSphere\AppServer1\
    IP: 192.168.69.10
    Log in to WebSphere Applicaton Server Administrative http://192.168.69.10:9060/admin
    1. Under the Applications heading of the console navigation menu, click
    Enterprise Applications on the left navigational pane.
    2. Click the Install button and navigate to the location of the WAR file to
    deploy. If deploying from a remote file system, select the Remote File
    System option.
    3. Enter a context root for the WAR file (e.g. /CmcApp for CmcApp.war)
    (this format (/CmcApp) for Unix OS, have different in Windows ? Could you give me fully path?)
    and
    press the Next button, followed by Continue.
    4. In "Step 1", give a unique name for your web application and proceed to
    "Step 2".
    5. Highlight the server you created (or highlight server1 if you didn't create
    your own) from the Clusters and Servers and enable the Select
    checkbox. Proceed to "Step 3".
    6. Select the virtual host you created (or default_host if you didn't create
    your own) from the Virtual Host drop-down list. Proceed to "Step 4".
    7. Review the summary page, and press Finish when done.
    8. Click Save to Master Configuration.
    9. Click the Save link, then the Save button.
    Finally the output is not available.
    Many thanks in advance and best regards

  • Build Failed while migrating Application credentials to standaloneWLS.

    I am using jdeveloper 11g update 2 and Weblogic10.3
    i am trying to Migrate Credentials and Policies to Standalone WebLogic.
    I am following the link :
    http://www.oracle.com/technology/products/jdev/tips/muench/credmig111100/index.html
    in the step 3.2 Migrating Application Credentials to Standalone WebLogic:
    when i am trying to execute the command :
    $ ant -Dapp-credstore=APPWORKSPACEDIR/src/META-INF/cwallet.sso
    I am facing error :
    BUILD FAILED
    F:\WLSoracle2\user_projects\domains\base_domain\migration\build.xml:48: The foll
    owing error occurred while executing this line:
    F:\WLSoracle2\user_projects\domains\base_domain\migration\build.xml:53: *** File
    app-cedstore=APPWORKSPACEDIR/src/META-INF/cwallet.sso doesn't exist!
    here i don't know the APPWORKSPACEDIR refers to what.
    here i am using the build.xml and jps-config.xml files as given in the above link.
    pLease if any one face the same error while deployment ,please tell me the solution.how can i remove this error.
    Sailaja

    Sailaja,
    APPWORKSPACEDIR is the directory your *.jws file resides in, so it the main application folder.
    Timo

  • Migrating Application from JDev 10.1.3.5 to JDev 11.1.2.2.; WebLogic issues

    Hi,
    I've been in the process of migrating an application we have from JDev 10.1.3.5. to the most current release. This involved migrating from OC4J to the WebLogic Server. After clearing up code-related issues, I have been trying to mitigate errors that came from deploying the application to the WebLogic server. I fixed (or so I think) the original error(see immediately below in italics) by deleting the servlet tag in both of the web.xml files (ViewController and Deploy) that are within the application. I also changed it to 'adfLibResources' per a previous thread on this topic.
    +<Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\priestem\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\o.j2ee\drs\Muster\ModelWebApp.war. Please make sure that the annotations are valid. The error is oracle.adf.view.faces.webapp.ResourceServlet>+
    Now I am getting the following errors:
    <Aug 6, 2012 3:24:28 PM CDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application C:\Users\priestem\AppData\Roaming\JDeveloper\system11.1.2.2.39.61.83.1\o.j2ee\drs\Muster\ViewControllerWebApp.war. Please make sure that the annotations are valid. The error is >
    <Aug 6, 2012 3:24:28 PM CDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1344284600393' for task '0'. Error is: 'weblogic.application.ModuleException: Failed to load webapp: 'Muster''
    weblogic.application.ModuleException: Failed to load webapp: 'Muster'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.UIXPanelTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    <Aug 6, 2012 3:24:28 PM CDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'Muster'.>
    <Aug 6, 2012 3:24:28 PM CDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to load webapp: 'Muster'
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         Truncated. see log file for complete stacktrace
    Caused By: java.lang.ClassNotFoundException: oracle.adfinternal.view.faces.taglib.UIXPanelTag
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         Truncated. see log file for complete stacktrace
    >
    [03:24:28 PM] Deployment cancelled.
    [03:24:28 PM] ---- Deployment incomplete ----.
    [03:24:28 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application Muster due to error deploying to IntegratedWebLogicServer.
    [Application Muster stopped and undeployed from Server Instance IntegratedWebLogicServer]
    Can someone please provide insight/direction? I restarted this whole process because I was not sure if I was making mistakes. But I have received this same exact error both times in both copies of the application code.
    Thanks,
    M. Priester

    I think your web.xml that is a part of the application had the following:
    <taglib>
    <taglib-uri>
    http://xmlns.oracle.com/adf/faces
    </taglib-uri>
    <taglib-location>
    /WEB-INF/lib/adf-faces-impl.jar
    </taglib-location>
    </taglib>
    I think this is not even your configuration but something that JDev added, thus you can consider testing removing this part of the code and test your application and verify the functionality.
    Regarding the possible issue during migration from 10g to 11g of Jdev, you can review the following thread:
    Class not found : oracle.adfinternal.view.faces.taglib.UIXPanelTag
    The missing class is a part of "adf-faces-impl-1013.jar" which seems to be specific to the JDev 10g, thus might not be even required by JDev11g.
    Also regarding the fact that how this seems to be an issue with missing class, please review the following API doc for better understanding of the classnotfoundexception:
    http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html
    Cheers,
    AJ

  • Getting error while migrating application

    * Process starts at 20120611_084547
    en_Resource id - 37020 unavailable. Resource id - 37057 unavailable. en_Resource id - 37057 unavailable.
    com.hyperion.lcm.clu.CLUProcessor,null[MESSAGE - java.util.MissingResourceException: Can't find bundle for base name com.hyperion.lcm.log.LCMCommonMessages, locale en_US, LCM METHOD CALL - com.hyperion.lcm.common.LCMLogger.getFormattedInfoMessage(1414), ROOT CAUSE - java.util.ResourceBundle.throwMissingResourceException(1427)]
    Above pasted is the error which I am recieving when running the Utility.sh script for migrating an application using XML defination file.
    Could anyone please explain the error. What is this resource_id unavailiblity all about.
    Thanking you guys in advance.

    Can you run the utility by providing a basepath? This will get exported to the root folder. The root folder should already exist.
    HTH-
    Jasmine.

  • Error while running migrated application

    Hi,
    We migrated the sample application (MigtoolboxSample)
    given in iMT1.1.1 from ND to JATO.
    It was deployed on iPlanet App server and war, ear files were created
    successfully.
    When we tried to run the MigToolboxSample application,
    It was giving errors as below.
    URL we used was:
    http://sto_ola3/NASApp/MigtoolboxSampleWar/MigtoolboxSample/IndexPage
    The ERROR was:
    [30/Nov/2001 17:01:46:8] error: Exception: SERVLET-execution_failed:
    Error in executing servlet MigtoolboxSampleServlet:
    java.lang.IllegalAccessError: try to access method
    com.iplanet.jato.Log.setServletContext(Ljavax/servlet/ServletContext;)
    V from class com.iplanet.jato.ApplicationServletBase
    Exception Stack Trace:
    java.lang.IllegalAccessError: try to access method
    com.iplanet.jato.Log.setServletContext(Ljavax/servlet/ServletContext;)
    V from class com.iplanet.jato.ApplicationServletBase
    at com.iplanet.jato.ApplicationServletBase.processRequest
    (ApplicationServletBase.java:351)
    at com.iplanet.jato.ApplicationServletBase.doPost
    (ApplicationServletBase.java:296)
    at com.iplanet.jato.ApplicationServletBase.doGet
    (ApplicationServletBase.java:266)
    at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service
    (HttpServlet.java:865)
    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:479)
    [01/Nov/2001 17:01:46:8] error: APPLOGIC-caught_exception: Caught
    Exception:
    thanx,
    ashu

    Hi Ravi
    This means that you are trying to access the lead selection of a context
    node which is not set. Just set the Initialization Lead Selection flag of that
    context node so the lead selection will always be set if the node contains
    elements.
    if you have sub nodes then problem could be that one of these subnodes does not get filled because
    the parent element is empty.
    Thanks
    Vishal kapoor

  • Invocation Target Exception while Migrating application to weblogic 10.3

    Hi All,
    We are currently migrating our application from weblogic 8.1 to weblogic 10.3.
    The deployment in wls 10.3 is successful, but while performing some operations(User Registration.. etc)
    we are getting SQLIntegrityConstraintViolationException.
    =================================================================================================
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.services.ConnPoolService - Param 0: java.util.Hashtable
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.services.ConnPoolService - Param 1: java.lang.String
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.services.ConnPoolService - Param 2: weblogic.jdbc.wrapper.PoolConnection_oracle_jdbc_driver_T4CConnection
    2010-10-27 17:03:50,968 DEBUG com.sns.ana.dbsource.AuthorisationDBSource - [addRolesToDB] rows: 0, sql: delete from tana_role where userid = 'odcwls104'
    2010-10-27 17:03:51,030 ERROR com.sns.ana.services.ConnPoolService - [getRestrictedService] InvocationTargetException:
    java.sql.SQLIntegrityConstraintViolationException: ORA-02291: integrity constraint (ESIUSER.FK_TANAROLE_UID) violated - parent key not found
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:85)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:947)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3462)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1349)
         at weblogic.jdbc.wrapper.PreparedStatement.executeUpdate(PreparedStatement.java:159)
         at com.sns.ana.dbsource.AuthorisationDBSource.addRolesToDB(AuthorisationDBSource.java:684)
         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.sns.ana.services.ConnPoolService.getRestrictedDataService(ConnPoolService.java:39)
         at com.sns.ana.services.DataServiceProvider.getRestrictedDataService(DataServiceProvider.java:45)
         at com.sns.ana.user.SNSUser.updateRoles(SNSUser.java:303)
         at com.sns.ana.utils.RoleUtility.processNewRequest(RoleUtility.java:114)
         at com.sns.ana.ui.servlet.ManageUserServlet.doPost(ManageUserServlet.java:395)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:502)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:432)
         at com.sns.ana.ui.servlet.ANAADMMainServlet.doPost(ANAADMMainServlet.java:741)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at com.sns.ana.ui.servlet.AuthorisationBaseServlet.service(AuthorisationBaseServlet.java:86)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3495)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    =================================================================================================
    Upon weblogic server shut down below NameNotFoundException is thrown.
    =================================================================================================
    BaseException: ClassName=null,MethodName=null,MajorCode=-1,MajorMsg=Message Not Available,MinorCode=null,ExceptionObjMsg=[DBConnection][getConnec
    tion]Unable to init database connection due to unresolved DataSource Name com.fortressit.ejb.PortableContextException: javax.naming.NameNotFoundE
    xception: While trying to look up comp/env/jdbc/ap2esiDSLocal in /app/webapp/webadminesi/26700672. [Root exception is java.rmi.ConnectIOException
    : Server is being shut down]; remaining name 'comp/env/jdbc/ap2esiDSLocal'
    While trying to look up comp/env/jdbc/ap2esiDSLocal in /app/webapp/webadminesi/26700672.
    at com.sns.base.util.DBConnection.getConnection(Unknown Source)
    at com.sns.ana.services.ConnPoolService.getParamsWithDBConnection(ConnPoolService.java:93)
    at com.sns.ana.services.ConnPoolService.getRestrictedDataService(ConnPoolService.java:35)
    at com.sns.ana.services.DataServiceProvider.getRestrictedDataService(DataServiceProvider.java:45)
    at com.sns.ana.ui.servlet.listener.CleanupAppSessionListener.sessionDestroyed(CleanupAppSessionListener.java:43)
    at weblogic.servlet.internal.EventsManager.notifySessionLifetimeEvent(EventsManager.java:265)
    at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:873)
    at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:69)
    at weblogic.servlet.internal.session.MemorySessionContext$SessionCleanupAction.run(MemorySessionContext.java:114)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.session.MemorySessionContext.destroy(MemorySessionContext.java:90)
    at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3062)
    at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:240)
    at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:457)
    at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1398)
    at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:492)
    at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:188)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
    at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:71)
    at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
    at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:124)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:417)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:91)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:83)
    at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:641)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:148)
    at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:138)
    at weblogic.application.internal.BaseDeployment.deactivate(BaseDeployment.java:234)
    at weblogic.application.internal.EarDeployment.deactivate(EarDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.deactivate(DeploymentStateChecker.java:199)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.deactivate(AppContainerInvoker.java:98)
    at weblogic.deploy.internal.targetserver.BasicDeployment.deactivate(BasicDeployment.java:263)
    at weblogic.deploy.internal.targetserver.BasicDeployment.deactivateFromServerLifecycle(BasicDeployment.java:458)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doDeactivate(DeploymentAdapter.java:73)
    at weblogic.management.deploy.internal.DeploymentAdapter.deactivate(DeploymentAdapter.java:211)
    at weblogic.management.deploy.internal.AppTransition$6.transitionApp(AppTransition.java:66)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deactivate(ConfiguredDeployments.java:198)
    at weblogic.management.deploy.internal.ConfiguredDeployments.undeploy(ConfiguredDeployments.java:191)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownApps(DeploymentServerService.java:188)
    at weblogic.management.deploy.internal.DeploymentServerService.shutdownHelper(DeploymentServerService.java:120)
    at weblogic.application.ApplicationShutdownService.halt(ApplicationShutdownService.java:142)
    at weblogic.t3.srvr.ServerServicesManager.haltInternal(ServerServicesManager.java:502)
    at weblogic.t3.srvr.ServerServicesManager.halt(ServerServicesManager.java:334)
    at weblogic.t3.srvr.T3Srvr.shutdown(T3Srvr.java:948)
    at weblogic.t3.srvr.T3Srvr.forceShutdown(T3Srvr.java:854)
    at weblogic.t3.srvr.T3Srvr$2.run(T3Srvr.java:867)
    ##### proxy instance has been created !!!
    =================================================================================================
    From the above exceptions i can infer that, the database connection failed due to unresolved datasource name.
    However we have configured all the Datasources, application seems to be having problem in wls 10.3.
    Waiting in anticipation for replies.
    Regards
    Avinash

    Hi Avinash,
    It seems that the application is not able to get the DataSource JNDI name which you have given that the reason you are getting the NameNotFoundException exception.
    Try to give the same JNDI name in the datasource which your application is trying to lookup, once you have created the datasource make sure you test the connection using Test Connection option by which you can be sure that if the test connection can get a connection from the DB everything is fine also check the JNDI tree if you can see the datasource JNDI name in there.
    Hope this helps you.
    Regards,
    Ravish Mody

  • Migrating applications from old PC to new Imac

    Recently upgraded to a new Imac. Was running old PC with Windows XP and had numerous applications installed on my iPhone. How do I migrate these applications to the mac? The computers are networked and shared.
    Any help would be appreciated.
    J

    Right-click one in iTunes, find its location from the Get Info window, and copy the item at that location as well as any others to the new computer, or redownload them from the iTunes Store on the new computer.
    (36370)

Maybe you are looking for

  • Creation of Inbound delivery mandatory for ASN process in classic scenario?

    Dear Experts, We are going for classic scenario for our green field SRM implementation process. Our client is not using  ASN process in their existing MM process. However, they are now looking for an oppurtunity to enable Suppliers to trigger ASN usi

  • Install R12  on Windows XP

    Gurus- I have a Windows XP sp2 , 1gb RAM and 40 GB internal HD with 500 gb External HDD. Trying to install R12 on windows. Also I have all the set of CDs/DVDs sent by Oracle. Please advice on below items 1. What are the required CDs?DVDS that I need

  • Photoshop locks up trying to recover a file

    Earlier, I was working on a photo with many layers and tried to switch to mask mode when it locked up.  After an hour of waiting for it finish, I finally terminated PS via Windows task manager.  Now, every time I go to start PS, it tries to recover t

  • Getting error in ADF Login security

    Hi Team, I am making security login mechanism. I referred - Oracle ADF 11g Security - Custom ADF Login Form - Part 1 (High) and part 2 video from youtube. I am not getting any error in my log but after entering username and password its giving me err

  • Suddenly Bounced emails - Is there something changed or bugged with the HPePrint services?

    Hello, We are using HPePrint with several printers on different locations for over a year now, without any real problems. But since yesterday, we get bounced email our of the blue. Nothing changed on our end, same email adresses used, but now our peo