Migrating a spring application  from tomcat 6 to dea weblogic 10

We deployed a spring application to TOMCAT 6.0. The application works. When the application is deployed in bea weblogic 10. it generates a a page not found.

Did you get the page not found on the index/welcome page or other pages? Do you see any exception in the server log? Can you give us a little info on your app?
It would be great if you can attach your app, or simiple reproducer so we can help you.
thanks
Michael

Similar Messages

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

  • Document root element is missing: migrating spring app from tomcat

    Hi!
    can anybody help me with this issue?
    I have ported my tomcat spring application to netweaver(6.40, SP 17, Windows 2k SP4) and i get the following error:
    Error occured in invoking event "contextInitialized()" on listener clas
    s com.webapp.listener.StartupListener. The error is: org.springfram
    ework.beans.factory.BeanCreationException: Error creating bean with nam
    e 'sessionFactory' defined in ServletContext resource [/WEB-INF/applica
    tionContext-hibernate.xml]: Initialization of bean failed; nested excep
    tion is org.hibernate.MappingException: Could not parse mapping documen
    t in input stream
    org.hibernate.MappingException: Could not parse mapp
    ing document in input stream
         at org.hibernate.cfg.Configuration.addIn
    putStream(Configuration.java:430)
         at org.springframework.orm.hibernat
    e3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.j
    ava:654)
         at org.springframework.beans.factory.support.AbstractAutowir
    eCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactor
    y.java:1059)
         at org.springframework.beans.factory.support.AbstractAut
    owireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.j
    ava:363)
         at org.springframework.beans.factory.support.AbstractBeanFac
    tory.getBean(AbstractBeanFactory.java:226)
         at org.springframework.bea
    ns.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java
    :147)
         at org.springframework.beans.factory.support.DefaultListableBea
    nFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:269)
         at org.springframework.context.support.AbstractApplicationContext.ref
    resh(AbstractApplicationContext.java:320)
         at org.springframework.web.
    context.support.AbstractRefreshableWebApplicationContext.refresh(Abstra
    ctRefreshableWebApplicationContext.java:134)
         at org.springframework.w
    eb.context.ContextLoader.createWebApplicationContext(ContextLoader.java
    :246)
         at org.springframework.web.context.ContextLoader.initWebApplica
    tionContext(ContextLoader.java:184)
         at org.springframework.web.contex
    t.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:4
    9)
         at com.ifx.webapp.listener.StartupListener.contextInitialized(Star
    tupListener.java:42)
         at com.sap.engine.services.servlets_jsp.server.r
    untime.context.WebEvents.contextInitialized(WebEvents.java:45)
         at com
    .sap.engine.services.servlets_jsp.server.container.ApplicationThreadIni
    tializer.run(ApplicationThreadInitializer.java:112)
         at com.sap.engine
    .core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.sec
    urity.AccessController.doPrivileged(Native Method)
         at com.sap.engine.
    core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.
    sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    C
    aused by: org.dom4j.DocumentException: Error on line 1 of document  : D
    ocument root element is missing. Nested exception: Document root elemen
    t is missing.
         at org.dom4j.io.SAXReader.read(SAXReader.java:482)
         at
    org.hibernate.cfg.Configuration.addInputStream(Configuration.java:421)
         ... 18 more
    And yes, the xml files are valid xml files at least in anything i've used to look at them (eclipse, ultraedit, notepad, ie) :).....
    Thank you!
    ps. the file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
        "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
        <!-- Hibernate SessionFactory -->
        <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
            <property name="dataSource" ref="dataSource"/>
            <property name="mappingResources">
                <list>
                    <value>package/ModelObj1.hbm.xml</value>
                    <value>package/ModelObj2.hbm.xml</value>
                </list>
            </property>
            <property name="hibernateProperties">
                <props>
                    <prop key="hibernate.dialect">org.hibernate.dialect.Oracle9Dialect</prop>
                </props>
            </property>
        </bean>
        <!-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -->
        <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
            <property name="sessionFactory" ref="sessionFactory"/>
        </bean>
        <!-- Generic DAO - can be used when doing standard CRUD -->
        <bean id="dao" class="com.dao.hibernate.BaseDAOHibernate">
            <property name="sessionFactory" ref="sessionFactory"/>
        </bean>
    </beans>

    hi istvan,
    we are also migrating from websphere to netweaver.
    But in spring framework we r facing problems.
    We hav spring-beans.jar file in lib dir of Web Application. But When we are creating BeanFactory from xml as,
    BeanFactory beanFactory = new ClassPathXmlApplicationContext ("client-config.xml");
    clent-config.xml file contains :
    [code<?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
    <beans>
         <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer" >
              <property name="location">
                   <value>conf/service-client/client.properties</value>
              </property>
         </bean></beans>
    [/code]
    But code is giving exception: ClassNotFoundException -org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.
    Wat is the problem ?
    Kindly help.
    We are also using JAAS for authentication.We are refering above code from our LoginModules login() method.
    Regards,
    sagar.

  • How can i migrate a single application from my old macbook to my new macbook

    Can I migrate only single applications or files using the migration assistant? how?

    I feel I've explained plenty what you must do but you aren't getting it.
    All music on your old iPhone should be in your iTunes library on your computer. Transfer the music from your iTunes library on your computer to your new iPhone in the same way it was transferred from your iTunes library to your old iPhone - via the iTunes sync/transfer process.
    Since you prefer the manual way, you must manually drag and drop the same 377 songs from your iTunes library to your new iPhone - in the same way the 377 songs were manually transferred from your iTunes library to your old iPhone.
    Or you can sync which provides more options overall. Create an iTunes playlist for the 377 songs. Select Sync Music under the Music tab for your iPhone sync preferences with iTunes and choose selected playlists, artists, albums, and genres. Select the iTunes playlist below that includes the 377 songs followed by a sync.  

  • Migration of Planning Applications from 9.2 to 11.1.12

    Hi All,
    How to see the installed Planning version (applications, and all objects)?
    Actually We were trying to migrate planning applications from 9.2 ( planning web and 1.5.0.0034 is desktop) to 11.1.1.2 version. I have followed steps as follows
    1) Create the users as per earlier planning application in SS (optional assume)...I didn't do.
    2) Creating Database(DB) for New Planning application
    3) Create Data source connection to the created DB for creating application
    4) Create the application in planning in accordance with outline of given backup files
    5) Restore DB.bak file from backup into newly created DB
    6) Restart planning service
    7) Open Planning web application, after login you can see migrate option there...click it
    But when I click that migrate button, I wondered to see that it is throwing the following error....
    "The application Version is invalid. Existing version : 4.1.1, Expecting version 11.1.1.2"
    Please advise...
    Appreciate your responses on the same.
    Thank you

    We have tried this but are unable to log in to the v11 planning app after copying the 9.x schema. updatuserd.cmd fails with a comment in the log about v9/v11 version mismatch.
    In v9, our users are via an LDAP server and in v11, they will be via AD so the users can't possibly match anyway.
    We are wondering how it is possible to migreate our v9 Planning apps to v11 now ...

  • Migration of large application from JDK1.4 to 1.6

    Hi,
    I want to migrate some large application code base's from jdk1.4 to jdk1.6. Need some help regarding this. Please let me know the following as mentioned below :
    1. Is there any tool/s available that can be used for this migration (Because manually it is very difficult for a application with almost 15,000 java files and 15 * 10^6 KLOC within a limited time frame).
    2. Steps that should be followed in such cases.
    3, If any tool is not available for such activity what are the salient points that are needed to be considered while migrating.
    Thanks in advance
    AnjanN

    I want to migrate some large application code base's from jdk1.4 to jdk1.6. Need some help regarding this. Please let me know the following as mentioned below :
    1. Is there any tool/s available that can be used for this migration (Because manually it is very difficult for a application with almost 15,000 java files and 15 * 10^6 KLOC within a limited time frame).
    2. Steps that should be followed in such cases.
    3, If any tool is not available for such activity what are the salient points that are needed to be considered while migrating.
    What is it that you think needs to be 'migrated'?
    Most applications will run just fine using 1.6 - it is compatible with 1.4 already.
    You need to conduct your own tests using 1.6 to see if there are any problems/issues with your app.

  • Migrate Hyperion Planning application from 9.3.3 to 11.1.2 by using CopyApp

    Dear sir,
    Iam using hyperion 9.3.3 and i want to migrate my planning application to hyperion 11.1.2.1 by using CopyApp.cmd.
    I am trying to use this utility and got some error after executing the command...I have created a property file i.e CopyApp.properties.
    APP1_JDBC_CATALOG=SAMP
    APP1_JDBC_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
    APP1_JDBC_URL=jdbc:hyperion:sqlserver://hyp:1433
    APP1_JDBC_USERNAME=sa     
    APP1_JDBC_PASSWORD=sa
    APP1_JDBC_DATABASE_TYPE=SQL
    APP1_OLAP_SERVER=hyp
    APP1_OLAP_USERNAME=admin
    APP1_OLAP_PASSWORD=password
    APP1_OLAP_APPNAME=SAMP
    APP2_JDBC_CATALOG=AMRP
    APP2_JDBC_DRIVER=hyperion.jdbc.sqlserver.SQLServerDriver
    APP2_JDBC_URL=jdbc:hyperion:sqlserver://server2:1433
    APP2_JDBC_USERNAME=sa     
    APP2_JDBC_PASSWORD=sa
    APP2_JDBC_DATABASE_TYPE=SQL
    APP2_OLAP_SERVER=server2
    APP2_OLAP_USERNAME=admin
    APP2_OLAP_PASSWORD=password1
    APP2_OLAP_APPNAME=AMRP
    Also..iam using the command to execute this utilty...please take a look below...
    C:\Hyperion\Planning\bin>CopyApp /S:SAMP /T:AMRP /P:C:/Hyperion\Planning\AppServer\InstallableApps\CopyApp.properties
    But after executing this command ..i got some error. Please take a look into this error
    ***Exception in thread "main" java.lang.RuntimeException: SAMP_JDBC_DATABASE_TYPE***
    ***is undefined or it's value is null***
    ***at com.hyperion.planning.copyapp.CopyAppHelper.getConnectionInfo(Unknown Source)***
    ***at com.hyperion.planning.copyapp.CopyAppHelper.getConnectionInfoFromPropertyFile(Unknown Source)***
    ***at com.hyperion.planning.copyapp.CopyApp.main(Unknown Source)***
    Kindly Please help me out..
    Regards
    Rahul

    Rahul,
    As John pointed out, copyapp may be available between different versions of planning but is not compatible between different versions of the software. When a copyapp command runs, it connects to shared services, planning and essbase data sources and basically performs an export and import of data. It works on the premise that structure for export is same as structure for import. However, the underlying architecture for shared services (moving away from openldap) and planning tables, essbase (security outside .sec file) has changed and there you cannot just export and import between different versions of software.
    HTH
    Amit

  • Migration of web application from 8.1 to 9.2

    Can anybody tell me how to migrate a web application (ear, war archive) from version 8.1 to 9.2. I believe that the application can simply be transferred and deployed in 9.2 from 8.1 and it works well. But if it doesnt work, do i need to change anything in the desciptor files or anything.
    Thank you

    Well you could still use servicegen ... I'll try to look into this some more.
    -Jesus

  • What are the steps to Migrate a Web Service from Tomcat to JBoss

    Hi,
    I am totally new to JBoss and need some help. I mostly worked on BEA and Oracle. I have a web service deployed on Tomcat that needs to be now migrated to JBoss. What are the steps in moving a web service from Tomcat to JBoss.
    Is there some step by step tutorial on developing and deploying a web service on JBoss along with sample build script.
    Any help is really appreciated.
    Thanks

    R u using axis. If you want to stick with axis and don't want to use JBossWS there is nothing else you need to do. Move all the axis to Jboss. If you plan to reimplement all ur services in JBossWS here it is:
    http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start
    http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide
    Let me know if you need anything else.

  • Web Service Security is not working when migrating application from Tomcat

    Hi,
    We have a application running successfully in tomcat6 It calls a Webservice call through TIBCO BW interface.
    When we deployed the same WAR file in Weblogic 10.3.2, it gives me a error on Prefix[ds] not able to locate namespace URI not found error.
    IN Tomcat, its a existing application uses AxilUtility to get the soap messages after signing document for bothe encyption and decryption.
    Please anybody help me out, is there any other jars needs to be locate in Weblogic to run this application. Its fine with Tomcat and gives error in Weblogic10.3.2
    Please help me out
    Thanks in advance

    Hi Rajkumar,
    Thanks for you reply. Please let me now if you have any ideas..thnks a lot....
    Below is the error message what i am getting through weblogic console.
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
    ervletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
    ontext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
    ava:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.io.IOException: error:weblogic.xml.stream.XMLStreamException: Pr
    efix [ds] used without binding it to a namespace URI
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:744)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readChildren(XMLNode.java:1054)
    at weblogic.xml.xmlnode.XMLNode.read(XMLNode.java:742)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:713)
    at weblogic.xml.xmlnode.XMLNode.readInternal(XMLNode.java:722)
    at weblogic.xml.xmlnode.NodeBuilder.build(NodeBuilder.java:44)
    at weblogic.xml.xmlnode.NodeBuilder.<init>(NodeBuilder.java:24)
    at weblogic.webservice.core.soap.SOAPEnvelopeImpl.<init>(SOAPEnvelopeImp
    l.java:154)
    at weblogic.webservice.core.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.j
    ava:200)
    ... 78 more
    java.lang.NullPointerException
    at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
    at com.db.alat.wss.WSSClient.postSoapMessage(WSSClient.java:358)
    at com.db.alat.wss.WSSClient.WSSEncDec(WSSClient.java:102)
    at com.db.alat.service.CollateralAccounts.getAccountsSummary(CollateralA
    ccounts.java:55)
    at com.db.alat.CH.CHMapper.getGroup(CHMapper.java:281)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.getClientDataCH(Borrower
    DetailsBean.java:1034)
    at com.db.alat.BackingBeans.BorrowerDetailsBean.<init>(BorrowerDetailsBe
    an.java:766)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
    orAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
    onstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:355)
    at java.lang.Class.newInstance(Class.java:308)
    at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186
    at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106)
    at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368)
    at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:222)
    at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver
    .java:86)
    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELRe
    solver.java:72)
    at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
    at com.sun.el.parser.AstValue.getValue(AstValue.java:107)
    at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
    And i have the loggers which gives the system out statements. You can identify the difference in both logs is the sys out ...Convert Signed Document back to Soap Message.
    IN tomcat i am getting the return object after calling the method
    SOAPMessage signedMsg = (SOAPMessage) AxisUtil.toSOAPMessage(signedDoc);
    But in Weblogic i am getting NULL. You can c in SOAPMessageImpl[SOAPPartImpl[null]]
    Tomocat Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@c393a1
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">7cf8e78f86212a65398d50766de95a762318d3eee1350c1105d4b751825a690b</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) DOCUMENT is .......:[#document: null]
    2011-04-21 05:35:56,906 8672 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) KEYSTORE is .......:java.security.KeyStore@127fa03
    2011-04-21 05:35:57,078 8844 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................3.........................
    2011-04-21 05:35:57,094 8860 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................4.........................
    2011-04-21 05:35:57,297 9063 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Signed Document is .......:[#document: null]
    2011-04-21 05:35:57,437 9203 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) Convert Signed Document back to Soap Message .......:[email protected]33662
    2011-04-21 05:35:57,469 9235 INFO [com.db.alat.wss.WSSClient] (http-8080-1:) ..................................5.........................
    Weblogic Logs:
    Message Context..................1.........................org.apache.axis.MessageContext@460d4
    2011-04-26 01:15:45,859 2640 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Unsigned Envelop............2.........................<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><RqDetail xmlns="http://schemas.db.com/esb/emf/pwm/ALAT/Services/CLIENT-getCandidateCollateralAccounts-RR" xmlns:cli="http://schemas.db.com/esb/emf/pwm/ClientElements" xmlns:com="http://schemas.db.com/esb/emf/pwm/CommonAggregates" xmlns:com1="http://schemas.db.com/esb/emf/pwm/CommonElements">
    <cli:ClientID BusinessUnit="CH">2b285aa27f1899d87de00f04099506ad24aaf1c18b0b6b071a8acd19b1732fb9</cli:ClientID>
    <cli:ClientType>B</cli:ClientType>
    <com:Field>
    <com1:Name>INITIALPAGE</com1:Name>
    <com1:Value>YES</com1:Value>
    </com:Field>
    </RqDetail></SOAP-ENV:Body></SOAP-ENV:Envelope>
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) DOCUMENT is .......:[#document: null]
    2011-04-26 01:15:45,875 2656 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) KEYSTORE is .......:java.security.KeyStore@167d3c4
    2011-04-26 01:15:45,984 2765 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................3.........................
    2011-04-26 01:15:46,016 2797 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................4.........................
    2011-04-26 01:15:46,234 3015 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Signed Document is .......:[#document: null]
    2011-04-26 01:15:46,313 3094 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) Convert Signed Document back to Soap Message .......:SOAPMessageImpl[SOAPPartImpl[null]]
    2011-04-26 01:15:46,328 3109 INFO [com.db.alat.wss.WSSClient] ([ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)':) ..................................5.........................

  • Migrating application from tomcat to jboss

    My application is working on tomcat but when try to deploy the same application war file it gives the following error
    no valid JNDI binding. Check the jboss-web/resource-ref.
    My web.xml is like this(only giving few lines here)
    <resource-ref>
    Inventory Source
    <res-ref-name>jdbc/InventorySource</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    Jboss-web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <jboss-web>
    <!-- Uncomment the security-domain to enable security. You will
    need to edit the htmladaptor login configuration to setup the
    login modules used to authentication users.
    <security-domain>java:/jaas/jmx-console</Dsecurity-domain>
    -->
    <reference-ref>
    <res-ref-name>jdbc/InventorySource</res-ref-name>
    <jndi-name>java:jdbc/InventorySource</jndi-name>
    </reference-ref>
    </jboss-web>
    postgres-ds.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Example of the pointbase 4.8 datasource configuration -->
    <!-- $Id: pointbase-ds.xml 23720 2004-09-15 14:37:40Z loubyansky $ -->
    <local-tx-datasource>
    <jndi-name>jdbc/InventorySource</jndi-name>
    <use-java-context>false</use-java-context>
    <connection-url>jdbc:postgresql://localhost:5432/demo</connection-url>
    <driver-class>org.postgresql.Driver</driver-class>
    <user-name>admin</user-name>
    admin
    <type-mapping>PointBase</type-mapping>
    </local-tx-datasource>
    Please help me
    Thanks
    Parimoj

    In web.xml making the following entry:
    <web-app>
    <description>MySQL Test App</description>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    Next, add a file jboss-web.xml under WEB-INF/ folder of the web-application. This file should contain entry as:
    <jboss-web>
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <jndi-name>java:/jdbc/test</jndi-name>
    <res-auth>Container</res-auth>
    </resource-ref>
    </jboss-web>
    Next, in JBOSS_HOME/server/default/deploy folder make a xx-ds.xml file or else, a similiar file can be found in that same folder with the name hsqldb-ds.xml. Make following entries in that xml file:
    <datasources>
    <local-tx-datasource>
    <jndi-name>/jdbc/test</jndi-name>
    <type-mapping>MySQL</type-mapping>
    <connection-url>jdbc:mysql://localhost:3306/shopping_cart</connection-url>
    <driver-class>com.mysql.jdbc.Driver</driver-class>
    <user-name>root</user-name>
    <password>root123</password>
    <min-pool-size>1</min-pool-size>
    <max-pool-size>5</max-pool-size>
    </local-tx-datasource>
    This should bind the jndi name.
    In our client application, we need to look up as:
    Context ctx = new InitialContext();
    DataSource ds = (DataSource)ctx.lookup("java:/jdbc/test");
    Connection conn = ds.getConnection();
    This works perfectly.

  • Easiest way to migrate existing web modules from Tomcat to JDeveloper9i

    Hi
    What is the easiest way to migrate from an existing web module developed with Tomcat or Forte to a Web Project in JDeveloper9i.
    Thanks

    Oracle9i JDeveloper has WAR import facility.
    You can import existing web applications/WAR into projects
    raghu
    JDev Team

  • Migrating third-party applications from 4.x to 5.x

    Hi all.
    My customer wants to migrate its CUCM 4.1.3 to 5.1.3. He has some third-party applications that read CDR's and process the information. I've heard that in version 5.x it's not possible to directly access to CDR in order to obtain the required data but you have to use the CAR tool. Is this true? Or you can use Informix commands via a third-party application to access the information at CDR's?
    Thanks for your help.

    The CDR records are stored in flat files and then FTPd or SFTPd to your choice of up to 3 billing servers.If you upgrade from Cisco Unified CallManager 4.x, Cisco Unified CallManager saves the CDRs in the CAR database to CSV files. The Data Migration Tool uses these CSV files to upgrade the CAR database. The system stores the CSV files in /common/download/windows/car. The system stores the pregenerated reports in /common/download/windows/pregenerated.
    Because Cisco Unified CallManager 5.x does not use a CDR database to store CDR records as in previous releases, the CDR data does not migrate to the Cisco Unified CallManager 5.x system.
    http://www.cisco.com/univercd/cc/td/doc/product/voice/c_callmg/5_0/service/serv504/car/carovrvw.htm#wp1102412

  • Steps to migrate Hyperion Planning application from 9.2.0 to new 9.3.1 env

    We currently have 9.2.0 Hyperion planning installed in a windows env. We are planning to setup a new Hyperion planning env on a totally new hardware upgraded env. Would be appreciate if some can outline steps invloved to migrate Hyperion Planning apps, forms, BR ect from 9.2.0 to the newly setip 9.3.1 env. Is there any documentation, URL's to do the above. Any help would be greatly appreciated. Any issue to look out for, setbacks details would be helpful.
    Thanks..

    Hi,
    One way of doing it would be :-
    Create a new database for your planning application 9.3.1
    Create a datasource to the database
    Create a fresh planning application on version 9.3.1 make sure the admin is the same name as your old 9.2 planning app
    Go into the database tables for the planning app and look at table HSP_USERS, store the SID value against user 50001
    Go into the database planning system tables and HSPSYS_APPLICATION, clear out the version field for the application you have created
    Stop Planning
    Restore the 9.2 planning application database over the one created in the first step
    Go into the HSP_USERS table and update the SID for user id 50001
    Start planning
    Go to planning web and you should see your application when you try and log in it should take you to a migrate screen.
    If you are requiring to migrate users as well, you will have to make sure you create them in Shared Services and then use the updateusers utility in the planning bin directory.
    Or you could try using the copy app utility though I don't believe it is the best utility about and not sure how it handles between different versions(http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_hp_admin/ch09s01.html)
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Migrating Hyperion Planning Applications from 11.1.2.2(old server) to 11.1.2.3(Development Server)

    HI All,
    I have  1 PSPB, 1 PFP and one OPEX Planning Applications in 11.1.2.2 old server which we are planning to move these apps into new development server having Hyperion11.1.2.3v installed. I have gone thru few documents but im still in dilemma that can we go ahead with LCM backup and export apps in old server thru LCM backup and place it in File system area of new development server like we do usually or do we need to upgrade the 11.1.2.2 old server with maintenance release and then taking LCM backup of that upgraded applications only, we can migrate in new server having 11.1.2.3?
    Please guide
    Thanks

    A)Created a planning shell application with the same name as that of 11.1.2.2 planning application
    B)Backup 11.1.2.2 planning schema
    c)Restore the old schema 11.1.2.2 to new environment 11.1.2.3
    D)update the SID ,Only if the userid (Default :admin) is different for 11.1.2.3   version
    E)Restart the planning services
    or make use of Planning Upgrade wizard
    A)Logon to workspace (11.1.2.2)under Administer-> Classic Application Administration-> Planning Administration
    B)Go to Classic Application Wizard ->Upgrade Wizard
    or also try with the lcm way.
    Thanks,
    Sreekumar Hariharan

Maybe you are looking for