Weblogic 8.1 and exploded EAR application

I have been trying to deploy my eclipse j2ee project in exploded way in weblogic 8.1
I have standard folder structure,
<APP_ROOT>
-> index.jsps etc.
-> WEB-INF/classes
-> APP-INF/lib (for 3rd party libs)
META-INF/ application.xmls and ejb-jar xmls. Now problem is, i am not able to deploy ejbs using classpath WEB-INF/classes.
I tried MANIFEST.MF class-path entry, it didn't work.
Is there any way to define classpath for ejbs at application classloader level?
Ofcourse, if I create new folder say 'ejb' and deploy that as ejb module and put all classes in ejb directory, it works.
my application.xml looks like this
<application>
<display-name>Test Application</display-name>
<module>
<ejb>/</ejb>
</module>
<module>
<web>
<web-uri>/</web-uri>
<context-root>webapp</context-root>
</web>
</module>
</application>

I have been trying to deploy my eclipse j2ee project in exploded way in weblogic 8.1
I have standard folder structure,
<APP_ROOT>
-> index.jsps etc.
-> WEB-INF/classes
-> APP-INF/lib (for 3rd party libs)
META-INF/ application.xmls and ejb-jar xmls. Now problem is, i am not able to deploy ejbs using classpath WEB-INF/classes.
I tried MANIFEST.MF class-path entry, it didn't work.
Is there any way to define classpath for ejbs at application classloader level?
Ofcourse, if I create new folder say 'ejb' and deploy that as ejb module and put all classes in ejb directory, it works.
my application.xml looks like this
<application>
<display-name>Test Application</display-name>
<module>
<ejb>/</ejb>
</module>
<module>
<web>
<web-uri>/</web-uri>
<context-root>webapp</context-root>
</web>
</module>
</application>

Similar Messages

  • Deployment question: exploded EAR application

    I've been having some EJB connection problems when I try to deploy an exploded
    EAR app.
    Here is some background info.
    Running WL 6.1 SP2 on Solaris 8
    I have the following directory structure for my EAR app which
    contains my EJB's and WEB app
    /deployment/config/mydomain
    /myApp
    /META-INF/application.xml
    /classes
    /ejb
    /webApp
    /WEB-INF/web.xml
    /weblogic.xml
    The application.xml file contains all the descriptors for each EJB jar file in
    the ejb directory as well as the deployment descriptor to the webApp.
    In the Weblogic console I can create a new application called myApp and point
    it to the above directory (/deployment/config/mydomain/myApp) and it will deploy
    all the EJB's and the web app and I can display the login page to my webApp but
    as soon as I try to login and the webApp has to connect to a LOGIN ejb it fails
    because it cannot connect to the EJB.
    If I deploy each ejb jar file separately into a running weblogic environement
    I can login which means I can successfully connect to the EJB's.
    Has anyone done something similar to this. I'm following the BANK example that
    came with WL6.1, but I have not been successful and wondering if anyone can shed
    some light here for me.
    If you want to see my application.xml or web.xml let me know and I'll post it
    up.
    Thanks
    Ray

    Make sure your EJB's have a deployment target. I noticed that when I
    deployed an exploded ear file, the EJB's weren't deployed to the server,
    they were present in the console, but not deployed.
    -Brett Schmoll
    "Ray" <[email protected]> wrote in message
    news:3c374e60$[email protected]..
    >
    I've been having some EJB connection problems when I try to deploy anexploded
    EAR app.
    Here is some background info.
    Running WL 6.1 SP2 on Solaris 8
    I have the following directory structure for my EAR app which
    contains my EJB's and WEB app
    /deployment/config/mydomain
    /myApp
    /META-INF/application.xml
    /classes
    /ejb
    /webApp
    /WEB-INF/web.xml
    /weblogic.xml
    The application.xml file contains all the descriptors for each EJB jarfile in
    the ejb directory as well as the deployment descriptor to the webApp.
    In the Weblogic console I can create a new application called myApp andpoint
    it to the above directory (/deployment/config/mydomain/myApp) and it willdeploy
    all the EJB's and the web app and I can display the login page to mywebApp but
    as soon as I try to login and the webApp has to connect to a LOGIN ejb itfails
    because it cannot connect to the EJB.
    If I deploy each ejb jar file separately into a running weblogicenvironement
    I can login which means I can successfully connect to the EJB's.
    Has anyone done something similar to this. I'm following the BANK examplethat
    came with WL6.1, but I have not been successful and wondering if anyonecan shed
    some light here for me.
    If you want to see my application.xml or web.xml let me know and I'll postit
    up.
    Thanks
    Ray

  • Redeploying of exploded EJBs within an exploded EAR

    Hi all,
    I've an exploded EAR application which has an exploded EJB. Inside my exploded EJB, I've a META-INF folder with a REDEPLOY file, if I update my EJB & touches the REDEPLOY file inside the META-INF, the EJB doesn't get redeployed. I'd to touched the REDEPLOY inside the META-INF folder of the exploded EAR, is this behavior correct?
    Or am I missing something here?
    Thanks!

    Hi,
    If you are only attempting to read the file, you should read the file as a resource. If you are planning on writing to this file, then it is not a good idea that you depend on where this file is deployed, just place it anywhere else.
    Anyhow, if you have to do it, the best way is to obtain the resource URL, and from that the file name. BTW, there is no warranty that the war will get exploded, that you may be able to freely modify the file, nor that the file name be null :-S
    {the Classloader of your choice}.getResource(<Resource name>).getFile()
    should do the trick.
    Regards,
    LG

  • Exploded EAR welcome-file problem

    I setup an Exploded Ear application in WLS6.1 sp1 on NT.
    It works fine except the welcome page.
    when I try http://localhost:7001/MyApp it gives the attached
    error message. It works fine if I type .../MyApp/index.jsp.
    even I tried with exploded banking example. It doesn't work either.
    Error message on browser
    Error 403--Forbidden
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization
    will not help and the request SHOULD NOT be repeated. If the request method was
    not HEAD and the server wishes to make public why the request has not been fulfilled,
    it SHOULD describe the reason for the refusal in the entity. This status code
    is commonly used when the server does not wish to reveal exactly why the request
    has been refused, or when no other response is applicable.
    Please can anybody help me.
    Thanx
    Sankar venkat.

    [att1.html]

  • Exploded EAR in Weblogic 7.0.2

    I'm trying to deploy an exploded EAR file but I must be missing something since WLS doesn't deploy my application.
    I've read the documentation from http://e-docs.bea.com/wls/docs70/programming/deploying.html.
    Beneath the structure in my 'applications' directory as describes in http://e-docs.bea.com/wls/docs70/programming/deploying.html#1125125. I've put application.xml in the MyApp directory - is it the right place and is the file correct?
    MyApp\
    \MyApp.war
    WEB-INF\
    web.xml
    classes\
    dk\
    ...(JSP etc.)
    \MyApp-ejb.jar
    META-INF\
    application.xml
    ejb-jar.xml
    REDEPLOY
    weblogic-cmp-rdbms-jar.xml
    weblogic-ejb-jar.xml
    dk\
    ...(class files)
    application.xml looks like:
    <application>
    <display-name>MyApp</display-name>
    <module>
    <ejb>MyApp-ejb.jar</ejb>
    </module>
    <module>
         <web>
         <web-uri>MyApp.war</web-uri>
         <context-root>myapp</context-root>
         </web>
    </module>
    </application>
    Thanks
    Thomas Aagaard Jensen
    UNI-C, Uddannelse - IT-undervisningsmidler
    WWW : http://www.uni-c.dk/
    Tlf. : +45 8937 6673
    E-mail : [email protected]

    Hie,
              We are facing the same problem; i.e. we are getting the same error message when we are trying to run our struts application on Weblogic 7.0.5 using JDK 1.3.1. This problem occured particularly when we tried to do a load testing using approx 20 concurrent users (a lesser load was supported though). Can you please let us know how this problem was sorted out on your end?
              thanks,
              Debanjan

  • Exploded EAR and REDPLOY file

    WLS 6.1 ( SP2) , NT 5.0
    I have an exploded EAR outside the weblogic home as mentioned in the
    tutorial. I can deploy
    the app fine, when I start the server. However when I change a servlet or
    EJB bean and touch
    the REDPLOY file within the META-INF folder, the application does not seem
    to pick up
    the changes. I am running the server as an administrative server.
    I have to restart the server for the changes to take effect. Please advise.

    All the archive files used in Java apps are basically ZIP files with the extension changed.
    JARs are used to package classes.
    WARs are used to package web applications ( the complete directory structure are mandated by J2EE specs ) and may contain JARs
    EARs are used to package a J2EE application ( think web app + EJBs in general ) and may consist of many web modules packaged as WARs.
    Take a look at this too: http://searchwebservices.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid26_gci837938,00.html
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Deploying ear application - migrating from OC4j to Weblogic

    I am trying to migrate application from OC4J to weblogic server. Apart from usual differences in descriptors, structure of EAR etc. I came across unusual error:
    "both the remote home and remote component interface must be specified. Currently, only one of them is specified"
    It is about deploying session bean. Usual EJB3 stateless session bean with local and remote interface, deployed without any problem on OC4J and JBoss. Of course, I know home interfaces are something to do with EJB 2.1, but this is EJB3 application and, I guess, Weblogic has full support for it. Does it? :)
    Anyway, is there workaround? Or am I missing something? I don't have to tell you what problems we will be facing if I have to restructure whole application with dozens and hundreds of session beans.
    Thanks a lot!

    OK. I just want to make sure that there are no problems with the deployment descriptors.
    To pin point the problem do the following in JDeveloper:
    1. Create a simple EJB 3.0 session bean
    2. On that session bean create a Sample Java Client.
    3. Run the Session Bean
    4. Run the Client
    5. If both are running fine, compare the deployment descriptors from the sample and your real application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Deployment of webservice application on weblogic for 1ssl and 2ssl port

    Hi,
    We have developed webservices application and now need to deploy it on weblogic 10.
    We need our application to be available on two ports, 1 way SSL(7001) and 2 way SSL(7002). I am not aware of how one application can be deployed and configured on weblogic to service both 1 way and 2 way SSL ports.
    Also, the application contains WSDL document, which specifies the endpoint URL. The endpoint URL is the URL used by web service consumers to call the same. This URL contains port number as well.
    So can some one guide me on how to deploy this application on weblogic and it should be able to cater both the ports?
    Thanks & Regards
    Ashwin
    Edited by: [email protected] on Aug 24, 2009 6:38 AM

    A WL server can only have 2 ports, one SSL and one non-SSL, and one SSL configuration.
    Since you want to deploy the webservice twice - with different SSL configs, you're going to run into JNDI problems too. If you created 2 versions of the web service, so that 2 ears could be deployed simultaneously, then you could use 1 domain & 2 managed servers, each of which had different SSL ports & configs.
    Otherwise 2 domains.

  • How to deploy and remove one application from WebLogic server

    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon

    I think we have to clean ( already scheduled for next release) list of some of the
    supported API on various MBeans. However just FYI , there is an "void
    setURI(java.lang.String)" method in Component MBean that you could use.
    Viresh Garg
    Pamela Minthorn wrote:
    I am also trying to automate application deployment process. I have looked at
    the docs you suggested below and am wondering why the ComponentMBean has a getURI()
    but not a setURI().
    Here's a snippet from my config.xml that I want to automate:
    <Application
    Deployed="true"
    Name="TestApp1"
    Path="E:\WebApps\version1">
    <WebAppComponent
    Name="TestApp1"
    URI="TestApp"
    Targets="myserver"
    />
    </Application>
    I haven't figured out how to set the URI.
    Also, it looks like this should also be possible using weblogic.Admin. Is that
    true?
    Thanks,
    Pam
    Viresh Garg <[email protected]> wrote:
    You can write a JMX java client and create an Application Admin Mbean
    and then use the application MBean and component MBean interface to set
    the targets for components and deploy them . For more information look
    at the JAVAdoc for:
    weblogic.management.MBeanHome
    weblogic.management.configuration.ApplicationMBean
    weblogic.management.configuration.ComponentMBean
    Let me know if you have addional questions.
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    Damon wrote:
    Dear Friend:
    Do you know anyway that I can deploy or remove an application using
    command line intead of administration console when the WebLogic
    server is running?
    Thanks in advance,
    Damon
    [att1.html]

  • Directory Structure ?s for an Exploded Web Application

    We have an application that consists only of JSPs and Servlets, no
    EJBs. I am researching whether or not it's worthwhile to start using
    EJBs. We're also migrating from Weblogic 5 to 6.1. I've managed to
    migrate our application fine and have it up and running on WLS 6.1.
    I'm confused about the exploded directory structure, the
    application.xml file, where to put the EJBs and whether or not I have
    to jar them. Here's our current directory structure:
    DefaultWebApp/               JSPs here
    DefaultWebApp/WEB-INF          web.xml and weblogic.xml here
    DefaultWebApp/WEB-INF/classes     Servlets and other classes here
    DefaultWebApp/WEB-INF/lib     do my un-jar-ed EJBs go here?
    I've been reading a lot of BEA's documentation, particularly
    ‘Deploying an Exploded J2EE Application' and a ‘Web Application PDF',
    and looking for relevant threads on the weblogic.developer.interest
    groups. It looks like the application.xml should go in a new
    DefaultWebApp/META-INF directory. But where do the EJBs go?
    I also see some directory structures with another /web directory
    that's confusing me.
    Oh, I've also managed to compile and jar up a trial Stateless Session
    EJB. Then I think I ‘auto-deployed' it into the /applications
    directory, and Weblogic seems to recognize it. But when I tried to
    reference it in a JSP, I got an error message ‘class x is public,
    should be declared in a file named x.java'. I'm assuming this is
    related to the application.xml, where I need to define the ejb
    directory.
    Thanks.

    To deploy your web app together with your EJBs, you need to create
    an "EAR" structure. Both your webapp and your EJB jars will be within
    this new structure, at the same level. You may jar up your EJBs, or you
    may explode their structure, it's up to you.
    The resulting structure should look something like below:
    EnterpriseApp/ <-- new top level
    EnterpriseApp/META-INF/
    EnterpriseApp/META-INF/application.xml
    EnterpriseApp/lib/ <-- shared libraries (if any)
    EnterpriseApp/EJB/ <-- ejbs go here
    EnterpriseApp/EJB/META-INF/ejb-jar.xml
    EnterpriseApp/EJB/META-INF/weblogic-ejb-jar.xml
    EnterpriseApp/EJB/com/your/ejb/classes/here
    EnterpriseApp/WebApp/ <-- move your current app here
    EnterpriseApp/WebApp/index.jsp <-- JSPs goes here
    EnterpriseApp/WebApp/other.jsp
    EnterpriseApp/WebApp/WEB-INF/web.xml
    EnterpriseApp/WebApp/WEB-INF/weblogic.xml
    EnterpriseApp/WebApp/WEB-INF/lib <-- ui libraries go here
    EnterpriseApp/WebApp/WEB-INF/classes <-- servlets go here
    The above structure is identical to the structure to an EAR file, only "exploded"
    as actual files and directories instead of being "jarred" into a single EAR file.
    Your application.xml in this case would specify something like:
    <application>
    <display-name>EnterpriseApp</display-name>
    <description>My Enterprise Application</display-name>
    <module>
    <ejb>EJB</ejb>
    </module>
    <module>
    <web>
    <web-uri>WebApp</web-uri>
    <context-root>/yourAppRoot</context-root>
    </web>
    </module>
    </application>
    And in config.xml you would have an entry similar to:
    <Application Deployed="true" Name="EnterpriseApp"
    Path=".\config\mydomain\applications\EnterpriseApp">
    <WebAppComponent Name="ui" Targets="myserver" URI="WebApp"/>
    <EJBComponent Name="ejb" Targets="myserver" URI="EJB"/>
    </Application>
    regards,
    -Ade

  • Classloader problem with exploded EAR

    I'm trying to un-jar an EAR file and then un-jar the EJB jars within EAR and putting
    all the EJB and other classes from those jar files in the main application directory
    like application/com/abc/***. I have few WARs within EAR but I'm trying not to
    explode (un-jar) those. One of the WAR file has a JSP page and a depentent java
    class within it but when I try to use that JSP, I'm getting "java.lang.NoClassDefFoundError"
    exception. Any ideas?
    Is there a better/standard way to explode an EAR for development purposes?

    I had similar problem today with an EAR application using EclipseLink 1.0.1 on WebLogic Server 10.3.
    The stack trace looks a little different,
    java.lang.NoClassDefFoundError: org/eclipse/persistence/internal/jpa/deployment/DirectoryArchive$1
    at org.eclipse.persistence.internal.jpa.deployment.DirectoryArchive.init(DirectoryArchive.java:89)
    at org.eclipse.persistence.internal.jpa.deployment.DirectoryArchive.<init>(DirectoryArchive.java:73)
    at org.eclipse.persistence.internal.jpa.deployment.DirectoryArchive.<init>(DirectoryArchive.java:55)
    at org.eclipse.persistence.internal.jpa.deployment.ArchiveFactoryImpl.createArchive(ArchiveFactoryImpl.java:75)
    at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:184)
    at org.eclipse.persistence.internal.jpa.deployment.JPAInitializer.initialize(JPAInitializer.java:132)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:104)
    at org.eclipse.persistence.jpa.PersistenceProvider.createEntityManagerFactory(PersistenceProvider.java:64)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:84)
    but the cause is the same: instances of JPA provider were cached in javax.persistence.Persistence which is loaded in WLS system classloader.
    When EAR is redeployed, the EclipseLink jar located in the EAR is reloaded but the cached instance is not updated.
    The reflection workaround did work but there is even simpler workaround: just copy eclipselink.jar (or other JPA provider JARs) into the
    /lib directory of the WLS domain -- the JARs in lib folders are loaded before EAR and would not be redeployed every time.

  • Classpath problem in exploded ear

    I'm having problems deploying an application in a new environment. We deploy Mercury.ear as an exploded ear under
    Windows in a single-server domain without any problem.
    I am tasked with setting up a WL cluster as the first step in our cluster certification/testing (under Linux/RedHat ASE 3.0).
    We are using WL 8.1. SP2. This should be a relatively trivial task, but I must be missing something obvious,
    because I've been banging my head on it the last couple of days.
    Basically, I have two WL managed servers, ClusterMember1 and ClusterMember2 and an admin server AdminServer created in a WL domain.
    All servers start normally (when no applications are deployed to the managed servers).
    I have appended our entire config.xml to the end of this post, but here is the relevant <Application> section:
    <Application Name="Mercury"
    Path="/root/bea/user_projects/domains/clusterdomain/applications/Mercury"
    StagingMode="nostage" TwoPhase="true">
    <EJBComponent Name="MercuryEJB.jar" Targets="ClusterMember1" URI="MercuryEJB.jar"/>
    <WebAppComponent Name="Apollo" Targets="ClusterMember1" URI="MercuryWeb.war"/>
    <ConnectorComponent Name="SpectraConnector.rar"
    Targets="ClusterMember1" URI="SpectraConnector.rar"/>
    </Application>
    I am only attempting to deploy to managed server ClusterMember1 at this time.
    When I attempt to start ClusterMember1:
    ./startManagedWebLogic.sh ClusterMember1 http://localhost:9001 &
    It starts up, syncs with the admin server, and then attempts to deploy the Mercury application. I get the following exception when it attempts to start the Mercury application:
    <Feb 1, 2006 10:07:55 AM CST> <Error> <HTTP> <BEA-101216> <Servlet: "context" failed to preload on startup in Web application: "Apollo".
    javax.servlet.ServletException: Error registering bean with name 'ApolloSessionManager' defined in URL [file:/root/bea/user_projects/domains/clusterdomain/applications/Mercury/mercuryresources.jar/resources/xml/springconfig/Service-DAO-config.xml]: Class that bean class [com.sg.sims.mercury.apolloweb.service.processor.ApolloSessionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: com/sg/sims/mercury/apolloweb/service/processor/ApolloSessionManager
         at weblogic.servlet.internal.ServletStubImpl.createServlet()Ljavax/servlet/Servlet;(ServletStubImpl.java:985)
    {...snipped...}
    Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Error registering bean with name 'ApolloSessionManager' defined in URL [file:/root/bea/user_projects/domains/clusterdomain/applications/Mercury/mercuryresources.jar/resources/xml/springconfig/Service-DAO-config.xml]: Class that bean class [com.sg.sims.mercury.apolloweb.service.processor.ApolloSessionManager] depends on not found; nested exception is java.lang.NoClassDefFoundError: com/sg/sims/mercury/apolloweb/service/processor/ApolloSessionManager
         at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinition(Lorg/w3c/dom/Element;Ljava/lang/String;)Lorg/springframework/beans/factory/config/BeanDefinition;(DefaultXmlBeanDefinitionParser.java:366)
    {...snipped...}
    Caused by: java.lang.NoClassDefFoundError: com/sg/sims/mercury/apolloweb/service/processor/ApolloSessionManager
         at java.lang.Class.forName(Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;(Unknown Source)
         at org.springframework.beans.factory.support.BeanDefinitionReaderUtils.createBeanDefinition(Ljava/lang/String;Ljava/lang/String;Lorg/springframework/beans/factory/config/ConstructorArgumentValues;Lorg/springframework/beans/MutablePropertyValues;Ljava/lang/ClassLoader;)Lorg/springframework/beans/factory/support/AbstractBeanDefinition;(BeanDefinitionReaderUtils.java:50)
    {...snipped...}
    Clearly, Spring can't find the ApolloSessionManager class (or one of its dependent classes, the error message is somewhat unclear in places).
    However, the ApolloSessionManager.class file is there, under the mercurybusiness.jar directory (with package structure).
    // from ${DOMAIN_HOME}/applications/Mercury:
    ls -la mercurybusiness.jar/com/sg/sims/mercury/apolloweb/service/processor/ApolloSessionManager
    -rw-r--r-- 1 root root 7162 Jan 31 17:20 mercurybusiness.jar/com/sg/sims/mercury/apolloweb/service/processor/ApolloSessionManager.class
    mercurybusiness.jar (in turn) is present in the MercuryEJB.jar MANIFEST.MF file:
    // ${DOMAIN_HOME}/applications/Mercury/MercuryEJB.jar/META-INF/MANIFEST.MF:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.6.1
    Created-By: 1.4.2_05-b04 (Sun Microsystems Inc.)
    Class-Path: mercurycommon.jar mercuryresources.jar mercurybusiness.jar mercuryserviceflow.jar mercuryutils.jar spectraconnector.rar {...snipped...}
    The same situation appears for the classes that ApolloSessonManager depends on: MercuryLogger (a log4j wrapper) and the HTTPClient.jar classes
    (e.g. Cookie, etc), except 3rd party jars are listed in the MANIFEST.MF of MercuryEJB.jar but are not exploded.
    There is no weblogic-application.xml file to override the default classloader hierarchy, so my understanding
    is that everything in the application should share a single classloader.
    So I am at a loss to understand why classes in MercuryWeb.war can not load classes in dependent jars of MercuryEJB.jar.
    As a note, if I add /root/bea/user_projects/domains/clusterdomain/applications/Mercury/mercurybusiness.jar to the CLASSPATH variable in startManagedWebLogic.sh,
    this error disappears of course, and it barfs on the next application class it can't find (in one of the other exploded jars that MercuryEJB.jar depends on.
    Can someone help point out what I may be missing?
    Chris Goodacre
    // config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Domain ConfigurationVersion="8.1.5.0" Name="clusterdomain">
    <Server Cluster="SIMS_TEST_CLUSTER_1" ListenAddress=""
    ListenPort="9001" Name="AdminServer" NativeIOEnabled="true"
    ReliableDeliveryPolicy="RMDefaultPolicy" ServerVersion="8.1.5.0">
    <SSL Enabled="false" HostnameVerificationIgnored="false"
    IdentityAndTrustLocations="KeyStores" Name="AdminServer"/>
    </Server>
    <WSReliableDeliveryPolicy DefaultRetryCount="10"
    DefaultTimeToLive="60000" Name="RMDefaultPolicy" Store="FileStore"/>
    <Security Name="clusterdomain"
    PasswordPolicy="wl_default_password_policy"
    Realm="wl_default_realm" RealmSetup="true"/>
    <EmbeddedLDAP
    CredentialEncrypted="{3DES}dMeE/vNpCcbjzOMZGfNeShv5VFZuQ=" Name="clusterdomain"/>
    <SecurityConfiguration
    CredentialEncrypted="{3DES}jFRG5NzABP8IAJa5M/PNNRCtZYaqkc2zUTYjlysL+md+TAgZw6IfgCjzzre4e7p5gyJEt+0UkPXNleN0QtW7Ef"
    Name="clusterdomain" RealmBootStrapVersion="1"/>
    <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
    <FileRealm Name="wl_default_file_realm"/>
    <PasswordPolicy Name="wl_default_password_policy"/>
    <JMSConnectionFactory DefaultDeliveryMode="Non-Persistent"
    JNDIName="jms/ConnectionFactory" Name="ConnectionFactory" Targets="AdminServer"/>
    <JMSFileStore Directory="rmfilestore" Name="FileStore"/>
    <JMSServer Name="WSStoreForwardInternalJMSServerAdminServer"
    Store="FileStore" Targets="AdminServer">
    <JMSQueue CreationTime="1123128740234"
    JNDIName="jms.internal.queue.WSStoreForwardQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueueAdminServer"/>
    <JMSQueue CreationTime="1123128740390"
    JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
    JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueueAdminServer"/>
    <JMSQueue CreationTime="1123128837453" JNDIName="jms/MenuQueue"
    Name="MenuQueue" StoreEnabled="false"/>
    <JMSQueue CreationTime="1123128864296"
    JNDIName="jms/MenuXMLQueue" Name="MenuXMLQueue" StoreEnabled="false"/>
    <JMSQueue CreationTime="1123128892343"
    JNDIName="jms/DataSyncQueue" Name="DataSyncQueue" StoreEnabled="false"/>
    <JMSQueue CreationTime="1123128915421"
    JNDIName="jms/LoginRefreshQueue" Name="LoginRefreshQueue" StoreEnabled="false"/>
    <JMSQueue CreationTime="1123128937046"
    JNDIName="jms/ProfileQueue" Name="ProfileQueue" StoreEnabled="false"/>
    <JMSQueue CreationTime="1123128957125"
    JNDIName="jms/ReportsQueue" Name="ReportsQueue" StoreEnabled="false"/>
    </JMSServer>
    <Cluster Name="SIMS_TEST_CLUSTER_1"/>
    <Server Cluster="SIMS_TEST_CLUSTER_1" ExpectedToRun="false"
    ListenPort="9999" Name="ClusterMember1" ServerVersion="8.1.5.0">
    <ServerDebug Name="ClusterMember1"/>
    <SSL IdentityAndTrustLocations="KeyStores" Name="ClusterMember1"/>
    <KernelDebug Name="ClusterMember1"/>
    <Log Name="ClusterMember1"/>
    <ServerStart Name="ClusterMember1"
    PasswordEncrypted="{3DES}TC7nfOvKF0xwJB/f+tyYwQ==" Username="toolbox"/>
    <WebServer Name="ClusterMember1"/>
    <COM Name="ClusterMember1"/>
    <IIOP Name="ClusterMember1"/>
    <JTAMigratableTarget Name="ClusterMember1" UserPreferredServer="ClusterMember1"/>
    <JTARecoveryService Name="ClusterMember1"/>
    </Server>
    <MigratableTarget Cluster="SIMS_TEST_CLUSTER_1"
    Name="ClusterMember1 (migratable)"
    Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="ClusterMember1"/>
    <Server Cluster="SIMS_TEST_CLUSTER_1" ExpectedToRun="false"
    ListenPort="9998" Name="ClusterMember2" ServerVersion="8.1.5.0">
    <ServerDebug Name="ClusterMember2"/>
    <SSL IdentityAndTrustLocations="KeyStores" Name="ClusterMember2"/>
    <KernelDebug Name="ClusterMember2"/>
    <Log Name="ClusterMember2"/>
    <ServerStart Name="ClusterMember2"
    PasswordEncrypted="{3DES}TC7nfOvKF0xwJB/f+tyYwQ==" Username="toolbox"/>
    <WebServer Name="ClusterMember2"/>
    <COM Name="ClusterMember2"/>
    <IIOP Name="ClusterMember2"/>
    <JTAMigratableTarget Name="ClusterMember2" UserPreferredServer="ClusterMember2"/>
    <JTARecoveryService Name="ClusterMember2"/>
    </Server>
    <MigratableTarget Cluster="SIMS_TEST_CLUSTER_1"
    Name="ClusterMember2 (migratable)"
    Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="ClusterMember2"/>
    <JDBCConnectionPool DriverName="com.sybase.jdbc2.jdbc.SybDriver"
    Name="MercuryJDBCConnPool"
    PasswordEncrypted="{3DES}Enwr7V6DdUk="
    Properties="user=dbuser;url=jdbc:sybase:Tds:10.15.3.66:4100/ENT_60_DEV;networkProtocol=Tds;portNumber=4100;userName=dbuser;databaseName=ENT_60_DEV;serverName=10.15.3.66"
    Targets="SIMS_TEST_CLUSTER_1" TestTableName="SQL SELECT 1" URL="jdbc:sybase:Tds:10.15.3.66:4100/ENT_60_DEV"/>
    <JDBCDataSource JNDIName="jdbc/MercuryDS" Name="MercuryDS"
    PoolName="MercuryJDBCConnPool" Targets="SIMS_TEST_CLUSTER_1"/>
    <MigratableTarget Cluster="SIMS_TEST_CLUSTER_1"
    Name="AdminServer (migratable)"
    Notes="This is a system generated default migratable target for a server. Do not delete manually." UserPreferredServer="AdminServer"/>
    <Application Name="Mercury"
    Path="/root/bea/user_projects/domains/clusterdomain/applications/Mercury"
    StagingMode="nostage" TwoPhase="true">
    <EJBComponent Name="MercuryEJB.jar" Targets="ClusterMember1" URI="MercuryEJB.jar"/>
    <WebAppComponent Name="Apollo" Targets="ClusterMember1" URI="MercuryWeb.war"/>
    <ConnectorComponent Name="SpectraConnector.rar"
    Targets="ClusterMember1" URI="SpectraConnector.rar"/>
    </Application>
    </Domain>
    ////////////////////////////////////////////////////////////

    Sorry, I don't have the response to your question.
    But I'd like to know how youmake your servlet and your applet communicate.
    I'm building a web site using both applets and servlet. And I nned to make them communicate. I'm trying to use RMI but I get many problems.
    Can I know Which solution you have chosen for applet-servlet communication ?
    Thank's.

  • Deploying exploded ear file

    Hi,
    I have exploded an ear file, and I am trying to deploy it in weblogic 7.0.
    This ear has several jars and war files.
    However, when I deploy it
    (Access is denied) at java.io.FileInputStream.open(Native Method) -- while trying
    to open the war file.
    I have followed the same steps as mentioned in the bea docs , by exploding all
    the individual wars, jars, inside the ear ..
    Any help is appreciated..
    Thanks in advance.

    I believe manifest class-paths should work fine for exploded EARs as
    well. Don't you want 'common' rather than '../common' in your
    class-path entry?
    -- Rob
    Eric Ma wrote:
    Rob:
    Yes, I was talking about the MANIFEST.MF Class-Path entries. My exploded ear
    looks like (under mydomain/applications)
    app
    --META-INF
    ----application.xml
    --ejb
    ----com
    ------abc.class
    ----META-INF
    ------MANIFEST.MF
    ------ejb-jar.xml
    --common
    ----com
    ------xyz.class
    --web
    ----jsp
    ----WEB-INF
    ------web.xml
    ------lib
    --------struts.jar
    The MANIFEST.MF file has
    Class-Path: ../common/
    I read at http://e-docs.bea.com/wls/docs61/ejb/EJB_deployover.html#1074087 that
    Class-Path is only supported in the .ear format. Is it true?
    Rob Woollen <[email protected]> wrote:
    Are you talking about manifest class-path entries? If so, can you show
    me what your exploded EAR looks like? (ie its layout and your
    class-path entries.)

  • How to Deploy portal 8.1 production cluster in exploded ear format in solaris

    Hi all,
    How can we deploy our PORTAL application in
    Weblogic 8.1 SP2 Weblogic 8.1 SP2 Weblogic 8.1 SP2 Weblogic 8.1 SP2
    Solaris Solaris Solaris Solaris Solaris Solaris
    PORTAL PORTAL PORTAL PORTAL PORTAL PORTAL PORTAL
    APPLICATION
    with PRODUCTION MODE = true PRODUCTION MODE = true PRODUCTION MODE = true
    PRODUCTION MODE = true
    Cluster Cluster Cluster Cluster Cluster Cluster Cluster Cluster Cluster
    Cluster (2 x 2 managed servers)
    As
    exploded ear format exploded ear format exploded ear format exploded ear
    format exploded ear format
    PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE
    don't send me this link
    http://e-docs.bea.com/wlp/docs81/deploy/deploy.html#1003591
    I used this link 100 times, but no use.
    Steps I did
    1. Build the application using workshop ( NO ear NO ear NO ear NO ear NO ear
    NO ear NO ear NO ear )
    2. use wlpackage to pack the built application ( NO ear NO ear NO ear NO
    ear NO ear NO ear NO ear NO ear )
    3. Deploy using console ( NO stage NO stage NO stage NO stage NO stage)
    The Error,
    The following error message I got.
    [Deployer:149033]preparing application commApp on mgServer1
    [Deployer:149033]preparing application commApp on mgServer2
    [Deployer:149033]failed application commApp on mgServer1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    application commApp on devCluster,bkarthiPS.:
    Exception:weblogic.management.ApplicationException: Application commApp is
    packaged using the WebLogic Split Development Directory structure. The Split
    Development Directory structure can only be used in development environments
    with a single WebLogic Server. If you wish to deploy this application to a
    separate managed server or cluster, use the wlpackage ant task to create an
    exploded or archived EAR.
    [Deployer:149033]failed application commApp on mgServer2
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    application commApp on devCluster,bkarthiPS.:
    Exception:weblogic.management.ApplicationException: Application commApp is
    packaged using the WebLogic Split Development Directory structure. The Split
    Development Directory structure can only be used in development environments
    with a single WebLogic Server. If you wish to deploy this application to a
    separate managed server or cluster, use the wlpackage ant task to create an
    exploded or archived EAR.
    Thanks,
    Karthi.

    Its simple PORTAL application . After deploying this application we can add portlets as a childs to this application .
    Now this is simple PORTAL application with CSS file.
    Give me some idea about
    How to create PORTLET application with CSS files . Where to include this CSS file in a PORTLET application??????
    Normally we are creating first PORTAL application and adding CSS files to
    Portlet Content-->Themes-->html--> abc.css .
    --> Head.jsp we are giving the css file path in this JSP page as
    <link href='<wps:urlFindInTheme file="abc.css"/>' rel="styleSheet" type="text/css">
    After this I am adding my PORTLET application to this PORTAL .
    Then its working fine. But I want to know how to add CSS files to PORTLET application???????
    Please help me :-(

  • Deploying Portal App in exploded EAR format

    Hi all,
    We are using Portal BEA 8.1 SP2 and we also configured a cluster with
    production mode enabled.
    We want to deploy our portal app in exploded EAR format.
    http://edocs.bea.com/wlp/docs81/bestprac/conf.html#1056723
    But when we use workshop to "Build App" and when the application build is successful.
    And when we copy the App folder to the production server and deploy,
    We get the following error,
    [Deployer:149033]preparing application commApp on mgServer1
    [Deployer:149033]preparing application commApp on mgServer2
    [Deployer:149033]failed application commApp on mgServer1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application commApp on devCluster,bkarthiPS.:
    Exception:weblogic.management.ApplicationException: Application commApp is packaged using the WebLogic Split Development Directory structure. The Split Development Directory structure can only be used in development environments with a single WebLogic Server. If you wish to deploy this application to a separate managed server or cluster, use the wlpackage ant task to create an exploded or archived EAR.
    [Deployer:149033]failed application commApp on mgServer2
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application commApp on devCluster,bkarthiPS.:
    Exception:weblogic.management.ApplicationException: Application commApp is packaged using the WebLogic Split Development Directory structure. The Split Development Directory structure can only be used in development environments with a single WebLogic Server. If you wish to deploy this application to a separate managed server or cluster, use the wlpackage ant task to create an exploded or archived EAR.
    What is the problem ?
    Thanks,
    Karthi.
    [att1.html]

    To deploy the app as EAR (I am confused by the expression "exploed EAR", my understanding
    its either exploded or EAR format) build the app as EAR (there is an option in
    the workshop build drop down).
    Did this help?
    S
    "Karthi" <[email protected]> wrote:
    >
    >
    Hi all,
    We are using Portal BEA 8.1 SP2 and we also configured a cluster with
    production mode enabled.
    We want to deploy our portal app in exploded EAR format.
    http://edocs.bea.com/wlp/docs81/bestprac/conf.html#1056723
    But when we use workshop to "Build App" and when the application build
    =
    is successful.=20
    And when we copy the App folder to the production server and deploy,=20
    We get the following error,
    [Deployer:149033]preparing application commApp on mgServer1
    [Deployer:149033]preparing application commApp on mgServer2
    [Deployer:149033]failed application commApp on mgServer1
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    =
    application commApp on devCluster,bkarthiPS.:=20
    Exception:weblogic.management.ApplicationException: Application commApp
    =
    is packaged using the WebLogic Split Development Directory structure.
    =
    The Split Development Directory structure can only be used in =
    development environments with a single WebLogic Server. If you wish to
    =
    deploy this application to a separate managed server or cluster, use
    the =
    wlpackage ant task to create an exploded or archived EAR.
    [Deployer:149033]failed application commApp on mgServer2
    [Deployer:149034]An exception occurred for task [Deployer:149026]Deploy
    =
    application commApp on devCluster,bkarthiPS.:=20
    Exception:weblogic.management.ApplicationException: Application commApp
    =
    is packaged using the WebLogic Split Development Directory structure.
    =
    The Split Development Directory structure can only be used in =
    development environments with a single WebLogic Server. If you wish to
    =
    deploy this application to a separate managed server or cluster, use
    the =
    wlpackage ant task to create an exploded or archived EAR.
    What is the problem ?
    Thanks,
    Karthi.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#c0c0c0 background=3D"">
    <DIV><FONT face=3DArial size=3D2>Hi all,<BR><BR>We are using Portal BEA
    =
    8.1 SP2 and=20
    we also configured a cluster with<BR>production mode enabled.<BR><BR>We
    =
    want to=20
    deploy our portal app in exploded EAR=20
    format.<BR><BR>http://edocs.bea.com/wlp/docs81/bestprac/conf.html#1056723=
    <BR><BR>But=20
    when we use workshop to "Build App" and when the application build is=20
    successful. <BR><BR>And when we copy the App folder to the production
    =
    server and=20
    deploy, <BR><BR>We get the following =
    error,<BR><BR>[Deployer:149033]preparing=20
    application commApp on mgServer1<BR>[Deployer:149033]preparing =
    application=20
    commApp on mgServer2<BR>[Deployer:149033]failed application commApp on=20
    mgServer1<BR>[Deployer:149034]An exception occurred for task=20
    [Deployer:149026]Deploy application commApp on devCluster,bkarthiPS.:=20
    <BR>Exception:weblogic.management.ApplicationException: Application =
    commApp is=20
    packaged using the WebLogic Split Development Directory structure. The
    =
    Split=20
    Development Directory structure can only be used in development =
    environments=20
    with a single WebLogic Server. If you wish to deploy this application
    to =
    a=20
    separate managed server or cluster, use the wlpackage ant task to create
    =
    an=20
    exploded or archived EAR.<BR>.<BR>[Deployer:149033]failed application
    =
    commApp on=20
    mgServer2<BR>[Deployer:149034]An exception occurred for task=20
    [Deployer:149026]Deploy application commApp on devCluster,bkarthiPS.:=20
    <BR>Exception:weblogic.management.ApplicationException: Application =
    commApp is=20
    packaged using the WebLogic Split Development Directory structure. The
    =
    Split=20
    Development Directory structure can only be used in development =
    environments=20
    with a single WebLogic Server. If you wish to deploy this application
    to =
    a=20
    separate managed server or cluster, use the wlpackage ant task to create
    =
    an=20
    exploded or archived EAR.</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>What is the problem ?</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
    <DIV><FONT face=3DArial size=3D2>Karthi.</FONT></DIV></BODY></HTML>

Maybe you are looking for