JDBC  + WAR deployment

I've recently moved to JDeveloper and was quite impressed with the ability to deploy directly to a WAR file. However, I seem to have run into some trouble. When I use classes12.jar JDBC drivers in my project library and build the WAR it includes many of the JDBC classes in the WAR file. So I bring this war over to Tomcat in the usual way and my database connections don't work. I get:
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:537)
Somewhat strangely if I go directly into the deployed WAR file and remove the Oracle and Javax directories from my classes folder, and then add classes12.jar to my Tomcat/lib directory then everything works fine.
It seems as though the process of deploying to a WAR file is corrupting or omitting certain important classes.
1) Would anyone have any idea what could cause this sort of behaviour? Is there a problem with JDevelopers WAR deployment?
2) Also failing all else, is there a way of including the classes for compiling but not having them included in the WAR file? I tried putting oracle12.jar into the lib and lib/ext directory but it didn't seem to pick them up.
Thanks in advance,
Dave Molloy

I found that if I went into my deployment settings (JDeveloper project, right click on your <>.deploy file and select "Settings..."),
under the "WAR File" - "WEB-INF/lib" section, I could choose which libs were included in the war file.
I didn't include classes12.
(of course mine worked if I included it or not, so it isn't quite the same what you are experiencing.) I think it just pulled the one from <ORACLE_HOME>\jdbc\lib\. Unfortunately, it doesn't include a manifest file with a version...so you probably have to check the create date/time or the included classes to figure it out.
Maybe your two classes12 files are for different versions, and so they are conflicting. This might explain why it works if you put the classes12 directly in your app server, but fails when it is also in the war.
If you do include classes12 in the war file, using a manifest file may help the classloader with determining the precedence that you want.

Similar Messages

  • File Not Found Error: new WAR deployment

    I'm trying to find the path to my new WAR deployed JSP files. The following error occurs:
    Exception:
    java.io.FileNotFoundException: d:\oracle\ora9ias_test\apache\apache\htdocs\RAP_Editor_viaWAR\RapView1_Browse.jsp
    In my address bar I type: http://(oracle_home):7778/RAP_Editor_viaWAR/RapView1_Browse.jsp
    I don't know why it is looking under the \apache\apache\htdocs directory. What configuration step have I missed? I'm having a similar problem finding the demo apps as well.
    Thanks!
    -Tony.

    Well, I've found out that my HTTP path issues we're related to the Portal SDK install. The OC4J instance "JDev" seems to mess up JSPs and results in a FileNotFound exception. Its looking for JSPs in the wrong place - http://<oracle-home>/apache/apache/htdocs/j2ee/...
    The fix: comment out the include directive in httpd.conf that references JDev.
    Another BC4J JSP issue: Be sure your datatags.jar file is current or else you'll get an HTTP 500 error due to an unsupported attribute. The application.log file will show "Error: itermode is not a property of oracle.jbo.html.jsp.datatags.DataSourceTag".
    -Tony.

  • Problem with war deployment

              hello everybody,
              i deployed the one .war file which contains 1 servlet and another 10 simple classes.i
              deployed using the console and everything shows fine.the servlet mapping everything
              seems to be perfect.but when i run the application nothing happens.i restared
              the server.
              thanks for helping.
              sada
              

              You will have to be more clear on what is happening.
              With you description, I assume that it is working fine in exploded format. There
              are couple of things that can go wrong on war deployment.
              1) Check your war file contents. Path of the contents should not include the war
              file name.
              For eg: /wstt/WEB-INF/classes/com/util/Sample.class
              if above is the fully qualified path of a class and if your war file name is wstt
              then war file should conatin the path as
              /WEB-INF/classes/com/util/Sample.class
              2) Check your Target cluster/server in your console for the war file.
              I hope this helps.
              - Albert
              "sada" <[email protected]> wrote:
              >
              >hello everybody,
              >i deployed the one .war file which contains 1 servlet and another 10
              >simple classes.i
              >deployed using the console and everything shows fine.the servlet mapping
              >everything
              >seems to be perfect.but when i run the application nothing happens.i
              >restared
              >the server.
              >
              >thanks for helping.
              >sada
              >
              

  • Enterprise Manager menu is missing in the WAR deployment

    I installing CFMX8 and a pair of test servers. I did a
    multiserver CFMX8 install because I was having a heck of a time
    getting the WAR deployment version install (on Windows 2003 with
    JRun4).
    When I got CFMX8 finally installed via a WAR deployment, I
    noticed in the CF Admin left hand menu bar that the sub menu
    "Enterprise Manager" was missing.
    Can someone tell me what the differences are between the two
    deployments, why this menu is missing.
    Using the Multiserver installation is not a option because
    because of the way we are setting up our environment.

    The multi-server installation creates a single instance of
    coldfusion server that is the enterprise manager. It is not meant
    to be used as a server you deploy applications on. Rather it is
    meant to allow you to create and manage other server instances and
    clusters. Therefore, you see the enterprise manager menu in its
    cfadministrator. That is its expected main purpose.
    The war file deployment contains a single instance of a
    coldfusion server. There is no need for it to have an enterprise
    manager. The standard administrator allows you to manage all the
    options in a single CF8 instance.
    For jrun deployments you should create an ear file deployment
    from the cf8 installer. Then follow the instructions in the j2ee
    readme text file that is created in the same directory as the ear
    file.

  • WAR Deployment Issue

    Hi All,
    The Application which is built on web services, EJB3.0, Toplinks Essential . When i deploying this application on WebLogic Application Server 10.3 everything works fine. But while Running the same application after deploying in WAR format gives some exception which i am listing below -
    "java.lang.IllegalArgumentException: Unknown entity bean class: class <name>, please verify that this class has been marked with the @Entity annotation."
    Warning-
    WARNING: Found unrecognized persistence provider "oracle.toplink.essentials.PersistenceProvider" in place of OpenJPA provider. This provider's properties will not be used.
    But i am not able to make out why i am getting this issue in case of WAR deployment.
    Looking forward to some positive response........
    Thanks.

    Well, your problem maybe that you need to separate EJBs from Web modules.
    WAR files are for Servlets, JSPs, JSFs, etc.
    EJB-JARs are for EJBs
    All should be packaged into an EAR...
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                       

  • Weblogic 6.0 sp2: War deployment not working !!

    Hi,
    I'm using weblogic 6.0 sp2, and it seems as though the war deployment is not
    working. My war consists of jsps, images, and under the WEB-INF/classes
    directory, Struts classes (i.e. Form and Action classes). When I try to run
    a jsp, i get the following error :
    <Jul 30, 2001 11:48:10 AM PDT> <Error> <HTTP>
    <[WebAppServletContext(4655498,ati
    nera)] Root cause of ServletException
    javax.servlet.jsp.JspException: Exception creating bean of class
    com.atinera.log
    in.web.LoginForm: java.lang.ClassNotFoundException:
    com.atinera.login.web.LoginF
    orm
    But if you look in the war, that class is in there.
    What gives ?
    Thanks,
    Jamie

    That's right - ActionServlet does Class.forName(actionClass) to load action
    class, and this uses ClassLoader which loaded the current class (ActionServlet)
    ClassLoaders always delegate to their parent before attempting to load
    the class themselves, so it wasn't working until you moved struts.jar to your
    WEB-INF/lib.
    BTW, Struts doc mentions this problem:
    lib/struts.jar - This JAR file contains all of the Java classes included
    in Struts. It should be copied into the WEB-INF/lib directory of your web
    application. WARNING - If you are going to be hosting multiple Struts based
    applications on the same servlet container, you will be tempted to place the
    struts.jar file into the shared repository supported by your container. Be
    advised that this will like cause you to encounter ClassNotFoundException
    problems unless all of your application classes are stored in the shared
    repository.
    Jamie Tsao <[email protected]> wrote:
    So I found the solution to this problem, but it doesn't really make sense to
    me.
    I originally had struts.jar outside of the WAR file, but in my CLASSPATH.
    Weblogic was able to load Strut's ActionServlet (controller), but when the
    ActionServlet was looking for the LoginForm (which was inside the WAR), it
    couldn't find it.
    I solved the problem by putting struts.jar inside the WAR (under
    WEB-INF/lib) instead that other directory. Now it works cause apparently
    ActionServlet is now in the same classloader as LoginForm, the classloader
    which loaded the WAR.
    I'm confused because original way should have worked since the classloader
    that loaded struts.jar from outside the war is the parent classloader for
    the classloader that loaded the WAR. did that make any sense ?
    anyone know why ?
    thanks,
    jamie
    "Jamie Tsao" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I'm using weblogic 6.0 sp2, and it seems as though the war deployment isnot
    working. My war consists of jsps, images, and under the WEB-INF/classes
    directory, Struts classes (i.e. Form and Action classes). When I try torun
    a jsp, i get the following error :
    <Jul 30, 2001 11:48:10 AM PDT> <Error> <HTTP>
    <[WebAppServletContext(4655498,ati
    nera)] Root cause of ServletException
    javax.servlet.jsp.JspException: Exception creating bean of class
    com.atinera.log
    in.web.LoginForm: java.lang.ClassNotFoundException:
    com.atinera.login.web.LoginF
    orm
    But if you look in the war, that class is in there.
    What gives ?
    Thanks,
    Jamie
    Dimitri

  • 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
              > >>
              > >
              > >
              >
              

  • War Deployment in OSE

    Has anybody successfully used the war deployment tool for deploying wars into the OSE. I have installed the tool along with 1.1.2.0 of OracleJSP but when I use the deploywar command in the sess_sh environment I get the following output:
    java.lang.ArrayIndexOutOfBoundsException
    Thats it, nothing else. I have checked in the database, all the classes are compiled and valid. I have tried innumerable variations to the command line with no change in the result. I re-installed everything from the ground up using OracleJSP 1.1.2.1 with the same result.
    I have successfully deployed servlets and jsp's manually so I know that part works.
    Any hints or help is greatly appreciated.
    Scott Petersen
    Senior Programmer/Analyst
    HeavyLifters.com
    null

    Thanks, John. It turns out that I didn't have a correct auxiliary descriptor. (My xml header was bad.) Once I checked that I was able to get farther. Unfortunately, now I am running into problems with the jsp converter not being able to find the tag library tld. It doesn't seem to be using the <taglib> directives in the web.xml. It also is complaining that it can't find a file that is in an embedded .jar file in the war... grumble.
    Scott Petersen
    Senior Analyst/Programmer
    HeavyLifters.com

  • War deployment doesnt work - help

    Hi All
    We're trying to deploy our war file with weblogic.Deployer but it keeps failing.
    We need help to understand the problem to fix it.
    weblogic.Deployer invoked with options: -adminURL t3://weblogic.host.com:7001 -user weblogic -name App -source /path/to/App.war -targets App_Managed_Server -deploy
    <Jan 12, 2013 11:37:11 PM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, App [archive: /path/to/App.war], to App_Managed_Server .>
    Task 108 initiated: [Deployer:149026]deploy application App on App_Managed_Server.
    Task 108 failed: [Deployer:149026]deploy application App on App_Managed_Server.
    Target state: deploy failed on Server App_Managed_Server
    weblogic.management.DeploymentException: [J2EE:160177]The application at "/scratch/software/Oracle/Middleware/user_projects/domains/wl_server/servers/App_Managed_Server/stage/App/app" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.
    On another war file,
    weblogic.Deployer invoked with options: -adminURL t3://weblogic.host.com:7001 -user weblogic -name ws -source /path/to/ws.war -targets App_Managed_Server -redeploy
    <Jan 13, 2013 12:33:21 AM PST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating redeploy operation for application, ws [archive: /path/to/ws.war], to App_Managed_Server .>
    Task 124 initiated: [Deployer:149026]deploy application ws on App_Managed_Server.
    Task 124 failed: [Deployer:149026]deploy application ws on App_Managed_Server.
    Target state: redeploy failed on Server App_Managed_Server
    weblogic.application.ModuleException: Context path '/ws' is already in use by the module: ws.war application: ws
    We tried undeploying it and deploy and we get the same error
    What did we do wrong?
    Edited by: 898644 on Jan 13, 2013 12:37 AM

    They are two different problems.
    The first may be due to an incorrectly packaged ear file or by some garbage temporary files or bad WebLoigc status.
    The second may be due to some garbage temporary files or bad WebLoigc status.
    At first step try cleaning up by
    - stopping all the WebLogic server instances (admin and managed)
    - removing <domain>/servers/<server_name>/tmp , <domain>/servers/<server_name>/cache , <domain>/servers/<server_name>/stage
    - start all the WebLogic server instances (admin and managed)
    And try again.
    Bye
    Mariano

  • Please help me--- jaxrpc war deploy error

    hello, i made a jaxrpc web services Demo and i have tried to deploy it. But in the jwsdp-catalog i can only see the path (in the there is nothing and in the Web Services Endpoint also no such Endpoint). i have used more than 10 hours to try to find the error. It make my crazy. :-S
    interface:
    package de.tuhh.sts.webservices.examples.services;
    import java.rmi.Remote;
    import java.rmi.RemoteException;
    * author: jing ge
    * Date: Jul 3, 2003
    * Time: 11:57:18 AM
    public interface GetTimeIF extends Remote {
    public String getInput(String in) throws RemoteException;
    public String getTime() throws RemoteException;
    public String getTimeHTML() throws RemoteException;
    servant:
    package de.tuhh.sts.webservices.examples.services;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    import java.io.PrintWriter;
    import java.rmi.Remote;
    * Author: Jing
    * Date: Jun 29, 2003
    * Time: 3:02:16 PM
    public class GetTimeDemo implements GetTimeIF,Remote{
    public void GetTeimeDemo() {
    public String getInput(String in){
    return "you wrote " + "\"" + in +"\"";
    public String getTime(){
    Calendar ca = new GregorianCalendar();
    String time = ca.get(Calendar.HOUR) + ":" + ca.get(Calendar.MINUTE) + ":" + ca.get(Calendar.SECOND);
    System.out.println(time);
    return time;
    public String getTimeHTML(){
    return "<html>/n"+ "<head><title>SimpleServlet</title></head>/n"+ "<body>/n" + "<p>" + getTime()
    +"</body>/n</html>";
    jaxrpc-ri.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <webServices xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd" version="1.0" targetNamespaceBase="http://www.sts.tu-harburg.de/wsdl" typeNamespaceBase="http://www.sts.tu-harburg.de/types" urlPatternBase="/ws">
         <endpoint name="GetTime" displayName="GetTime Service" description="A simple web service" interface="de.tuhh.sts.webservices.examples.services.GetTimeIF" implementation="de.tuhh.sts.webservices.examples.services.GetTimeDemo"/>
         <endpointMapping endpointName="GetTime" urlPattern="/gettime"/>
    </webServices>
    web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <display-name>JAX-RPC GetTime Web Services Sample</display-name>
         <description>Sample Application for JAX-RPC using static stubs.</description>
         <session-config>
              <session-timeout>60</session-timeout>
         </session-config>
    </web-app>
    make war:
    jar cvf jaxrpc-gettime-raw.war ./web-inf/
    deploy:
    wsdeploy -tmpdir ./web-inf -keep -o jaxrpc-gettime.war jaxrpc-gettime-raw.war
    copy it into the directory : "webapps"
    are there anything wrong? i have check everything, but i can still not find the error. is it a bug of the java WSDP 1.2?
    thanks a lot
    Jing

    Hi,
    I am a new guy to web services. I saw tried your code posted on this article. you said that it is working fine. but when i use the command wsdeploy it is giving the following error.
    error: RmiModeler error: java.lang.ClassNotFoundException: de$tuhh$sts$webservices$examples$services$GetTimeIF
    here i am giving the sequence of steps i did.
    1) first i compiled all the classes with javac -d . *.java
    2)generated a war file with command
    jar cvf jaxrpc-gettime-raw.war de ./WEB-INF/
    this command listed out as follows
    added manifest
    adding: de/(in = 0) (out= 0)(stored 0%)
    adding: de/tuhh/(in = 0) (out= 0)(stored 0%)
    adding: de/tuhh/sts/(in = 0) (out= 0)(stored 0%)
    adding: de/tuhh/sts/webservices/(in = 0) (out= 0)(stored 0%)
    adding: de/tuhh/sts/webservices/examples/(in = 0) (out= 0)(stored 0%)
    adding: de/tuhh/sts/webservices/examples/services/(in = 0) (out= 0)(stored 0%)
    adding: de/tuhh/sts/webservices/examples/services/GetTimeDemo.class(in = 1224) (out= 671)(deflated 45%)
    adding: de/tuhh/sts/webservices/examples/services/GetTimeIF.class(in = 360) (out= 225)(deflated 37%)
    adding: WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/META-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/META-INF/MANIFEST.MF(in = 68) (out= 68)(deflated 0%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/WEB-INF/(in = 0) (out= 0)(stored 0%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/WEB-INF/GetTime_model.xml.gz(in = 10) (out= 7)(deflated 30%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/WEB-INF/jaxrpc-ri-before.xml(in = 591) (out= 292)(deflated 50%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/WEB-INF/jaxrpc-ri-runtime.xml(in = 132) (out= 112)(deflated 15%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/WEB-INF/web-before.xml(in = 413) (out= 269)(deflated 34%)
    adding: WEB-INF/jaxrpc-deploy-da3c6f/WEB-INF/web.xml(in = 503) (out= 311)(deflated 38%)
    adding: WEB-INF/jaxrpc-ri.xml(in = 591) (out= 292)(deflated 50%)
    adding: WEB-INF/web.xml(in = 413) (out= 269)(deflated 34%)
    3) run the deploy command
    wsdeploy -tmpdir ./web-inf -keep -o jaxrpc-gettime.war jaxrpc-gettime-raw.war
    could you please tell me how to run this application.
    thanks n regards,
    Sridhar Reddy,
    Software Engineer

  • Need help with tricky Tomcat 5.5 .war deployment

    As an example, let's say I have a .war called myWar.war.
    I place it in the webapps directory, and when I start tomcat, it auto-deploys it.
    I can access an index.html file residing in the html folder via this link
    http://mySite.com/myWar/html/index.htmlNow, what happens if I want to use a nested path? Like myWar/myFolder.
    I would access it via http://mySite.com/myWar/myFolder/html/index.htmlObviously, I cannot name my war file to myWar/myFolder.war
    Also, keep in mind that with Tomcat 5.5 you cannot use the context "path" element, as it gets ignored unless it is in the server.xml file
    The only solution I have seen requires you to drop the war file into a different folder, thus losing the ability to auto-deploy the war. The steps to do this are listed below:
    - create a context.xml file named myWar#myFolder.xml and place it in the conf/Catalina/localhost directory
    - inside that file, point the docBase to a war file that is outside of the webapps directory.
    Is there a better solution?

    Also it doesn't work corrcetly if I add a context entry in the server.xml file and leave myWar.war in the webapps directory
    <Context path="/myWar/myFolder" docBase="myWarLocatedInWebapps" debug="5" />This is because it deploys twice. Once as myWarLocatedInWebapps and once as myWar/myFolder. And I will end up with 2 different conf\catalina\localhost context.xml files. One called myWar.xml and one called myWar/myFolder.xml

  • War deployment works in 9iAS2 not Enterprise Manager 10g

    I have a war file that works fine in OEM Application Server: 9iAS2. When I try and deploy it on OEM 10g Application Server: J2EE_904 I keep getting NoClassDefFound errors when trying to access included jar files in WEB-INF/lib. Note that I have tried placing these jar files in ./j2ee/home/applib and still get the error.
    Here is an example stack trace:
    java.lang.NoClassDefFoundError
         at start.jspService(_start.java:73)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    The first time I try and go to the index page after deployment I get a different NoClassDefFoundError for org.dom4j.Element.
    Any Ideas? This application works fine in multiple versions of Tomcat, BEA Weblogic, 9iAS2 and several other servers...

    It has become necessary to get this war file working on version 9.0.4 for a customer. I have gotten as far as getting the application to work but I have to move some things around after deployment.
    I have added a line to <ORACLE_HOME>/j2ee/<OC4j Container>/config/application.xml
    to add a library path to a directory containing all jars existing in WEB-INF other than struts.jar. I have even had to include the classes directory for the model layer of the struts application.
    Once I've done that everything works. Is there a way I can modify the war file so I don't have to do all of this configuration post deployment? I still don't get why it works on other servers and even other versions of Oracle Application Server.

  • JDBC Drivers deployment in SAP PO system

    Hi Experts,
    Could any one provide information regarding deployment of JDBC drivers in SAP PO system. As I can see one of the option in NWA (Below is the screen snap) to deploy directly driver file in to SAP PO system. Is this is the way ?? If not please show some light on this.
    Regards,
    Anusha.

    Hi Anusha
    You can use SDA maker tool to build and include JDBC driver jar file in com.sap.aii.adapter.lib.sda file. You can also get this sda file by following the steps in SAP Note 1770304.
    Ensure that the jar file is compatible with SAP JVM used in your PI system.
    After you build the sda file, deploy it using telnet or SUM.
    regards
    AKD

  • Jdbc driver deployment problem..

    Hi xi Gurus...
            I have a scenario <b>File-XI-JDBC</b>(My Sql 5.0), i am using receiver side <u>My Sql</u>.. I downloaded the drivers for that also.. drivers are <u>mysql-connector-java-3.1.10.jar</u>.. i added this jar file to this .sda file(aii_af_jmsproviderlib.sda).. now i want to deploy into the <u>software deployment manager.(SDM)</u>.. The doubt is here.. before deploying this aii_af_jmsproviderlib.sda into sdm.. <b>wheather i have to start the XI server r i have to stop the server</b>.. what i have to do now... please send then reply ASAP..to this email id <u>[email protected]</u>..
    Advance Thanks..

    Hi ,
    Check this guide....
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Sekhar

  • Opensso.war deployment fails in Sun App server 8.2 windows vissta business

    I tried deploying opensso.war in Sun App server 8.2 on windows vista business machine. Am getting following error.
    Deploying application in domain failed; C:\Program Files\Sun\JavaES5\appserver\domains\domain1\applications\j2ee-modules\opensso\assets\js\AjaxUtils.js (Access is denied) ; requested operation cannot be completed C:\Program Files\Sun\JavaES5\appserver\domains\domain1\applications\j2ee-modules\opensso\assets\js\AjaxUtils.js (Access is denied)
    Am I missing something

    This is windows permission to the folder issue

Maybe you are looking for

  • ITunes 10.6.3 and iPhone 5.1 - firmware file???

    I am trying to find my "Personal Hot Spot" on my iPhone 4 so that I can use my new iPad through my personal hot spot.  First of all my iPhone is still on version 4 so I was told to update to version 5.1.  I was also told to update my iTunes to versio

  • Australian N85 users wanting a Firmware update to ...

    Hi there, As an Australian N85 user on a Virgin Mobile branded handset, I thought I'd share my recent experiences. Both phones were purchased from Telechoice under a Virgin Mobile contract. I received a Virgin branded N85 (product code 0575031) My wi

  • HT1657 Deleted by mistake

    I deleted a rental movie by mistake.  Can I access it again without paying a second time?

  • Multiple videos in Captivate 7

    If anyone has experience with this scenario, I would greatly appreciate your suggestions -- I have multiple training videos that I want to put together into a single Captivate file. Each video will be on its own separate slide, with a table of conten

  • Exporting desktop (!!) bookmarks from Firefox for Android

    Firefiox Sync messed up my desktop bookmarks, so a part of it lost completely now. But as my Nexus not always online it still contain almost latest snapshot of desktop bookmarks. I already disconnect it from Sync, so it's bookmarks won't be damaged.