War packing problems

Hi, everyone. I've got a problem with packing my application into a war file.
I am running on the Java System Application Server 9.1_01 and use the Java EE 5 SDK.
There is no problem with the deployment descriptors nor with the folder structure.
When deploying my application packed with netBeans, everything's fine.
But when i try to pack it manually and deploy it using the admin console, the server throws an internal error.
So, I assume that the problem is with packing.
I am using the following command when packing:
jdkroot\bin> jar cvf warname.war d:\applicationFolder
1) How to pack it correctly?
2) Should all the classes in the classes dir be compiled before packing? (I assume yes).
Can anyone help?
Thank you.

Here's the error taken from the server log.
[#|2008-01-25T10:56:45.859+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=14;_ThreadName=Thread-25;_RequestID=f4385037-85ec-4f85-9c5c-b3a0aa8b5323;|Could not expand entry d:\webapplication4\build.xml into destination D:\JavaEE5SDK\domains\domain1\applications\j2ee-modules\netwar
java.io.IOException: Error expanding archive C:\Documents and Settings\Administrator\Local Settings\Temp\netwar50885.war; please see the server log file for more information
     at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359)
     at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:131)
     at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)
Caused by: java.io.IOException
     at com.sun.enterprise.util.io.FileUtils.openFileOutputStream(FileUtils.java:750)
     at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:331)
     ... 9 more
Caused by: java.io.FileNotFoundException: D:\JavaEE5SDK\domains\domain1\applications\j2ee-modules\netwar\d:\webapplication4\build.xml (The filename, directory name, or volume label syntax is incorrect)
     at java.io.FileOutputStream.open(Native Method)
     at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
     at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
     at com.sun.enterprise.util.io.FileUtils$FileOutputStreamWork.run(FileUtils.java:1613)
     at com.sun.enterprise.util.io.FileUtils.doWithRetry(FileUtils.java:788)
     at com.sun.enterprise.util.io.FileUtils.openFileOutputStream(FileUtils.java:743)
     ... 10 more
|#]
[#|2008-01-25T10:56:45.906+0200|SEVERE|sun-appserver9.1|javax.enterprise.system.tools.deployment|_ThreadID=14;_ThreadName=Thread-25;_RequestID=f4385037-85ec-4f85-9c5c-b3a0aa8b5323;|Exception occured in J2EEC Phase
com.sun.enterprise.deployment.backend.IASDeploymentException: Error expanding archive C:\Documents and Settings\Administrator\Local Settings\Temp\netwar50885.war; please see the server log file for more information
     at com.sun.enterprise.deployment.backend.J2EEModuleExploder.explodeJar(J2EEModuleExploder.java:359)
     at com.sun.enterprise.deployment.backend.WebModuleDeployer.preDeploy(WebModuleDeployer.java:131)
     at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:171)
     at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:191)
     at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:108)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:919)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:279)
     at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:788)
     at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:187)
     at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:223)

Similar Messages

  • Bin Packing Problem

    Hello all,
    Can you please help me out a little bit on bin packing problem?
    I have a jpanel and i want to divide its space in order to put rectangles but having in mind that i have to take advantage of all the empty space provided by the jpanel
    thnx,
    John

    Maybe you mean 2-dimensional bin packing?
    An example bin packing problem is this:
    Jill has 42 files (of various sizes) that she needs to copy to another computer. She wants to use floppies (which hold 1.44 Mb of data). What is the minimum number of floppies required AND what combinations of files would be saved onto each of those floppies?
    As an extension, a 2d bin packing problem incorporates a notion of area into the calculation.
    (note that both problems are NP complete).
    Here is a commercial company that specializes in this (found with Google, 2d bin packing algorithm):
    http://www.astrokettle.com/

  • Java Bin-packing problem

    Hi all,
    I have a evolutionary algorithm that I want to try and solve, but it's hard getting started and knowing where to start exactly. Here is the description below, it would be great if anyone could give me a few tips on how to go about it:
    "The bin-packing problem involves 'n' items, each with its own weight (there are 500 items in fact, and the weight of each is 4 times its item number).
    Each item must be placed in one of 'b' bins (there are 10 bins). The task is to find a way of placing the items into the bins in such a way as to make the total weight in each bin as equal as possible.
    A chromosome (solution to the problem) is represented as a list of 'n' numbers (500 numbers), where each number can be anything in the range from 1 to b.
    Basically, if the 1st number in the chromosome is 4, then this means item number 1 is in bin 4. "
    I obviously don't expect anyone to give me code to this, but it would be a great help if someone could assist me in how to get going (i.e. what classes to have and what variables they would take).
    thanks

    Ok then, thanks for that. This is how I picture it so far, a possible way of doing this:
    You would have an Item array, of 500 items, each with their own number (1-500) and each with their own weight (4 * their item number).
    Then there would be a Chromosome array, which would be an array of Items (500 of them). Each of these would be put into a random bin (from 1 - 10), and calculations would be made so that the bins' weights would be cumulative.
    Then there is a Population array, which is an array of random Chromosomes, that would all have their own fitness function worked out (in this case, fitness function is equal to the heaviest bin - the lightest bin).
    What does everyone think? Please correct me if this is not on the right lines. As I said, i'm a java n00b.
    thanks

  • Delivery rescheduled during packing - problem

    We have a process where we invoice packaging material.  When we create the handling unit in the delivery packing, and use material with the relevant item category assignment, an item in the delivery is created. 
    The problem is that at the same time, the delivery is rescheduled.  As we have set up pick/pack time = 1 or 2 shifts in shipping point dependent on route, and the packing is done as the last step before goods issue, the goods issue date shifts 1 u2013 2 days into the future.
    As we are in a common system and client with other countries, and the shipping and scheduling process is handled differently, the delivery type is set up with scheduling active.  On delivery create we override the parameter with user exit MOVE_FIELD_TO_LIPS.  (In our process we want to keep the schedule coming from the sales order in the delivery).
    Apparently this user exit is not active when items are added from packing. 
    I have searched all documentation I can find, as well as this forum and the Wiki.  So far I have found no reference.
    Any tip of how we can solve this, would be appreciated.
    System is 4.6C
    Brgds & thanks up front
    Lars Aam

    Thanks a lot.  I searched OSS notes, but did not find this one.  (I guess I need to learn more about finding OSS). 
    It had a reference to note 350462.  This says it stops the rescheduling for item type = C.  Item type C are items added from packing.  So to me it this looks to meet our requirement.
    there is the issue that if packing materials are stock managed, you can get problems in MRP.  So we might need to develop something that take care of that, in case somebody running on our system want to have packing materials managed in stock.  The developers have told me, that they don't find any user exit to manage this.
    I can keep you posted on what solution we end up with, if you are interested.
    Brgds
    Lars Aam

  • Extraction Pack Problem in Integration of DataStage 7.5.1 with BI 7.0

    Hi,
    I am facing problem in loading data using DataStage Extraction Pack. I am using DataStage version 7.5.1A and BW pack 4.2.1. The Load Pack is working fine.
    In Extraction Pack properties, The InfoSpoke "xxxxxxxx" is appearing in the search, while trying to select the InfoSpoke the system is showing 'The InfoSpoke "xxxxxxxx" was not found'.
    Can you please help me in over coming the issue. Any input is much appreciated.
    Thanks in advance,
    Kindest Regards
    Surya.

    Hello,
    But the problem is that when I close the terminal all connection are lost and given error "The requested URL could not be retrieved" That's not very surprising, as APEX Listener is running in Standalone Mode in your current scenario. If you close the terminal session that the JVM is running in you kill the JVM and hence APEX Listener.
    You could use a tool like "nohup" to detach the process you start from your terminal session. But using the Standalone Mode for a (long running) production scenario is not recommended anyway, and...
    I want to configure listener with EBS .When I start instance automatic start apex listener... obviously not your actual aim.
    So, EBS shall be your target. Shoudn't be a huge problem, as EBS comes with an OC4J Container and OC4J is one of the Containers officially supported by APEX Listener. I'm not sure if your EBS already ships with the JDK version needed, but as soon as it runs at least 1.6.0_20 it should work.
    As I've already replied to your question in {thread:id=1118604} there is a working approach described in {message:id=10069317}.
    Did you try that one? If so and it didn't work out, could you please describe the problems you've encountered?
    Thanks,
    Udo

  • Packing problem for parts

    Hi Friend
    I have a ticket which goes as below .
    Part substitution for service parts.
    Order is for 20pc of 195.S and 23pc of 145.S
    195.S consumes part 195.F
    145.S consumes part 195.F (part substitution)
    We created delivery 80005617.
    We pack the pallets. In the pack proposal tab, we pack each part one at a time using the _SP packing instructions.
    When we packed the 195.S, the 145.S were packed together.
    We did not do ?automatic? packing, the ?red and white? button. WE PACKED EACH PART SEPARATELY.
    When we clicked on the 195.s to pack, the 145.s automatically packed together.
    Therefore the parts were combined. See the labels that are attached.
    The label printed:
    145.S 13pc
    195.S 30pc
    Wrong quantities for each part.
    But both line items  consume  same  material  . Line Item 1 is  195.F and line item 2 is 145.S , but line item 2 also consume 195.F only due to material substitution .
    How can solve this problem , Could any one help me out on this issue as I new to this topic
    But in the label, wrong quantity printed . when checked the print program there is no error found .it is a master label .
    If I want to check packing instruction where I have check .
    Could I request you to mention path in SPRO and T code to check packing instruction? .
    As both line items uses same materials , have they got clubbed together  while packing ?
    Thanks In advance

    Hi,
    Packing instruction is master data in SAP. Using transaction POP3 you can check it.
    (SAP easy access menu > Logistics > Central Functions > HUM > Master Data > Packaging Instructions)
    Regards,
    Csaba

  • Packing problem in STO

    Hello All,
    The problem is related to Packing process in case of Stock Transfer Order (STO).After making delivery while doing the packing procedure, in " Handling Unit " supplements 'Handling Unit Group 1' field is not getting populated automatically (under additional data tab) though all the master data against  'Handling Unit Group 1' are maintained.
    Please suggest regarding what are the configurations missing.
    Thanks & Regards
    Priyanka Mitra

    Hi,
    As per my earlier posts I have already maintained all the master data against 'Handling Unit Group 1' for example 00001 to 00500 and the combination of finished good & packing material in the packaging instruction in POP2 are also maintained.
    Please note that in another scenario the handling unit is getting automatically populated in the packing process after delivery where also the above mentioned areas are not maintained, but still it is working properly.
    The steps I have configured  and which is also followed in the working scenario are as follows -
    In outbound delivery change mode (T Code - VL02N) go to Pack -> Click on Pack Proposal -> Expand packing instruction -> select 602 -> Create HUs -> Message shown is Handling Units were created -> click on Pack material & select the 'Handling Unit' line -> then select 'Detailed view general' -> then go to Additional Data where in Handling Unit Group 1, value is automatically populated / assigned for example 00027.
    In my process only the value for example 00001against each respective HUs are not getting automatically populated/ assigned. How to do this ? please suggest if I am missing any steps while configuration.
    Thanks & Regards
    Priyanka

  • One EAR , multiple WARs - CLASSPATH problem

    Hi there,
    According to [url http://e-docs.bea.com/wls/docs92/programming/splitcreate.html#wp1102496]WL 9 documentation, any thid-party library of my EAR located at APP-INF/lib can be referenced anywhere.
    Unfortunately that's not happening ... :-(
    This is my EAR scenario:
    APP-INF\lib\log4j.jar
    APP-INF\lib\struts.jar
    APP-INF\lib\many-others.jar
    ejb1.jar
    ejb2.jar
    web1.war (no jars inside)
    web2.war (no jars inside)
    web3.war (no jars inside)
    There is no problem with EJB, but no web application can reach any jar from APP-INF\lib\ .
    If I copy all jars to WEB-INF\lib inside a WAR, everything works fine. That won't be an option because I have 7 web modules and creating an EAR with the same jars 7 times is out of the question.
    So, dear WL9 gurus, anyone could pull this off ? :-)

    You may try to use JSP compiler class. Please specify 'compilerclass'
              option in weblogic.xml. This option specifies name of a Java compiler
              that is executed in WebLogic Servers's virtual machine. (Used in place of
              an executable compiler such as javac or sj.)
              Please see
              http://e-docs.bea.com/wls/docs61/webapp/weblogic_xml.html#jsp-descriptor.
              Paco Garcia wrote:
              > oops!
              >
              > >$WL_HOME/./config/DOMAIN/applications/.wl_notdelete_EARNAME
              > >/wlap#####/ejbjarname.jar
              >
              > >with DOMAIN=DOM1, WL_HOME=W, ejbjar name=EJB1, EARNAME=EAR1
              > >you get:
              > >/w/./config/DOM1/applications/.wl_notdelete_EAR1/wlap#####/EJB1.jar:
              >
              > please read SERVERNAME instead of EARNAME
              >
              > PacoG.
              Regards,
              Ann
              Developer Relations Engineer
              BEA Support
              

  • Slow pack() problem; is there a workaround? (was 'Odd delay on first pack()

    I've run into a rather perplexing problem with pack(). When I pack() a visible frame after re-sizing a panel within it, pack takes over FIVE seconds, compared to one second to create the gui in the first place, including a pack(). Subsequent resize-repack calls are very fast. Here's a test program that illustrates the problem:
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class Test implements ActionListener {   
        boolean isOpen;
        Dimension prefD;
        JFrame f;
        JPanel pan1;
        long tm; /* All times in milliseconds. */
        public Test() {
            elapsedTime();
            f = new JFrame();      
                // The main panel
            JPanel pan = new JPanel();
            pan.setLayout(new BoxLayout(pan,BoxLayout.Y_AXIS));                       
            f.getContentPane().add(pan);               
                // Add the button in a panel
            JButton b = new JButton("b");
            b.addActionListener(this);
            pan.add(b);
                // Add a label in another panel
            pan1 = new JPanel();
            pan1.setLayout(new BoxLayout(pan1,BoxLayout.Y_AXIS));
            pan.add(pan1);
            pan1.add(new JLabel("This is pan 1"));
            isOpen = true;
            f.pack();
            prefD =  new Dimension(pan1.getPreferredSize()); // Save this size
            f.setVisible(true);
            System.out.println("Time elapsed in initially creating the gui: "
                               + elapsedTime());
        public void actionPerformed(ActionEvent e) {
            if ( isOpen ) {  // Hide the second panel       
                elapsedTime();
                pan1.setPreferredSize(new Dimension(prefD.width,0));          
                pan1.setSize(new Dimension(prefD.width,0));                      
                System.out.println("Time to resize the panel: " + elapsedTime());           
                f.pack();
                System.out.println("Time to pack(): " + elapsedTime()); 
                isOpen = false;
            else { // Show the lower panel
                elapsedTime();
                pan1.setSize(prefD);
                pan1.setPreferredSize(prefD);
                System.out.println("Time to resize the panel: " + elapsedTime());      
                f.pack();
                System.out.println("Time to pack(): " + elapsedTime()); 
                isOpen = true;
        long elapsedTime() {
            long cur = System.currentTimeMillis();
            long elapsed = cur - tm;
            tm = cur;
            return(elapsed);
        public static void main(String[] argv) {
            new Test();
    }When I run this test, the times from hitting the button six times are:
    Time elapsed in initially creating the gui: 1260
    Time to resize the panel: 0
    Time to pack(): 5004
    Time to resize the panel: 0
    Time to pack(): 3
    Time to resize the panel: 1
    Time to pack(): 3
    Time to resize the panel: 0
    Time to pack(): 3
    Time to resize the panel: 0
    Time to pack(): 3
    Time to resize the panel: 0
    Time to pack(): 3If I set the frame invisible before the pack and visible again after, the time delay disappears, but of course this is not an adequate solution.
    I'd appreciate an suggestion for a workaround, or any ideas about what the problem is. I'm pretty much stuck.
    Thanks,
    bw

    OS: Linux, SuSE 8.0, kernel 2.4.18-4GB
    JDK: I've tried this with two versions of 1.4.1
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
    Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)
    and
    java version "1.4.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.1-beta)
    Java HotSpot(TM) Client VM (build Blackdown-1.4.1-beta, mixed mode)
    moi@bearblue:/usr/local
    These yield the same problem (of course they are closely related).
    It turns out that the problem does NOT occur with an old 1.3.1 version:
    java version "1.3.1"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
    Classic VM (build 1.3.1, J2RE 1.3.1 IBM build cxia32131-20020410 (JIT enabled: jitc))

  • WAR file problem

    My apologies if this post has appeared before...not sure if my previous 2
              posts made it to the newsgroup.
              I am having a problem with a war deployment. I am trying to get the
              following architecture to work:
              1) servlet instantiates data bean and places it in session
              2) jsp uses data bean to create customized output
              However, the jsp cannot compile because the databean is not being found.
              The data bean class is in /WEB-INF/classes so the jsp should have access to
              it. I can compile the servlet fine so it is not a problem with my classpath
              to the data bean class.
              I have seen similar posts to this however I have yet to find a reply that
              solves the problem.
              Any help appreciated!
              Thanks,
              Derek
              

    There are a number of things I am finding difficult to get working with
              WebLogic that work perfectly as described in the spec under Orion app
              server, as well as Resin.
              It appears that the servlet mappings in web.xml don't work correct. I think
              I have the SP4 patch applied, but I don't have a clue how to find out if it
              is indeed using the latest patch or not. Also, the
              /servlet/mypackage.myclass call does not work on JSP pages in WebLogic. I
              read up on the ServletServlet it provides and it appears that it does not
              recognize the WEB-INF/classes folder as a location to look for any /servlet/
              paths. That is rather bothersome initially, although when I rework our site
              to using Struts for the front-end, that need should go away.
              My main quest is to get Struts working so I can get my darn site to log me
              in. I normally have the login button submit the form to a jsp page that
              calls upon a servlet in the <jsp:include
              page="/servlets/com.mycompany.package.MyClass" /> fashion, which used to
              work. It does not under WebLogic. Is there ANY way to get the
              WEB-INF/classes to be part of the class path when calling upon my own
              classes as per the Servlet 2.2 spec? Or does Orion, JRUN 3, and Resin all do
              it wrong?
              Thanks.
              "Derek Clayton" <[email protected]> wrote in message
              news:[email protected]...
              > Yup...it works for a jsp page that doesn't use anything but html.
              >
              > I just can't believe that weblogic claims to support war files as long as
              > you don't try to use jsps with dynamic content.
              >
              > "Kevin Duffey" <[email protected]> wrote in message
              > news:[email protected]...
              > > Are you able to see any JSP output? Try a simple test.jsp page that
              simply
              > > says HELLO and doesn't use anything other than HTML. See if that output
              > > shows. I had a similar problem where the JSP page wasn't even compiling
              > > initially, then it kept giving me ClassLoader problems. I found out the
              > > problem was that I had an older jsdk.jar in the WEB-INF/lib dir which
              was
              > > causing problems.
              > >
              > > Hope that may help.
              > >
              > > "Derek Clayton" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > My apologies if this post has appeared before...not sure if my
              previous
              > 2
              > > > posts made it to the newsgroup.
              > > >
              > > > I am having a problem with a war deployment. I am trying to get the
              > > > following architecture to work:
              > > >
              > > > 1) servlet instantiates data bean and places it in session
              > > > 2) jsp uses data bean to create customized output
              > > >
              > > > However, the jsp cannot compile because the databean is not being
              found.
              > > > The data bean class is in /WEB-INF/classes so the jsp should have
              access
              > > to
              > > > it. I can compile the servlet fine so it is not a problem with my
              > > classpath
              > > > to the data bean class.
              > > >
              > > > I have seen similar posts to this however I have yet to find a reply
              > that
              > > > solves the problem.
              > > >
              > > > Any help appreciated!
              > > >
              > > > Thanks,
              > > >
              > > > Derek
              > > >
              > > >
              > >
              > >
              >
              >
              

  • SAP_HR Support Pack Problem

    Hello,
    I am trying to apply the year-end support packs for SAP_HR (SAPKE50023 - SAPKE50026).  I get so far with SPAM, but then I get the following error: Error in phase: IMPORT_PROPER, Reason for error: TP_STEP_FAILURE.  I applied the latest TP version just in case that was the problem, but it did not solve it.  Any ideas?
    Thank you for your time,
    Erin Byrne

    Hi Ruchit,
    In SPAM, it says the following:
    Error in phase: IMPORT_PROPER
    Reason for error: TP_STEP_FAILURE
    Return code: 0012
    Error message: OCS Package ALL, tp step "N", return code 0012
    I looked at the system log, but there was not anything new there.  In /usr/sap/trans/log, I looked at my N log, & it basically said CONVERSION OF DD OBJECTS (TBATG) ended in return code 0012.  It was not very helpful.  I applied TP version 145 (the latest one I found), but that did not help the issue.  When I look in STMS, there are no errors in the setup either.  Any help you can offer would be much appreciated.
    Thank you,
    Erin

  • WAR deployment problem

              ok this is really confusing and annoying!!! I have a .war file (servlet + jsps
              + descriptor) packaged up in the correct way, I have checked the docs like 100
              times.. the problem is, I'm running win NT and when I create the war file I'm
              executing 'jar' on a directory structure..
              WEB-INF/classes
              WEB-INF/web.xml
              *.jsp
              But when I view the resulting .war file in winzip, I see this..
              WEB-INF/classes/all classes.....
              web-inf/web.xml
              where on earth is this lowercase web-inf coming from ??
              as a result when i deploy this war file, it deploys fine and the init() method
              of the servlet is called, however when i try to access the servlet via it's alias
              (specified in web.xml) it can't be found.
              The exact same files work when used as an exploded directory (DefaultWebApp),
              and can be accessed via the alias.
              The MS-DOS name of the directory is WEB-INF so I simply can't understand where
              the "extra" lower case
              directory web-inf is coming from........
              Am I correct in assuming the lowercase web-inf is the problem ?? I'm not 100%
              sure cos the weblogic
              console can read & edit this xml file.
              Has anyone else experienced WAR deployment on windows problems like this? I'd
              love to get my hands on a unix box but my company suffer from unix-phobia :/
              any thoughts/suggestions/solutions greatly appreciated,
              thanks,
              sd
              

    Explorer in Windows has an option to allow all upper case, for example.
              Peace,
              Cameron Purdy
              Tangosol, Inc.
              Clustering Weblogic? You're either using Coherence, or you should be!
              Download a Tangosol Coherence eval today at http://www.tangosol.com/
              "SD" <[email protected]> wrote in message
              news:[email protected]...
              >
              > I'm sorry but I don't understand what you mean by..
              >
              > >Case will mess you up. Set your explorer options so NT isn't constantly
              > >"fixing" your case.
              >
              >
              > under 'options' in windows Explorer I don't see anything
              > to with case ??
              >
              > Also - are there any war files around that I can just
              > get and install and access via their servlet-mapping just
              > as a sanity check for my weblogic installation ??
              > I can't get ANY servlet (in a war file) to be accessed via
              > it's servlet mapping. :( But these servlet mappings can
              > be seen and edited via the weblogic console.
              >
              > thanks,
              > sd
              >
              > >"SD" <[email protected]> wrote in message
              > >news:[email protected]...
              > >>
              > >> ok this is really confusing and annoying!!! I have a .war file
              (servlet
              > >+ jsps
              > >> + descriptor) packaged up in the correct way, I have checked the docs
              > >like
              > >100
              > >> times.. the problem is, I'm running win NT and when I create the war
              > >file
              > >I'm
              > >> executing 'jar' on a directory structure..
              > >>
              > >> WEB-INF/classes
              > >> WEB-INF/web.xml
              > >> *.jsp
              > >>
              > >> But when I view the resulting .war file in winzip, I see this..
              > >>
              > >> WEB-INF/classes/all classes.....
              > >> web-inf/web.xml
              > >>
              > >> where on earth is this lowercase web-inf coming from ??
              > >> as a result when i deploy this war file, it deploys fine and the init()
              > >method
              > >> of the servlet is called, however when i try to access the servlet
              > >via
              > >it's alias
              > >> (specified in web.xml) it can't be found.
              > >>
              > >> The exact same files work when used as an exploded directory
              > >(DefaultWebApp),
              > >> and can be accessed via the alias.
              > >>
              > >> The MS-DOS name of the directory is WEB-INF so I simply can't
              understand
              > >where
              > >> the "extra" lower case
              > >> directory web-inf is coming from........
              > >>
              > >> Am I correct in assuming the lowercase web-inf is the problem ?? I'm
              > >not
              > >100%
              > >> sure cos the weblogic
              > >> console can read & edit this xml file.
              > >>
              > >> Has anyone else experienced WAR deployment on windows problems like
              > >this?
              > >I'd
              > >> love to get my hands on a unix box but my company suffer from
              unix-phobia
              > >:/
              > >>
              > >> any thoughts/suggestions/solutions greatly appreciated,
              > >> thanks,
              > >> sd
              > >>
              > >
              > >
              >
              

  • Performance Pack problem under win2k

    i am running wls 5.1sp5 under win2k.
    and get always the same errormessage at startup:
    <Posix Performance Pack> Could not initialize POSIX Performance Pack.
    <Performance Packnc> Unable to load performance pack using java I/O
    what am i doing wrong ??

    Yes, this is a known problem that we discovered recently.
    Contact [email protected] or wait until next service pack goes out.
    Kumar
    Todd Carmichael wrote:
    I also am getting the same error messages on Win2k, though I do not get the
    POSIX error. Is the performance pack not needed on Windows 2k
    Tue Aug 29 18:04:56 PDT 2000:<E> <Performance Pack> Unable to load
    performance pack, using Java I/O.
    "Johannes Plachy" <[email protected]> wrote in message
    news:[email protected]..
    i am running wls 5.1sp5 under win2k.
    and get always the same errormessage at startup:
    <Posix Performance Pack> Could not initialize POSIX Performance Pack.
    <Performance Packnc> Unable to load performance pack using java I/O
    what am i doing wrong ??

  • Mysterious .war deployment problem

    Hi,
    I apologize if this might not the proper forum, but I'm stuck, so any help will do.
    I'm using jboss 2.4.1 and tomcat 3.2.3. Currnetly, I'm
    experiencing weird problem, desperatly need help. I had
    matashop.webtier.Tree, matashop.webtier.TreeBuilder, and
    matashop.webtier.TreeBuilderImpl classes.
    After sometime, I decided to switch those three classes under
    matashop.util (so current structure is: matashop.util.Tree,
    matashop.util.TreeBuilder, matashop.util.TreeBuilderImpl).
    A class (matashop.util.CategoryTreePrinter) uses those three classes.
    A JSP (ShowCategories.jsp) uses matashop.util.CategoryTreePrinter.
    However, each time I deployed my ear (consists of jar and war), and
    access ShowCategories.jsp which uses matashop.util.CategoryTreePrinter, I got this
    exception (my platform is win2k) :
    ========================================================================
    javax.servlet.ServletException: matashop/webtier/TreeBuilder
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:508)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    etc...
    Root cause:
    java.lang.NoClassDefFoundError: matashop/webtier/TreeBuilder
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            at catalog._0002fcatalog_0002fShowCategories_0002ejspShowCategories_jsp_0._jspService(_0002fcatalog_0002fShowCategories_0002ejspShowCategories_jsp_0.java:191)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    etc...=================================================================================================
    I've check tomcat log, jboss log, it seems classpath is ok to me (I don't post here
    rightnow cause it's too long, but I'll put some part here if some of you think it's
    needed). I even clean tomcat/work, jboss/tmp/deploy, but it's just the same, I still
    got the same exception. I've rebuild all classes.
    I once suspect maybe the .war problem, so I tried to remove matashop.util.CategoryTreePrinter
    from the .war, and I got expected response when I access ShowCategories.jsp --
    complaining couldn't find matashop.util.CategoryTreePrinter. So I believe my
    .war is correct.
    Please help me, I've been working on this issues for days :(((((((((
    -- Verdi March --

    Check ur jsp. It seems in ur jsp u might have imported or given the class as matashop.webtier.TreeBuilder

  • WAR Deployment Problem (WEB-INF/web.xml not found)

              I have a war application and WebLogic 5.1 with Svr Pack 8 failed to deploy it
              when it start up. Here is what I did,
              1. I jared all necessary files including WEB-INF\web.xml in the myapp.war file;
              here I used all uppercase for WEB-INF directory, but after I jared it, it shew
              up web-inf\web.xml but WEB-INF\lib\pushlet.jar in the myapp.war file. I think
              this is the behavior of jar program.
              2. I appended the myapp.war to the weblogicclasspath in the start script;
              3. In weblogic.properties file, I specified two lines:
              weblogic.httpd.webApp.myapp=c:/weblogic/default/myapp.war
              weblogic.httpd.defaultWebApp=myapp
              4. Then I start up the WebLogic server named "default". It shew the following
              error messages:
              java.io.FileNotFoundException: Directory myapp\ does not contain WEB-INF/web.x
              ml
              at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader
              .java:177)
              at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:630)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:558)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java:418)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1312)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              Thu Mar 29 17:24:16 EST 2001:<E> <HTTP> FATAL: could not load WAR 'myapp' as d
              efault servlet context
              java.lang.NullPointerException
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:560)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java:418)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1312)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              Thu Mar 29 17:24:17 EST 2001:<E> <HTTP> Could not find Web application 'c:/weblo
              gic/default/myapp.war'
              java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in jar file
              at weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:93)
              at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader
              .java:134)
              at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:627)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:602)
              at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:570)
              at weblogic.t3.srvr.HttpServer.start(HttpServer.java:418)
              at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1312)
              at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              at java.lang.reflect.Method.invoke(Native Method)
              at weblogic.Server.startServerDynamically(Server.java:99)
              at weblogic.Server.main(Server.java:65)
              at weblogic.Server.main(Server.java:55)
              Please help me find out what is wrong with this. Greatly Appreciated.
              Thanks in advance,
              Donald
              

              If it is still not working, try to set the weblogic.httpd.documentRoot =c:/weblogic/default
              in the weblogic.properties & try.
              "Donald Ye" <[email protected]> wrote:
              >
              >
              >I have a war application and WebLogic 5.1 with Svr Pack 8 failed to deploy
              >it
              >when it start up. Here is what I did,
              >
              >1. I jared all necessary files including WEB-INF\web.xml in the myapp.war
              >file;
              >here I used all uppercase for WEB-INF directory, but after I jared it,
              >it shew
              >up web-inf\web.xml but WEB-INF\lib\pushlet.jar in the myapp.war file.
              >I think
              >this is the behavior of jar program.
              >
              >2. I appended the myapp.war to the weblogicclasspath in the start script;
              >
              >3. In weblogic.properties file, I specified two lines:
              >weblogic.httpd.webApp.myapp=c:/weblogic/default/myapp.war
              >weblogic.httpd.defaultWebApp=myapp
              >
              >4. Then I start up the WebLogic server named "default". It shew the following
              >error messages:
              >
              >java.io.FileNotFoundException: Directory myapp\ does not contain WEB-INF/web.x
              >ml
              > at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader
              >.java:177)
              > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:630)
              > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:558)
              > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:418)
              > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1312)
              > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.Server.startServerDynamically(Server.java:99)
              > at weblogic.Server.main(Server.java:65)
              > at weblogic.Server.main(Server.java:55)
              >
              >Thu Mar 29 17:24:16 EST 2001:<E> <HTTP> FATAL: could not load WAR 'myapp'
              >as d
              >efault servlet context
              >java.lang.NullPointerException
              > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:560)
              > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:418)
              > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1312)
              > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.Server.startServerDynamically(Server.java:99)
              > at weblogic.Server.main(Server.java:65)
              > at weblogic.Server.main(Server.java:55)
              >
              >Thu Mar 29 17:24:17 EST 2001:<E> <HTTP> Could not find Web application
              >'c:/weblo
              >gic/default/myapp.war'
              >java.io.FileNotFoundException: WEB-INF/web.xml XML file not found in
              >jar file
              > at weblogic.xml.dom.DOMParser.getDocument(DOMParser.java:93)
              > at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader
              >.java:134)
              > at weblogic.t3.srvr.HttpServer.loadWARContext(HttpServer.java:627)
              > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:602)
              > at weblogic.t3.srvr.HttpServer.initServletContexts(HttpServer.java:570)
              > at weblogic.t3.srvr.HttpServer.start(HttpServer.java:418)
              > at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:1312)
              > at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at weblogic.Server.startServerDynamically(Server.java:99)
              > at weblogic.Server.main(Server.java:65)
              > at weblogic.Server.main(Server.java:55)
              >
              >
              >Please help me find out what is wrong with this. Greatly Appreciated.
              >
              >Thanks in advance,
              >
              >Donald
              

Maybe you are looking for