Migrating from weblogic 8.1 to sun one server

I need some documentation that could guide, in steps involved, in migrating an J2ee application from weblogic 8.1 to sun one application server.
Please help.

Do you have any migration guide from weblogic 8.1 to sunserver 8.1?
We want to know how to handle null in jsp? Because in weblogic 8.1, we can set printNulls to false in weblogic.xml file. Is there any way we can do this in sun server?

Similar Messages

  • 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

  • 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.:-)

  • 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

  • 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"/>

  • Sun one server 6.0 doesn't work well with explorer

    We've sun one server 6.0 sp4 running in a sparc server as SSL server and too as common server on port 80. The most our clients , 95%, are explorer browser users.
    The server has known bugs with SSL3 , interoperatibility with MSIE problem 532427. The solutions suggested in the server documentation don't work. We tryed the solutions suggested many times and in few time we got complaints from clients, people get "this page can't be displayed". I had to set the server to work with SSL2 only , althought security's reports tell that this protocol is not safe.
    The second bug is concern the latencies loading pages with explorer. I apply the solution suggested, KeepAliveQueryMeanTime 1, it doesn't work well too. We don't feel the latencies on new machines or light browsers as avant , but we still feel these latencies with old machines or if the users uses modem. A lot of people still see very strong latencies.
    I feel the server wasn't tested enough with explorer browser , it has so many compatibility problems with this browser.I think for the most webmasters the perfect compatibility with explorer is very important.
    We payed for this server and it is worst than apache ,apache group fixed the SSL problem long time ago. Only one thing we need doesn't work well in apache then we contenue to use sun one server. But this diference is not enough to justify the use of this server if sun don't fix these problems. I'm talking about problems they exist more than 1 year, they were when i installed the server then i contenue to work with iplanet 4.1 and SSL2. I read the new version server characteristics, version 6.1 , i didn't find anything telling that these problems were fixed.
    Yair Lapin
    Hebrew University Webmaster

    Yair -
    Unfortunately this is a little vague. Can you tell us specifically what problem(s) you're having (unfortunately your current message does not go into adequate detail for us to understand the problems you see, or to make recommendations about how to remedy them).
    Thanks
    Joe

  • Sun one server 7 and sun app server 8 incompatibility

    I had all my ejb code running nicely on sun one server 7. Now I have to port to 8 and while the same ear file deploys successfully, I'm unable to make any create calls on my CMP beans. I get server side error "argument type mismatch", but I've checked and rechecked all arguments, number and type, but can't find anything wrong. Any pointers?

    The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.

  • NoDomainToStart with Sun One Server 7

    I am getting the error NoDomainToStart, when I start
    Sun One Server 7. What is the solution. Pls. respond soon.

    The new one is supposed to be backward comptible. In any case, I've run the migration tool and redeployed, but same issues exist.

  • FedEx Sun One server does not allow POST

    Hello,
    I am attempting to communicate with FedEx's Direct XML Track. They use a Sun One Server v. 6.1 w/ SSL. When I do a POST with my XML document, I get back a 504, Method Not Allowed. Have communicated with FedEx technical support to no avail. Have downloaded server 6.1 and installed, trying to reverse-problem solve. Cannot see anywhere in the server where POSTs might be set to prohibited. The FedEx documentation specifically says to use a POST, which of course makes sense. Has anyone successfully used FedEx XML Direct, and/or could supply me with a hint as to why this might be happening? Also, am URL-encoding the reuest. Here's the code:
    public class FedexHTTPS {
    static final int HTTPS_PORT = 443;
    public static String enc = "encoding='UTF-8'";
    public static String subRequest = "<?xml version = '1.0' encoding = 'UTF-8'?><RequestHeader><AccountNumber>xxxxxxxxx</AccountNumber></RequestHeader>     <Contact><PersonName>name </PersonName><CompanyName>Ubercom</CompanyName><Department>ActiveIdentity</Department><PhoneNumber>xxxx</PhoneNumber><E-MailAddress>[email protected]</E-MailAddress></Contact><Address><Line1>12 main st</Line1><Line2/><City>Leesburg</City><StateOrProvinceCode>VA</StateOrProvinceCode><PostalCode>20111</PostalCode><CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>>";
    public static String address = "gatewaybeta.fedex.com";
    public static void main(String argv[]) throws Exception {
    String encData=null;
    try {
    encData = URLEncoder.encode(subRequest,"UTF-8");
    } catch (Exception ex){
    System.out.println("Exception: " + ex.getMessage());
    //System.out.println(encData);
    int length = encData.length();
    // Get a Socket factory
    SocketFactory factory = SSLSocketFactory.getDefault();
    // Get Socket from factory
    Socket socket = factory.createSocket(address, HTTPS_PORT);
    /*BufferedWriter out = new BufferedWriter(new
    OutputStreamWriter(socket.getOutputStream())); */
    BufferedReader in = new BufferedReader(
    new InputStreamReader(socket.getInputStream()));
    OutputStream out = socket.getOutputStream();
    String xmlEnc = "application/x-www-form-urlencoded";
    String msg = "GET / HTTP/1.0\r\nContent-Length: " + length
    + "\r\nContent-Type: image/gif"
    + "\r\nReferer: www.EDS.com"
    + "\r\nHost: SSLserver.fedex.com"
    + "\r\nAccept-Encoding: image/jpeg"
    + "\r\nAccept: application/x-www-form-urlencoded, image/gif,image/jpeg,image pjpeg, text/plain,text/html/,*/*"
    + "\r\n\r\n" ;
    out.write(msg.getBytes());
    out.flush();
    String line;
    StringBuffer sb = new StringBuffer();
    while((line = in.readLine()) != null) {
    sb.append(line);
    out.close();
    in.close();
    System.out.println(sb.toString());
    }

    I cleaned up the XML (thanks) and re-did using jakarta - still get the 504 Not Allowed....
    public class FedexPost {
          public static String subRequest = "<?xml version="1.0" encoding="UTF-8"?><FDXSubscriptionRequest>     <RequestHeader>          <AccountNumber>1111111111</AccountNumber>     </RequestHeader>     <Contact>          <PersonName>name</PersonName>          <CompanyName>EDS</CompanyName>          <Department>ActiveIdentity</Department>          <PhoneNumber>7037773333</PhoneNumber>          <E-MailAddress>[email protected]</E-MailAddress>     </Contact>     <Address>          <Line1>10 Main St</Line1>          <Line2/>          <City>Anytown</City>          <StateOrProvinceCode>VA</StateOrProvinceCode>          <PostalCode>20175</PostalCode>          <CountryCode>US</CountryCode></Address></FDXSubscriptionRequest>";  
        public FedexPost() {
         * @param args the command line arguments
        public static void main(String[] args) {
            String encData=null;
            try {
               encData = URLEncoder.encode(subRequest,"UTF-8");
            } catch (Exception ex){
                System.out.println("Exception: " + ex.getMessage());
            // TODO code application logic here
            HttpClient httpclient = new HttpClient();
            PostMethod httpsPost = new PostMethod("https://gatewaybeta.fedex.com/");
            httpsPost.setRequestHeader("Connection", "close");
            try {
                httpsPost.setRequestEntity(new StringRequestEntity(encData, "application/x-www-form-urlencoded", "UTF-8"));
                httpclient.executeMethod(httpsPost);
                System.out.print(httpsPost.getStatusLine());
                System.out.println(httpsPost.getResponseBodyAsString());
            catch (IOException ex) {
                System.out.println(ex.getMessage());
            finally {
                httpsPost.releaseConnection();
     

  • Error flushing the output stream in Sun One server

    Hi All,
    I was running my servlet code in iPlanet 6.0 version and it was working fine. I upgraded my web server to new Sun One server (Oracle-iPlanet-Web-Server-7.0.9). With the new web server almost 90% of my application works fine, but there is a features in my application to download an Excel sheet by clicking a button. This feature is failing in new Sun One web server.
    Below are my piece of code and the error log I m getting. Can anyone tell me how I can fix this error, I mean is there any web server specific change or configuration parameter need to be set.
    Please ask for any information regarding my server configuration settings if needed for finding a solution for this
    Code:
    byte abyte0[] = new byte[1024];
    BufferedInputStream bufferedinputstream=null;
    BufferedOutputStream bufferedoutputstream=null;
    java.io.InputStream inputstream = httpurlconnection.getInputStream();
    bufferedinputstream = new BufferedInputStream(inputstream);
    bufferedoutputstream = new BufferedOutputStream(httpservletresponse.getOutputStream());
    int j;
    long byteCount=0;
    while((j = bufferedinputstream.read(abyte0, 0, 1024)) != -1)
    byteCount=byteCount+j;
    if(logger != null && logger.traceOn())
    logger.log("total"+byteCount);
    logger.log("Read bytes:"+j);
    bufferedoutputstream.write(abyte0, 0, j);
    if(logger != null && logger.traceOn())
    logger.log("Wrote bytes:"+j);
    bufferedoutputstream.flush(); // <<<<<< ERROR POINT >>>>>>
    Error Log :
    ClientAbortException: java.io.IOException: WEB8004: Error flushing the output stream
    at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:343)
    at org.apache.coyote.tomcat5.OutputBuffer.flush(OutputBuffer.java:313)
    at org.apache.coyote.tomcat5.CoyoteOutputStream.flush(CoyoteOutputStream.java:147)
    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:124)
    at com.reuters.bdec.as.ASRequestHandler.processResponse(ASRequestHandler.java:285)
    at com.reuters.bdec.as.ASRequestHandler.initiateGetRequest(ASRequestHandler.java:89)
    at com.reuters.bdec.as.ASRequestHandler.proceedToDestination(ASRequestHandler.java:220)
    at com.reuters.bdec.as.ASExtension.authorisationCheck(ASExtension.java:84)
    at com.reuters.bdec.as.ASExtension.doGet(ASExtension.java:114)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:794)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:915)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:255)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:187)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.service(NSAPIProcessor.java:160)
    Caused by: java.io.IOException: WEB8004: Error flushing the output stream
    at com.sun.webserver.connector.nsapi.NSAPIProcessor.action(NSAPIProcessor.java:243)
    at org.apache.coyote.Response.action(Response.java:197)
    at org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:339)
    ... 20 more

    Don't flush it yourself. The servlet container will automatically flush for you once its send buffer is full. You can change the size of the send buffer though.

  • Which clients are using my Sun One server for authentication?

    We use Sun One ver. 5.2 .
    Our LDAP clients use it for authentication.
    How can I list which clients recently used the Sun One server to authenticate?
    The reason I need that is because I want to upgrade the Sun One server and I want to notify the clients that I'm about to do it.
    Thanks.

    https://www.redhat.com/archives/fedora-directory-users/2005-September/msg00010.html
    Useful script to extract LDAP based user posixGroup memberships information
    ===
    Assuming you are using posixGroup objectclass and memberUid attribute to
    store your membership information, you may find my shell script useful
    and handy.
    It works on Solaris LDAP Client with "ldapaddent" and "ldaplist"
    commands, and works against FDS, SUN DS or OpenLDAP.
    ===
    Gary

  • Migration from Crystal Enterprise 10 to SAP Crystal Server 2011

    Hi all,
    We are currently using Crystal Enterprise 10 to schedule and view our reports and the designer is Crystal Reports 10 .
    we are planning to migrate to SAP Crystal Server 2011 with Crystal Reports 2011 as the designer.Can we do this migration directly or do we need to do the migration to an intermediate version before going to SAP Crystal Server 2011.
    Regards,
    Sreekanth S S

    1. So in this case, I need to migrate from Crystal Enterprise 10 to Crystal Reports Server XI R2/Crystal Reports Server 2008 or more using import wizard Then I will need to migrate from Crystal Reports Server XI R2/Crystal Reports Server 2008 to SAP Crystal Server 2011 using Upgrade Manager tool. Is my inference correct?
    That is correct. For XI R2, it would be XI R2 SP2 minimum. And you need to have a live installation of XI R2 SP2 as SAP does not have it in archieve download area.
    2.What is the potential risk if we try to migrate from Crystal Enterprise 10 to SAP Crystal Server 2011 using upgrade manager tool?
    I am not sure if that will work with success, If the reports migrated from CE10 do not work in CRS2011, it would be unsupported. You can however try it anyways.
    3.Can we open the reports developed using Crystal Reports 10 designer in Crystal Reports 2011 designer? .This is for another requirement of us where we have to just migrate the reports alone .
    Yes you can do that. Try opening and running them in CR2011, they should work but some of them can also result in some errors here and their, this is more specific to report design and what kind of grouping\ filtering\formulas you use.

  • Sun One Server in Windows

    I installed Sun one server in NT machine and tried creating a port. It is not providing the support for Servlets directory whereas iPlanet 4.1 provides it by means of giving a style "ServeltByExtn" while creating the additinal direcctories. How can it be done?

    Are you sure you would like to use server grade software running over a toy OS?
    Just an opinion!

Maybe you are looking for