Multiple web catalog files for same rpd

Is there any way to run multiple web catalog files for same rpd in OBIEE?

Why do you want to do that? Why not merge them into one? You run seperate presentation servers againt the same RPD.
Regards
John
http://obiee101.blogspot.com/

Similar Messages

  • How to create multiple pof configuration files for c# client

    Is there a way to have multiple pof files for c# coherence client?
    Can I create a file called my-pof-config.xml with the following line...
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    <include>assembly://Coherence/Tangosol.Config/coherence-pof-config.xml</include>
         <include>file://pof-config.xml</include>
    and here is what pof-config.xml file look like
    <?xml version="1.0" encoding="UTF-8"?>
    <pof-config xmlns="http://schemas.tangosol.com/pof">
    <user-type-list>
    In my C# visual studio project, this is where I load my-pof-config.xml in app.config
    <coherence>
    <cache-factory-config>coherence.xml</cache-factory-config>
    <cache-config>coherence-cache-config.xml</cache-config>
    <pof-config>my-pof-config.xml</pof-config>
    </coherence>
    and this is what I saw in the log...
    2012-02-23 14:35:35,529 DEBUG Coherence (null) - 2012-02-23 14:35:35.529 level(thread=System.Threading.Thread): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    2012-02-23 14:35:35,545 DEBUG Coherence (null) - 2012-02-23 14:35:35.545 level(thread=System.Threading.Thread): Loaded included POF configuration from "EmbeddedResource(Uri = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml, AbsolutePath = assembly://Coherence/Tangosol.Config/coherence-pof-config.xml)"
    2012-02-23 14:35:35,623 DEBUG Coherence (null) - 2012-02-23 14:35:35.623 level(thread=ExtendTcpCacheServiceCSharp:TcpInitiator): Loaded POF configuration from "FileResource(Uri = file://my-pof-config.xml, AbsolutePath = D:\worktrees\ads\mainline\v2\ads\demos_cs\build\my-pof-config.xml)"
    I don't see pof-config.xml is loaded at "Loaded included POF configuration....". How do I get around it so I can load multiple pof configuration files for c# client?

    Hi,
    Not sure about C# but I would suggest try removing file:// from
    <include>file://pof-config.xml</include>and keep pof-config.xml and my-pof-config.xml in the same directory.
    Hope this helps!
    Cheers,
    NJ

  • Log4J - file appender (2/more file for same package/class)

    Hi All,
    My requirement is i want to create 2 log file for same package.
    EG: com.foo.bar
    my code:
    log4j.rootCategory= ALL, fileAppender,stdout
    log4j.appender.fileAppender=org.apache.log4j.RollingFileAppender
    log4j.appender.fileAppender.File=c:\\temp\\test.log
    log4j.appender.fileAppender.MaxFileSize=64KB
    log4j.appender.fileAppender.layout=org.apache.log4j.PatternLayout
    log4j.appender.stdout=org.apache.log4j.ConsoleAppender
    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
    log4j.appender.file1=org.apache.log4j.RollingFileAppender
    log4j.appender.file1.File= file1.log
    log4j.appender.file1.MaxFileSize=64KB
    log4j.appender.file1.MaxBackupIndex=1
    log4j.appender.file1.layout=org.apache.log4j.PatternLayout
    log4j.appender.file1.layout.ConversionPattern=%p %t %c - %m%n
    log4j.appender.file2=org.apache.log4j.RollingFileAppender
    log4j.appender.file2.File= file2.log
    log4j.appender.file2.MaxFileSize=64KB
    log4j.appender.file2.MaxBackupIndex=1
    log4j.appender.file2.layout=org.apache.log4j.PatternLayout
    log4j.appender.file2.layout.ConversionPattern=%p %t %c - %m%n
    log4j.appender.file3=org.apache.log4j.RollingFileAppender
    log4j.appender.file3.File= file3.log
    log4j.appender.file3.MaxFileSize=64KB
    log4j.appender.file3.MaxBackupIndex=1
    log4j.appender.file3.layout=org.apache.log4j.PatternLayout
    log4j.appender.file3.layout.ConversionPattern=%p %t %c - %m%n
    // THIS IS FOR ClIENT
    log4j.logger.com.ls.es.service=DEBUG, file1
    // THIS IS FOR SUPPORT
    log4j.logger.com.ls.es.service=DEBUG, file2
    // THIS IS ERROR MESSAGE
    log4j.logger.com.ls.es.service=ERROR, file3
    Here file1 is for Client(Client Admin)and file2 is for Support.
    but am getting only file3.log file which is for Error Message..
    some where configuration is missing...
    Thanks,
    by
    dhana

    I have created a class that allow to create easily new logs:
    1.- Switch the Root Logger output
    2.- Create as many logs as desired (I build a simple web server, each new client has a log associated to it).
    Main problem: code and comments in spanish.
    Are you intereseted on it? Let me know, I can send it to you by mail.
    Cesar

  • Automate creation of web.xml file for tomcat 4.1.29

    hi , this is with ref to Tomcat 4.1.29, if i am correct, each Servlet in the application has to be mentioned in the web.xml file for the Tomcat to know about it. Is there any way to automate the creation of web.xml file , depending on the contents of the Servlet folder of the application. Any way to escape from writing each Servlet name in web.xml file.
    rc

    Hello,
    Maybe you should check if you can use Ant tool to do
    that. I am not sure if it can help u.
    Zeph.
    http://ant.apache.org/
    It will, specially if used in conjunction with XDoclets :
    http://xdoclet.sourceforge.net/
    XDoclet has Ant tasks to generate web.xml files.

  • Multiple log4j.xml files for single application.

    Hi All,
    How to use multiple log4j.xml files for single application?
    I do have a pluggable application modules. ie, If I add a jar I will get some functionalities. Like that i do have many jars.
    Log4j.xml also will be present in that jar only. So if I add multiple jar files like this, I will get multiple log4j.xml files. What should I do?

    Each logger can have its own file I think. Check the log4j documentation.

  • Unable to create a catalog file for Windows 10 Enterprise (9926) using latest ADK

    Has anyone successfully created a catalog file for Windows 10 Ent. Preview build 9926? Ii get persistent failures attempting to do so. Log output is below and any hint would be greatly appreciated.
    7:20 AM : This application requires version 6.3.9600.16384 of the Windows ADK.
    Install this version to correct the problem
    7:33 AM :
    7:33 AM : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
    7:33 AM :
    7:33 AM : System.ComponentModel.Win32Exception (0x80004005): Unknown error (0xc1420117)
    Server stack trace:
       at Microsoft.ComponentStudio.ComponentPlatformInterface.WimImageInfo.PostCreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
       at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

    Hello,
    The Windows Desktop Perfmon and Diagnostic tools forum is to discuss performance monitor (perfmon), resource monitor (resmon), and task manager, focusing on HOW-TO, Errors/Problems, and usage scenarios.
    As the question is off topic here, I am moving it to the
    Where is the Forum... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • ICR - Upload multiple files for same company code?

    Hello,
    I have a question regarding the file upload functionality for ICR.
    The file has to be prepared in MS Excel and then saved as tab delimited, but MS Excel has a limited number of rows.
    So ....if one of my companies needs to upload more than one file for the same process/period because of this number of rows limitation, would that be possible? How is it handled and how we do we prepare the system for it?
    Thanks for your help.
    Regards
    Isabel

    Hello Isabel,
    Actually this question is not quite answered yet...
    The problem is that during data selection you can only choose one file per company/seqnr. In your sceneario each file represents a data source. So you need to create one entry per file in FBICRC01010 (e.g. FBIC032). If you were to run data selection once and choose one file and then run data selection again and choose a different file, the data from the first file would be deleted.
    And you can split up a document in the middle. ICR considers each data record individually. There is no balance zero check or anything - since you usually transfer individual line items anyway.
    Best regards,
    Ralph

  • Multiple presentation servers using the same RPD

    Hi everyone,
    So as most people know, the iPhone has a cool app that allows you to login and look at your OBIEE content. In theory it's really cool, but as it turns out, a lot of the cool graphs default to Flash and Flash is not supported by the iPhone.
    Using a flag in the instance config file, its possible to default all graphs to png's instead of Flash. But that causes all the interactive drillability to go away since it's just a flat picture.
    It seems that an elegant solution to this issue would be to have two presentation services running; one that defaults to Flash and one that defaults to png's. Then let the OC4J container determine if the device accessing the website is a mobile device or a full client browser. Mobile devices get routed to the png's and non-mobile devices go to the standard Flash page.
    Although not supported by Oracle, it is possible to setup multiple presentation services on the same server. In fact, RNM has a great blog about how to accomplish this (http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-1-the-bi-server/).
    I was able to setup two presentation services (AnalyticsWeb and AnalyticsMobile) and point them at the same catalog folder. That way you don't have to duplicate you're work.
    The one thing I couldn't figure out how to do was to point them at the same RPD file. Ideally, we would have one rpd file with the master metadata definitions, and both presentation services would drive from that single RPD. However, the BI Server throws and error of the same RPD appears twice in the NQSConfig.ini file. I also created a shortcut to the master RPD, but upon startup, the BI Servers said that it was not a valid repository file.
    Worst case scenario, I could just use copy & paste to duplicate the single repository. And then each time I updated one, I would just need to delete the other and re-copy. But that seems a little tedious and I was hoping for a more elegant solution.
    Does anyone know how I could get the NQSConfig.ini to let me point to the same RPD twice? Is there some kind of symbolic link or image I could create?
    If it helps, I'm working with OBIEE 10.1.3.4 on a Windows Server 2003 environment with the OC4J standalone container.
    Thanks for the help!
    -Joe

    Hey Everyone,
    Just to add the finishing touch to this thread, the following can be implemented to perform the redirect based on mobile versus traditional PC devices.
    In the folder: C:\OracleBI\oc4j_bi\j2ee\home\default-web-app
    I created the following OBIEE.html file
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en,us">
    <HEAD>
    <TITLE>Test OBIEE Redirect Page<TITLE>
    </HEAD>
    <BODY>
    <script type="text/javascript">
    var agent = (navigator.userAgent).toLowerCase();
    var weburl = './analytics/';
    var moburl = './analyticsMobile/';
    var reg_exp = /(ipod|iphone|android|opera mini|blackberry|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine|windows ce; ppc;|windows ce; smartphone;|windows ce; iemobile|up.browser|up.link|mmp|symbian|smartphone|midp|wap|vodafone|o2|pocket|kindle|mobile|pda|psp|treo)/;
    if( reg_exp.test(agent) ) {
         window.location = moburl;
    else {
         window.location = weburl;
    </script>
    </BODY></HTML>
    The javascript gets the USER agent variable and does a regular expression match to see if it's any popular handheld device. If so, it redirects them to the mobile address. Otherwise the user is directed to the standard site.
    All I need to do is pass around the URL:
    http://localhost:9704/OBIEE.html (instead of the standard http://localhost:9704/analytics)
    And users will be dynamically sent to the correct location.
    thanks everyone!
    -Joe

  • Running Multiple Web Dispatchers On The Same Server

    Is it possible to run multiple instances of Web Dispatcher on the same server?  I want to have one instance pointing to my WAS 6.40 system and the other instance pointing to my BW system.  I have set up two services on the NT server:  One named the standard sapwebdisp.exe and the other named sapwebdispbw.exe.  I am using two separate profile files, one for each instance.  The services start O.K.  However, when I attempt to access my BW system using the HTTP port as defined in the BW profile and the Web Dispatcher profile, I get a message back saying that "The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server."  I have double checked that the service is running and that the BW system is up and available.
    Any help is appreciated.
    Regards,
    Doug

    Hey guys,
    it seems you are web dispatcher specialists
    I have problems connecting even one server
    I would like to add an Enterprise portal (DEP) to the web dispatcher.
    My config file :
    SAPSYSTEMNAME = SDM
    SAPGLOBALHOST = webdispatch
    SAPSYSTEM = 00
    INSTANCE_NAME = W00
    DIR_CT_RUN = $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTI386
    DIR_EXECUTABLE = $(DIR_CT_RUN)
    Accesssability of Message Server
    rdisp/mshost = 172.20.40.6
    ms/http_port = 8101
    Configuration for medium scenario
    icm/max_conn = 500
    icm/max_sockets = 1024
    icm/req_queue_len = 500
    icm/min_threads = 10
    icm/max_threads = 50
    mpi/total_size_MB = 80
    SAP Web Dispatcher Ports
    icm/server_port_0 = PROT=HTTP,PORT=80, TIMEOUT=120, EXTBIND=1, TIMEOUT=120, PROCTIMEOUT=120
    Is it possible for you to paste your config file here ? 
    With explanation what the portal name is en waht the web dispatcher name is ?
    The error I get :
    no valid destination server available for '!ALL' rc=7
    Where can I adjust this !ALL and !J2EE group ?
    Where can I manage the /link/ ? (like /irj/portal)
    If you need any info please let me know.
    THank you for your time & help
    BUD

  • Multiple Web Catalogs

    We are wanting to combine our test and dev systems onto one server. I have found docs where it is possible to have multiple presentation servers but I have not found anything about having 2 separate Web catalogs/webcat on a server. Is this possible?
    Any help is greatly appreciated!!
    Cindy

    Yep thats what I am loooking for. I want the two seperate catalogs so I can have both a test system and a dev system on the same server. We seem to be low on servers these days so this will be very helpful. Hopefully I won't run into many snags along the way.

  • Virtual-mapping in jrun-web.xml file for CFIDE is not working

    I have put virtual-mapping for my web root into jrun-web.xml
    file. It looks like this:
    <virtual-mapping>
    <resource-path>/*</resource-path>
    <system-path>E:/WebSites/mywebroot</system-path>
    </virtual-mapping>
    So I need give virtual-mapping for my CFIDE too. It looks
    like this:
    <virtual-mapping>
    <resource-path>/CFIDE/*</resource-path>
    <system-path>E:/Apps/JRun4/servers/myserver/cfusion-ear/cfusion-war/CFIDE</system-path>
    </virtual-mapping>
    It is now working for me. When I use following url:
    http://localhost:8002/CFIDE/administrator
    I am getting "HTTP 404 - File not found". I have set it for
    other servers they are working on same server. What I did wrong
    this time?
    Thanks ahead.
    Mikenj

    Hi John,
    i did some some changes in Account dimension in my Planning Dev server. When i was migrating it to QA using LCM in shared services it is howing this error: Import failed for the following reason - Error parsing the deployment xml.
    First i define migration in Dev for export and the migration was successful.Then i went into QA shared services and started migration, i got this error for importing.
    Could you help me out on this?
    Regards,
    Shilpa

  • Can i run a servlet without a web.xml file for servlet mapping?

    Hello everyone.
    The code i want to run compiles and everythink looks ok.
    It produces the .class file.
    I run Tomcat 4.1 and i build my Web site with Dreamweaver.
    I have a form in a page and i want to send the data upon form completion to a database i already have build with MySql.
    The database is up and running and the server is set-up ok.
    I have changed the port in Tomcat to run on port 80.
    The directory i have my site is
    Tomcat41\webapps\ROOT\se
    and the directory where i keep the servlet class is
    Tomcat41\webapps\ROOT\se\WEB-INF\servlet
    I have a web.xml file to map the servlet and placed it in
    Tomcat41\webapps\ROOT\se\WEB-INF
    In the Form action i write action:"/servlets/Classes/GroupRegistration"
    and I RECEIVE AN 404 ERROR FROM APACHE.
    Somethink is wrong .
    The following is the code from the GroupRegistration.java file
    and follws the web.xml file.
    Please Help.
    import java.sql.*;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class GroupRegistration extends HttpServlet
    Connection con;
    public void doPost (HttpServletRequest req, HttpServletResponse res)
                             throws ServletException, java.io.IOException
         handleForm(req, res);
    public void init() throws ServletException {
         try{
         /* Loading the driver for the database */
         Class.forName("com.mysql.jdbc.Driver");
         Connection Con = DriverManager.getConnection("jdbc:mysql://localhost/se?user=luser&password=");
         catch (ClassNotFoundException e) {
         throw new UnavailableException("Couldn't load JdbcOdbcDriver");
         catch (SQLException e) {
         throw new UnavailableException("Couldn't get db connection");
         private void handleForm(HttpServletRequest req, HttpServletResponse res)
         throws ServletException {
         //ServletOutputStream out = res.OutputStream();
         //res.setContentType("text/html");
         //Extract the form Data Here
         String group = req.getParameter("GroupNo");
         String Name1 = req.getParameter("Name1");
         String LoginID1 = req.getParameter("LoginID1");
         String Name2 = req.getParameter("Name2");
         String LoginID2 = req.getParameter("LoginID2");
         String Name3 = req.getParameter("Name3");
         String LoginID3 = req.getParameter("LoginID3");
         String Name4 = req.getParameter("Name4");
         String LoginID4 = req.getParameter("LoginID4");
         String URL = req.getParameter("URL");
         String Title2 = req.getParameter("Title2");
         String date = req.getParameter("date");
         String INSERT = "INSERT INTO registration (groupno, name1, loginid1, name2, loginid2, name3, loginid3, name4, loginid4, url, topic, date) VALUES (" + group + "," + Name1 + "," + LoginID2 + "," + Name2 + "," + LoginID2 + "," + Name3 + "," + LoginID3 + "," + Name4 + "," + LoginID4 + "," + URL + "," + Title2 + "," + date + ")";
         PreparedStatement pstmt = null;
         try{
         pstmt = con.prepareStatement(INSERT);
         pstmt.executeUpdate();
         catch (SQLException e) {
         throw new ServletException(e);
         finally {
         try {
         if (pstmt != null)pstmt.close();
         catch (SQLException ignored){
    The web.xml file
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com.xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
    <servlet>
    <servlet-name>GroupRegistration</servlet-name>
    <servlet-class>GroupRegistration</servlet-class>
    </servlet>
    <servlet-maping>
    <servlet-name>GroupRegistration</servlet-name>
    <url-pattern>/myGroupRegistration</url-patern>
    </servlet-mapping>
    </web-app>
    I apreciate your time.
    Thanks for any help.

    and the directory where i keep the servlet class is
    Tomcat41\webapps\ROOT\se\WEB-INF\servletOthers have pointed out that "servlet" should be "classes", but there is another mistake that hasn't been spotted. If you want your servlet to appear in the root context, you should use:
    Tomcat41\webapps\ROOT\WEB-INF\classes
    If you want your servlet to appear under the /se context, then you should use:
    Tomcat41\webapps\se\WEB-INF\classes
    and also, in the latter case, your form action should be /se/myGroupRegistration.

  • Multiple PR's generating for same material after MRP

    Hi Guru's,
    As per my business scenario, i am creating project with WBSE, Activities and BOM.
    By using the reference points, i am transferring the BOM to Project, then executing MRP run.
    But after MRP run i found that multiple PR's generated for the same Material.
    Please find my BOM structure
    BOM-->Assembly + raw material
    Assembly is consists of
    Sub-Assembly+ 2 raw materials
    Sub-Assembly consists of
    1 Raw Material.
    as per this i should have 4 PR's after MRP but system is generating 8 PR's.
    Please tell me where i am doing wrong
    Regards,
    Bhadra

    Hi,
    I find the reason why it is creating the multiple PR's for the same component.
    It is because of the BOM status. Please find the attached scree shots for the BOM structure and BOM status.
    As per my requirement the Planned Orders should be created for "BOM" and "Assembly" and 3 PR's should be generated for Components.
    Initially i maintained BOM status as "4" for "BOM" due to that system is exploded the BOM twice i.e., for "BOM" and "Assembly" and generated PR's twice and two planned orders for "BOM" and "Assembly" along with their components.
    Now to avoid the duplicates PR generation, i have maintained BOM Status as "5" for "BOM"and run MRP.
    This time system is generated 3 PR's and 2 Planned Orders.
    As per as PR's is concerned there is no issue. Coming to the Planned Orders there is a issue that, the components are not copied into order which is generated against "BOM" (BOM Status-5) and components are copied into order which is created against "Assembly"(BOM tatus-4)
    But as per my requirement, the components should copied in both the orders.
    So please tell where is the wrong in this..
    Regards,
    Rao

  • XML Question for web.xml file for LiteWebServer

    Hi,
    I have no clue of wut tags are required in the web.xml file.
    Currently the following code is in my web.xml file and i am trying to run servlets that are located under web-inf/*.class
    Pls tell me wuts wrong....
    Do i need those mime-mapping tags, session and welcome tags.......... ?
    Right now i just want those 2 servlets to work
    And wut is this encoding ="UTF-8" in the first line of the xml file. Wut does that do... ? ARe there any others
    Any help would b greatly appreciated
    Thanks
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app id="WebApp_1">
    <display-name>PDMPortal</display-name>
    <session-config id="SessionConfig_1">
    <session-timeout>60</session-timeout>
    </session-config>
    <mime-mapping id="MimeMapping_1">
    <extension>htc</extension>
    <mime-type>text/x-component</mime-type>
    </mime-mapping>
    <welcome-file-list id="WelcomeFileList_1">
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <servlet>
    <servlet-name>HelloWorld</servlet-name>
    <servlet-class>HelloWorld</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>HelloWorldExample</servlet-name>
    <servlet-class>HelloWorldExample</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>HelloWorld</servlet-name>
    <url-pattern>HelloWorld</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>HelloWorldExample</servlet-name>
    <url-pattern>HelloWorldExample</url-pattern>
    </servlet-mapping>
    </web-app>

    Try putting your servlets in the WEB-INF\classes directory.

  • Multiple web-app sharing the same database.

    hi experts,
    If I have several websites running on the same server. Most of the are sub-domains of the same domain, they share the same database, but each sub-domain will have their own web-apps(This also means that they are running on a different java virtual machine, right? ). My question is that how can I make them communicate with each other. Also, will there be any conflict with the database insert/update issues, and How do I solve that?
    For example, if one user is already logon from "tips.mydomain.com", then when the users goes to another sub-domain, say "java.mydomain.com", he/she doesn't need to re-login again.
    thanks.

    Well yes, having databases accessed by multiple users simultaneously is an issue that many many developers have had to face. But the answer to "How do I solve that" doesn't fit in this little box or in the limited time that people have available to answer questions here. It's an extremely complex issue about which entire books have been written.
    As to the bit about the subdomains, it is possible to map them to the same web server, as far as I know, but that's a web configuration issue and nothing to do with Java programming.

Maybe you are looking for