Migration from Weblogic 8.1 SP1 server to Sun Java Application Server 8

Hi,
I have to migrate an existing application from Weblogic 8i to Sunone Application Server 8.
Can anyone please help me to know the kind of problems encountered in such a migration.
Also, If i have to port an application which uses 'Mssql' as the backend in weblogic and migrate it to sunone server and use Oracle as backend what r the changes to be made??
Also, If any weblogic specific api's or tag libraries are used then what r the changes to be made at the time of migration.?
Thanks in advance
Geeta

The type of issues you will encounter migrating this app depends on its complexity and how observant the programers were to writing portable code.
You will need to determine how compatible Mssql is to Oracle.
There may be changes you will need to make in the app deployment descriptors for this data.
You will need to replace the weblogic specific API's and tags.
This may require class substition, or writing emulators for the
APIs, or rewriting the code to not use these APIs.
The AVK can help you identify such portability issues.

Similar Messages

  • JCOM with Weblogic6.1(migrating from weblogic 6.0)

    Hello,
    We are currently running our application on Weblogic 6.0. Also we have a VB client
    which talks to Enity beans deployed in the Weblogic server, via JINTEGRA(jintegra.jar)
    Now, we are planning to migrate from Weblogic 6.0 to Weblogic 6.1. In this context,
    I have following questions,
    1]     Can I use JCOM for my requirement(talking to EJB's from VB client)
    2]     Is JCOM shipped along with Weblogic 6.1, if so is it shipped as a separate
    jar file or as part of weblogic.jar
    3]     With Weblogic 6.1, do I have to still install Jintegra.jar for accessing my
    beans from VB or does JCOM solve the purpose ?
    Would really appreciate if you could share your thoughts
    reg
    nilesh

    Hello,
    We are currently running our application on Weblogic 6.0. Also we have a VB client
    which talks to Enity beans deployed in the Weblogic server, via JINTEGRA(jintegra.jar)
    Now, we are planning to migrate from Weblogic 6.0 to Weblogic 6.1. In this context,
    I have following questions,
    1]     Can I use JCOM for my requirement(talking to EJB's from VB client)
    2]     Is JCOM shipped along with Weblogic 6.1, if so is it shipped as a separate
    jar file or as part of weblogic.jar
    3]     With Weblogic 6.1, do I have to still install Jintegra.jar for accessing my
    beans from VB or does JCOM solve the purpose ?
    Would really appreciate if you could share your thoughts
    reg
    nilesh

  • Migrating from SBS 2011 to Windows Server 2012R2 Standard with 365

    Im looking to move SBS 2011 to Server 2012R2 standard and with a 365 migration as well.
    Im thinking
    BPA for AD (health check)
    Add the Server2012R2 as a DC
    Ensure replication
    Move DHCP
    Change DNS
    Now this is where I get lost, now Im lost to use either dirsync or add essentials service, I have gone for standard and 30 cals with the option  as I have 28 users and the essentials service would make everything quite nice for remote access and backups
    etc....  however I don't know whether to just use dirsync with password replication instead ?
    Currently Im aiming towards getting the dc up and running then enabling essentials on the dc but I dont know how it will effect SBS and having essentials on the same network and sync'ing people to the cloud ? So Should I use DirSync on a different server
    instead to sync up to azure ?
    Finally with 365 I have only ever done a migration involving an export of pst's from an exchange box and then on a new domain with new pc's and reimport the pst's on the user accounts in outlook.
    However I have read when migrating to 365 was using exchange 2010 there was a application
    to move everything across however you needed an ssl cert iirc ? so I dont know how it works now since the nice new dashboard upgrade (assuming the tool has been updated like dirsync)
    along with the above how does AD now know where exahcnge if you use the migration app with an ssl cert and is it a case of still running the 365 config tool to configure each user to look at their mail in the
    cloud ? Also is it a good idea to enable essentials from the start of the 2012r2 dc for replication top 365 or to use dirsync ?
    then finally when replications is all good start transferring the FSMO roles over to the new DC and demote and remove the SBS server
    I have seen (below) but i dont think it covers this scenario and I cant be the only person in this situation =\ ?
    http://blogs.technet.com/b/infratalks/archive/2012/09/07/transition-from-small-business-server-to-standard-windows-server.aspx
    http://social.technet.microsoft.com/Forums/en-US/f552ef12-07a9-4f7a-bf5e-24500c3e1dc3/migrate-sbs-2011-to-server-2012-standard?forum=smallbusinessserver
    http://social.technet.microsoft.com/Forums/en-US/e1d4b09f-8857-4ef6-9a80-6a906e76b688/how-to-migrate-sbs-2011-to-standard-2012-server?forum=smallbusinessserver

    Hi,
    Would you please let us know current situation of this issue? If any update, please feel free to let us know.
    à
    Currently Im aiming towards getting the dc up and running then enabling essentials on the dc but I dont know how it will effect SBS and having essentials on the same network
    and sync'ing people to the cloud?
    I’m a little confused with the description. Did you mean that set up DC (Windows Server 2012 Standard) and
    then install the Windows Server Essentials Experience role? If so, when you migrate, please refer to the article:
    Migrate from Previous Versions to Windows Server 2012 R2 Essentials or Windows Server Essentials Experience
    Regarding to migrate Exchange to Office 365, please refer to following articles.
    Migrate
    All Mailboxes to the Cloud with a Cutover Exchange Migration
    Step-By-Step:
    Migrating from Exchange 2007 to Office 365
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft
    does not guarantee the accuracy of this information.
    Meanwhile, there is an additional article that you can refer to:
    Manage Office 365 in Windows Server Essentials. It may help us to understand Office 365 in Server Essentials clearly.
    If anything I misunderstand, please don’t hesitate to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • Error while migrating from Weblogic 8.1 to 10.1.3

    Hi
    I am getting the below error while building the xml during migrating from Weblogic 8.1 to 10.1.3.
    Could anyone please suggest how to resolve the below error:
    Error:
    Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/i18n/logging/LogMessage
    [java]      at weblogic.application.compiler.Appc.runBody(Appc.java:179)
    [java]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [java]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [java]      at weblogic.application.compiler.Appc.main(Appc.java:188)
    [java]      at weblogic.appc.main(appc.java:14)
    [java] Caused by: java.lang.ClassNotFoundException: weblogic.i18n.logging.LogMessage
    [java]      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [java]      at java.security.AccessController.doPrivileged(Native Method)
    [java]      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    Regards
    Kiran
    [java]      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [java]      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [java]      ... 5 more

    You have to make sure the LogMessage class (weblogic/i18n/logging/LogMessage) is in the classpath
    Using WebLogic Internationalization utilities: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/utilities.htm#i1011073
    and an example: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/textformatterclasses.htm#g1016464
    and: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13704/loggerclasses.htm#g1020871

  • JMS issues when migration from weblogic 9.2 to 10.3.5

    We are facing some issues when migration from weblogic 9.2 to 10.3.5
    In  weblogic 9.2 :_
    BMP Entity EJBs used in our project are read-only in nature using entity cache, below is the configuration details
    <!DOCTYPE weblogic-ejb-jar PUBLIC "-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN" "http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd">
    <weblogic-ejb-jar>
    <weblogic-enterprise-bean>
    <ejb-name>
    Company
    </ejb-name>
    <entity-descriptor>
    <pool>
    <max-beans-in-free-pool>300</max-beans-in-free-pool>
    <initial-beans-in-free-pool>150</initial-beans-in-free-pool>
    </pool>
    <entity-cache>
    <max-beans-in-cache>3500</max-beans-in-cache>
    <idle-timeout-seconds>100000</idle-timeout-seconds>
    <read-timeout-seconds>0</read-timeout-seconds>
    <concurrency-strategy>ReadOnly</concurrency-strategy>
    </entity-cache>
    Entity beans will get refreshed using the JMS messges. with in the MDB descriptor files(weblogic-ejb-jar.xml) we are using the provider URL directly and XA enabled connection factory is set to false.
    migration to Weblogic 10.3.5_
    With the same configurations MDB are not not getting deployed in weblogic 10 with some exception, so we removed the provider URL from weblogic-ejb-jar.xml and changed the JMS configuration to use foreign JMS and XA enable connection factory is set to true. Now when ever the JMS message is triggered Entity bean is not getting refreshed with the updated values. i.e values are stale.
    Can some one look into this and provide your inputs to resolve this issue.

    I think the Entity bean refresh problem appears to be unrelated to MDBs. The MDB is only responsible for getting the message to your application (which in turn interacts with Entity beans). You might want to try posting your question to an EJB newsgroup.
    Tom

  • Search not working in site collections migrated from MOSS 2007 to SharePoint Server 2013

    I have few site collections migrated from MOSS 2007 to SharePoint Server 2013 using database attach (first to 2010 and then to 2013).
    When I search for anything in these migrated sites, I get "Nothing here matches your search".
    Checked the crawl log for these sites and see this error for all items.
    The content processing component failed to process the security descriptor of the item. ( The input ACL is invalid (1210 / 2072).; ; SearchID =
    Some-Random-GUID )
    Search works fine in newly created sites in 2013 environment.
    Please help.

    Hello
    Did you migrate your users to claims when you migrated the databases?
    $wa = Get-SPWebApplication http://yourdom.com
    $wa.MigrateUsers($true)
    $wa.ProvisionGlobally()
    I assume the sites that work and the migrated content are in the same database?
    MCITP-EA | "Never test how deep the water is with both feet"

  • Migration from Weblogic 7.0 to 8.1

    Hi,
    I have this project where we have to migrate from Weblogic Portal 7.0 to 8.1 . I have a few questions,
    1. Is there any anything like a wildcard event in Page Flow, which existed in the Webflow?
    2. What about proxy nodes? Does Page flow support proxy nodes?
    The reason I ask is my webflow has these things and I need to manually convert it into a page flow.
    Thanks
    PS: This is just the beginning of a long path of migration.:-)

    Hi,
    I have this project where we have to migrate from
    m Weblogic Portal 7.0 to 8.1 . I have a few
    questions,
    1. Is there any anything like a wildcard event in
    Page Flow, which existed in the Webflow?i believe it does - you shoudl post your question on the pageflow newsgroups, as this is not portal specific
    2. What about proxy nodes? Does Page flow support
    proxy nodes?
    The reason I ask is my webflow has these things and I
    need to manually convert it into a page flow.
    Thanksfrom what i remember about webflow the proxy thing was just an IDE thing and as used to kind uf break up you weblows in to nested ones. Pageflow do support tru nested pageflows
    PS: This is just the beginning of a long path of
    migration.:-)

  • Migration from weblogic 9.2 to 11.g

    Hi
    I am trying to migrate from weblogic 9.2 to 11.g and I am getting the follwoing error :
    'weblogic.kernel.Default (self-tuning)'] - java.lang.NoSuchMethodError: org/apache/commons/pool/impl/GenericObjectPoolFactory.<init>(Lorg/apache/commons/pool/PoolableObjectFactory;IBJIIZZJIJZJZ)V
    My application is using commons-pool-1.4.jar and weblogic 11g is loading com.bea.core.apache.commons.pool_1.3.0 version from /apps/weblogic/Oracle/Middleware/modules
    How do I resolve this. I have a startup servlet class which will create a pool of objects using commons-pool-1.4 APIs.
    regards
    Hari
    Edited by: 997435 on 02-Apr-2013 00:50

    You can use filtering classloaders - http://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm#i1097930
    Some examples are given here: http://middlewaremagic.com/weblogic/?p=6725 (see the "Manipulating class loading" section).

  • Migrating from Weblogic 9.2 to 10.3.2 getting Error

    While Migrating from Weblogic 9.2 to 10.3, I am getting the following error. Please help me to solve this issue.
    <openjpa-1.1.1-SNAPSHOT-r422266:807362 fatal user error> org.apache.openjpa.util.MetaDataException: Errors encountered while resolving metadata. See nested exceptions for details.
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:563)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:248)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:219)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
    Truncated. see log file for complete stacktrace
    Caused By: java.lang.NullPointerException
    at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1874)
    at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1832)
    at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1749)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1622)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
    Truncated. see log file for complete stacktrace
    Dec 7, 2010 4:17:14 PM weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport preProcess
    WARNING: Error pre-processing class com.bac.fvo.model.exposure.RiskRatingExposure with weblogic.deployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl@1074a5f'
    <openjpa-1.1.1-SNAPSHOT-r422266:807362 fatal user error> org.apache.openjpa.util.MetaDataException: Errors encountered while resolving metadata. See nested exceptions for details.
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:563)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:248)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:219)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:139)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:120)
    at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(PersistenceProviderImpl.java:210)
    at weblogic.deployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(PersistenceUnitInfoImpl.java:547)
    at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPreProcessor.java:102)
    at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:357)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:338)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:269)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:177)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:37)
    at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:107)
    at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1008)
    at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1080)
    at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:758)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
    at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:227)
    at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:281)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1333)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1299)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:309)
    at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:270)
    at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:122)
    at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:78)
    at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70)
    at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:97)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1290)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:463)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:404)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:375)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:263)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:170)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:260)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:184)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
    at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
    at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:597)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:366)
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:254)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:198)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1801)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3045)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1397)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:460)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:39)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:196)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
    at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1874)
    at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1832)
    at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1749)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1622)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
    at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:616)
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:541)
    ... 95 more
    Thanks in Advance
    Sheejo Rapheal

    We have war application and we have antlr in preclasspath. have weblogic.xml entries as suggested. still it's going to OpenJPA.
    WARNING: Error pre-processing class com.bac.fvo.model.pricing.PricingVerificationPK with weblogic.de
    ployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl@3d8b1e3'
    <openjpa-1.1.1-SNAPSHOT-r422266:891341 fatal user error> org.apache.openjpa.util.MetaDataException:
    Type "class com.bac.fvo.model.pricing.PricingVerificationPK" with application identity and no superc
    lass does not declare an id class. This type is not eligible for builtin identity, so it must decla
    re an id class.
    at org.apache.openjpa.meta.ClassMetaData.validateAppIdClass(ClassMetaData.java:1858)
    at org.apache.openjpa.meta.ClassMetaData.validateIdentity(ClassMetaData.java:1834)
    at org.apache.openjpa.meta.ClassMetaData.validateMeta(ClassMetaData.java:1751)
    at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1624)
    at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepository.java:717)
    at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepository.java:616)
    at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:542)
    at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:308)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:248)
    at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:220)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform0(PCClassFileTransformer.java:
    139)
    at org.apache.openjpa.enhance.PCClassFileTransformer.transform(PCClassFileTransformer.java:1
    20)
    at org.apache.openjpa.persistence.PersistenceProviderImpl$ClassTransformerImpl.transform(Per
    sistenceProviderImpl.java:210)
    at weblogic.deployment.PersistenceUnitInfoImpl$ClassPreProcessorImpl.preProcess(PersistenceU
    nitInfoImpl.java:620)
    at weblogic.utils.classloaders.ClassPreProcessor$ClassPreProcessorSupport.preProcess(ClassPr
    eProcessor.java:102)
    at weblogic.utils.classloaders.GenericClassLoader.doPreProcess(GenericClassLoader.java:341)
    at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:322)
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:285
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:
    56)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:
    42)
    at org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:107)
    at org.hibernate.ejb.Ejb3Configuration.classForName(Ejb3Configuration.java:1008)
    at org.hibernate.ejb.Ejb3Configuration.addNamedAnnotatedClasses(Ejb3Configuration.java:1080)
    at org.hibernate.ejb.Ejb3Configuration.addClassesToSessionFactory(Ejb3Configuration.java:871
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:761)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
    at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersi
    stence.java:132)
    ApplicationContext.xml is
         <!--
              Activates various annotations to be detected in bean classes: Spring's
              @Required and @Autowired, as well as JSR 250's @PostConstruct,
              @PreDestroy and @Resource (if available) and JPA's @PersistenceContext
              and @PersistenceUnit (if available).
         -->
         <context:annotation-config/>
         <!--
              PostProcessors to perform resource injection according to the JPA specification
         (@PersistenceContext, @PersistenceUnit).
         -->
         <bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor"/>
         <!--
              Post-processor to perform exception translation on @Repository classes (from native
              exceptions such as JPA PersistenceExceptions to Spring's DataAccessException hierarchy).
         -->     
         <bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"/>
              <!--
              Will automatically be transactional due to @Transactional.
              EntityManager will be auto-injected due to @PersistenceContext.
              PersistenceExceptions will be auto-translated due to @Repository.
         -->
         <!-- enable the configuration of transactional behavior based on annotations -->
         <tx:annotation-driven transaction-manager="transactionManager"/>

  • Migrating from MCS7845 to UCS C210M2 Server for CUCM8.0

    Customer Alpha has CUCM and Nortel.
    (I.) Following is the CUCM Cluster breakup:
       - Location X: PUB, SUB1, SUB2
       - Location Y: SUB3
       - Location Z: SUB4, SUB5
    (II.) Location Z, Block-A has 10,000 users on Nortel which need to be moved to CUCM8.0 for which the following two new SUBSCRIBER's added to the existing CUCM Cluster:
        - SUB6, SUB7
        - SUB6 & SUB7 will be installed on a UCS C210M2 server
        - Customer will be shipped with two UCS C210M2 with dual  quad core 5640 processor
    2.In Location Z, currently SUB4 and SUB5 are on MCS 7845 server.
      Need to Migrate SUB4 and SUB5 on UCS C210M2 Server from MCS7845.
    This way, Location Z with SUBSCRIBERS(SUB4, SUB5, SUB6 and SUB7) will migrate to UCS C210M2 server platform.
    Rest of the locations namely- LocationsX & LocationY will continue running on MCS7845 platform.
    Need to understand the Migration strategy (point wise) keeping in mind, the PUB is in LocationX still on MCS and only the SUB- SUB4, SUB5, SUB6 and SUB7 will be on UCS platform in locationZ.
    Please share the steps required to perform this type of Migration.
    Thanks & Regards
    Sumit

    Hi Gajanan,
    Thanks for your prompt reply.
    SUB4 Migration from MCS7845 to UCS C210M2 server involves the following steps:
    Take SUB4 out of the Network.
    Install SUB4 on UCS C210-M2 server, just as a fresh install  and ensure the same SUB4 name is assigned on UCS what its there on the MCS7845 platform.
    While installation of SUB4, it ask for PUB details like IP Address, assign the reqd. details.
    Migrate the users assigned to SUB4 with SUB5 for the time being, this step should have been performed in the beginning.
    Once the installation is complete, you can re-install the users from SUB5 to SUB4.
    Database replication will take place from PUB
    Please confirm if Step4 is required or when we take the Backup using DRS of SUB4 and after the installation of SUB4 on UCS C210, restore the backup on SUB4 and then it would populate the users/phones  that were tregistered with SUB4 on MCS 7845 platform on to UCS C210M2 platform.
    Do we need to take DRS of the PUB or SUB4?
    Can you please put the steps in the correct order.....
    Follow the same steps fro SUB5 Migration from MCS7845 to UCS C210M2 server platform.
    Thanks & Regards
    Sumit

  • Sun Java Application Server problem

    Hi!
    Last year I developed a small servlet that would enable access to a serial port on a Windows system (a school project that required reading various parameters from a Microchip Microcontroller and display those params in a web age). The servlet works just fine when deployed on JAKARTA-TOMCAT servlet container (also tested recently and works fine on JAKARTA-TOMCAT 5.5.7).
    A few days ago I tried deploying the little web application on Sun Java Application Server and when I tried to initialize the serial communication (set the COM port and BAUD RATE), I get the following error:
    java.security.AccessControlException: access denied (java.io.FilePermission E:\j2sdk1.4.2_04\jre\lib\javax.comm.properties delete)Cand any one help? (I use the javax.comm to perform all the actions concerning the serial port. Also, my servlet uses a CommunicationClass that I have developed - inheriting the javax.comm.SerialPort as my base class).

    Well, I read some of the tutorials on security and file access stuff.
    What I found confusing is why does the application work fine when deployed in other web containers (TOMCAT, APACHE), and does not work in this one (SUN JAVA APPLICATION SERVER)??
    Also, the sdk is installed on a NTFS partition... I double check the permissions for the sdk directory and they're ok: read & execute for all users, write only for some registered users.....
    PS: please have some patience with me, as I am a novice in this matters (I am migrating from the C# and .NET environment - and that stuff is full of wizzards:P)

  • The Sun Java Application Server 8.1 could not start anymore

    Very incredible I was working fine from may days with Stydio Creator 2
    but yesterday I run the project and it does not work anymore, please can you suggest something:
    The Sun Java Application Server 8.1 could not start.
    from the Output console:
    C:\Sun\Creator2\SunAppServer8\bin\asadmin.bat start-domain --domaindir C:\Sun\Creator2\SunAppServer8\domains\ creator
    Failed to start server localhost:4848
    Deployment error: Failed to start server localhost:4848. See the server log file for details.
    Exception=Deployment error: Failed to start server localhost:4848. See the server log file for details.
    Deployment error: Failed to start server localhost:4848. See the server log file for details.
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:198)
    at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:75)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    at org.apache.tools.ant.Target.execute(Target.java:341)
    at org.apache.tools.ant.Target.performTasks(Target.java:369)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
    at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:234)
    at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:242)
    at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:125)
    Caused by: Failed to start server localhost:4848
    at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:152)
    ... 10 more
    and in the log file:
    [#|2006-02-24T11:49:51.296+0100|WARNING|sun-appserver-pe8.1_02|
    javax.enterprise.system.core|_ThreadID=25;|CORE5061: Exception :
    com.sun.appserv.server.ServerLifecycleException: [C4073]: A JMS destination limit was reached.
    Too many Subscribers/Receivers for Queue :
    temporary_destination://queue/192.168.0.159/3376/2 user=admin, broker=127.0.0.1:27676(2403)
         at com.sun.enterprise.jms.JmsProviderLifecycle.onTermination(JmsProviderLifecycle.java:476)
         at com.sun.enterprise.server.ApplicationServer.onTermination(ApplicationServer.java:454)
         at com.sun.enterprise.server.Shutdown.startShutdown(Shutdown.java:42)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.invokeShutdownEventListener(AdminEventMulticaster.java:1445)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.handleShutdownEvent(AdminEventMulticaster.java:1434)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.processEvent(AdminEventMulticaster.java:443)
         at com.sun.enterprise.admin.event.AdminEventMulticaster.multicastEvent(AdminEventMulticaster.java:139)
         at com.sun.enterprise.admin.server.core.channel.AdminChannelServer.sendNotification(AdminChannelServer.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
         at sun.rmi.transport.Transport$1.run(Transport.java:153)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
         at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
         at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
         at java.lang.Thread.run(Thread.java:595)
    thanks

    I just had the same problem this morning. I believe the app server starts and if you browser directly to your app you'd get it, but the connection between the appserver and the IDE is somehow lost. An easier solution than completely reinstalling for me was to delete the .Creator folder in my home directory (C;|Documents and Setting\<username>\.Creator) and restart Creator

  • Sun Java Application Server - Domain and Node agent stop automatically

    Hi,
    We have installed Sun Java Application server 8.1 in a local zone on Solaris 10. The installation was successful.
    A default domain (domain1) was created. We have deployed a sample application too.
    The problem is that the domain and node-agent stop automatically. And need to be restarted from asadmin start-domain command.
    Not sure why this problem is occurring. One solution given in Sun Java System AS 8.1 EE Troubleshooting Guide was to add these 2 lines in the /etc/inittab file to restart the domain and node-agent whenever the system re-boots.
    das:3:respawn:/opt/SUNWappserver/bin/asadmin start-domain user admin passwordfile /opt/SUNWappserver/password.txt domain1
    das:3:respawn:/opt/SUNWappserver/bin/asadmin start-node-agent user admin passwordfile /opt/SUNWappserver/password.txt node-agent-name
    Pls help me if I can change this inittab file from the local zone and if changing this file has any implications on the other zones on Solaris 10.
    Else is there any other way to resolve this problem?
    Any help would be highly appreciated.
    Thankyou.

    One thing not clear from the post was,
    * when it is going down automatically.
    * Are you facing the same problem even after starting through the asadmin
    * If so, Post the server.log from "domains/logs" during the starup.
    If you want to bring it up with system reboot, You need to have a startup script for that in init.d and have the links to rc2/3.d.

  • Sun Java Application Server 8.1 Upgrade Solaris 9 to Solaris 10

    I have Sun Java Application Server 8.1 (version 8.1_02 (build b06-fcs) ) and HA which are currently installed on Solaris 9 box (Sparc).
    Now, I plan to upgrade Solaris 9 to Solaris 10. What should I need to do before and after migration?
    Thanks.

    Before I start, disclaimer -- I have no knowledge of Hibernate and the following comments are based on the stack trace you have included.
    I think your permissions might be set all right but you might have an error in the hibernate query. It looks like hibernate uses antlr to parse the queries. While parsing the query, antlr is encountering an exceptional condition and is trying to exit the VM (by calling System.exit()). Obviously, the hibernate code does not have that permission and therefore the exception is logged.
    My guess is if you fix the query such that hibernate/antlr can parse it, you will not run into this error.
    Hope this helps,

  • User Role problems in Sun Java Application Server Platform Edition 8

    I am having two problems setting up user roles in Sun Java Application Server Platform Edition 8. At first, I thought that it was a problem with the higher level features that I was using, so I created a very simple example using the simplest authentication I can use, but the problem still occurs. I am using the file realm and configuring the users in the App Server Admin Console. I create 2 users in different roles. One user should have access, the other should not.
    1) The first problem is that both users can access the page
    2) The second problem is that the isUserInRole() method returns false for both users with the role that it should be authenticating against.
    Here is a sample of my code:
    Users Configured in Console:
    username password roles
    user1 ********** admin
    user2 ********** noaccess
    web.xml
         <security-role>
              <role-name>admin</role-name>
         </security-role>
         <security-constraint>
              <web-resource-collection>
                   <web-resource-name>My Protected Area</web-resource-name>
                   <url-pattern>/*</url-pattern>
              </web-resource-collection>
              <auth-constraint>
                   <role-name>admin</role-name>
              </auth-constraint>
              <user-data-constraint>
                   <transport-guarantee>NONE</transport-guarantee>
              </user-data-constraint>
         </security-constraint>
         <login-config>
              <auth-method>BASIC</auth-method>
              <realm-name>file</realm-name>
         </login-config>
         <servlet>
              <servlet-name>
                   TestServlet
              </servlet-name>
              <servlet-class>
                   mypackage.TestServlet
              </servlet-class>
              <security-role-ref>
                   <role-name>admin</role-name>
                   <role-link>admin</role-link>
              </security-role-ref>
         </servlet>
         <servlet-mapping>
              <servlet-name>
                   TestServlet
              </servlet-name>
              <url-pattern>
                   /TestServlet
              </url-pattern>
         </servlet-mapping>
    TestServlet.java:
              out.println("admin role: " + request.isUserInRole("admin") + "<BR/>");
    Thanks before hand for any responses.
    - Brian

    Hi Jeanfrancois,
    Your suggestion has lead me to find my problem. There were actually three problems.
    1) First, you suggestion to reorder my xml file did not cause any errors to occur. I got suspicious that my web.xml file was wrong. I looked at some sample web-xml files and found that I was missing the header as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
    2) When I added this information, the deploy feature failed stating the my web.xml file was out of order. I fixed the ordering. It now deployed, but the security still wasn't working.
    3) I then added the sun-web.xml file. This file was missing before hand as I thought it was unnessary. However, this file added the essential mapping from a role to a group. After adding this, it now started to work.
    Thanks so much for you time and effort. You really did help me.
    - Brian Blank

Maybe you are looking for