Web Application Deployment

We are getting problem in deploying our application on SAP NetWeaver. We have downloaded Sneak Preview edition of SAP NetWeaver 6.40 SP 11. We deployed our war file using Deploy Tool. But our application could not load JDBC drivers and giving following exception.
Wed Jul 26 16:49:19 GMT+05:30 2006 Failed to load Database Driver: sun.jdbc.odbc.JdbcOdbcDriver
Wed Jul 26 16:49:19 GMT+05:30 2006 Unable to load database driver = JdbcOdbcDriver
Wed Jul 26 16:49:19 GMT+05:30 2006 Failed to get Database Connection for user : sa and database name : native
java.sql.SQLException: [Microsoft][SQLServer JDBC Driver][SQLServer]Login failed for user 'sa'.
     at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
     at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSLoginRequest.processReplyToken(Unknown Source)
     at com.microsoft.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
     at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
     at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
     at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
     at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
     at com.ourapplication.server.framework.pool.JDCConnectionPool.getConnection(JDCConnectionPool.java:173)
     at com.ourapplication.server.framework.pool.PoolManager.getConnection(PoolManager.java:455)
     at com.ourapplication.server.framework.audit.AuditManager.getInstance(AuditManager.java:115)
     at com.ourapplication.server.util.Macros.initializeServerProperties(Macros.java:307)
     at com.ourapplication.server.util.Macros.<init>(Macros.java:252)
     at com.ourapplication.server.util.Macros.<clinit>(Macros.java:245)
     at com.ourapplication.server.framework.pool.PoolManager.init(PoolManager.java:162)
     at com.ourapplication.server.framework.pool.PoolManager.<init>(PoolManager.java:112)
     at com.ourapplication.server.framework.pool.PoolManager.getInstance(PoolManager.java:130)
     at com.ourapplication.server.security.ExtSecurityManagerModule.readFromDatabase(ExtSecurityManagerModule.java:599)
     at com.ourapplication.server.security.ExtSecurityManagerModule.<init>(ExtSecurityManagerModule.java:125)
     at com.ourapplication.server.security.ExtSecurityManagerModule.<clinit>(ExtSecurityManagerModule.java:105)
     at com.ourapplication.server.login.UserLoginServlet.init(UserLoginServlet.java:52)
     at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:134)
     at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)
     at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Wed Jul 26 16:49:19 GMT+05:30 2006 Error while reading maximum log entry : java.lang.NullPointerException
Our application is properly running on other application servers. Please help us. Thanks in advance.

Hi,
Please check whether JDBC drivers are registered in Visual Admin.
Please follow following steps
Check your JDBC driver is registered. or else you have register it
1. Start the Visual Admin tool
2. Open the node Services under the server you want to check.
3. Click on the entry ClassLoader Viewer under Services. 5. The components are displayed in the right window. Open the node Applications in the right window.
6. Check for the entry in sap.com/com.sapportals.connectors.database and click on it.
Under sap.com/com.sapportals.connectors.database, your JDBC driver should be available.
<b>Connection URL:</b> jdbc:sap:oracle://<Host_Name/IP_ADDRESS>:<DB_PORT>;SID=<SID>
<b>Driver Class Name:</b> com.sap.portals.jdbc.oracle.OracleDriver

Similar Messages

  • Error while web application deployment in NetBeans5.5

    Error while web application deployment in NetBeans5.5. I am always getting Tomcat deployment error. using Netbeans 5.5.1 with bundeld tomcat. But in some machines its working fine.
    regards
    jossy v jose

    What is the error message you see?
    Are there any stacktraces or other relevant messages in the ide log file? (The ide log file is [userdir]/var/log/messages.log. On userdir: http://blogs.sun.com/karthikr/entry/jse_directories)
    You can also check the server log file to see if there are more detailed messages.
    You can also try setting ant's verbose level to debug or verbose (Tools | Options | Miscellaneous | Ant | Verbosity Level) and check the output.

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • Web application deployment problem. FacesServlet exception.

    Hello.
    I used Jdeveloper 10.1.3.4 and deployed my web-app on OAS 10.1.3 (Windows) succesfully. But when I'm trying to access my application, I get in application.log following errors:
    11/02/08 14:29:18.213 test: Error initializing servlet
    java.lang.ClassCastException: oracle.jsp.runtimev2.JspServlet cannot be cast to com.evermind.server.http.JspInterface
         at com.evermind.server.http.JspServletInstanceInfo.initializeJsp(JspServletInstanceInfo.java:127)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2505)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.214 test: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5033)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.285 test: Error initializing servlet
    java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2528)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5006)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.286 test: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5033)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4930)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5118)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1283)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:848)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:435)
         at com.evermind.server.Application.getHttpApplication(Application.java:592)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2280)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2199)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1833)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:304)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:120)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:92)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:825)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:276)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:100)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:29:18.286 test: 10.1.3.5.0 Started
    11/02/08 14:32:29.511 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:37:27.173 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    11/02/08 14:40:07.383 test: Servlet error
    java.lang.NullPointerException
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.JspServletInstanceInfo.isJspPageExists(JspServletInstanceInfo.java:164)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2771)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:775)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.5.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:619)
    I've found solution for this error: it is necessary to add to web.xml following:
    <listener>
    <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
    I've added this, and now get a deployment error:
    [Feb 8, 2011 6:04:33 PM] Exception: NoClassDefFoundError: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    [Feb 8, 2011 6:04:34 PM] Operation failed with error: oracle/adf/view/faces/event/industrial/VirtualFunctionKeyActionEvent
    Need help to solve the problem!

    OK. You can call me stupid. I forgot to set the default web application for the
    specific server. Another Stupid User Eror Problem. Doh! Later...
    - Wayne
    "Wayne Lau" <[email protected]> wrote:
    >
    I'm having an issue where with an exploded directory web application
    deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP.
    I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed
    wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

  • Web Application Deployment Problem...

    I'm having an issue where with an exploded directory web application deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP. I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

    OK. You can call me stupid. I forgot to set the default web application for the
    specific server. Another Stupid User Eror Problem. Doh! Later...
    - Wayne
    "Wayne Lau" <[email protected]> wrote:
    >
    I'm having an issue where with an exploded directory web application
    deployment
    on a UNIX server. It doesn't seem that weblogic is finding the JSP.
    I'm getting
    Error 404.
    - porting from wls 5.1 to wls 6.1
    - got it ported on Windows 2000
    - iPlanet as the web server
    - wls 6.1 as the application server
    - all JSPs under
    /data/current/weblogic_files/applications/prodssl
    - for the WebApplication, I have the following settings:
    - Name = webap_prodssl
    - URI = prodssl
    - Path = /data/current/weblogic_files/applications
    - in the prod_access.log, I do see that weblogic gets the request
    Any ideas? I have not made any security changes. Basically, I installed
    wls
    6.1, created the servers, created the Web Apps and targeted the Web Apps.
    Thanks for any help. Later...
    - Wayne

  • WL 7.0 and Web Application Deployment - HELP

    I've got a problem with WL 7.0 on Windows 2000.
    I messed up a Web Applications deployment. I was having problem with
    an example of an application I installed. Someone suggested I do the
    following:
    Shut down WL
    cd c:\bea\user_projects\AppDomain
    mv BuyServer BuyServer-ORIG <<< BuyServer is the name of the WL
    domain server this web app is deployed to
    Restart everything
    They said this would undeploy the web app. Yeah, right ....
    Well, the web app still showed up. So being a dork I tried to
    Undeploy it even though the BuyServer directory wasn't there anymore.
    This obviously didn't work.
    So I did a fresh deployement of the web app. This actually worked. A
    new BuyServer directory was created by WL. BUT in the Deployment
    Activities screen for the web app, there is a Activity I can't get rid
    of. The first listed activity is the deployment activitiy with a
    status of COMPLETED.
    The second listed activity says:
    Activity: Activate application buy on
    BuyServer Running
    Status: RUNNING
    Begin/End times are blank
    And there is a CANCEL button on the far right. I'm pretty sure this
    is the attempted undeploy I mentioned above. Pressing this button
    doesn't do anything. I can repeated undeploy and redeploy this web
    app but that second activity keeps coming back.
    Where does WL keep these Deployment activities stored ? Its putting
    them somewhere in storage. Is there anyway I can delete this failed
    activity ?
    Any thoughts appreciated.

    I am sure you "sovled" the problem by now but...
    Sean O'Neill <[email protected]>
    wrote:
    I've got a problem with WL 7.0 on Windows 2000.
    I messed up a Web Applications deployment. I was having problem with
    an example of an application I installed. Someone suggested I do the
    following:
    Shut down WL
    cd c:\bea\user_projects\AppDomain
    mv BuyServer BuyServer-ORIG <<< BuyServer is the name of the WL
    domain server this web app is deployed to
    Restart everythingAll this does is move the domain directory to a new one, it doesn't take care
    of the application.
    They said this would undeploy the web app. Yeah, right ....Sorry someoned fed you the wrong info. Buyer beware. ;)
    So when you "deploy" an applicaiton, it goes into config.xml
    $DOMAIN_NAME/config.xml
    It looks something like:
    <Application Name="mywebapp"
    Path="E:\weblogic\dev\sandbox\griffith\apps\output" TwoPhase="true">
    <WebAppComponent Name="mywebapp" Targets="myserver" URI="mywebapp.war"/>
    </Application>
    You should be able to "undeploy" this thing in 3 ways.
    1) by starting the server and "deleteing" it with the little trash can icon in
    the Application/module list.
    2) don't start your server, and removed the <Application tag
    3) start server and run weblogic.Deployer
    java weblogic.Deployer -name mywebapp -remove
    >
    Well, the web app still showed up. So being a dork I tried to
    Undeploy it even though the BuyServer directory wasn't there anymore.
    This obviously didn't work.Nope.
    >
    So I did a fresh deployement of the web app. This actually worked.
    A
    new BuyServer directory was created by WL. I dont follow how doing a deployment creates BuyServer, I thought that was the
    name of your domain, is that also the name of your webapp?
    BUT in the Deployment
    Activities screen for the web app, there is a Activity I can't get rid
    of. The first listed activity is the deployment activitiy with a
    status of COMPLETED.
    The second listed activity says:
    Activity: Activate application buy on
    BuyServer Running
    Status: RUNNING
    Begin/End times are blank
    And there is a CANCEL button on the far right. I'm pretty sure this
    is the attempted undeploy I mentioned above. Pressing this button
    doesn't do anything. I can repeated undeploy and redeploy this web
    app but that second activity keeps coming back.Sorry sounds like you have hit a bug. :(
    Deploy from the command line.
    java weblogic.Deployer <url/user/pass> -name mywebapp -source PATH_TO_EXPLODED_DIR_OR_EAR_OR_WAR_FILE
    -activate
    If it fails to return, then post the server's log file.
    >
    Where does WL keep these Deployment activities stored ? Its putting
    them somewhere in storage. They are only in memory for duration of server run, if you restart they go away.
    Is there anyway I can delete this failed
    activity ?
    Any thoughts appreciated.Cheers
    mbg
    >

  • How to access an EJB from a web application deployed in the same server

    Hey All,
    I deployed an EJB named EventServerBean to Sun Application Server 9.0, and put the client side jar file (named eventserver.jar which is generated by Sun Application Server) to C:\Sun\AppServer\lib. Now, I have a web application which is a simple jave file -- lookup EventServer EJB and invoke a remote method in this EJB. However, the web application always throws an exception "java.lang.NoClassDefFoundError: eventserver/EventServerRemoteHome"
    Here is my java class that access the ejb:
    public class Post_Event {
        public HashMap<String, String> getEventInfo(String event_name, String site) {
            System.out.println("Post_Event, the class path: " + System.getProperty("java.class.path"));       
            System.out.println("Post_Event, user.dir: " + System.getProperty("user.dir"));
            System.out.println("Post_Event, java.library.path: " + System.getProperty("java.library.path"));
            HashMap<String, String> result = null;
            EventServerRemote remote = null;
            StringTokenizer st, st2;
            // here get the event information from host
            try {
                String lookupStr = "corbaname:iiop:" + site + ":3700#ejb/EventServerBean";
                InitialContext initialContext = new InitialContext();
                EventServerRemoteHome remoteHome = (EventServerRemoteHome) javax.rmi.PortableRemoteObject.narrow(initialContext.lookup(lookupStr), EventServerRemoteHome.class);
                if (remoteHome != null) {
                    remote = remoteHome.create();
            } catch (javax.naming.NamingException ne) {
                ne.printStackTrace();
                return null;
            } catch (javax.ejb.CreateException ce) {
                ce.printStackTrace();
                return null;
            } catch (java.rmi.RemoteException re) {
                re.printStackTrace();
                return null;
            } catch (java.io.IOException ioe) {
                ioe.printStackTrace();
                return null;
            System.out.println("look up remote event server successfully.");
         result = remote.getEvent(event_name);
            return result;
        } I output the class path in this java file, and the class path DOES include the path C:\Sun\AppServer\lib where eventserver\EventServerRemoteHome.class is.
    Does anyone know why it happens? Why a java class can't find a class that is in its class path?
    appreciate any help!

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Wael Abbas ([email protected]):
    Thank you for your great topic.
    I think you need to copy the snippet code and past it to every application, applet, servlet or JSP every time you need to use your EJB.
    Its better to include this snippet code in a simple JavaBean and use this bean as a bridge to your EJB, you may include a connect method in your JavaBean or but the connection code in the constructor and include a setters, getters and other methods to encapsulate your EJB methods.
    You can use your JavaBean in any application, applet, servlet or JSP just create an object form it and call its methods.
    Its just an idea
    I hope it will be useful.
    <HR></BLOCKQUOTE>
    null

  • Web application deployment takes too long?

    Hi All,
    We have a wls 10.3.5 clustering environment with one admin server and two managered servers separately. When we try to deploy a sizable web application, it takes about 1 hour to finish. It seems that it takes too long to finish the deployment. Here is the output from one of two managerd server system log. Could anyone tell me it is normal or not? If not, how can I improve this?
    Thanks in advance,
    John
    +####<Feb 29, 2012 12:11:03 PM EST> <Info> <Deployer> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330535463373> <BEA-149059> <Module copyrequest of application copyrequest [Version=COPYREQUEST0002bb] is transitioning from STATE_NEW to STATE_PREPARED on server Pinellas1tMS3.>+
    +####<Feb 29, 2012 12:11:05 PM EST> <Info> <Deployer> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <9baa7a67b5727417:26f76f6c:135ca05cff2:-8000-00000000000000b0> <1330535465664> <BEA-149060> <Module copyrequest of application copyrequest [Version=COPYREQUEST0002bb] successfully transitioned from STATE_NEW to STATE_PREPARED on server Pinellas1tMS3.>+
    +####<Feb 29, 2012 12:11:06 PM EST> <Info> <Deployer> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330535466493> <BEA-149059> <Module copyrequest of application copyrequest [Version=COPYREQUEST0002bb] is transitioning from STATE_PREPARED to STATE_ADMIN on server Pinellas1tMS3.>+
    +####<Feb 29, 2012 12:11:06 PM EST> <Info> <Deployer> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330535466493> <BEA-149060> <Module copyrequest of application copyrequest [Version=COPYREQUEST0002bb] successfully transitioned from STATE_PREPARED to STATE_ADMIN on server Pinellas1tMS3.>+
    +####<Feb 29, 2012 12:11:06 PM EST> <Info> <Deployer> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330535466809> <BEA-149059> <Module copyrequest of application copyrequest [Version=COPYREQUEST0002bb] is transitioning from STATE_ADMIN to STATE_ACTIVE on server Pinellas1tMS3.>+
    +####<Feb 29, 2012 12:11:06 PM EST> <Info> <Deployer> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330535466809> <BEA-149060> <Module copyrequest of application copyrequest [Version=COPYREQUEST0002bb] successfully transitioned from STATE_ADMIN to STATE_ACTIVE on server Pinellas1tMS3.>+
    +####<Feb 29, 2012 1:00:42 PM EST> <Info> <Diagnostics> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330538442300> <BEA-320143> <Scheduled 1 data retirement tasks as per configuration.>+
    +####<Feb 29, 2012 1:00:42 PM EST> <Info> <Diagnostics> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330538442301> <BEA-320144> <Size based data retirement operation started on archive HarvestedDataArchive>+
    +####<Feb 29, 2012 1:00:42 PM EST> <Info> <Diagnostics> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330538442301> <BEA-320145> <Size based data retirement operation completed on archive HarvestedDataArchive. Retired 0 records in 0 ms.>+
    +####<Feb 29, 2012 1:00:42 PM EST> <Info> <Diagnostics> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330538442301> <BEA-320144> <Size based data retirement operation started on archive EventsDataArchive>+
    +####<Feb 29, 2012 1:00:42 PM EST> <Info> <Diagnostics> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330538442301> <BEA-320145> <Size based data retirement operation completed on archive EventsDataArchive. Retired 0 records in 0 ms.>+
    +####<Feb 29, 2012 1:10:23 PM EST> <Info> <Cluster> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <weblogic.cluster.MessageReceiver> <<WLS Kernel>> <> <> <1330539023098> <BEA-003107> <Lost 2 unicast message(s).>+
    +####<Feb 29, 2012 1:10:36 PM EST> <Info> <Cluster> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330539036105> <BEA-000111> <Adding Pinellas1tMS2 with ID -9071779833610528123S:entwl2t-vm:[7005,7005,-1,-1,-1,-1,-1]:entwl2t-vm:7005,entwl3t-vm:7007:Pinellas1tDomain:Pinellas1tMS2 to cluster: Pinellas1tCluster1 view.>+
    +####<Feb 29, 2012 1:11:24 PM EST> <Info> <Cluster> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[STANDBY] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330539084375> <BEA-000128> <Updating -9071779833610528123S:entwl2t-vm:[7005,7005,-1,-1,-1,-1,-1]:entwl2t-vm:7005,entwl3t-vm:7007:Pinellas1tDomain:Pinellas1tMS2 in the cluster.>+
    +####<Feb 29, 2012 1:11:24 PM EST> <Info> <Cluster> <entwl3t-vm.co.pinellas.fl.us> <Pinellas1tMS3> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1330539084507> <BEA-000128> <Updating -9071779833610528123S:entwl2t-vm:[7005,7005,-1,-1,-1,-1,-1]:entwl2t-vm:7005,entwl3t-vm:7007:Pinellas1tDomain:Pinellas1tMS2 in the cluster.>+
    Edited by: john wang on Feb 29, 2012 10:36 AM
    Edited by: john wang on Feb 29, 2012 10:37 AM
    Edited by: john wang on Feb 29, 2012 10:38 AM

    Hi John,
    There may be some circumstances like when there are many files in the WEB-INF folder and JPS don't use TLD.
    I don't think a 1hour deployment is normal, it should be much more faster.
    Since you are using 10.3.5, I suggesto you to install the corresponding patch:
    1. Download patch 10118941p10118941_1035_Generic.zip
    2. Uncompress the file p10118941_1035_Generic.zip
    3. Copy the required files (patch-catalog_XXXXX.xml, CIRF.jar ) to the Patch Download Directory (typically, this folder is <WEBLOGIC_HOME>/utils/bsu/cache_dir).
    4. Rename the file patch-catalog_XXXXX.xml into patch-catalog.xml .
    5. Start Smart Update from <WEBLOGIC_HOME>/utils/bsu/bsu.sh .
    6. Select "Work Offline" mode.
    7. Go to File->Preferences, and select "Patch Download Directory".
    8. Click "Manage Patches" on the right panel.
    9. You will see the patch in the panel below (Downloaded Patches)
    10. Click "Apply button" of the downloaded patch to apply it to the target installation and follow the instructions on the screen.
    11. Add "-Dweblogic.jsp.ignoreTLDsProcessingInWebApp=true" to the Java options to ignore additional findTLDs cost.
    12. Restart servers.
    Hope this helps.
    Thanks,
    Cris

  • Web-application deployment problem (404 - File not found)

    Hello
    Does anyone have had the same problems like me on deploying java web-applications on iPlanet WS 6.0?
    I started with the HelloWorld.war example that came with the server and went through the manual but no luck so far. Heres what I did:
    0. Checked that webapps are enabled in the servler.xml file
    1. Created a directory /opt/webapps and /opt/webapps/hello with sufficient permissions
    2. Copied the HelloWorld.war example to /opt/webapps
    3. Deployed the excample on my test-server using the webinterface.
    Heres the content of the web-apps.xml file of my testserver after step 3:
    [DTD here]
    <vs>
    <jsp-servlet enable="true">
    <init-param>
    <param-name>use-precompiled</param-name>
    <param-value>true</param-value>
    </init-param>
    </jsp-servlet>
    <web-app uri="/hello" dir="/opt/webapps/hello" enable="true"/>
    </vs>
    All files have been extracted to /opt/webapps/hello properly. The server has been restarted.
    When I finally point my browser to http://server/hello or hello/index.jsp I get only a 404 - File not found message by the server. The context path seems to be totaly ignored.
    Heres the error log of the server
    [17/Feb/2003:16:17:38] info (12040): successful server startup
    [17/Feb/2003:16:17:38] info (12040): iPlanet-WebServer-Enterprise/6.0SP2 B11/13/2001 00:49
    [17/Feb/2003:16:17:39] info (12041): Installing a new configuration
    [17/Feb/2003:16:17:39] info (12041): [LS ls1] http://XXX.XXX.XXX.XX, port 1080 ready to accept requests
    [17/Feb/2003:16:17:39] info (12041): A new configuration was successfully installed
    [17/Feb/2003:16:17:40] info (12041): Using the Solaris VM v1.2.2 from Sun Microsystems Inc.
    [17/Feb/2003:16:17:40] info (12041): Java VM classpath: /www/ns-home6sp2/plugins/servlets/examples/legacy/beans.10/SDKBeans10.jar:/opt/jdk1.2.2/lib/tools.jar:/www/ns-home6sp2/bin/https/jar/NSServletLayer.jar:/www/ns-home6sp2/bin/https/jar/NSJavaUtil.jar:/www/ns-home6sp2/bin/https/jar/NSJavaMiscUtil.jar:/www/ns-home6sp2/bin/https/jar/servlet.jar:/www/ns-home6sp2/bin/https/jar/servlet-2.3-filters-api.jar:/www/ns-home6sp2/bin/https/jar/jsp092.jar:/www/ns-home6sp2/bin/https/jar/jaxp.jar:/www/ns-home6sp2/bin/https/jar/crimson.jar:/www/ns-home6sp2/bin/https/jar/xalan.jar:/www/ns-home6sp2/bin/https/jar/jspengine.jar:
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): Adding web application (/hello) at (/opt/webapps/hello)
    [17/Feb/2003:16:17:40] info (12041): Loading IWSSessionManager by default.
    [17/Feb/2003:16:17:40] info (12041): IWSSessionManager: Maximum number of sessions is 1000
    [17/Feb/2003:16:17:40] info (12041): vs(https-duke)servlet 'snoop' class = 'SnoopServlet' loaded in context = '/hello'
    [17/Feb/2003:16:17:40] info (12041): snoop: init
    [17/Feb/2003:16:17:40] info (12041): Successfully initialized web application environment (web-apps.xml) for virtual server (https-duke)

    i had similar problem due to the incorrect jdk path...
    try http://..../hello/snoop, if this works, it seems that the jsp file cannot be compiled automatically and jdk path needs to be checked...

  • Web application deployment failure when Mozilla Rhino 15R2 included in war file

    Hi Guys
    I'm currently attempting to deploy a web application under weblogic 6.1.
    The application makes use of Mozilla Rhino15R2, packaged in the file js.jar.
    With js.jar contained in the WEB-INF\lib directory in the war file, the
    application fails to install, the weblogic.log file has the following entry.
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101053> <[HTTP winnt2] Loading web app: SWIFTAccessControl>
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101059> <[winnt2] Loading SWIFTAccessControl from WAR file:
    I:\bea\wlserver6.1\.\config\mydomain\applications\.wlnotdelete\wl_comp53845.
    war>
    ####<22-Oct-00 09:53:53 BST> <Info> <HTTP> <winnt2> <winnt2> <main> <system>
    <> <101031>
    <[WebAppServletContext(6025277,SWIFTAccessControl,/SWIFTAccessControl)]
    extracting classfiles to
    I:\bea\wlserver6.1\config\mydomain\applications\.wlnotdelete\WEB-INF\_tmp_wa
    r_winnt2_winnt2_SWIFTAccessControl:>
    ####<22-Oct-00 09:53:53 BST> <Debug> <HTTP> <winnt2> <winnt2> <main>
    <system> <> <101158> <Exception thrown while loading SWIFTAccessControl:
    java.lang.IllegalArgumentException: Prefix string too short>
    java.lang.IllegalArgumentException: Prefix string too short
    ####<22-Oct-00 09:53:54 BST> <Error> <J2EE> <winnt2> <winnt2> <main>
    <system> <> <160001> <Error deploying application SWIFTAccessControl: Could
    not load SWIFTAccessControl>
    If I rebuild the war file, excluding js.jar weblogic successfull deploys the
    application and I can access the application. Question has anyone come
    across a similar problem and does any one know of a solution. I'd be most
    grateful for any help on this one.
    Regards
    Tony

    Check this thread...
    Spring's JSF DelegatingVariableResolver cause InvocationTargetException

  • Web Application Deployment Issue in SOA Domain

    I have a web application war file which when deployed in Weblogic 10.3.6 separately works fine.
    When I deploy the same in a SOA domain (_Weblogic 10.3.6 + SOA 11.1.1.6 + OSB 11.1.1.6_), it's throwing the below error.
    In both the cases I am targeting the application to the Adminserver only.
    I am deploying the below files:
    Application war file, jsf-1.2.war and jstl-1.2.war.
    Error:
    <Dec 2, 2012 4:19:59 AM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Dec 2, 2012 4:19:59 AM IST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <Dec 2, 2012 4:21:01 AM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal
    ?_nfpb=true&_pageLabel=AppDeploymentsControlPage.>
    <Dec 2, 2012 4:22:15 AM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal
    ?_nfpb=true&_pageLabel=LibraryOverviewPage&LibraryOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3Djsf%231.2%40
    1.2.9.0%2CType%3DLibrary%22%29.>
    <Dec 2, 2012 4:22:51 AM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.
    ConfigurationException: CONFIGURATION FAILED!
    Source Document: file:/C:/Oracle/Middleware/user_projects/domains/SOA_domain/servers/AdminServer/tmp/_WL_user/MI/nkgdo/war/WEB-INF/faces-config.xml
    Cause: Class 'org.springframework.web.jsf.DelegatingVariableResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/el/VariableResolver.
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
    Source Document: file:/C:/Oracle/Middleware/user_projects/domains/SOA_domain/servers/AdminServer/tmp/_WL_user/MI/nkgdo/war/WEB-INF/faces-config.xml
    Cause: Class 'org.springframework.web.jsf.DelegatingVariableResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/e
    l/VariableResolver
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:215)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Source Document: file:/C:/Oracle/Middleware/user_projects/domains/SOA_domain/servers/AdminServer/tmp/_WL_user/MI/nkgdo/war/WEB-INF/faces-config.xml
    Cause: Class 'org.springframework.web.jsf.DelegatingVariableResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/e
    l/VariableResolver
    at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:253)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:481)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:239)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:119)
    Truncated. see log file for complete stacktrace
    >
    <Dec 2, 2012 4:22:51 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1354402363881' for task
    '4'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    Truncated. see log file for complete stacktrace
    Caused By: com.sun.faces.config.ConfigurationException:
    Source Document: file:/C:/Oracle/Middleware/user_projects/domains/SOA_domain/servers/AdminServer/tmp/_WL_user/MI/nkgdo/war/WEB-INF/faces-config.xml
    Cause: Class 'org.springframework.web.jsf.DelegatingVariableResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/e
    l/VariableResolver
    at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:253)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:481)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:239)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:119)
    Truncated. see log file for complete stacktrace
    >
    <Dec 2, 2012 4:22:51 AM IST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'MI'.
    >
    <Dec 2, 2012 4:22:51 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'MI'.>
    <Dec 2, 2012 4:22:51 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: :com.sun.faces.config.ConfigurationException:
    Source Document: file:/C:/Oracle/Middleware/user_projects/domains/SOA_domain/servers/AdminServer/tmp/_WL_user/MI/nkgdo/war/WEB-INF/faces-config.xml
    Cause: Class 'org.springframework.web.jsf.DelegatingVariableResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/e
    l/VariableResolver
    at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:253)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:481)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:239)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:119)
    Truncated. see log file for complete stacktrace
    >
    <Dec 2, 2012 4:22:51 AM IST> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException: :com.sun.fa
    ces.config.ConfigurationException:
    Source Document: file:/C:/Oracle/Middleware/user_projects/domains/SOA_domain/servers/AdminServer/tmp/_WL_user/MI/nkgdo/war/WEB-INF/faces-config.xml
    Cause: Class 'org.springframework.web.jsf.DelegatingVariableResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/e
    l/VariableResolver
    at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:253)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:481)
    at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:239)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
    at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:119)
    at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:108)
    at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
    at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:205)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:196)
    at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1868)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java
    :195)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >

    Check this thread...
    Spring's JSF DelegatingVariableResolver cause InvocationTargetException

  • Web application deployment error

    Hi,
    I'm new to weblogic and I installed weblogic 8.1 sp4 on linux Enterprise OS
    I installed and coonfigured the weblogic server as development with single instance using template #2: Basic webLogic Server Domain 8.1.4.0
    I am getting the following error when I deploy a new web application - myapp.war
    "java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory"
    I have all the jar files in /usr/bea/user_projects/domains/mydomain/myserver/stage/_appsdir_myapp_war/myapp.war/WEB-INF/lib
    I also put log4j-1.2.8.jar file in ../weblogic81/common
    Can someone help ?
    Thanks
    Felix

    Hi,
    I'm new to weblogic and I installed weblogic 8.1 sp4 on linux Enterprise OS
    I installed and coonfigured the weblogic server as development with single instance using template #2: Basic webLogic Server Domain 8.1.4.0
    I am getting the following error when I deploy a new web application - myapp.war
    "java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory"
    I have all the jar files in /usr/bea/user_projects/domains/mydomain/myserver/stage/_appsdir_myapp_war/myapp.war/WEB-INF/lib
    I also put log4j-1.2.8.jar file in ../weblogic81/common
    Can someone help ?
    Thanks
    Felix

  • Please need Help with web application deployment in Jdeveloper 12c

    Hi,
    I am desperate for help guys. am trying to deploy a web application in weblogic server, but nothing works!!
    I created a project in jdeveloper and created a jsp page inside the project, all what i want is to run that page!
    I followed the instruction here: Deploying Fusion Web Applications , I don't really know if i did it right or wrong, the document is too detailed and not understood clearly.
    I am a newbie oracle user, and trying to build jsp web application connected to oracle database. application deployment fails it says: cannot run application error deploying IntegratedWeblogic..
    please could you tell me the steps of application deployment in Jdeveloper 12c?
    what deployment profiles I need to create (ear, war , mar)?
    what deployment descriptor I need for my app to work?
    please guys I am newbie to oracle, if you could give me simplified answers and straight instructions it will be appreciated .
    thank you

    hi Timo,
    I am building a local web application, meaning the server is internal and will not connect to the web, only to local pcs via network. the application will insert/select data from the database server. My company wants to embed oracle technology on the datatabse and that what am trying to. I am not that expert in java and oracle in general, my main knowledge are in php, html and mysql programming. through my long internet research a lot has recommended jsp with html to be a good choice.
    At beginning I played around with ADF faces, I found it annoying because I prefer coding than using drag and drop interfaces, which always create unwanted results.
    Also am not that professional java programmer, i started learning jsp and found it easier.
    What I am thinking of is to make a web based application that works in browsers (like php), this application has forms to insert data, and also has forms to output data for printing. that's all. I tried to make it in php, but through my little knowledge and internet researches it seems php does not work with oracle and java is the recommended choice (or it works with php but too complicated to make it)
    any recommendation will be much appreciated
    thank you

  • Xslt transformation error in web application deployed on top of SOA

    Dear Experts,
    I am doing xsl transformation using Javax API in JDveloper, is working fine when it is a simple java application. But fails to run if I deployed the same as web application. Also I have mentioned the xsl files in the server path properly. But receiving the same error. Also I have searched lot in the net, not able to find the problem . Please help me in this. very urgent. Thanks.
    Error received:
    javax.xml.transform.TransformerConfigurationException: XML-22000: (Fatal Error) Error while parsing XSL file (null)
    Thanks,
    Rajesh

    And one more .. Use fully qualified name in  inherits = ""       tag
    Inherits="namespace.classname, assemblyname, version=1.0.0.0, culture=neutral, publickeytoken=value"
    Please remember to click Mark As Answer if a post solves your problem or Vote As Helpful if it was useful.

  • Web application deployed to weblogic 7.0 does't work

    Hi,
    I recently developed a web application. It runs perfectly in Jdeveloper Embeded server on my local machine. The app was talking to a orable 9i database.
    However after I deployed it to weblogic 7.0 server. All servlets don't work any more. Some give me 404 error which I figured it might have something to do with my web.xml. I didn't have enough servlet-mapping definition. I corrected and now I've got new 500 error. Please help. I'm wondering if I need to do some oralce configure thing in the admin console. But it does work in Jdevlopera. All connection statment and sql statements were in the servlet code. Is here anything I miss? please help. I've been stuggle with this for 3 days. Any tip will be highly appreciated. Thanks again.
    When I run a servlet by calling a URL. It gives me the following error. What could this go wrong?
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

    Make sure to have the right servlet mapping:
    For example:
    <servlet-mapping>
    <servlet-name>Servlet1</servlet-name>
    <url-pattern>/Servlet1_Url</url-pattern>
    </servlet-mapping>
    Then call the servlet as
    http://Hostname:7001/contex_root/Servlet1_Url
    Since your servlet is talking to the Oracle9i database, If you come across any database connecting problems
    make sure classes12.jar is in the classpath before startting WebLogic7.0
    Make sure the WL_home/weblogic700/server/lib/classe12.zip is not loaded by moving it into a different folder.

  • Console shows web application deployed to server but not to the virtual host yet things still work, huh?

    I finally figured out how to get the virtual hosting piece to work in
    wls811. Now I have a question about the console presenting me with some web
    app information. The Web Application Modules node and the Deploy tab shows
    me the application is deployed to the server and it's Active, however the
    console indicates the web app is not deployed to the virtual host and is
    inactive. But the server is resonding to requests for each of my Virtual
    Host Names, so they must be deployed to the virtual hosts as well.
    Anyone with some ideas? Thanks.

    do you see any deployment exception in the server.log ? if nothing please post the web.xml and sun-web.xml

Maybe you are looking for

  • Firefox 3.6.13 does not open new tabs anymore. Ctrl-T, file- new tab , right click new tab no longer works. Why is this?

    No new extensions or add-ons have been installed. And all the features options to open new tabs fail to open a new tab. Can someone tell me how to fix the problem? I'm tempted to downgrade to an earlier version of firefox or reinstall 3.6.13 to see i

  • Vendor consignment related tables

    Hi Guys, Can you provide me list of tables related to vendor consignment? Warm Regards, Mohan.

  • IPCC Database Insert

    Hello everyone, I have an environment of two servers: CCM 4.X and IPCC 4.0.5 I wish to insert a few records into its SQL DB (in the cdr_records table), these records represents a period where the IPCC server was down. Although I can insert these reco

  • Failover when using weblogic rmi

    does anyone that if i keep some plain java objects in collections in a RMI server using weblogic RMI. will the java objects be available to me on the new server it fails over to? iam using weblogic servber 6.0 sp 1 the collections hold plain old java

  • Query to find duplicate sql executed

    What is the sql to find the duplicate sql executed and count of executions. I need the query ( though we can get directly the results from OEM) Please let me know. Thanks Naveen