WEBINF/classes folder contents packed in _wls_cls_gen!.jar on server start

Hi,
I'm having an issue with respect to deploying my project application in weblogic application server 9.2.
I'm creating a war file in which I'm packaging all application contents which includes the /WEBINF/classes contents.
I deployed the war in admin console, associated it with a managed server. When I started the managed server. I could see that all /WEBINF/classes contents have got packaged in wlscls_gen!.jar automatically. Because of this, Im getting ClassNotFoundException for all java classes which were supposed to be in /WEBINF/classes directory.
Is there any workaround to knock off this dynamic jar and retaining the /WEBINF/classes folder contents even after server start.
Any help would be appreciated
Thanks

Hi,
The creation of wlscls_gen.jar file can not be avoided. This is a problem with WebLogic. The only way to avoid it is by creating JAR files on your own and then keeping them inside "WEB-INF/lib" directory.
*Topic:  wlscls_gen.jar Issue*
http://middlewaremagic.com/weblogic/?p=408
There is no WAY to tell WebLogic to Not to create this Problematic JAR.
Thanks
Ravish Mody

Similar Messages

  • Customizing the classes folder contents during build

    Hello,
    Can I have non java source files, get copied to the build folder after doing a project build? Lets say that in src folder you have the following structure:
    |--src
      |--project1
        |--Class1.java
        |--Class1.htmlAfter doing a build on a project with the above source structure, you get the following contents in the classes folder:
    |--classes
      |--project1
        |--Class1.classJDeveloper by default wont copy the Class1.html file into the build folder. I know I can customize this in the case of a web app by editing the deployment profile and playing with the WEB-INF/classes contributors, but can I achieve the same thing using the normal build inside JDev without deploying to a WAR, and without going for an ant build file? I tried using the Project Contents link in the Project Properties to achieve the same effect, but I couldnt get the same result. Is this possible?
    Thanks

    Hi,
    The creation of wlscls_gen.jar file can not be avoided. This is a problem with WebLogic. The only way to avoid it is by creating JAR files on your own and then keeping them inside "WEB-INF/lib" directory.
    *Topic:  wlscls_gen.jar Issue*
    http://middlewaremagic.com/weblogic/?p=408
    There is no WAY to tell WebLogic to Not to create this Problematic JAR.
    Thanks
    Ravish Mody

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • Rt.pack vs rt.jar

    Hi,
    I will update oracle11g jdk with  jdk package with version 1.6.0_91.  I searched sub folders to see what is the content. I found that under jre/lib folder  rt.pack exists. However, I was expecting to see rt.jar instead. Can someone please tell me the difference? Or can someone please let me know how to transform rt.pack into rt.jar since i need rt.jar.

    If you downloaded the JDK from Oracle the download contains the files and jars that you need.
    Jars can use the PACK200 format to compress them for web applications. You do NOT need to transform any jars.

  • Class not found in web-inf/classes folder of war file within ear file

    Hi all,
              I am using Weblogic 8.1 sp4. I have a war file within an ear file. I am trying to deploy the war file with a few classes within its web-inf/classes folder, however when the classes are in that folder I consistently get a class not found exception when trying to instantiate them. If I package the classes in a jar file and then put that jar file within the web-inf/lib folder of the war, the classes are also not found.
              If I put these two classes in the app-inf/classes folder of the ear file, everything works as expected and the classes are found.
              Any ideas of why this is happening. This seems to be a very simple thing that should work, but appears to not be working at all.
              thanks in advance for any suggestions or ideas.

    Hi,
              This is a known limitation/issue with WL. There is also no way around this.
              Regards,
              LG

  • Coping folder contents and sub folders

    So, I'm working on a little practice folder sync project (fun with my mac)...
    ...and I'v gotten hung up a bit because my little copying app doesn't seem to count folders and sub folders (which I suppose makes sense).
    My initial idea was to take just the date of modification and compare it to the last date that the app was run, inorder to only copy changed files. But this seems problematic on a few levels, so...
    So, my two part question is:
    1. Is there a simple command to copy folder contents and sub-folder contents, or do I need to tell the script to do each sub-folder individually?
    2. I imagine that a better way to manage which files/folders need to be updated is to create a file with a list of the contents, and dates of modification, and compare the new folder list and the old folder list to each-other... ok.. so, um. yeah. that sounds tricky.

    >1. Is there a simple command to copy folder contents and sub-folder contents, or do I need to tell the script to do each sub-folder individually?
    There are two common solutions to this.
    The first is to use the Finder's 'entire contents of...' command to get a list of everything in the folder, including sub-folders, the second is to make your script recursive - that is, it calls itself several times over.
    In the first case it's as simple as:
    tell application "Finder"
    set allItems to entire contents of folder "path:to:source:folder:"
    -- rest of code goes here
    end tell
    This can have problems, though, especially on very large directories since the Finder is not very efficient at building a list of hundreds or thousands of files.
    The recursive path is a little trickier, but you write a handler to process a folder then repeatedly call that handler, like:
    <pre class=command>on run
    set sourceFolder to (choose folder)
    processAFolder(sourceFolder)
    end run
    on processAFolder(theFolder)
    tell application "Finder"
    set allItems to items of folder theFolder as alias list
    repeat with eachItem in allItems
    if class of eachItem is folder then -- we have a subfolder
    processAFolder (eachItem)
    else
    -- code here to compare the file and back it up
    end if
    end repeat
    end tell
    end processAFolder</pre>
    So here you walk through the folder, each time you find a new folder, you walk through that until you're done. The code takes care of keeping track of where you are in the folder hierarchy.
    >2. I imagine that a better way to manage which files/folders need to be updated is to create a file with a list of the contents, and dates of modification, and compare the new folder list and the old folder list to each-other... ok.. so, um. yeah. that sounds tricky.
    There's no need to keep a file. Assuming you have two folders you can just walk through one of them checking to see if each item exists in the other, then copy the newer file to the other directory, like:
    <pre class=command>on processAFile(fileName, sourceDir, destDir)
    tell application "Finder"
    -- check if the files exist
    set sourceFileExists to (file fileName of folder sourceDir exists)
    set destFileExists to (file fileName of folder destDir exists)
    -- now comes the logic
    if sourceFileExists and not destFileExsits then
    duplicate file fileName of folder sourceDir to folder destDir
    else if destFileExists and not sourceFileExists then
    -- assuming you want a two-way synch
    duplicate file fileName of folder destDir to folder sourceDir
    else -- both files exist, so check mod dates
    if (modification date of file fileName of folder sourceDir) > (modification date of file fileName of folder destDir) then
    duplicate file fileName of folder sourceDir to folder destDir
    else if (modification date of file fileName of folder destDir) > (modification date of file fileName of folder sourceDir) then
    duplicate file fileName of folder sourceDir to folder destDir
    end if
    end if
    end tell
    end processAFile</pre>
    If you're not planning a two-way synch an even simpler option is to just keep track of the last time the synch was run. Then all you need to do on subsequent runs is ask the Finder for 'every file of folder sourceFolder whose modification date is greater than lastRunDate'.

  • View folder content

    Is there a way to view all content in folder that I have up on my server? I want to populate an ArrayCollection with all image paths that might be in a specific folder and then populate a datagrid with those paths. I'm already saving images from user upload using the FileReference class, but no luck in returning all the image names to my array. Any help is appreciated.

    Which server script are you using to handle uploads?
    please show your code-attempt to get the list from backend, so it would be clear what exactly are you missing

  • List folder content

    I want to list the files that are inside a specific folder.
    Is there a way of listing a folder content?
    Thanks

    The File class has a list() method that returns an array of strings naming the files and directories in the directory.

  • Setting up to View Folder Contents in Browser

    I have placed 40 jpg images in a folder on my web site. How
    can I let visitors view the file names (folder contents) &
    select an image by name.
    I hate to have to make a page & enter all 40 image file
    names with links to the files. Is there a better way to do this?
    Thanks,
    Dennis

    On Tue, 25 Jul 2006 20:34:34 +0000 (UTC), "dvhughes"
    <[email protected]> wrote:
    >I have placed 40 jpg images in a folder on my web site.
    How can I let visitors
    >view the file names (folder contents) & select an
    image by name.
    >
    > I hate to have to make a page & enter all 40 image
    file names with links to
    >the files. Is there a better way to do this?
    You could enable directory browsing in the directory, but
    then you'll
    need to accept the rather ugly server default index page. If
    it were me,
    I'd write a short script that read the directory and
    displayed a more
    attractive listing. How you would go about that would depend
    on what
    server scripting language(s) you have available on the
    server.
    Gary

  • C: drive is full - move only iTunes Media folder contents to another drive without consolidating?

    My iTunes library contains a combination of music/movies/etc that I've purchased or downloaded from the iTunes Store as well as music I've purchased from Amazon and my own ripped CDs (not ripped via iTunes...other software).  The Amazon and ripped files have always lived on my D drive (for easier sharing betwen family members, without opening up permissions on our User folders), while the Store files all live under my User profile on C.
    I'd like to move the iTunes Media folder contents off of C and onto D.  All the instructions that use "consolidating" and "keeping the media folder organized" will not work for me, since I do not want all my files under the iTunes Media folder...I like them where they are now in D:\Music\Amazon and D:\Music\CDCollection.
    Do I have to resort to moving the files myself, adding them into the library again, then cleaning up the orphaned library entries that are pointing to the old location?
    Thanks!

    Copy the entire iTunes folder from your music folder to D:\iTunes.
    Click the icon to start iTunes and immediately press and hold down the shift key. Keep holding until asked to choose or create a library.
    Click Choose and navigate to the file D:\iTunes\iTunes Library.itl
    Check the library is working properly.
    Use the option File > Library > Organize Library > Consolidate Files to import any stay files to the new library folder.
    Delete the old iTunes folder on the C: drive.
    Ideally you will also backup this library to another drive.
    tt2

  • Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help.

    Hello, the 'Save As' dialog box used to allow the backspace button to go up one level in the directory when the focus is in the folder contents box but it does not work any more, please help. BTW the same 'Save As' dialog in other applications still allow the backspace button to go up one level in the directory.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • Imac slow to display folder content

    Hi,
    My Mid 2010 Imac 3.06 GHz Intel Core i3 with 4GB 1333 MHz RAM is currently having problems displaying folder content. As I am a photographer I am often opening folders of images and needing to view them and recently when I click on a folder or sub-folder the images can take upto a few minutes to display (making it look like the folder is empty). It only seems to happen intermittently.
    I have already checked hard disk space and have 371 gb free space. I was also advised to look at the green coloured free memory segment in the pie chart on the Activity Monitor which was very small. Since closing lots of programs which were sat on my dashboard and also deleting some items off of my Desktop this has now improved and is running around the 475 MB mark. Despite this, the displaying of folder content has NOT improved in the slightest.
    Can anyone help?
    Many Thanks

    Surprising that the RAM hasn't improved things. Once you've resolved the current issue I'm sure you will notice a boost in performance 12gb is ample RAM for most uses.
    Before re-installing it is vital to have a backup of all your data so that you can restore in the unlikely event of a problem. Re-installing the OS will not delete you data, but backup - at any time - is essential. An up-to-date Time Machine backup or a  bootable clone of your HD using an application such as Carbon Copy Cloner or SuperDuper! will do the job. Many on here keep both forms of backup.
    If you do decide to re-install the OS you can do it from the Recovery HD. Restart holding down Command + R and from the screen with 4 choices select Re-install OS - you'll need an active internet connection and you might need to input your AppleID credentials to perform the install. It's a 4gb download so it might take some time, depending on your connection speed.
    More details here: http://support.apple.com/kb/HT4718

  • Printing Finder (Folder) Contents

    I often have need to print the contents of a folder as it appears in the finder (i.e. print the finder window or some list of filenames in the folder). There is no "Print" command in the file menu when a window is open. I have been taking snapshots of various views, but sometimes end up with multipl snapshots.
    Is anyone aware of another way to do this?
    Thanks in advance!

    Just boot into OS9 it has the capability... J/K!
    OK, here's a few ways...
    http://www.macosxhints.com/article.php?story=20060720174103802
    http://www.macosxhints.com/article.php?story=2004020716455773
    http://mac.softpedia.com/progDownload/Print-Folder-Contents-Download-27645.html

  • Bookmark drag down list difficulty-folder contents overlay folder list

    Previous Firefox versions: Bookmark folders drag down in column list, contents of each folder appear in column to right of the folder list, similar to arrangement of an outline page with each subcategory tabbed over.
    New version: Contents of folders appear as I scroll down through the folder column, preventing me from seeing the next folder in column. E.G. As I scroll down past "Business" to get to my "Travel" folder, contents of business folder open on top of the main folder column preventing me from dragging down further to Travel.

    I do agree. Mine is not *perfectly* fixed neither. When the folder’s contents list is wide and contains subfolders, the cursor needs to go completely above or below those subfolder’s contents to be released from displaying it. I can readily imagine how yours is not practical.
    But mine is decent enough that I am going to live with it for now, hoping that the prior functionality (which is normal behavior IMO) is restored in an upcoming release.
    Trying to describe this gives me a newfound appreciation for those who practice the craft of technial writing.

  • Get Folder Contents....bug? ***

    I am creating a workflow using a combination of variables and filters to reorganize a bunch of files. I frequently use the "Get Folder Contents" action in this workflow. It works the first couple of instances I have it in the workflow and in all instances when I first create the workflow. However after I save and quit the workflow, if I open it up again the from the third instance of using the "Get Folder Contents" action it stops working and is flagged as "Get Folder Contents" encountered an error. If I delete this instance of "Get Folder Contents" and drag a new one into the same space it works fine....until I save and quit the workflow and open it up again - and then it fails.....
    How do I fix this?
    Any help greatly appreciated....
    A

    You can pass the input items directly to a Run AppleScript action, or use the Get Folder Contents and Filter Finder Items actions to get a list of file paths.  If you are looking at just getting names, I have a Get Names of Finder Items action that can return various paths and file name parts of the input items.  The action can be downloaded from my Automator web page.

Maybe you are looking for

  • API reference for security library

    I've looked for a couple of days and can't find the documentation for the security library that manages signatures and certificates (SAP Security Library for Digital Signatures 5.4).  Where can this be found?

  • Java zoom library

    I wrote a zoom library in Java. A simple demo can be found here: http://www.activejoy.com/download/programming/zoom/demo.html The library can be downloaded from: http://www.activejoy.com/drupal/?q=node/21 I would like to hear comments and suggestions

  • I have 8 gb ram, os x 10.7.3 only sees 2 gb.

    For some reason my mac pro does not see the 8 gb of ram that I have installed. I have been using this machine for over 5 years with no issues. Lately the hard disk has been thrashing a lot, and I finally figured out that the ram is not being used by

  • Half of my notes have just disappeared. Why could this have happened?

    Half of my notes have disappeared in one day. Do notes expire after a certain amount of time to clear up space? What could have caused this?

  • DTW error The non-inventory item cannot be defined as by-product

    Hello all, I just used DTW to upload some BOMs. The majority of them went through fine, but I got the following error message on a number of items. The non-inventory item cannot be defined as by-product [OITT.pricelist][line:9], 'row no.9', Applicati