JNDI differences between Tomcat and Web Logic 6.1

I am looking at two difference piece of code :
Application developed and deployed under Tomcat ( perfectly working )
Context initCtx = new InitialContext();
Context ctx = (Context) initCtx.lookup("java:comp/env");
// Get a Connection
DataSource pool = (DataSource) ctx.lookup("jdbc/WebApps");
// Getting connection
con = pool.getConnection();
This is instead an application developed and deployed under Web Logic
Context ctx = new InitialContext();
DataSource ds = (DataSource) ctx.lookup("dbase");
// Connection
con = ds.getConnection();
when i deploy the WL application in Tomcat ( as a WAR file ) I got "dbase name not bound in this context", any guess why this is happening even though I already set up the server.xml :
<Resource auth="Container" name="dbase" type="javax.sql.DataSource"/>
<ResourceParams name="dbase">
<parameter>
Unfortunately I cannot rewrite the WL code so I need to work on Tomcat
Thanks in advance
Leonardo

Thanks for your reply,
However I think I have not been clear.
This is the situation. We have Web Logic on production and Tomcat on our Intranet.
So I am in need of making the WLogic app working under Tomcat "Without touching the code" of the application. The only thing I can modify at this point is the Tomcat installation. If it's possible.
The only problem I have is with the piece of code of the Data Base Connection. I got "dbase is not bind in this context".
Leonardo

Similar Messages

  • Difference between ITS and Web Application Server

    Hi All,
       What is ITS server. Can anyone explain me the difference between ITS and WAS(Web Application Server)
    Thanks
    Harpreet

    Hi Harpreet:
    ITS is basically the tool that allow you to use SAP via http. Theres lots of info about <a href="http://help.sap.com/saphelp_nw04/helpdata/en/0d/654d356560054ce10000009b38f889/frameset.htm">ITS</a> or <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/5f/0ef441ad7bc417e10000000a155106/frameset.htm">WebAS with Integrated ITS</a>
    The ITS is a standalone application connected to R3 via RFC connection, In the SAP WebAS the ITS is integrated to the system.
    Hope this help!
    Juan
    PS: Please reward with points if helpful

  • Difference between ITS and web dynpro abap

    Hi Experts.
    Can any explain me what is the main difference between  EWT/ ITS and web dynpro abap. Basically i am going to developed some existing EWT in webdynpro ABAP , so i want to know what are the advantage of WD ABAP over ITS .
    Thanks in Advance.
    Satya

    Closing thread, thanks for your help.
    Thanks,
    Satya

  • Difference between PNP and PCH logical database

    WHats the difference between PNP nd PCH? When to use which??
    Tx

    Hi,
    The Difference is only with in an SAP R/3 system in which Concurrent Employment is active, reports are executed by the PNPCE logical database. The general logic of the PNPCE logical database corresponds to the PNP logical database. The PNPCE logical database can also process the concept of Concurrent Employment.
    HR Logical Databases
    In Human Resources (HR), the following logical databases can be used as a data source for HR InfoSets:
    PNP (PNPCE)
    PAP
    PCH
    By selecting a logical database, you determine the HR data that can be reported on using an InfoSet.
    Logical Database PCH
    This logical database generally enables you to report on all HR infotypes. However, you are advised not to use this logical database unless you want to report on Personnel Planning data.
    Logical Database PNP (or PNPCE)
    Use logical database PNP to report on HR master data. It is possible to use logical database PCH to access this data, but PNP meets such reporting requirements more quickly because it is best suited to the task of selecting persons.
    Logical database PNP enables you to access HR master data and infotypes from Personnel Planning. For example, you have the following options:
    Reporting on the costs, number of attendees booked, and instructor for a business event on which an employee is booked
    Reporting on working time and planned compensation for a position that an employee occupies
    Reporting on the validity and proficiency of a qualification that an employee fulfils
    From a technical perspective, this means you can use PNP to report on all of the infotypes that exist for objects (infotype 1000) that have a direct relationship (infotype 1001) with the Person object.
    The ability to access infotypes from Personnel Planning using logical database PNP is a special feature that you can only use in the context of SAP Query and Ad Hoc Query. You cannot use this functionality for ABAP reports you programmed yourself.
    You can also use logical database PNP to report on data from Personnel Time Management (infotypes 2000 to 2999) and Payroll (special payroll infotypes for the USA and customer infotypes; for more information, access Customizing for the Human Resources Information System and see Payroll Results).
    Logical Database PAP
    Logical database PAP enables you to access data from Recruitment.
    Check this link for more details
    http://help.sap.com/saphelp_erp2004/helpdata/en/e1/e1f83f6e5a11d687620000e82158f1/frameset.htm
    <b>Reward points</b>
    Regards

  • Differences between eCommerce and Web Channel

    Hi.  I'm really new to SAP.  I'm looking at leveraging some of the built-in e-commerce functionality of SAP.  I've read a few articles on the SAP help site but I can't distinguish the differences between the following 2 solution options:
    1) ERP eCommerce
    2) CRM Web Channel
    From what I've read, both of the above technologies do relatively the same thing.  Can someone let me know if this is true, or if not, where I can find details on when to use one versus the other?
    Thanks!
    - Dylan

    Hi,
    please let me try to clarify this.
    Both of the solutions are actually based on the same Java web applications. This means both applications share the same core functionality. The main difference between ERP eCommerce and CRM Web Channel is the backend system used for the web shop.
    The reason why SAP offers two different backends for the web shop is pretty simple. Each backend is suitable for different requirements. While running the web shop with a CRM backend, some additional features related to the marketing functionality of SAP CRM are available. These addtional features include cross- and upselling, campaign management and advanced catalog management. For customers that don't need these marketing features or don't want to invest in a SAP CRM system, there is the ERP eCommerce solution. While the shop system is the same, some of the additional features offered in the CRM version are missing.
    I hope that solves the problem for now. If you have more questions on the difference between the two solutions please let me know.

  • Difference between Client and Web

    hello
    i am newbie to EJB, I have started the online tutorials, on this tutorial nothing has mentioned about the difference between application client and Web application.
    I am sort of confused why do we have to have both of them?
    I know that web application should run from a web browser, but what happens if i ignore the application client?
    I am trying to make a simple application to use ejb which connects to a databse and a web application to show the results. Can i just develope ejb and a set of jsp to interact as web application?
    could someone help me please
    cheers

    The difference is simple:
    A web client is a so called 'thin client' just displaying the information created and processed somewhere else.
    A standalone client is a fat client which uses the ejb only to retrieve data and manages the user interaction by himself.
    So a web application is basicly a fat client wich uses a web browser as a display (web browser is a display) thats why you have to implement a set of jsp and servlets which present the data to the user.
    I you want e.g. a java program to interact with your beans to get data from the database you will have to code an application client. But it doesn seem like this, so your idea is right. Have fun implementing...

  • Difference between EP and Web AS JAVA

    Hi all,
    I am new to EP. I wish to know the clear differences, if any.
    I work in a project where there is an enormously complicated landscape. There is a 'central portal' (EP 7.0); services from backend ABAP systems are accessed. Every ABAP system (ECC, CRM, BI, XI etc.) has a corresponding Java system (Web AS Java's). They seem to be referred to as 'portals' too. I see that EP and the Java systems are same; look and feel wise. I see that we can do user/system/content administration in both of them. 
    What are the fundamental differences, if any? Help!
    Thanks and regards,
    Rosun

    Hi,
    the best person to answer your questions is the person responsible for the landscape at our company. To differentiate between Web AS Java and Portal: The portal is an application that runs on top of Web AS Java. GRC runs also on top of Web AS Java, but it's not the portal. Look at Web AS Java as it is a Java application server like JBoss or glassfish.
    Without knowing the details of your landscape it's hard to give you an answer. In a complex SAP landscape you may have:
    - a ECC system and a portal for ESS/MSS
    - a BI system with a portal for accessing the BI reports by a browser
    - SRM system with a portal that serves as an access point to IACs or POWL
    - CRM is using nowadays BSP (ABAP)
    - a central portal system that unifies the access to the other systems. In this case, we are talking about Federated Portal Network (FPN)
    br,
    Tobias

  • Difference between webpublish and web gui builder

    Have you worked with webpublishing tool in LABVIEW 2013 before? Do you think I can show my front panel which is designed in Labview fully on the web by this method?
    Please make your advice about it. I have studied few articles about web gu builder, webpublishing and webservers but I am still not clear which one can simply satisfy my objective?
    My objective is to display the graphical front panel which is designed in labview .vi exactly on the web. 

    Portal Servers are usually Application servers which host a 
    variety of Applications, Portals as a concept are single Gateway 
    to whole lot of information and applications(could be 
    distributed across systems, generally Web based ones). 
    Eg. BEA Weblogic Portal 
    Content Management systems are applications to Capture, Manage, 
    version, distribute and Store content. Content can be Structured 
    and Unstructured. Generally I have seen when CMS word is used, 
    it means Web Content Management, although this is not a norm 
    across the industry. 
    I am sure you are aware of WCMS and ECMS differences. 
    E.g Interwoven TeamSite, Documentum, OpenCMS etc. 
    CMS facilitates the ready availibility of content to be shown on 
    Portal in large Portals (the concept). This content could be 
    sourced in from various systems and distributed by the CMS. 
    Essentially any CMS deals with Content Creation, Content 
    Management proper, Content Intelligence and Content 
    Distibution. 
    However important thing to note could be the emerging products 
    which are Portals and have a built in CMS tool also, like BEA 
    (Aqualogic in particular). There is another genere of products 
    like Vignette, Broadvision which are Portals and CMS both in one 
    (have CMS products built in but as a seperate component). 

  • Bean differences between tomcat and oracle

    All I have created a session bean in a servlet and am trying to use it in a jsp page. On my localhost I am using Apache Tomcat 4.0 and everything works fine. In my test environment I am using oracle9i's app server and I am getting a "java.lang.ClassCastException: class" exception.
    Code snippets follow - If anyone can help I would appreciate it.
    Thanks in advance
    Servlet snippet
    public class index extends HttpServlet
    public void doGet(HttpServletRequest req,HttpServletResponse res) throws ServletException,
    IOException
    try{
    res.setContentType("text/html");
    PrintWriter out = res.getWriter();
    HttpSession session = req.getSession(true);
    WebModel model = (WebModel)session.getValue("model");
    if (model == null) {
    model = new WebModel();
    session.putValue("model", model);
    jsp use bean snippet
    <jsp:useBean id="model" class="ngtvsmodel.WebModel" scope="session"/>
    <jsp:setProperty name="model" property="*"/>

    Does this make any sense to anyone??
    I have been banging my head against the wall all day.
    Please help.

  • Difference between JVM  of web browser and  JVM of webcontainer?

    hi friends , I am babu pursuing mca final year
    i have one doubt that is ........
    What is the difference between JVM of web browser and JVM of web container ?
    plz clarify my doubt

    Who said there's a difference?
    (By "web container" I assume you're talking about a servlet container or JSP container like tomcat.)

  • What is the difference between != and Logical NOT operator

    kindly,tell me what is the difference between Not Equality operator and logical negation operator.
    Edited by: user13414134 on Dec 3, 2010 8:59 AM

    what is the difference between != and Logical NOT operator The NOT operator is transformed into the inequality operator (&lt;>), as can be seen from the Predicate Information of the explain plan:
    SQL> explain plan for select * from dual where  :x != :y
    Explain complete.
    SQL> select * from table(dbms_xplan.display())
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 3752461848                                                    
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |    
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     2   (0)| 00:00:01 |    
    |*  1 |  FILTER            |      |       |       |            |          |    
    |   2 |   TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |    
    Predicate Information (identified by operation id):                            
       1 - filter(:Y&lt;>:X)                                                          
    14 rows selected.
    SQL> explain plan for select * from dual where not :x = :y
    Explain complete.
    SQL> select * from table(dbms_xplan.display())
    PLAN_TABLE_OUTPUT                                                              
    Plan hash value: 3752461848                                                    
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |    
    |   0 | SELECT STATEMENT   |      |     1 |     2 |     2   (0)| 00:00:01 |    
    |*  1 |  FILTER            |      |       |       |            |          |    
    |   2 |   TABLE ACCESS FULL| DUAL |     1 |     2 |     2   (0)| 00:00:01 |    
    Predicate Information (identified by operation id):                            
       1 - filter(:Y&lt;>:X)                                                          
    14 rows selected.

  • Difference between physical and logical standby database

    What is the difference between physical and logical standby database?

    Hi,
    Physical Standy where its a read only DB.
    Logs are applied.
    Logical Standy where it can be Read / Write DB and the logs are applied in terms of SQL Statements.
    Thanks & Regards,
    Pavan Kumar N

  • Differences between Hyperion Workspace, Web Analysis and Financial Reportin

    Hello,
    Can anybody explain me the differences between Hyperion Workspace, Web Analysis and Financial Reporting?
    Thank you

    In real simple terms....
    Financial reporting - Perfect for producing standardised monthly reporting such as P&L, balance sheets etc. Highly formatted, print well in PDF format.
    Web Analysis - Highly graphical, web based analysis tool more suited to dashboards, pinboards etc with slice and dice capability.
    Workspace - Common environment where reporting content in deployed. Users can access web anlysis, fin reports, Interactive reports plus other content through the workspace. It was the start of the 'log on to one place for all reporting' concept instead og logging on to multiple products.
    Hope that helps
    Regards
    CD

  • Difference between CAF and GP?

    Dear All,
    Can any one explain me what is the difference between CAF and GP? what is the difference between the CAF application and webdynpro application? In which senario we will go for CAF development and in which senarion we will go for GP application. Can we deploy the CAF/GP application in Enterprise Portal?
    Thanks in advance
    With Regards,
    Balachander

    Composite Application Framework consist of two parts
    1. CAF Core
    2. CAF GP (Guided Procedure).
    CAF core is used to model the the services. Composite Application Framework (CAF Core) service-oriented architecture and the standardized object access allow for uniform treatment of business processes as servicesand business objects independent of the underlying system. CAF Core integrates the elements of all the SAP NetWeaver integration layers to facilitate the creation of new business solutions across people, information, processes and application object repositories. Composite Application Framework Core (CAF Core) is an environment for building andrunning packaged composite applications (PCAs) such as SAP Collaborative Cross Applications (xApps).CAF Core supports the development of new business solutions across people, information, and processes by unifying elements from all layers of the SAP NetWeaver technology platform.
                                   CAF Core is a comprehensive environment, which includes programming abstractions, a
    programming model, metadata, and tools to support the development and deployment of
    composite applications based on Enterprise Services Architecture (ESA). This environment
    allows developers to build applications, which leverage the whole SAP NetWeaver stack
    without the need to feed low-level APIs. This way, they can focus on implementing the
    business logic of a composite application. SAP CAF comes with predefined generic patterns
    for reuse in different development projects.
    CAF Core consists of the following main elements:
    • Composite Application Services perspective, which includes a tool for modeling entity,
    application, and external services
    • Configurable user interface components
    • CAF Core administrative tool
    • CAF Core and SAP Business Information Warehouse (SAP BW) integration.
    CAF GP (Guided Procedure) : CAF GP is used for process or orcastration. Anything you want to integrate with GP you will firat go through Callable Object. For Each Callable Object has one Action. So callable Object and Action are mapped with 1:1. On the top of Actions you need to create Block and on the top of Block you will Create Process.
    Difference between the CAF application and webdynpro application: CAF application CAF Core) is used for modeling services. The services may be local in respect of CAF or remote (like RFC, BAPI, Web Service). But Web Dynpro application is used to develop the UI (User Interface). You can Line your CAF application with Web Dynpro Applicationa and ultimatelly you can expose the web dynpro application as a Callable Object which will be integrategrated with Guiged Procedure. Another ways for developing your UI using VC(Visual Composer), CAF UI Pattern.
    If you need more details let me know.
    Thanks and Regards
    Chandan

  • Difference between action and event

    Hi
    while creating an action, we will find action & event handler.  What is the difference between Action and event.  If anyone provide with examples, it will be helpful for me.
    regards,
    vijaya.

    HI,
    In simple words we can put it as..IF you need any user interaction.. i.e. if your logic is based upon how user interact with your application then use Action..
    e.g. Buttons, dropdown UI elements...etc..
    Means actions are act between user and your application.
    But your application not only communicate with user.But also communicate with server too.
    so to communicate with server you need and Event
    Note. In Web Dynpro, events are called actions if they are sent from the client to the server.

Maybe you are looking for