Exploded directory: wl6.0 sp2: how to define in config.xml?

hi,
          how do i define a web server with exploded directory format. i dont want to
          use webcomponent because it creates a war and the jsp changes are not
          reflected. war is fine for production, but during development i dont want to
          restart the server to see the jsp changes.
          is there a way to create a web server component with an exploded directory
          format in config.xml. i want to map the current jsp directory to the web
          server.
          in short: i want to see the jsp changes immediately without restarting the
          server everytime.
          thanks.
          

          "Muthu Ram" <[email protected]> wrote:
          >hi,
          >
          >how do i define a web server with exploded directory format. i dont want
          >to
          >use webcomponent because it creates a war and the jsp changes are not
          >reflected. war is fine for production, but during development i dont
          >want to
          >restart the server to see the jsp changes.
          >
          >is there a way to create a web server component with an exploded directory
          >format in config.xml. i want to map the current jsp directory to the
          >web
          >server.
          >
          >in short: i want to see the jsp changes immediately without restarting
          >the
          >server everytime.
          >
          >thanks.
          >
          >
          apparently if you create an empty file called REDEPLOY (no exstension) in your
          meta-inf directory then either touch it if on unix or change it and save it (i
          add then delete a spce in it) in win32. apparently wls looks at this file and
          if its been changed it reloads the rest off the webapp and hey presto dynamic
          deployment. the alternative is to goto the console goto your app uncheck the deployed
          box click apply then check the deployed box and click apply (this should redeploy
          it). Note jsps don't seem to redeploy well if you have keepgenerate set to true
          in the weblogic.xml.
          

Similar Messages

  • How to set services-config.xml?

    Hi,
    Hi,
    I am confusing for how to set services-config.xml(configuring
    channels and destinations) for <mx:RemoteObject>.
    Please give me a simple demo .Thanks
    MK

    Maybe this will help?
    http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page001.php

  • How to display appcmd /config xml data into a single table

    Hi,
    I extracted my IIS sites using appcmd
    appcmd /site /config /xml > c:\temp\iisconfig.xml
    afterwhich I would like to grab the data from this xml and export into excel file
    [xml]$iisconfig = get-content c:\temp\iisconfig.xml
    I would like to get the Site Name, Bindings, Physical Directory Path and AppPool from this xml file and output to a excel file
    #Physical Path Directory
    $iisPhysicalPath = $iisconfig.appcmd.site.site.application.VirtualDirectory.PhysicalPath
    #Application Pool
    $iisAppPool = $iisconfig.appcmd.site.site.application.applicationPool
    #Site Details (Site Name, Binding)
    $iisSite = $iisconfig.appcmd.site
    It doesn't have a single command to output into a table. How do I combine all these code and display in a single table?
    Jeron

    Try it like this:
    $sites=[xml](c:\windows\system32\inetsrv\appcmd.exe list site  /xml)
    $sites.appcmd.site
    \_(ツ)_/

  • How to run (user)config.xml to add Fonts in embedded FOP 020.5 with PDF

    Hi,
    we are having problems with showing certain PDF characters, resulting in # (ÂăãÆæßČč¢ results in Â#ãÆæß##¢).
    Within the (user)config.xml you can add Fonts, see code, but how to run it from the XSQLFOPSerializer ????.
    We copied the Arial Window fonts to Linux.
    I tried several things but nothing worked, see code:
    * Tested with the FOP 0.20.3RC release from 19-Jan-2002
    public class XSQLFOPSerializer implements XSQLDocumentSerializer {
    private static final String PDFMIME = "application/pdf";
    public void serialize(Document doc, XSQLPageRequest env) throws Throwable {
    try {
    // First make sure we can load the driver
    Driver FOPDriver = new Driver();
    Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); // ipv. INFO
    MessageHandler.setScreenLogger(logger);
    FOPDriver.setLogger(logger);
    // Some of FOP's messages appear to still use MessageHandler.
    // MessageHandler.setOutputMethod(MessageHandler.NONE);
    // Then set the content type before getting the reader/
    env.setContentType(PDFMIME);
    +// Tried the following, but does not work !!!!+
    +// String userConfig = "/u02/gba/tent/userconfig.xml";+
    +// File userConfigFile;+
    +// userConfigFile = new File(userConfig);+
    +// Options options = new Options();+
    +// options.loadUserconfiguration(userConfigFile);+
    FOPDriver.setOutputStream(env.getOutputStream());
    FOPDriver.setRenderer(FOPDriver.RENDER_PDF);
    FOPDriver.render(doc);
    } catch (Exception e) {
    e.printStackTrace(System.err);
    __userconfig.xml__
    // <entry>
    // <key>fontBaseDir</key>
    // <value>/usr/share/fonts/ttf</value>
    // </entry>
    //<fonts>
    // <font metrics-file="arial.xml" kerning="yes" embed-file="arial.ttf">
    // <font-triplet name="Arial" style="normal" weight="normal"/>
    // <font-triplet name="ArialMT" style="normal" weight="normal"/>
    // </font>
    // <font metrics-file="arialb.xml" kerning="yes" embed-file="arialb.ttf">
    // <font-triplet name="Arial" style="normal" weight="bold"/>
    // <font-triplet name="ArialMT" style="normal" weight="bold"/>
    // </font>
    // <font metrics-file="ariali.xml" kerning="yes" embed-file="ariali.ttf">
    // <font-triplet name="Arial" style="italic" weight="normal"/>
    // <font-triplet name="ArialMT" style="italic" weight="normal"/>
    // </font>
    // <font metrics-file="arialbi.xml" kerning="yes" embed-file="arialbi.ttf">
    // <font-triplet name="Arial" style="italic" weight="bold"/>
    // <font-triplet name="ArialMT" style="italic" weight="bold"/>
    // </font></fonts>
    //</configuration>
    Keywords:
    FOP 020.5
    XML2HTML / PDF
    XSQLFOP
    Embedded in ADF (fop.jar)
    Linux

    User,
    [url http://xmlgraphics.apache.org/fop/maillist.html]here is a link to the Apache FOP mailing lists.
    John

  • DemoTrust certificate being loaded but not defined in config.xml

    I have a strange problem in that the DemoTrust.jks is being loaded when I start any of the managed servers.
    I have set-up custom Identity and trust keystores and there is no reference to the DemoTrust keystore anywhere in the config.xml
    The problem manifests itself when starting a managed server (WLS9.2) which tries to connect to the Admin server with the secure Administration port enabled for the domain.
    This requires 2waySSL and the handshake fails as it appears to be using the DemoTrust.jks keystore.
    config.xml extract showing managed server keystore entries
    <custom-trust-key-store-file-name>/home/wlserver92/domain/keystores/trust.jks</custom-trust-key-store-file-name>
    <custom-trust-key-store-type>JKS</custom-trust-key-store-type>
    <custom-trust-key-store-pass-phrase-encrypted>{3DES}QWdToZU27VsIWV4LU3bZnQ==</custom-trust-key-store-pass-phrase-encrypted>
    Extract from startup log file
    <Jun 16, 2008 12:45:16 PM CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0_11-b03 from Sun Microsystems Inc.>
    <Jun 16, 2008 12:45:18 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /fs01/app/bea/wlserver9.2/weblogic92/server/lib/DemoTrust.jks.>
    <Jun 16, 2008 12:45:18 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file /fs01/app/bea/wlserver9.2/jdk1.5.0_11/jre/lib/security/cacerts.>
    <Jun 16, 2008 12:45:18 PM CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR344429 Thu Nov 15 02:22:13 EST 2007
    WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
    <Jun 16, 2008 12:45:21 PM CEST> <Warning> <Security> <BEA-090477> <Certificate chain received from wls-admin.test.co.uk - xx.xx.xx.xx was not trusted causing SSL handshake failure.>
    <Jun 16, 2008 12:45:21 PM CEST> <Emergency> <Management> <BEA-141151> <The admin server could not be reached at https://wls-admin.test.co.uk:9002.>
    <Jun 16, 2008 12:45:21 PM CEST> <Info> <Configuration Management> <BEA-150018> <This server is being started in managed server independence mode in the absence of the admin server.>
    <Jun 16, 2008 12:45:21 PM CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /fs01/app/bea/wlserver9.2/license.bea>
    <Jun 16, 2008 12:45:21 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jun 16, 2008 12:45:21 PM CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jun 16, 2008 12:45:21 PM CEST> <Notice> <Log Management> <BEA-170019> <The server log file /fs01/log/dv31/wlserver92/server01/server01_server.log is opened. All server side log events will be written to this file.>
    <Jun 16, 2008 12:45:22 PM CEST> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias wls05_test_co_uk from the JKS keystore file /home/wlserver92/domain/keystores/wls05.test.co.uk.jks.>
    <Jun 16, 2008 12:45:23 PM CEST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the JKS keystore file /home/wlserver92/domain/keystores/trust.jks.>
    <Jun 16, 2008 12:45:23 PM CEST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jun 16, 2008 12:45:23 PM CEST> <Critical> <Security> <BEA-090402> <Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.>
    <Jun 16, 2008 12:45:23 PM CEST> <Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    weblogic.security.SecurityInitializationException: Authentication denied: Boot identity not valid; The user name and/or password from the boot identity file (boot.properties) is not valid. The boot identity may have been changed since the boot identity file was created. Please edit and update the boot identity file with the proper values of username and password. The first time the updated boot identity file is used to start the server, these new values are encrypted.
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.doBootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:941)
    at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1029)
    at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:854)
    at weblogic.security.SecurityService.start(SecurityService.java:141)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    Truncated. see log file for complete stacktrace
    >
    <Jun 16, 2008 12:45:23 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED>
    <Jun 16, 2008 12:45:23 PM CEST> <Error> <WebLogicServer> <BEA-000383> <A critical service failed. The server will shut itself down>
    <Jun 16, 2008 12:45:23 PM CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    Anybody seen this type of behaviour before ???

    Hi Sunita,
    To define AIA_INSTANCE you have to export these environment variables at least.
    export AIA_HOME=/app/soa/aiafp
    export MW_HOME=/app/soa/Oracle/Middleware
    export SOA_HOME=/app/soa/Oracle/Middleware/Oracle_SOA1
    export JAVA_HOME=/usr/jrockit-jdk1.6.0_29-R28.2.2-4.1.0/jre
    export AIA_INSTANCE=${AIA_HOME}/aia_instances/AIAPRD
    The path will vary and should be replaces as per your installation.
    Thanks,
    Shantanu

  • Re: Exploded directory format in an EAR

              I am now trying to deploy the ear file in v6.1 sp2. Has anyone managed to deploy
              an ear where util / third party classes are stored in a lib directory of the ear
              and referenced in EJB-jar manifest.mf files using the classpath header?
              ie as documented in bea weblogic server bible on page 614/615
              EntApp/
              accountEJB.jar
              accountManager.war
              /lib/
              xerces.jar
              xalan.jar
              log4j.jar
              /META-INF/
              application.xml
              "erik" <[email protected]> wrote:
              >
              >This is hearsay but I was recommended to use v 6.1 SP 2.
              >/erik
              >
              >"Ivan" <[email protected]> wrote:
              >>
              >>I have a problem wrapping up an exploded directory format application
              >>into an ear
              >>file running weblogic 6.0sp2 on winnt 4. One of the things I would like
              >>to do
              >>is load a config file from a helper class without specifying a path.
              >>
              >>
              >>EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >>statementwebapp.war
              >>META-INF/application.xml lib/log4j.jar (and other third party jar files
              >>crimson.jar,
              >>jaxp.jar etc.)
              >>
              >>The third party jar files have been manually unjar'ed and re-jar'ed
              >without
              >>compression
              >>(after reading that a suggestion to someone else).
              >>
              >>WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >>- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >>- tag library
              >>descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >
              >>
              >>Some of the helper classes make use of configuration files (for example
              >>I have
              >>a Logger class that uses Log4j). Here is how I would like to access
              >the
              >>config
              >>file
              >>
              >>... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >>config ) ; ...
              >>
              >>I have tried putting the config.properties file in the WEB-INF/classes
              >>directory
              >>and in the WEB-INF directory, however they don't seem to be found by
              >>the class
              >>loader.
              >>
              >>EJB statement.jar contains an ejb with the following: uk...business.statement...
              >>- Statement ejb classes with ejbc generated stub and skeleton classes
              >>uk...util
              >>- Several Helper classes
              >>
              >>One such helper is Logger for which the Log4j jar file is needed. I
              >deploy
              >>the
              >>statement.jar file in the ear (as listed above). Weblogic throws an
              >error
              >>message
              >>saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >>org/apache/log4j/Category ie it cannot find the log4j package which
              >is
              >>referenced
              >>in the Class-Path header of the manifest.mf file and located in the
              >ear
              >>file under
              >>the lib directory.
              >>
              >>The manifest.mf file contains a line with the following: Class-Path:
              >>lib/log4j.jar
              >>lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >>classloader
              >>to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >>bible chap
              >>18) without needing to be referenced in the weblogic start up class
              >path.
              >>
              >>
              >>Can manifest class-path references be used like this in weblogic 6.0?
              >>Where should
              >>I put the application properties files in the war and jar files?
              >>
              >>Clarification much appreciated. Ivan.
              >>
              >>PS: I had this application working in exploded directory format with
              >>the jar files
              >>in the system classpath and the properties file locations hardcoded
              >in
              >>the class
              >>files. (not ideal for a clustered production environment!)
              >>
              >
              

              This is hearsay again.
              These people did as you did no compression etc. they were able to put the application's
              utility classes in a lib but not the third party jars. They suspected that the
              ear where to big to deploy so they put all thirdparty jars in the system classpath
              and then the internal utility classes were loaded by using CLASSPATH in the manifest
              file.
              I gave up because I could deploy everything except servlets and I went back to
              exploded deployment. That bloody EAR thing took to much time.
              If you succeed in everything including warfiles with JSPs and servlets (those
              I was talking about only had EJBs)
              let me know.
              I also had a peculiar problem with EARs that a cascading stylesheet was not found
              in the ear but it worked in an exploded it worked fine
              Otherwise I must recommend Orion, which I had up and running in a matter of days
              when ported from WLS 5.1.
              Good luck.
              "Ivan" <[email protected]> wrote:
              >
              >I am now trying to deploy the ear file in v6.1 sp2. Has anyone managed
              >to deploy
              >an ear where util / third party classes are stored in a lib directory
              >of the ear
              >and referenced in EJB-jar manifest.mf files using the classpath header?
              >
              >ie as documented in bea weblogic server bible on page 614/615
              >EntApp/
              > accountEJB.jar
              > accountManager.war
              > /lib/
              > xerces.jar
              > xalan.jar
              > log4j.jar
              > /META-INF/
              > application.xml
              >
              >"erik" <[email protected]> wrote:
              >>
              >>This is hearsay but I was recommended to use v 6.1 SP 2.
              >>/erik
              >>
              >>"Ivan" <[email protected]> wrote:
              >>>
              >>>I have a problem wrapping up an exploded directory format application
              >>>into an ear
              >>>file running weblogic 6.0sp2 on winnt 4. One of the things I would
              >like
              >>>to do
              >>>is load a config file from a helper class without specifying a path.
              >>>
              >>>
              >>>EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >>>statementwebapp.war
              >>>META-INF/application.xml lib/log4j.jar (and other third party jar files
              >>>crimson.jar,
              >>>jaxp.jar etc.)
              >>>
              >>>The third party jar files have been manually unjar'ed and re-jar'ed
              >>without
              >>>compression
              >>>(after reading that a suggestion to someone else).
              >>>
              >>>WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >>>- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >>>- tag library
              >>>descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >>
              >>>
              >>>Some of the helper classes make use of configuration files (for example
              >>>I have
              >>>a Logger class that uses Log4j). Here is how I would like to access
              >>the
              >>>config
              >>>file
              >>>
              >>>... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >>>config ) ; ...
              >>>
              >>>I have tried putting the config.properties file in the WEB-INF/classes
              >>>directory
              >>>and in the WEB-INF directory, however they don't seem to be found by
              >>>the class
              >>>loader.
              >>>
              >>>EJB statement.jar contains an ejb with the following: uk...business.statement...
              >>>- Statement ejb classes with ejbc generated stub and skeleton classes
              >>>uk...util
              >>>- Several Helper classes
              >>>
              >>>One such helper is Logger for which the Log4j jar file is needed. I
              >>deploy
              >>>the
              >>>statement.jar file in the ear (as listed above). Weblogic throws an
              >>error
              >>>message
              >>>saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >>>org/apache/log4j/Category ie it cannot find the log4j package which
              >>is
              >>>referenced
              >>>in the Class-Path header of the manifest.mf file and located in the
              >>ear
              >>>file under
              >>>the lib directory.
              >>>
              >>>The manifest.mf file contains a line with the following: Class-Path:
              >>>lib/log4j.jar
              >>>lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >>>classloader
              >>>to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >>>bible chap
              >>>18) without needing to be referenced in the weblogic start up class
              >>path.
              >>>
              >>>
              >>>Can manifest class-path references be used like this in weblogic 6.0?
              >>>Where should
              >>>I put the application properties files in the war and jar files?
              >>>
              >>>Clarification much appreciated. Ivan.
              >>>
              >>>PS: I had this application working in exploded directory format with
              >>>the jar files
              >>>in the system classpath and the properties file locations hardcoded
              >>in
              >>>the class
              >>>files. (not ideal for a clustered production environment!)
              >>>
              >>
              >
              

  • Deploy Petstore in Exploded Directory(Weblogic 7.0)

    I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I
    run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags
    in my config.xml and application.xml files.
    I did un-jar all the petstor.ear file and all the .jar files inside the petstore.ear(except
    the jar files in the WEB-INF/lib/ directory). I did delete all the .ear, .jar
    & .war files(except the jar files in the WEB-INF/lib/ directory), before I put
    the exploded petstore/ directory under the ...server/config/examples/applications
    directory.
    Do I need to put an empty REDEPLOY file in the WEB-INF directory? Anything else
    that I'm missing?
    Please help! I'm stucked here.
    I've attached a jar file, which includes my xml files and log files:
    1. ...samples/server/config/examples/config.xml
    2. ...samples/server/config/examples/applications/petstore/META-INF/application.xml
    3. ...samples/server/config/examples/applications/petstore/WEB-INF/web.xml
    4. ...samples/server/config/examples/applications/petstore/WEB-INF/weblogic.xml
    5. 3 log files: wl-domain.log, wxamplesServer.log & access.log
    [petstore_xml_log_files.jar]

    I can deploy and run the Petstore in .ear format under Weblogic 7.0. How do I
    run it in the Exploded format? Do I need to remove all the .ear, .jar, .war entries/tags
    in my config.xml and application.xml files.
    I did un-jar all the petstor.ear file and all the .jar files inside the petstore.ear(except
    the jar files in the WEB-INF/lib/ directory). I did delete all the .ear, .jar
    & .war files(except the jar files in the WEB-INF/lib/ directory), before I put
    the exploded petstore/ directory under the ...server/config/examples/applications
    directory.
    Do I need to put an empty REDEPLOY file in the WEB-INF directory? Anything else
    that I'm missing?
    Please help! I'm stucked here.
    I've attached a jar file, which includes my xml files and log files:
    1. ...samples/server/config/examples/config.xml
    2. ...samples/server/config/examples/applications/petstore/META-INF/application.xml
    3. ...samples/server/config/examples/applications/petstore/WEB-INF/web.xml
    4. ...samples/server/config/examples/applications/petstore/WEB-INF/weblogic.xml
    5. 3 log files: wl-domain.log, wxamplesServer.log & access.log
    [petstore_xml_log_files.jar]

  • Exploded directory format in an EAR

              I have a problem wrapping up an exploded directory format application into an ear
              file running weblogic 6.0sp2 on winnt 4. One of the things I would like to do
              is load a config file from a helper class without specifying a path.
              EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar statementwebapp.war
              META-INF/application.xml lib/log4j.jar (and other third party jar files crimson.jar,
              jaxp.jar etc.)
              The third party jar files have been manually unjar'ed and re-jar'ed without compression
              (after reading that a suggestion to someone else).
              WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              - servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds - tag library
              descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              Some of the helper classes make use of configuration files (for example I have
              a Logger class that uses Log4j). Here is how I would like to access the config
              file
              .. private static final String config = "config.properties" ; PropertyConfigurator.configure(
              config ) ; ...
              I have tried putting the config.properties file in the WEB-INF/classes directory
              and in the WEB-INF directory, however they don't seem to be found by the class
              loader.
              EJB statement.jar contains an ejb with the following: uk...business.statement...
              - Statement ejb classes with ejbc generated stub and skeleton classes uk...util
              - Several Helper classes
              One such helper is Logger for which the Log4j jar file is needed. I deploy the
              statement.jar file in the ear (as listed above). Weblogic throws an error message
              saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              org/apache/log4j/Category ie it cannot find the log4j package which is referenced
              in the Class-Path header of the manifest.mf file and located in the ear file under
              the lib directory.
              The manifest.mf file contains a line with the following: Class-Path: lib/log4j.jar
              lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise classloader
              to pick up the log4j.jar and xml parsing classes (ref. weblogic server bible chap
              18) without needing to be referenced in the weblogic start up class path.
              Can manifest class-path references be used like this in weblogic 6.0? Where should
              I put the application properties files in the war and jar files?
              Clarification much appreciated. Ivan.
              PS: I had this application working in exploded directory format with the jar files
              in the system classpath and the properties file locations hardcoded in the class
              files. (not ideal for a clustered production environment!)
              

              This is hearsay but I was recommended to use v 6.1 SP 2.
              /erik
              "Ivan" <[email protected]> wrote:
              >
              >I have a problem wrapping up an exploded directory format application
              >into an ear
              >file running weblogic 6.0sp2 on winnt 4. One of the things I would like
              >to do
              >is load a config file from a helper class without specifying a path.
              >
              >
              >EAR APP statementapp.ear contains: META-INF/MANIFEST.MF statement.jar
              >statementwebapp.war
              >META-INF/application.xml lib/log4j.jar (and other third party jar files
              >crimson.jar,
              >jaxp.jar etc.)
              >
              >The third party jar files have been manually unjar'ed and re-jar'ed without
              >compression
              >(after reading that a suggestion to someone else).
              >
              >WEB APP statementwebapp.war contains: all my jsp's at root level WEB-INF/classes/uk/.../servlets
              >- servlets WEB-INF/classes/uk/.../util - helper classes WEB-INF/tlds
              >- tag library
              >descriptors WEB-INF/web.xml & weblogic.xml - deployment descriptors
              >
              >Some of the helper classes make use of configuration files (for example
              >I have
              >a Logger class that uses Log4j). Here is how I would like to access the
              >config
              >file
              >
              >... private static final String config = "config.properties" ; PropertyConfigurator.configure(
              >config ) ; ...
              >
              >I have tried putting the config.properties file in the WEB-INF/classes
              >directory
              >and in the WEB-INF directory, however they don't seem to be found by
              >the class
              >loader.
              >
              >EJB statement.jar contains an ejb with the following: uk...business.statement...
              >- Statement ejb classes with ejbc generated stub and skeleton classes
              >uk...util
              >- Several Helper classes
              >
              >One such helper is Logger for which the Log4j jar file is needed. I deploy
              >the
              >statement.jar file in the ear (as listed above). Weblogic throws an error
              >message
              >saying cannot deploy statement (NoClassDefFound...): java.lang.NoClassDefFoundError:
              >org/apache/log4j/Category ie it cannot find the log4j package which is
              >referenced
              >in the Class-Path header of the manifest.mf file and located in the ear
              >file under
              >the lib directory.
              >
              >The manifest.mf file contains a line with the following: Class-Path:
              >lib/log4j.jar
              >lib/crimson.jar lib/jaxp.jar which I have read should allow the enterprise
              >classloader
              >to pick up the log4j.jar and xml parsing classes (ref. weblogic server
              >bible chap
              >18) without needing to be referenced in the weblogic start up class path.
              >
              >
              >Can manifest class-path references be used like this in weblogic 6.0?
              >Where should
              >I put the application properties files in the war and jar files?
              >
              >Clarification much appreciated. Ivan.
              >
              >PS: I had this application working in exploded directory format with
              >the jar files
              >in the system classpath and the properties file locations hardcoded in
              >the class
              >files. (not ideal for a clustered production environment!)
              >
              

  • How to define mapping from multiple files to Oracle Tables in 9i

    Around 100-200 Flat files are created every 30 minutes and each filename is different - Filename has datetime Stamp as part of the file name apart from the product code as first 12 characters.
    Can anyone guide me in How to define mappings to these files using OWB ?
    What I can do is consolidate all files into one known single file name and map the files to Oracle tables which I don't want to do because I need to reject errorneous files.
    Can anyone provide me some tips on this ?
    Thanks in Advance.
    Sohan.

    As you know, in OWB you need to define the flat file source in a 'static' way (name, location, etc. have to be defined previously), so you cannot deal directly with dinamically generated file names. One solution would be to consolidate them into a single file (which you can define statically in OWB), but prefix every record with the filename. In this way it is easy to understand from which file the rejected records came from. If you are using unix, it is very easy to write a script to do this. Something like this will do:
    awk '{printf "%s,%s\n",FILENAME,$1}' yourfilename >> onefile
    where yourfile is the name of the file you are currently processing, while onefile is the name of the consolidated file. You can run this for all files in your directory by substituting yourfilename with * .
    You can then disregard the file name field in OWB, while processing the rejected records based on the file name prefix by using unix utilities like grep and similar.
    Regards:
    Igor

  • How to define a queue in SPAM?

    how to define a queue in SPAM?
    And also tell me the steps or procedure to apply support packs .

    Hello kumar,
    - Download the support packs from service.sap.com (provided you have a login ID) to the usr\sap\trans directory.
    - Open a command prompt and change the directory to
    NT: :\usr\sap\trans
    UNIX: /usr/sap/trans
    - Unpack the support packs using the following command:
    NT: CAR -xvf :
    .CAR
    UNIX: CAR -xvf ///.CAR
    This command unpacks the files that need to be imported into your SAP instance into the usr\sap\trans\eps\in directory.
    - Log into client 000 as user DDIC
    - Call transaction SPAM
    - Once in transaction SPAM, go to menu option Support Package->Load Packages->From Application Server. It will ask you if you want to upload the files - click the green check mark on the box that appears to upload the files.
    - Another screen will appear listing the files that you uploaded successfully - just click on the Back arrow to get back to the SPAM screen.
    - On the SPAM screen, click on the Display/Define button.
    - A box will appear with the Support Package categories (Basis, ABA, etc.)
    - Click on the category for the support packages that you uploaded and it will list them in order.
    - You can apply them individually or the whole list at one time.
    - To apply individually, select the first one in the list and then hit the green check mark at the bottom left of the box. Then on the SPAM screen, go to menu Support Package->Import Queue.
    - Confirm that you want to import the support package.
    - Once it is done importing, you have to confirm the queue by clicking on the
    Confirm Queue button - this will turn the yellow light in the Status area to green.
    *Always check your logs after applying support packages by clicking on the Logs button in the SPAM screen.
    Regards,
    Raju.

  • Deploy web application with exploded directory format

    I am quite new with Oracle9iAS Containers for J2EE. Currently, my project is not using EJB, only JSP and Servlets. I want to deploy the war file with exploded directory format. I don't want to use the default web application directory j2ee/home/default-web-app. The "Using Oracle9iAS Containers for J2EE" get start documentation only explained how to deploy J2ee application. What about the web application without EJB jar file? Anybody knows how to do that. Please let me know.
    Thanks in advance.

    Though you don't have ejbs, you can still use the ear file format. This would be most convenient way of deploying.
    Use of a tool like Ant is recommended if you are not using JDeveloper.
    Also, you can findinfo on deploying using a exploded directory
    http://otn.oracle.com/docs/tech/java/oc4j/htdocs/getstart.htm#1027810
    But recommed having ear file as it is convenient. If you want to see an example of use of Ant and deploying using ear file
    check out one of the recently posted how-tos E.g. http://otn.oracle.com/tech/java/oc4j/htdocs/how-to-servlet-events.html

  • How to define challenge password (SCEP) manually in windows 2008 Enterprise CA

    reference doc (I can't past link, so I just list doc name):
    Network Device Enrollment Service (NDES) in Active Directory Certificate Services (AD CS)
    ==
    The doc said this one-time password is random.
    We can modify Registry to change password length and valid time.
    But I can't find how to define this password manually.
    e.g.  I want to set 3 password in password list/cache : aaaaa, bbbb, cccc.
    Someone know how to does this ?   
    Thanks.

    I am a bit late to this post, but I wanted to point out that a single, static SCEP password is common in the SMB market. In order configure it:
    Configure service to function in a single-password mode by creating a REG_DWORD value UseSinglePassword and setting it to 0x1.
    Give Full Control permission to the account used to run NDES for the HKEY_LOCAL_MACHINE\Microsoft\Cryptography\MSCEP registry key. This step only required if you have installed KB959193 hotfix.
    In the IIS Manager snap-in, navigate to the SCEP application pool and in Advanced Settings set Load User Profile to true.
    If you’ve configured NDES to run under some user account, logon interactively with that user account onto the machine where NDES is installed to force creation of a user profile for that account. This is a one-time operation, the user doesn’t need to stay
    interactively logged on while NDES is running.
    After above steps are complete, the NDES will use only one password for all certificate requests. This password can be obtained in the same way as a one-time password by going to the admin page of the NDES. Administrators can deploy that password to their
    devices in an automated way.

  • Oracle VM 3.1.1 - How to define the YUM repository URL

    The documentation shows an example or two about how to define the URL of the Yum repository I created, but it doesn't seem to define EXACTLY what to do. For example, the URL to the directory with my RPMs in it is:
    http://my-yum.acbl.net/yum/OracleVM/OVM3/3.1.1/patch/x86_64/getPackage
    Can someone tell me how much of that path I should enter into the "YUM Base URL" sub-tab under the "Tools and Resources" tab in the VM Manager? I have tried to make an intelligent guess (or two), but it's not updating properly, and I don't know if I'm entering the URL properly.

    Thank you. I'll try that, and update this again, if it seems to be wrong.
    I actually opened an SR on this, and asked this same question. After several hours, I got a response, something like "What part of the documentation do you find unclear?". I tried to carefully explain that the docs don't (as best I can tell) define how much of the path should be in the URL given to Oracle VM. I still haven't heard back.

  • Deploying the exploded directory

    I am trying to find out if there are any known bugs for deploying the
    exploded directory.

    Yes. See my recent post in the ejb section called "Classpath Help?"
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com
    Tangosol: How Weblogic applications are customized
    "Mukesh Kumar" <[email protected]> wrote in message
    news:3b4e0e25$[email protected]..
    I am trying to find out if there are any known bugs for deploying the
    exploded directory.

  • Add a exploded directory to EAR's classpath

    i created a enterprise application using workshop, rather than import some *.jar
    files to the application's lib, i wanna add a exploded directory to this application's
    classpath. can anybody tell me how?
    i copy the directory to {myapp}/APP-INF/lib, but didnt work! any body can help
    me? thx in advance!
    Roger

    APP-INF/classes and APP-INF/lib/*.jar will be in the EAR's classpath
    -- Rob
    Roger Tang wrote:
    i created a enterprise application using workshop, rather than import some *.jar
    files to the application's lib, i wanna add a exploded directory to this application's
    classpath. can anybody tell me how?
    i copy the directory to {myapp}/APP-INF/lib, but didnt work! any body can help
    me? thx in advance!
    Roger

Maybe you are looking for

  • How to re-download Lightroom 4? [was: Hi my fellow geeks( complement not been funny)]

    Hi all hope you are well. A wile ago( excuse me for any wrighting errors) i bought the Lightroom4 but in download form and used it with no isuess. Untill one day while my laptop where in the floor my room became a 2'' deep water pond so my toshiba dr

  • Checkbox problem in JSF Page

    Hi Experts, I am using Jdeveloper 11.1.2.1.0.I have one tab in my page.In that page i have table dropped on it which is a combination of 3 views.When i check the checkbox some fields should be automatically filled up by the data present in the databa

  • Partitioning Question - range partition?

    Hello all we have an issue with the amount of data we have in a particular schema that we are using to store production metrics. I have looked at a few options and are now trying to design a solution using partitioning. At a very high level we have d

  • Urgent!!! Can't delete contacts!!!

    Hi everyone, recently my parents bought 2 iPhone 4s for themselves. I accidentally synced their 2 old phones' contacts in to one address book. I found the address books contacts in the "Metadata" folder, where the only way to distinguish the contacts

  • Advice needed on Hyperion Job Opportunities

    Hello, I'm trying to venture into Hyperion Consulting and I need some advice on Hyperion Job Opportunities. I thought this would be a good place to ask. Let me give you my background. I have a Bachelors degree in Computer Engineering, a Masters degre