Ear files in different VM

Hi,
I know that the J2EE technology allow developers to deploy an application on a multitier model.
The middle tier can be divided in more separated tiers, so it is possible to deploy the war files (containing the web-tier presentation logic modules) and the jar files (containing the ejb-tier business logic modules) on different VMs.
It's also possible to put war and jar files together in a ear file.
So I think that if I have web-tier and ejb-tier on different servers, I can't use ear files for my applications, but only war and jar.
Am I right?
If not on which server should I deploy the ear file?
Thank you

Hi there,
ear files are generally deployed on J2EE Application servers. The ear file can just contain a web application, just EJB's (as jar files) or both. In my experience it's unusual to be able to deploy a war file directly on an app server. On the other hand, there are many Web containers on the market that have no integrated EJB container. It is usual to deploy Web applications on these products as war files.
In the end the way that you package up the components of your application will be determined by the products that you use. But for most cases where you have seperate systems for yor web and ejb tiers you will deploy a war file on the server for the web tier and an ear file on the server for the EJB tier (most likely an app server).
Hope this helps
Amanda
Developer Technical Support
Sun Microsystems
http://www.sun.com/developers

Similar Messages

  • Extracting from EAR file

    Hello Experts,
    Right now we are on EP6 upgraded to EP7
    I have a modified sap.comessus.ear file from EP6.
    But, we lost  the source code on the track and track itself during upgrade to NWDI.
    Is there anyway to get the source code from this EAR file. Or any way we can deploy this ear file on different J2ee engine. So, we can run it on our new portal.
    your help is greatly appreciated.
    Thanks,
    James

    Hi James,
    the developer chose to keep or not the source class into .ear file.
    So you can unzip the .ear  file (using WinRar), in this way you will be able to see the folder structure and various files, you will see a lot of .class file that are binary class and if you are lucky you can find a lot of .java files. Open the .java files with a txt editor like notepad, this is the source code.
    Hope this help you.
    Regars,
    Vito

  • Same container, different ear files, remote lookup failing!

    I'm having severe problems with my ears! I used to have all my EJBs in one ear file and everything worked hunky dory. Now I have separated out various components into their own ear files as they may be deployed into a separate box and also this eases group development. My problem is that some (most) of the remote lookups don't work. I'm getting a Class cast exception when i use the narrow() method.
    I have tried all the methods I can think of now and I'm getting desperate! Initially when all the beans were in the same ear file I used the coded reference for the lookup. This did not work across separate ear files so I replaces the coded reference in the lookup() method to the JNDI name. Now this works for some lookups but not others. Invariably a client application running in the container in a separate ear will work no problem. However a session bean using the same code as the client can not succeed in referencing another bean.
    I'm baffled here because the lookup itself appears to succeed (if I but a garbage name in the lookup method it returns "name not found"). The error I'm getting is class cast exception! Occasionally though it does work - by that I mean it works for some inter-ear references but not others ie it's not intermittant.
    Can anyone shed some light on the correct/best method to lookup a remote reference to a EJB from an EJB living in a different ear file in the same container?

    Found the problem!
    I was using jdk 1.3.0_02 when I should have been using
    jdk 1.3.1_01
    painful...

  • How to deploy ear file with jar file and war file with different names

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

    Hi,
    As part of weblogic migration from WL 6.1 sp3 to WL 10, Iam facing some problem.
    Problem:
    I have one ear file(abc.ear) to deploy which contains one jar file(xyz.jar) and one war file(pqr.war).
    In config.xml file of WL 6.1, it was mentioned as :
    <Application Deployed="true" Name="abc" Path="./config/mydomain/applications/abc.ear">
    <EJBComponent Name="xyz" Targets="myserver" URI="xyz.jar"/>
    <WebAppComponent Name="pqr" Targets="myserver" URI="pqr.war"/>
    </Application>.
    The above is working fine.
    But in config.xml file WL10,I cannot mention the same.
    I need to have different application anmes for ear,jar and war.If I deploy as a ear file,the jar and war files are deployed with the same ear file name.
    I tried the following options:
    1) Deploying as a ear file by adding <sub-deployments>
    2) Deploying both war and jar seperately which is not recommended in my application.
    Please provide the content I should place in the config.xml so that everything works fine correctly.
    Any help is appreciated.

  • Communication between processes in different ear files

    I have two processes that I created in WLI 10. Each process is deployed to the same Weblogic 10 server but they are in different ear files. How can I send messages between the two WLI processes without making a web service call? Im trying to find an efficient way to communicate between the two processes. Since there is alot of overhead with web service calls I am trying to stay away from using web service calls. I would like to use a WLI control but I cant find a control that will communicate with another process outside of an ear file without using web service calls.
    Any help is greatly appreciated!
    Thanks -
    John

    There are two ways of doing it
    1. Have the first WLI process put the message to the queue and have the second WLI process to start by pickin up messages from the queue
    2. Generate the wsdl out of the Second Process, create a Process Control and call the second process using the Process Control.
    The Choice depends on the frequency of calls and payload. If the frequency and payload is high, it is preferred to use the first approach.
    Edited by: varun.iyer on Sep 3, 2009 3:44 PM

  • Different EAR file size for 2 exactly the same set of source codes

    Hi All,
    I have 2 exactly the same sets of source codes for my application that were compiled in 2 different environment (say SIT and UAT; both using the same jdk versions), is it possible that the EAR files after build will be different in size too?
    Can you suggest any online reading materials that I can read regarding this?
    Thank you very much
    Eddie

    Hi Arun,
    Thanks for the answer.
    I already did a comparison of the 2 application, they are exactly the same (i only copied the source including the jars from PROD to UAT). I also did a comparison between the 2 EAR files generated (exploded the EAR file and compare each of the files), they are the same. My aim actually is to compile the application in Machine1 and deploy it in Machine2, I am just puzzled why the 2 EAR files generated by the 2 machines are different in size. Does it has something to do with the compression and compiling?
    Thanks,
    Eddie

  • Log4J: Different config files for different applications?

    Hi all.
    If you run an application which uses Log4J logging it's enough to place the log4j.xml file in the Classpath.
    But how do you specify which configuration file to use during startup of a Java programm if they need different configurations but have the same classpath?
    Thanks in advance
    Carsten

    my log4j knowledge is a bit outdated - but somewhere in your apps you should have a line that loads the properties file, something like:PropertyConfigurator.configure(path_to_log4j.properties);And the log4j.properties file should be in your app's EAR file somewhere - and since the app server creates a context for each application, I don't think there would be any "bleed over". So, does your setup differ from this somehow?
    Good Luck
    Lee

  • Problem while deploying a WLW ear file on a WL81 production server

    Hi,
    I am trying to deploy a simple simple WEB service -which works fine within the
    workshop 8.1 environment- on a different "production" server.
    I generated manually all the JMS queues on the target database, as well as the
    pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
    file included in the ear file) .
    The deployment ends with following error:
    "weblogic.servlet.WlwJSPServlet" (see below).
    Who could help ?
    Thanks a lot
    Yves
    [Deployer:149033]preparing application WebServiceNAP on myserver
    [Deployer:149033]failed application WebServiceNAP on myserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
    WebServiceNAP on myserver.:
    Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
    Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
    [HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
    jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
    be loaded.
    java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
    Source)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
    Source)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
    at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
    at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
    at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
    at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
    at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    - with nested exception:
    [java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]

    Looks like Raj has responded to this thread in the Workshop newsgroup:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1250&utag=
    "Yves Léauté" wrote:
    >
    Hi,
    I am trying to deploy a simple simple WEB service -which works fine within the
    workshop 8.1 environment- on a different "production" server.
    I generated manually all the JMS queues on the target database, as well as the
    pointbase additional tables as specified in the documentation (based on the <wlw-manifest.xml>
    file included in the ear file) .
    The deployment ends with following error:
    "weblogic.servlet.WlwJSPServlet" (see below).
    Who could help ?
    Thanks a lot
    Yves
    [Deployer:149033]preparing application WebServiceNAP on myserver
    [Deployer:149033]failed application WebServiceNAP on myserver
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application
    WebServiceNAP on myserver.:
    Exception:weblogic.management.ApplicationException: prepare failed for WebServiceNAPWeb
    Module: WebServiceNAPWeb Error: Could not load WebServiceNAPWeb: weblogic.management.DeploymentException:
    [HTTP:101283]ServletContext(id=34197168,name=WebServiceNAPWeb,context-path=/WebServiceNAPWeb):
    jspServlet "weblogic.servlet.WlwJSPServlet" defined in weblogic.xml could not
    be loaded.
    java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet
    at weblogic.utils.classloaders.GenericClassLoader.findClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:198)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;Z)Ljava.lang.Class;(Unknown
    Source)
    at java.lang.ClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(Unknown
    Source)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(Ljava.lang.String;)Ljava.lang.Class;(GenericClassLoader.java:223)
    at weblogic.servlet.jsp.JspConfig.isJspServletValid(Ljava.lang.String;Ljava.lang.String;Ljava.lang.ClassLoader;)Z(JspConfig.java:317)
    at weblogic.servlet.internal.WebAppServletContext.registerJspServlet(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:2517)
    at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(Lweblogic.management.descriptors.WebDescriptorMBean;)V(WebAppServletContext.java:1878)
    at weblogic.servlet.internal.WebAppServletContext.init(Ljava.lang.String;Lweblogic.management.descriptors.WebDescriptorMBean;Z)V(WebAppServletContext.java:583)
    at weblogic.servlet.internal.WebAppServletContext.<init>(Lweblogic.servlet.internal.HttpServer;Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.servlet.internal.WebAppModule;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;)V(WebAppServletContext.java:511)
    at weblogic.servlet.internal.HttpServer.loadWebApp(Lweblogic.management.configuration.WebAppComponentMBean;Lweblogic.management.ApplicationContainer;Lweblogic.application.ApplicationInfo;Lweblogic.servlet.internal.WebAppModule;)Lweblogic.servlet.internal.WebAppServletContext;(HttpServer.java:594)
    at weblogic.servlet.internal.WebAppModule.prepare(Ljava.lang.ClassLoader;[Lweblogic.management.configuration.VirtualHostMBean;ZLjava.lang.String;)V(WebAppModule.java:623)
    at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(Lweblogic.utils.classloaders.GenericClassLoader;Lweblogic.j2ee.J2EEApplicationContainer$Component;Z)V(J2EEApplicationContainer.java:2896)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules([Lweblogic.j2ee.J2EEApplicationContainer$Component;Ljava.lang.String;Z)V(J2EEApplicationContainer.java:1532)
    at weblogic.j2ee.J2EEApplicationContainer.prepare([Lweblogic.j2ee.J2EEApplicationContainer$Component;[Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(J2EEApplicationContainer.java:1188)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(Ljava.lang.String;[Lweblogic.management.configuration.ComponentMBean;[Ljava.lang.String;)V(J2EEApplicationContainer.java:1031)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer()V(SlaveDeployer.java:2634)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer()Z(SlaveDeployer.java:2584)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare()V(SlaveDeployer.java:2506)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Lweblogic.management.deploy.OamVersion;Lweblogic.management.runtime.DeploymentTaskRuntimeMBean;Z)V(SlaveDeployer.java:833)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Lweblogic.management.deploy.OamDelta;Lweblogic.management.deploy.OamVersion;Z)Z(SlaveDeployer.java:542)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(Ljava.util.ArrayList;Z)V(SlaveDeployer.java:500)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(Lweblogic.kernel.ExecuteThread;)V(SlaveCallbackHandler.java:25)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:170)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    - with nested exception:
    [java.lang.ClassNotFoundException: weblogic.servlet.WlwJSPServlet]

  • Error in deploying, EAR file does not contain SAP_MANIFEST.MF

    I just upgraded to SAP Netweaver Developer Studio 7.1 from 7.0, and the process of creating and deploying an EJB archive seems to be quite different. Here are the steps I am following:
    (1) I create and build an EJB Project called foo.
    (2) Export the EJB Project foo as an EJB JAR (not sure if this is necessary)
    (3) Create an Enterprise Applications project called fooEAR, with target runtime set to SAP server. When I am prompted for J2EE Modules to add, I select foo (created in step (1)).
    (4) Export the EAR project fooEAR as an EAR file. When I am prompted for which EAR application I choose fooEAR.
    (5) Try to deploy the EAR created in (4) using Deploy View -> External Deployable Archives -> Add, then choose the fooEAR.ear as the target. But I get an error message:
    Wrong SDA/SCA archive
    Error while loading archive ...
    Archive has no entry META-INF/SAP_MANIFEST.MF
    I looked inside fooEAR.ear, and there is no SAP_MANIFEST.MF file. How can I create an EAR that has such a file ?

    Hi Ivaylo,
    to answer your first question, the EAR that I am trying
    to deploy gets created as part of the publish step. When
    I look in the application.xml file of this EAR I see a
    version attribute with value of 1.4 in the application
    tag, can we assume that this implies J2EE 1.4 compliancy?
    One thing about this generated EAR is that it does not
    include any java code (VM or otherwise). When I generate
    the EAR by hand (by exporting the EJB project as an EAR
    file there is a JAR for the actual java code put in
    there, but when generating the EAR via publish there is
    only some xml and manifest stuff put in the EAR, with the
    result that it's only 2KB or so in size. I have specified
    a J2EE module dependency from the Enterprise Application
    project to the EJB project, but is there something else I
    need to do to ensure that the java code (jar) gets
    included in the EAR of the Enterprise Application when
    attempting to deploy via publish?
    Thanks for the other suggest, "Import J2EE Archive".
    However, I am having difficulty locating this button.
    When I look at the "Deploy View" window I see on the left
    the Workspace and External Deployable Archives trees,
    and on the right there are "Setting for Updating
    SCAs/SDAs" radio buttons, as well as "Error Strategy"
    radio buttons, but no "Import J2EE Archive" button.
    Thanks for the info about SDM by the way, I was wondering
    why I was not able to launch it (there is still a remote
    gui shortcut, which should probably go away).

  • Getting error while deploying EAR file???

    Hi Everyone,
    My Jdev version is 11.1.2.3.0.
    I have developed one ADF application and successfully deployed into stand alone web logic server from Jdeveloper itself(By creating application server in Jdeveloper and deployed directly from Jdeveloper).
    But when i undeployed the application from server and tried to deploy from server itself from the same EAR file its showing below error after clicking on Activate changes:
    Message icon - Error An error occurred during activation of changes, please see the log for details.
    Message icon - Error weblogic.application.ModuleException:
    Message icon - Error java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=ABC for data source XYZ"
    Any suggestions will be really useful.
    Thanks.

    Looks like you are not using jdbc datasource but jdbc url. You should use jdbc data source as the connection type. right click on your application module and select 'Configurations...' then edit the configurations and select 'jdbc datasource' from the list box.
    Then you should edit the applications deployment descriptor (you find this in the application properties) and remove the check mark from the 'Auto generate and synchronize ...'. This means that you have to define the data source on the stand alone server as jdev now does not do this your you (with the wrong credentials). This is the way to go when you deploy to a stand alone server as you can't guarantee that the connection information is allways the same for all servers you deploy to (e.g. production uses a different DB).
    Timo

  • Getting an Error while deploying ear file to WAS 6.40 server

    Hi All,
    I am getting following error while deploying the application
    Result
    => deployment aborted : file:/C:/DOCUME1/bv45127/LOCALS1/Temp/temp31955boc.com~cedapp.ear
    Aborted: development component 'cedapp'/'boc.com'/'QUA_00000127_D'/'20070328162705':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application boc.com/cedapp.. Reason: Exception during generation of components of application boc.com/cedapp in container EJBContainer.; nested exception is:      com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application boc.com/cedapp in container EJBContainer.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted
    I have added reference to JCO  in application-j2ee-engine.xml.
    Please guide me
    Thanks
    Bidhudas

    Hi Again,
    Now with a different problem.
    I have removed configuration and imported the configuration again. But now it is not recognizing API ( created by me with all common classes as java project).
    Structre of the application is as follows
    Cedapp -  ear file
    Cedejb   - ejb module
    Cedweb – web module
    Cedapi  - java project with common classes used in both ejb module and  web module and published as library. This refered in both the ejbmodule and web module.
    The problem now I am facing is that cedapi is not getting recognized by ejb module or web module. But it is available in used dcs of each.

  • Error while deploying .ear file on the oracle 10g Application server

    While deploying the ITS.ear or any other .ear file thru the application server console the screen shows the deploying screen continuously without any errors.The screen shows uploading the .ear file without any errors.Can somebody help me out it 's very urgent
    Thanks in advance.

    Hello,
    I asked you about the amount of AS instances because currntly I'm working on a clustering issue likewise. Nevertheless, your issue looks like a browser cache problem, have you tried different browsers to perform your deployment tasks? what about ant tasks?
    hope it helps,
    RB

  • (un)deploy a single component in an .ear File in WLS 6.1

    I deployed a .ear File, that contains 25 EJBs and 5 webapplications) in WLS
    6.1. Everything is fine. Now i tried to undeploy a single EJB that is
    contained in the .ear File. But when i mark this EJB in the WLS admin
    console as undeployed, all other EJBs and WARs are marked as undeployed.
    Is this becaue of the J2EE specification or is it a weblogic feature /
    problem?
    alexander

    This issue is seen only with IBM JDK 1.6 (any SR) because, IBM packages the xerces version 2.9 as a part of $IBM_JDK_HOME/jre/lib/xml.jar.
    I think/understand that, your application is also packaging a xerces impl jar(different version otherthan xerces version 2.9) in WEB-INF/lib of you application.
    So, to make sure that the WebLogic Server uses the xerces impl jar that has been packaged, you are trying to use the filtered classloader in weblogic-application.xml
    But the filtered classloader would not have any effect, since, the IBM JDK packaged xerces parsers would also be with the same package structure. So, I think you should try with setting the following in WEB-INF/weblogic.xml inside the <weblogic-web-app> tag.
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    I think this should work with WLS 11gR1PS2 (WLS 10.3.3).

  • ClassNotFoundException trying to load classes in a .war file inside an .ear file

    Hi. I've deployed an EJB2 enterprise app as an ear file on WebLogic 6
              without errors. The ear file contains web app and ejb components in war and
              jar files. The web component is set to be the default web app in the
              config.xml file. Everything deploys without error messages.
              My problem is that I get ClassNotFoundExceptions when I try to invoke a
              servlet (via its servlet-mapping) or do Class.forName() on any class file in
              the war file.
              I see in '.wl_temp_do_not_delete' that the ear file has been decomposed into
              the ejb jar and web war files. The war file is not 'exploded' into a
              directory structure, however (as the console.war is). Is this an error
              (should the class packages in the war file be 'exploded'?)
              I don't see a tag in the web.xml, config.xml, or application.xml that tells
              the server to explode the war file--is there one?
              Note that if I manually copy the exploded class folders into the
              '_tmp_war_myserver_myserver_<<webappname>>' directory (and not, curiously,
              into a WEB-INF/classes subdirectory of that directory), the servlets and
              other classes load correctly. Also, jsps and html files load just fine
              without exploding the war file.
              Note also that the server complains about not being able to find the
              classes, even though it reports that the decomposed war file is in the
              classpath. Is there a problem loading class files from a .war file (because
              the namespace is different, with root classes located in WEB-INF/classes
              rather than the .war file's root?)
              Also, in the application.xml file, what is the meaning of the
              <context-root></context-root> element? What should its value be? What if
              you leave it blank?
              Thanks for any help,
              Reid
              

    Is there a way to add jar libraries to the Oracle JVM CLASSPATH? Is this the same as the system's CLASSPATH env. variable?
    Thank you!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alex McClennan ([email protected]):
    The package prefix in the code extract was correct - i.e. "oracle.aurora.jndi". A value of "oracle.aurora.jndi.*" would be incorrect.
    The problem is that the context factory implementation specified (com.evermind.server.ApplicationClientInitialContextFactory
    ) can't be found, the mostly likely reason being that the library containing the class isn't on the classpath.
    Cheers,
    ax<HR></BLOCKQUOTE>
    null

  • How to deploy ear file in OATS

    hi gems..good afternoon...
    I need to deploy my application's EAR file in OATS to test it.
    I have installed OATS 12.0 version and also have started the demo setup i.e the medrec application from the documentation.
    Now, how can I setup my application in OATS...I have the ear file and the database credentials.
    Pls guide me...thanks a lot...

    gogol wrote:
    Thanks a lot Jean-Baptiste for your reply..
    That means cant we deploy any other ear file (other than medrec application, default application during installation) if we dont install weblogic separately from a licensed version??Exactly.
    >
    actually the confusions i faced are:
    after installation of OATS, when i hit the url "http://localhost:7011/console" and gave the credentials "weblogic/welcome1", then it shows the medrec.ear, physician.ear etc are deployed.
    Those are demo samples provided with ATS
    Again when i hit the url "http://localhost:8088/console" and gave the credentials "oats/<password>", then it shows the oats_ee.ear is deployed.
    Thats why I am confused, how the ear has been deployed....there are two locations available with different credentials.2 different locations because 2 different applications not running in the same container (different port, different url)
    >
    I am followng the Getting Started documentation, but i couldnot clear the concept.Best is to use your own licensed weblogic installation. Of course, technically speaking, you can do it, but be careful not to be out of compliant.
    Cheers
    JB

Maybe you are looking for

  • SharePoint FAST Search 2010 not returning pdf files in search results

    Hi, Does anyone know why FAST Search 2010 is not returning pdf files in the results page. I'd checked the crawl log and the total files crawled indicates that the pdf file is picked up by the crawl. Thanks, Leon

  • Is there any way to use Illustrator (CS5) with Windows 8.1?

    I'm in the middle of installing CS5 Design Premium on new machine (Win8.1) and see error beside Illustrator that the system requirements are not met.  Windows help site suggests CS5 and Win8.1 are compatible.  Surely there is some way to make these w

  • How to find File Content converson error

    Hi All,    If there is a problem with key field in the file content conversion, file is getting deleted from the source system, and SXMB_moni does not have any message, adapter monitor does not show any message, How to find the error? Thank you Gange

  • XL REPORTER - Unable to connect to XL Reporter

    Hello, When I Try to start XL Reporter in a TSE Session on a MS Windows Server 2008 - 64 bits Machine, I get the message : Unable to connect to XL Reporter Error ! Server Communication Failed Cause : Error! Unable to get document Type 36 I am on SAP

  • I need advice on how to increase pixels (to 1000+) on images currently in the 6-700 range

    Hello, I need some assistance. I am new to Adobe Photoshop.  I need to increase the pixels to around 1000 from the current 6-700 the images currently have.  The photoprinting company I use told me I could do it on Adobe.  Any help would be appreciate