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

Similar Messages

  • 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

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

  • 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

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

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

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

  • Problem in web application deployment in weblogic 8.1

    hiiiiiiiii freinds!
    i am a newcomer in the field of servlets and JSPs.Me and my freinds are developing a client/server chat application but i am facing a problem in transferring the control from one JSP to another JSP.I am using Oracle 10g and weblogic 8.1upon clicking the submit button at login.jsp i am seeing following message at web browser.
    /loginhandler.jsp(4): class 'com.mycompany.login.Login' could not be loaded
    probably occurred due to an error in /loginhandler.jsp line 4:
    <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" />
    codes for JSPs and bean class aregiven below-
    login.jsp
       1. <html> 
       2. <head><title></title> 
       3. <script language="javascript"> 
       4. function Validate(){ 
       5. var name=document.frm.userName 
       6. var password=document.frm.passWord 
       7.  
       8. if ((name.value==null)||(password.value=="")){ 
       9. alert("Please Enter user name") 
      10. user.focus() 
      11. return false 
      12. } 
      13. if ((name.value==null)||(password.value=="")){ 
      14. alert("Please Enter password") 
      15. pass.focus() 
      16. return false 
      17. } 
      18. return true 
      19. } 
      20. </script> 
      21. </head> 
      22. <body> 
      23. <form method="post" action="loginhandler.jsp"> 
      24. username - <input type="text" name="userName"><br> 
      25. password - <input type="password" name="passWord"><br> 
      26. <input type="submit" value="Submit"> 
      27. <input type="reset" value="Reset"> 
      28. </form> 
      29. <jsp:include page="showformat.jsp"/> 
      30. </body> 
      31. </html>  loginhandler.jsp
       1. <%@page contentType="text/html"%> 
       2. <%@page pageEncoding="UTF-8"%> 
       3. <%@page import="java.util.*" %> 
       4. <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="request" /> 
       5. <jsp:setProperty name="idHandler" property="*" /> 
       6. </jsp:useBean> 
       7. <html> 
       8. <head><title></title></head> 
       9. <body> 
      10. <% 
      11. String userName = request.getParameter("userName"); 
      12. String passWord = request.getParameter("passWord"); 
      13. if (idHandler.authenticate(userName, passWord)){ 
      14. response.sendRedirect("welcome.jsp"); 
      15. } else { 
      16. response.sendRedirect("loginfailed.html"); 
      17. } 
      18. %> 
      19. </body> 
      20. </html>  welcome.jsp
       1. <html> 
       2. <head><title>welcome!!!!!!</title></head> 
       3. <body> 
       4. <% 
       5. String name=(String)request.getAttribute("userName"); 
       6. out.println("Welcome" +name); 
       7. %> 
       8. </body> 
       9. </html>  login.java
       1. package com.mycompany.login; 
       2. import java.sql.*; 
       3. import java.io.*; 
       4.  
       5. public class Login  
       6. { 
       7. //default constructor 
       8. public Login(){} 
       9. //method for the database connection 
      10. public Connection getConnection() 
      11. throws IOException{ 
      12. Connection conn = null; 
      13. try{ 
      14. Class.forName("oracle.jdbc.driver.OracleDriver"); 
      15. conn = DriverManager.getConnection( 
      16. "jdbc:oracle:thin:@localhost:1521:xe", 
      17. "system", 
      18. "abcdefgh"); 
      19. } 
      20. catch(SQLException e) 
      21. { 
      22. System.out.println("SQLException: " + e.getMessage()); 
      23. while((e = e.getNextException()) != null) 
      24. System.out.println(e.getMessage()); 
      25. } 
      26. catch(ClassNotFoundException e) 
      27. { 
      28. System.out.println("ClassNotFoundException: " + e.getMessage()); 
      29. } 
      30. return conn; 
      31. } 
      32. //method that is called from validateuser.jsp and this checks for the authentic user and 
      33. public boolean authenticate(String user, String pass) 
      34. throws SQLException, IOException{ 
      35. String Username = null, Password = null; 
      36. Login dbconn = new Login(); 
      37. Statement stmt = dbconn.getConnection().createStatement(); 
      38. String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'"; 
      39. ResultSet rs = stmt.executeQuery(sql); 
      40. if(rs.next()){ 
      41. Username = rs.getString("USER_NAME"); 
      42. Password = rs.getString("PASS_WORD"); 
      43. } 
      44. if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){ 
      45. return true; 
      46. } 
      47. else return false; 
      48. } 
      49. }  it is requested that please don't neglect or ignore any programming error in pages as i am a newcomer in the field of web development.also suggest some good content and study material for developing interactive and user freindly chat client/server web application.reply as soon as possible!

    ya i have done it and i have put it under the sub directories of classes directory and also included the import also i have modified the codes but problem is same.
    login.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*, java.text.*" errorPage="" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title></title>
    <script language="javascript">
    function Validate(){
    var name=document.frm.userName
    var password=document.frm.passWord
    if ((name.value==null)||(password.value=="")){
    alert("Please Enter user name")
    user.focus()
    return false
    if ((name.value==null)||(password.value=="")){
    alert("Please Enter password")
    pass.focus()
    return false
    return true
    </script>
    </head>
    <body>
    <form method="post" action="loginhandler.jsp">
    username - <input type="text" name="userName"><br>
    password - <input type="password" name="passWord"><br>
    <input type="submit" value="Submit">
    <input type="reset" value="Reset">
    </form>
    <br><br><br><br><br><br><br>  &nbsp
    </form>
    <jsp:include page="showformat.jsp"/>
    </body>
    </html>loginhandler.jsp
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd"><%@page contentType="text/html"%>
    <%@ page pageEncoding="UTF-8"%>
    <%@ page import="java.util.*" %>
    <%@ page import="com.mycompany.login" %>
    <jsp:useBean id="idHandler" class="com.mycompany.login.Login" scope="session">
    <jsp:setProperty name="idHandler" property="userName" />
    <jsp:setProperty name="idHandler" property="passWord" />
    </jsp:useBean>
    <html>
    <head><title></title></head>
    <%
    String userName = request.getParameter("userName");
    String passWord = request.getParameter("passWord");
    if(userName == null)
    userName = "";
    if(passWord == null)
    passWord = "";
    if(!userName.equals("") && !password.equals("")){
    session.setAttribute("User", userName);
    session.setAttribute("Password", passWord);
    if (idHandler.authenticate(userName, passWord)){
    response.sendRedirect("welcome.jsp");
    } else {
    response.sendRedirect("loginfailed.html");
    %>
    <body></body>
    </html>welcome.jsp
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*, java.io.*, java.util.*, java.text.*" errorPage="" %>
    <%@ page import="com.mycompany.login" %>
    <jsp:getProperty name="idHandler" property="*">
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head><title>welcome!!!!!!</title></head>
    <body>
    <%
    String name=(String)session.getAttribute("User");
    out.println("Welcome" +name);
    %>
    </body>
    </html>
    (code)
    login.javapackage com.mycompany.login;
    import java.sql.*;
    import java.io.*;
    public class Login {
    String Username = null, Password = null;
    //default constructor
    public Login(){}
    //method for the database connection
    public Connection getConnection()
    throws IOException{
    Connection conn = null;
    try{
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@localhost:1521:xe",
    "system",
    "abcdefgh");
    catch(SQLException e)
    System.out.println("SQLException: " + e.getMessage());
    while((e = e.getNextException()) != null)
    System.out.println(e.getMessage());
    catch(ClassNotFoundException e)
    System.out.println("ClassNotFoundException: " + e.getMessage());
    return conn;
    //method that is called from loginhandler.jsp and this checks for the authentic user and
    public boolean authenticate(String user, String pass)
    throws SQLException, IOException{
    Login dbconn = new Login();
    Statement stmt = dbconn.getConnection().createStatement();
    String sql = "SELECT USER_NAME, PASS_WORD FROM LOGINDETAILS WHERE USER_NAME='" + user + "'" + "AND PASS_WORD='" + pass + "'";
    ResultSet rs = stmt.executeQuery(sql);
    if(rs.next()){
    Username = rs.getString("USER_NAME");
    Password = rs.getString("PASS_WORD");
    if(Username != null && Password != null && user.equals(Username) && pass.equals(Password)){
    return true;
    else return false;
    public void setUsername(String name)
    Username=name;
    public String getUsername()
    return Username;
    public void setPassword(String password)
    Password=password;
    public String getPassword()
    return Password;

  • 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

  • Webflow Web Application Configuration Problem

    I am trying to use BEA&#8217;s webflow tool to handle navigation within a series
    of JSP pages, input processors, and pipeline components. The JSP pages will capture
    user profile information beyond the normal User ID and Password (user interests,
    etc). This information will be stored in the database, and be used to customize
    the user experience.
    I am using the validated form tag, and the webflow tag libraries in the JSP in
    order to take advantage of some pre-built validation tools.
    My web application is named conahec, and my namespace is called test.wf.
    The JSP page comes up perfectly, but when I enter data on the page to test it,
    and hit the save button, I get the following error:
    <Mar 8, 2002 8:48:54 AM MST> <Error> <Webflow> <Error while parsing uri
    /conahec/application, path null, query string null - Webflow XML does not exist,
    is not loaded properly,or you do not have a configuration-error-page defined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The
    configuration-error-page node was not found in the webflow xml file. for webapp
    [null], namespace [portal]. While trying to display
    CONFIGURATION ERROR:
    [Exception[com.bea.p13n.appflow.exception.ConfigurationException: Bad
    Namespace - namespace [test] is not available for webflow execution. Make sure
    the[test.wf] file is deployed in webapp [null].]],]
    As you can see, it appears that the webapp is not defined. The only way the web
    app wouldn&#8217;t be defined (that I know of from reading previous posts to this
    group) is if the data synchronization was not successful.
    However, the DataSync page appears to show that the synchronization was successful.
    Here are the results I see on the DataSync page:
    - /webapps/conahec/test.wf
    Schema URI http://www.bea.com/servers/p13n/xsd/webflow/2.0
    Creation Date 2002-03-08 10:13:25.039
    Modification Date 2002-03-08 10:13:25.039
    Name test.wf
    Description E:\bea\ebcc4.0\applications\portal\application-sync\webapps\conahec\test.wf
    Author (omitted)
    Data
    <?xml version="1.0"?>
    <webflow-configuration xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    is-complete="true" xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/webflow/2.0
    webflow.xsd" xmlns:data="http://www.bea.com/servers/p13n/xsd/datalink/1.0" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
    <namespace xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">test</namespace>
    <begin-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" node-type="jsp"
    namespace="test" node-name="customer_profile"></destination>
    </begin-origin>
    <configuration-error-page xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="portal_error"></configuration-error-page>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_profile">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_profile.jsp" page-relative-path="/portlets/testIntl"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="button.save">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" namespace="test" node-name="CustomerRegIP"></destination>
    </event>
    </event-list>
    </presentation-origin>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_success">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_success.jsp" page-relative-path="/portlets/testIntl"></node-processor-info>
    </presentation-origin>
    <presentation-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="error">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="error.jsp" page-relative-path="/framework/error"></node-processor-info>
    </presentation-origin>
    <processor-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" node-name="CustomerRegIP">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    class-name="com.bea.conahec.customer.CustomerRegIP"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="success">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" namespace="test" node-name="customerRegPC"></destination>
    </event>
    </event-list>
    <exception-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.webflow.forms.InvalidFormDataException">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="customer_profile"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    <processor-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" node-name="customerRegPC">
    <node-processor-info xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    pipeline-name="customerRegPC" pipeline-namespace="customerreg"></node-processor-info>
    <event-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" event-name="success">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="customer_success"></destination>
    </event>
    </event-list>
    <exception-list xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.exception.PipelineException">
    <destination xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="error"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    </webflow-configuration>
    I have tried to remove the data repository, and re-synchronize the data.
    Can you please help by pointing me in a direction to continue to research this
    problem?
    Thanks.

    Thank you, Daniel.
    Support got back to me 24 hours later, and gave me the patch I needed. Early
    testing shows that this patch has fixed this problem.
    Scott Peterson
    "Daniel Selman" <[email protected]> wrote:
    Scott,
    Please contact support. We have seen (and fixed) a CR related to the
    web
    application name not being retrieved correctly (null) in all cases:
    The
    configuration-error-page node was not found in the webflow xml file.for
    webapp
    [null], namespace [portal]Sincerely,
    Daniel Selman
    "Scott Peterson" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to use BEA&#8217;s webflow tool to handle navigation withina
    series
    of JSP pages, input processors, and pipeline components. The JSP pageswill capture
    user profile information beyond the normal User ID and Password (userinterests,
    etc). This information will be stored in the database, and be usedto
    customize
    the user experience.
    I am using the validated form tag, and the webflow tag libraries inthe
    JSP in
    order to take advantage of some pre-built validation tools.
    My web application is named conahec, and my namespace is called test.wf.
    The JSP page comes up perfectly, but when I enter data on the pageto test
    it,
    and hit the save button, I get the following error:
    <Mar 8, 2002 8:48:54 AM MST> <Error> <Webflow> <Error while parsinguri
    /conahec/application, path null, query string null - Webflow XML doesnot
    exist,
    is not loaded properly,or you do not have a configuration-error-pagedefined.
    Exception[com.bea.p13n.appflow.exception.ConfigurationException: The
    configuration-error-page node was not found in the webflow xml file.
    for>webapp>> [null, namespace [portal]. While trying to display
    CONFIGURATION ERROR:
    [Exception[com.bea.p13n.appflow.exception.ConfigurationException: Bad
    Namespace - namespace [test] is not available for webflow execution.Make
    sure
    the[test.wf] file is deployed in webapp [null].]],]
    As you can see, it appears that the webapp is not defined. The onlyway
    the web
    app wouldn&#8217;t be defined (that I know of from reading previousposts
    to this
    group) is if the data synchronization was not successful.
    However, the DataSync page appears to show that the synchronizationwas
    successful.
    Here are the results I see on the DataSync page:
    - /webapps/conahec/test.wf
    Schema URI http://www.bea.com/servers/p13n/xsd/webflow/2.0
    Creation Date 2002-03-08 10:13:25.039
    Modification Date 2002-03-08 10:13:25.039
    Name test.wf
    DescriptionE:\bea\ebcc4.0\applications\portal\application-sync\webapps\conahec\test.wf
    Author (omitted)
    Data
    <?xml version="1.0"?>
    <webflow-configuration
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    is-complete="true"
    xsi:schemaLocation="http://www.bea.com/servers/p13n/xsd/webflow/2.0
    webflow.xsd" xmlns:data="http://www.bea.com/servers/p13n/xsd/datalink/1.0"
    xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
    <namespace
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">test</namespace>
    <begin-origin xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0" node-type="jsp"
    namespace="test" node-name="customer_profile"></destination>
    </begin-origin>
    <configuration-error-page
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="portal_error"></configuration-error-page>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_profile">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_profile.jsp"page-relative-path="/portlets/testIntl"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="button.save">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" namespace="test"node-name="CustomerRegIP"></destination>
    </event>
    </event-list>
    </presentation-origin>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="customer_success">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="customer_success.jsp"page-relative-path="/portlets/testIntl"></node-processor-info>
    </presentation-origin>
    <presentation-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" node-name="error">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    page-name="error.jsp"page-relative-path="/framework/error"></node-processor-info>
    </presentation-origin>
    <processor-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="inputprocessor" node-name="CustomerRegIP">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    class-name="com.bea.conahec.customer.CustomerRegIP"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="success">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" namespace="test"node-name="customerRegPC"></destination>
    </event>
    </event-list>
    <exception-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    >
    exception-name="com.bea.p13n.appflow.webflow.forms.InvalidFormDataException"
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test"node-name="customer_profile"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    <processor-origin
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="pipeline" node-name="customerRegPC">
    <node-processor-info
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    pipeline-name="customerRegPC"pipeline-namespace="customerreg"></node-processor-info>
    <event-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <event xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    event-name="success">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test"node-name="customer_success"></destination>
    </event>
    </event-list>
    <exception-list
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0">
    <exception
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    exception-name="com.bea.p13n.appflow.exception.PipelineException">
    <destination
    xmlns="http://www.bea.com/servers/p13n/xsd/webflow/2.0"
    node-type="jsp" namespace="test" node-name="error"></destination>
    </exception>
    </exception-list>
    </processor-origin>
    </webflow-configuration>
    I have tried to remove the data repository, and re-synchronize thedata.
    Can you please help by pointing me in a direction to continue to researchthis
    problem?
    Thanks.

  • Web Module Deployment Problem with Weblogic [Deployer:149026]

    Dear Friends,
    I've been facing a problem during deploying an Web Module on Weblogic 8.1. The name of my webmodule is 'MyOraWebModule'.
    When I first developed, deployed and tested it in Weblogic 8.1, it was deployed and worked fine. But on the next day, when I tried to redeploy it, the deployment failed. This thing not just happens only once.. it is happeing always i.e. if I develop a new webmodule and deploy/redeploy it, it will work fine ONLY ON THE FIRST DAY (i.e. the day when the web module is created), but on the next day, it shows the following error if I try to redeploy it. The error is:
    Task 3 failed: [Deployer:149026]Deploy application MyOraWebModule on myserver.
    Deployment failed on Server myserver
    Exception:weblogic.management.ApplicationException: prepare failed for MyOraWebModule
    Module: MyOraWebModule Error: Context path 'MyOraWebModule' is already in use by the module: MyOraWebModule
    Any suggestion or, guideline from you will be highly appreciated.
    With Thanks,
    ... Chisty

    Not sure if you are still looking for the answer. I have a similar problem, I have a work around on it but still trying to identify what the issue is. I have deployed multiple web application modules on weblogic 8.1 and on the redeploy I was gettig the exception weblogic.management.ApplicationException: prepare failed for USER_DEFINED_MODULE_NAME
    Context path '/' is already in use by the module. when this exception is thrown I observed that the targets attribute of tag WebAppComponent is initialized to the server name. If I stop the server, make the value of the targets attribute to be empty string in config.xml and start the server, the server starts fine. And I could continue. Not sure why this is so since the targets attribute is used to identify on what servers the application needs to be deployed.
    Any input on why the weblogic 8.1 is behaving this way when the targets attribute is defined with a value would of great help.
    thanks,

  • 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

  • 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

  • TS1702 what do you do if you get billed for an app you did not purchase?

    I received a bill for an app I did not purchase.  How do I reconcile this issue with iTunes?

  • ITunes won't recoginze iPhone being plugged in

    I upgraded my iTunes to latest version. Now when I plug my iPhone 4 in, it doesn't automatically open iTunes and iTunes doesn't recognize the phone as being there?

  • Acrobat Transparency Bug?

    I was wondering if anyone has this bug and a solution to fix it in regards to pdf created containing transparent images. Any time I place any kind of image with transparency on a page, the colors of the that entire page are rendered incorrectly in Ac

  • Effects & Adjust are missing from Edit

    When I click " edit " the Effects & Adjust are missing. It's like I am in some older version of iPhoto. This happened after switching to Adobe Photoshop Elements to do some editing of iPhoto images. First I clicked option apple to restart iPhoto so I

  • Component "Item_name" must be declare

    I created a cursor but showing error: at bold text Declare      CURSOR post_item      IS      SELECT ALL SUBPOGENERAL.ITEM_CODE, SUBPOGENERAL.ITEM_DESC,                          SUBPOGENERAL.QUANTITY, ITEM.ITEM_NAME, ITEM.ITEM_DESC