Deploying a WAR file on WebLogic 9.2 - Issues

Hi all,
I tried deploying a sample WAR file on the admin console of the Weblogic 9.2. This was done under the deployments tab on the admin console.
When i tried to deploy i get the following exception and the log on the admin console is as follows:
<Error> <J2EE> <BEA-160197> <Unable to load descriptor C:\bea92\user_projects\domains\base_domain92_ap2\.\servers\AdminServer\stage\_appsdir_HelloWorld_war\HelloWorld.war/WEB-INF/web.xml of module HelloWorld.war. The error is weblogic.descriptor.DescriptorException: Unmarshaller failed
at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:147)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:280)
at weblogic.descriptor.DescriptorManager.createDescriptor(DescriptorManager.java:248)
at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:749)
at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:378)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:720)
at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:729)
at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:134)
at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:778)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:275)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:621)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:208)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:147)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:61)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:189)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:87)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:718)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1185)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:247)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Because of this exception, When i try to access the war file,web service, it gives me:
Error 403--Forbidden
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.4 403 Forbidden
One thing I have noticed is that the web.xml for the WAR file had the following XSD:
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
I also changed the version to 2.4 and checked. It was not working.
I am not sure about the problem with deployment. If someone could help me out in this issue, it will be a great help to me.
Thanks,
Hari.

Restart the server and see if you get any deployment error in log files. Do you see proper deployment msg in the logs? May be there is some issue in weblogic.xml which is not allowing app to deploy properly. How does the app appear in Admin console under deployments?

Similar Messages

  • Problem deploying a WAR file in Weblogic 10

    I get an error trying to deploy a WAR file on WebLogic 10 on two of my co-workers computers. On my computer it works fine and on our development server running on SUSE 10 it is also fine. We are using Struts 2, Hibernate 3 and Spring 2.5. The exception says that weblogic.wsee.async.AsyncResponseBean failed to preload because weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found. We are not knowingly trying to use these classes. We do not have web services. The full text of the error we get when trying to deploy is:
    <Aug 20, 2008 3:01:45 PM CDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application '_appsdir_pilotVacation_war'.
    weblogic.application.ModuleException: [HTTP:101216]Servlet: "weblogic.wsee.async.AsyncResponseBean" failed to preload on startup in Web application: "pilotVacation.war".
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)
    at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)
    at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)
    at weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)
    at weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)
    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)
    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:950)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
    Truncated. see log file for complete stacktrace
    class: weblogic.wsee.async.jaxws.OnAsyncDelivery could not be found
    at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)
    Truncated. see log file for complete stacktrace
    >

    Hey,
    From what I understand, your configuration is obviously different from your co-workers' config.
    So you've got two choices : either you make their environments work like yours, or you make the application to work anywhere !
    In order to do so, I would advise you to use a comparison tool, such as BeyondCompare (excellent) and compare your domain configurations (config directories)
    Or as James suggested it, you go hunt for unnecessary libraries in your application DD.
    Extra question : have you tried to create a new domain, and activate the Workshop extension ? Try then to deploy your application and tell us what's the result.
    If you created your application in Workshop, mind the facets : if you do not chose the correct set of facets, you'll have lots of extra libs, more annoying than helping.

  • Problem in deploying Application War file on weblogic 8.1.

    Hi All,
    <BR><BR>
    I am getting folowing error while deploying a war file in weblogic server.
    <BR><BR>
    <b>####<May 9, 2006 4:35:43 AM BST> <Error> <HTTP> <dygenint01> <admin_dyressit> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-101018> <[ServletContext(id=6530739,name=OneViewWriteback,context-path=/OneViewWriteback)] Servlet failed with ServletException
    java.lang.Throwable: Servlet class: 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet' doesn't have a default constructor
         at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1032)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
         at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
         at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:535)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:373)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)</b>
    <BR><BR>
    I am using weblogic version 8.1 .
    <BR><BR>
    How can I get rid of this error ?
    <BR><BR>
    Can any body Please guide me on this ?
    <BR><BR>
    Thanks in advance.
    <BR><BR>
    Ninad

    dkarr, Thanks for your reply.<BR>
    here is the constructor I got for the class 'com.corizon.ps.oneview.servlet.OneViewWritebackResultServlet'
    <BR><BR>
    <b> public OneViewWritebackResultServlet()<BR>
    {<BR>
    senderThread = null;<BR>
    jmsConnectionHandler = null;<BR>
    closureManager = null;<BR>
    mRequestSenderThread = null;<BR>
    connected = false;<BR>
    }</b><BR>
    <BR>
    Is this ok ?
    <BR>
    Thanks,<BR>
    -Ninad<BR>

  • Remote deploy a war file in weblogic using ant script

    Hi,
    How do I remote deploy a war file in weblogic using ant script
    Thanks

    http://download.oracle.com/docs/cd/E13222_01/wls/docs100/programming/wldeploy.html

  • Deploy only WAR File to Weblogic and not EAR File

    Hi,
    I want know if exist a way to only deploy de WAR file to Weblogic?

    Hi,
    Below is the command to deploy ear file.
    java weblogic.Deployer -adminurl t3://<adminserver>:port -username admin -password password -deploy -stage -source <ear file name for example vas.war> -name <name of the application, this value is showed in console, For ex 'vas'> -targets <Managed server separated by comma>
    Thanks.
    Vijay Bheemineni.

  • How to deploy a war file on Weblogic Server 7.0??

    Hello Everyone
    I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
    This is how i have done it, but this is not working---
    (1) First i created a directory structure for the web application according to J2EE Specification.
    C:\Work\
    myServletWAR\
    META-INF\
    WEB-INF\
    classes\
    HelloServlet.class
    web.xml
    i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
    (2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
    jar -cvf TestServletWAR.war .
    This creates the TestServletWAR.war file in myServletWAR dir.
    Here is how my Servlet and web.xml looks like...
    Servlet code
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet
    public void doPost ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    doGet( req, res );
    public void doGet ( HttpServletRequest req, HttpServletResponse res )
    throws IOException, ServletException
    res.setContentType( "text/html" ); // Can also use "text/plain" or others.
    PrintWriter out = res.getWriter();
    // Get the requestor's IP address (See JavaDocs to see how to get other info):
    String addr = req.getRemoteAddr();
    // Create output (the response):
    out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
    out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
    out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
    out.println( "</H1></BODY></HTML>" );
    out.close();
    ************************Servlet Ends Here **************************
    web.xml
    ---------------------------------------------------------- <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <display-name>myServletWAR, a first Web Application</display-name>
    <description>
    This is a simple web application containing a single servlet
    of the "Hello, World" variety.
    </description>
    <servlet>
    <servlet-name>myHello</servlet-name>
    <servlet-class>HelloServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>myHello</servlet-name>
    <url-pattern>/myHello</url-pattern>
    </servlet-mapping>
    </web-app>
    ****************************web.xml file ends here********************
    After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
    http://localhost:7001/myServletWAR/myHello
    I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
    Looking forward for your help
    Thanx in advance
    Nisha

    hi i have read ur answer regarding deploing a servlet in weblogic 7.0
    i am facing another problem
    when i try to access the servlet inside my classes directory it throwa an error stating this :
    IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
    KINDLY TELL ME
    PUNEET JAIN
    <May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
    rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
    in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
    ebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
    <May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
    vlet failed with ServletException
    javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
    servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
    a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
    java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
    >

  • Default data adaptor error when deploying a war file in weblogic

    Hi All,
    Newbie here with a few questions regarding the deployment of OPA 10.1. Really hoping you guys can help...
    1) I'm attempting to deploy an unexploded web-determinations.war file on WebLogic. Thanks to this forum I've got past the issues of "rulebase directory not found" etc. However, i'm now faced with an issue which I can't find any info on. Please see below.
    3672074 [[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
    acle.determinations.web.platform.controller.actions.StartSessionAction - Could not instansate defau
    lt data adaptor
    java.lang.NullPointerException
    at java.io.File.<init>(File.java:194)
    at com.oracle.determinations.web.platform.plugins.data.XDSDataAdaptor.<init>(XDSDataAdaptor.
    java:55)
    at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.createInterv
    iewSession(StartSessionAction.java:173)
    at com.oracle.determinations.web.platform.controller.actions.StartSessionAction.getResource(
    StartSessionAction.java:66)
    at com.oracle.determinations.web.platform.servlet.WebDeterminationsServlet.doGet(WebDetermin
    ationsServlet.java:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
    java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at com.oracle.determinations.web.platform.util.CharsetFilter.doFilter(CharsetFilter.java:46)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
    ontext.java:3393)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2
    140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    I've got the following entry in the application.properties file too...
    # Default XDS data adaptor file path
    #xds.file.path =data
    From what we can see we believe the code is getting a null pointer because of the following method in the WebDeterminationsServletContext class.
    public String resolveFullPath(String path)
    File f = new File(path);
    return f.isAbsolute() ? f.getAbsolutePath() : this.servletContext.getRealPath(path);
    We believe the getRealPath(path), highlighted in red, is returning null. Any ideas how we can resolve this?
    2) The second issue I'm facing is with regards the plugins.libraries property in the application.properties file. I've got the entry as
    plugin.libraries =DataAdaptor.DA;
    which should point to our customised data adaptor. However I'm getting the following error.
    4242994 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
    acle.determinations.web.platform.servlet.WebDeterminationsServletContext - Can not find class: Data
    Adaptor.DA
    4243025 [[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN com.or
    acle.determinations.interview.engine.local.LocalInterviewEngine - Can not find class: DataAdaptor.D
    A
    3) Also, does anyone know if it's possible to deploy a web-determinations.war file containing additional internal application code? What we're attempting to do is deliver a single war file which not only holds the web determination code but also all the code for an application which wraps the OWD within it. At present this just isn't working. I'm not sure what the conflict is exactly. The only way i seem to be able to get this working is by deploying the code in two seperate war files.
    Any help on these issues would be greaty appreciated.
    Thanks,
    Taj

    (2) is being caused because your data adaptor plugin is not installed properly. The jar that contains your plugin needs to go in the WEB-INF/lib directory and you must specify the fully qualified class name in the plugin.libraries property of the application.properties file.
    If you haven't provided a custom data adaptor, Web Determinations will configure and attach the default one for use instead, which is file based. If you are deploying to WebLogic as an unxeploded war, you must configure the directory the default data directory the plugin will uses by specifying an absolute path that your instance of Web Determinations has read/write permissions to in the xds.file.path property of the application.properties file. In your case (1) is basically being caused by (2) since if the your data adaptor was loaded correctly the default one wouldn't load at all.
    As for (3) yes it's likely possible, provided you don't have library conflicts. How it's done really depends on what these additional customisations consist of.

  • How to deploy the war file in weblogic 6.0 with sp1?

    I write a jap and a web.xml files and also pack these files into a war file.
              When I use the console to deploy the war, the console think the war is a
              application, not web application.
              I attach the test.war.
              [test.war]
              

    change your web-inf directory name to WEB-INF. This should fix your problem.
              Kumar.
              Alex wrote:
              > I write a jap and a web.xml files and also pack these files into a war file.
              > When I use the console to deploy the war, the console think the war is a
              > application, not web application.
              > I attach the test.war.
              >
              > Name: test.war
              > test.war Type: unspecified type (application/octet-stream)
              > Encoding: x-uuencode
              

  • Deploying war files to weblogic 10.3.4

    I have a weblogic domain 10.3.4 and a war file (smap.war). I can deploy this war file using weblogic console (10.3.4).
    However, I cannot using ant (wldeploy 11.1.1.4) to deploy this war file. It shows error as follow.
    This war file and weblogic domain is in the same machine.
    ------------------error---------------------------
    [wldeploy] Task 27 failed: [Deployer:149026]deploy application smap.war on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy] weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    [wldeploy] problem: cvc-complex-type.2.4a: Expected element 'servlet-name@http://java.sun.com/xml/ns/javaee' instead of 'description@http://www.w3.org/2001/XMLSchema-instance' here in element servlet@http://java.sun.com/xml/ns/javaee:<null>
    [wldeploy] problem: cvc-complex-type.2.4a: Expected element 'servlet-name@http://java.sun.com/xml/ns/javaee' instead of 'display-name@http://www.w3.org/2001/XMLSchema-instance' here in element servlet@http://java.sun.com/xml/ns/javaee:<null>
    [wldeploy]      at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
    [wldeploy]      at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
    ---------------------------build.xml------------------------
    <?xml version="1.0" encoding="UTF-8" ?>
    <!--Ant buildfile generated by Oracle JDeveloper-->
    <!--Generated Mar 11, 2011 3:52:31 PM-->
    <project default="init">
    <target name="init">
    <tstamp/>
    </target>
    <property name="wls.username" value="weblogic" />
    <property name="wls.password" value="welcome1" />
    <property name="wls.hostname" value="localhost" />
    <property name="wls.port" value="7001" />
    <property name="admin.server.name" value="AdminServer" />
    <property name="deploy.target" value="AdminServer" />
    <!-- Here you can specify Either ClusterName, IndividualServerName Like "ManagedOne" or comma Seperated List of Managed/AdminServer -->
    <property name="deploy.name" value="smap.war" />
    <property name="deploy.source" value="E:\SVN_Root\smap_Build" />
    <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy">
    <classpath>
    <pathelement location="D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar"/>
    </classpath>
    </taskdef>
    <target name="szmap" depends="init" >
    <war destfile="${deploy.source}\smap.war"
    webxml="${deploy.source}\smap\WebContent\WEB-INF\web.xml" >
    <fileset dir="${deploy.source}\smap\WebContent"/>
    <classes dir="${deploy.source}\smap\build\classes"/>
    </war>
    </target>
    <target name="deployX" depends="init">
    <echo message="27 deploy.source=${deploy.source}"/>
    <echo message="28 deploy.name=${deploy.name}"/>
    <wldeploy action="deploy"
    name="${deploy.name}"
    source="${deploy.source}\${deploy.name}"
    user="${wls.username}"
    nostage="true"
    password="${wls.password}"
    verbose="true"
    adminurl="t3://${wls.hostname}:${wls.port}" targets="${deploy.target}"
    debug="true"
    />
    </target>
    <!-- Redeploying Applications -->
    <target name="redeploy">
    <wldeploy action="redeploy"
    name="${deploy.name}"
    user="${wls.username}"
    nostage="true"
    password="${wls.password}"
    verbose="true"
    adminurl="t3://${wls.hostname}:${wls.port}" targets="${deploy.target}" />
    </target>
    <!-- Uneploying Applications -->
    <target name="undeployX">
    <wldeploy action="undeploy"
    name="szmap"
    failonerror="false"
    user="${wls.username}"
    password="${wls.password}"
    verbose="true"
    adminurl="t3://${wls.hostname}:${wls.port}" targets="${deploy.target}" />
    </target>
    <target name="all" depends="init, deployX"/>
    </project>

    In szmap.war\WEB-INF\lib, I can find spring-beans-2.0.8.jar, spring-context-2.0.8.jar, spring-core-2.0.8.jar, spring-web-2.0.8.jar.
    I change weblogic.xml as follows. Then, I get new errors.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-web-app http://www.bea.com/ns/weblogic/weblogic-web-app/1.0/weblogic-web-app.xsd"
    xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app">
    <container-descriptor>
    <prefer-web-inf-classes>true</prefer-web-inf-classes>
    </container-descriptor>
    <library-ref>
    <library-name>spring-beans-2.0.8.jar</library-name>
    </library-ref>
    <library-ref>
    <library-name>spring-context-2.0.8.jar</library-name>
    </library-ref>
    <library-ref>
    <library-name>spring-core-2.0.8.jar</library-name>
    </library-ref>
    <library-ref>
    <library-name>spring-web-2.0.8.jar</library-name>
    </library-ref>
    <library-ref>
    <library-name>cxf-2.2.5.jar</library-name>
    </library-ref>
    <library-ref>
    <library-name>wsdl4j-1.6.2.jar</library-name>
    </library-ref>
    </weblogic-web-app>
    ----------------------------error-------------------------------------
    Buildfile: E:\CI_Build\szmap\ANT\ANTszmap\ANT_szmap\build_szmap.xml
    init:
    deployX:
    [echo] 27 deploy.source=E:\SVN_Root\szmap_Build
    [echo] 28 deploy.name=szmap.war
    [wldeploy] weblogic.Deployer -debug -nostage -verbose -noexit -name szmap.war -source E:\SVN_Root\szmap_Build\szmap.war -targets AdminServer -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -debug -nostage -verbose -noexit -name szmap.war -source E:\SVN_Root\szmap_Build\szmap.war -targets AdminServer -adminurl t3://localhost:7001 -user weblogic -deploy
    [wldeploy] [WebLogicDeploymentManagerImpl.<init>():115] : Constructing DeploymentManager for J2EE version V1_4 deployments
    [wldeploy] [WebLogicDeploymentManagerImpl.getNewConnection():158] : Connecting to admin server at localhost:7001, as user weblogic
    [wldeploy] [ServerConnectionImpl.getEnvironment():286] : setting environment
    [wldeploy] [ServerConnectionImpl.getEnvironment():289] : getting context using t3://localhost:7001
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://localhost:7001/jndi/weblogic.management.mbeanservers.domainruntime
    [wldeploy] [ServerConnectionImpl.getMBeanServer():237] : Connecting to MBeanServer at service:jmx:t3://localhost:7001/jndi/weblogic.management.mbeanservers.runtime
    [wldeploy] [DomainManager.resetDomain():36] : Getting new domain
    [wldeploy] [DomainManager.resetDomain():39] : Using pending domain: true
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@4406cef4
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.TargetCache@4406cef4
    [wldeploy] [MBeanCache.addNotificationListener():96] : Adding notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@8429c19
    [wldeploy] [MBeanCache.addNotificationListener():103] : Added notification listener for weblogic.deploy.api.spi.deploy.mbeans.ModuleCache@8429c19
    [wldeploy] [ServerConnectionImpl.initialize():169] : Connected to WLS domain: sunzmap_domain
    [wldeploy] [ServerConnectionImpl.init():159] : Initializing ServerConnection : [email protected]3969
    [wldeploy] [BasicOperation.dumpTmids():713] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():715] : {Target=AdminServer, WebLogicTargetType=server, Name=szmap.war}, targeted=true
    [wldeploy] [BasicOperation.deriveAppName():141] : appname established as: szmap.war
    [wldeploy] <2011-3-15 下午03时48分03秒 CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for application, szmap.war [archive: E:\SVN_Root\szmap_Build\szmap.war], to AdminServer .>
    [wldeploy] [BasicOperation.dumpTmids():713] : Incoming tmids:
    [wldeploy] [BasicOperation.dumpTmids():715] : {Target=AdminServer, WebLogicTargetType=server, Name=szmap.war}, targeted=true
    [wldeploy] [BasicOperation.loadGeneralOptions():628] : Delete Files:false
    [wldeploy] Timeout :3600000
    [wldeploy] Targets:
    [wldeploy] AdminServer
    [wldeploy] ModuleTargets={}
    [wldeploy] SubModuleTargets={}
    [wldeploy] }
    [wldeploy] Files:
    [wldeploy] null
    [wldeploy] Deployment Plan: null
    [wldeploy] App root: C:\Users\ADMINI~1\AppData\Local\Temp\2\Administrator\.\config\deployments\szmap.war
    [wldeploy] App config: C:\Users\ADMINI~1\AppData\Local\Temp\2\Administrator\.\config\deployments\szmap.war\plan
    [wldeploy] Deployment Options: {isRetireGracefully=true,isGracefulProductionToAdmin=false,isGracefulIgnoreSessions=false,rmiGracePeriod=-1,retireTimeoutSecs=-1,undeployAllVersions=false,archiveVersion=null,planVersion=null,isLibrary=false,libSpecVersion=null,libImplVersion=null,stageMode=nostage,clusterTimeout=3600000,altDD=null,altWlsDD=null,name=szmap.war,securityModel=null,securityValidationEnabled=false,versionIdentifier=null,isTestMode=false,forceUndeployTimeout=0,defaultSubmoduleTargets=true,timeout=0,deploymentPrincipalName=null,useExpiredLock=false}
    [wldeploy]
    [wldeploy] [BasicOperation.execute():445] : Initiating deploy operation for app, szmap.war, on targets:
    [wldeploy] [BasicOperation.execute():447] : AdminServer
    [wldeploy] Task 33 initiated: [Deployer:149026]deploy application szmap.war on AdminServer.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 33 failed: [Deployer:149026]deploy application szmap.war on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy] java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.soap.SOAPBindingImpl.getElementType()
    [wldeploy]      at java.lang.Class.getDeclaredMethod(Class.java:1937)
    [wldeploy]      at org.apache.cxf.tools.common.ExtensionInvocationHandler.invoke(ExtensionInvocationHandler.java:41)
    [wldeploy]      at $Proxy325.getElementType(Unknown Source)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.hasUsingAddressing(JaxWsEndpointImpl.java:201)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.extractWsdlExtensibilities(JaxWsEndpointImpl.java:184)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.<init>(JaxWsEndpointImpl.java:174)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:206)
    [wldeploy]      at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:165)
    [wldeploy]      at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
    [wldeploy]      at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:346)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:259)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:404)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [wldeploy]      at java.security.AccessController.doPrivileged(Native Method)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [wldeploy]      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [wldeploy]      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [wldeploy]      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [wldeploy]      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [wldeploy]      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    [wldeploy]      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    [wldeploy]      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    [wldeploy]      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    [wldeploy]      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [wldeploy]      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    [wldeploy]      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    [wldeploy]      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    [wldeploy]      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    [wldeploy]      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    [wldeploy]      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    [wldeploy]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    [wldeploy]      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    [wldeploy]      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    [wldeploy]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    [wldeploy]      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    [wldeploy]      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    [wldeploy]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [wldeploy]      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    [wldeploy]      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    [wldeploy]      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    [wldeploy]      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    [wldeploy]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    [wldeploy]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    [wldeploy]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    [wldeploy]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [wldeploy]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    [wldeploy]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    [wldeploy]
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + szmap.war AdminServer
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 33 failed: [Deployer:149026]deploy application szmap.war on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy] java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.soap.SOAPBindingImpl.getElementType()
    [wldeploy]      at java.lang.Class.getDeclaredMethod(Class.java:1937)
    [wldeploy]      at org.apache.cxf.tools.common.ExtensionInvocationHandler.invoke(ExtensionInvocationHandler.java:41)
    [wldeploy]      at $Proxy325.getElementType(Unknown Source)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.hasUsingAddressing(JaxWsEndpointImpl.java:201)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.extractWsdlExtensibilities(JaxWsEndpointImpl.java:184)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.<init>(JaxWsEndpointImpl.java:174)
    [wldeploy]      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:206)
    [wldeploy]      at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:165)
    [wldeploy]      at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
    [wldeploy]      at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:346)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:259)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
    [wldeploy]      at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:404)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
    [wldeploy]      at java.security.AccessController.doPrivileged(Native Method)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
    [wldeploy]      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
    [wldeploy]      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
    [wldeploy]      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
    [wldeploy]      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
    [wldeploy]      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
    [wldeploy]      at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
    [wldeploy]      at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
    [wldeploy]      at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
    [wldeploy]      at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
    [wldeploy]      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    [wldeploy]      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    [wldeploy]      at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    [wldeploy]      at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
    [wldeploy]      at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
    [wldeploy]      at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
    [wldeploy]      at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    [wldeploy]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    [wldeploy]      at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    [wldeploy]      at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    [wldeploy]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [wldeploy]      at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    [wldeploy]      at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    [wldeploy]      at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
    [wldeploy]      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    [wldeploy]      at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    [wldeploy]      at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    [wldeploy]      at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    [wldeploy]      at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
    [wldeploy]      at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
    [wldeploy]      at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
    [wldeploy]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
    [wldeploy]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
    [wldeploy]      at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
    [wldeploy]      at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    [wldeploy]      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    [wldeploy]      at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    [wldeploy]
    [wldeploy]
    [wldeploy]
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Jsr88Operation.report(Jsr88Operation.java:542)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:140)
    [wldeploy]      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    [wldeploy]      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    [wldeploy]      at weblogic.Deployer.run(Deployer.java:70)
    [wldeploy]      at weblogic.Deployer.mainWithExceptions(Deployer.java:62)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.invokeMain(WLDeploy.java:419)
    [wldeploy]      at weblogic.ant.taskdefs.management.WLDeploy.execute(WLDeploy.java:349)
    [wldeploy]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [wldeploy]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [wldeploy]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [wldeploy]      at java.lang.reflect.Method.invoke(Method.java:597)
    [wldeploy]      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
    [wldeploy]      at org.apache.tools.ant.Task.perform(Task.java:348)
    [wldeploy]      at org.apache.tools.ant.Target.execute(Target.java:357)
    [wldeploy]      at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [wldeploy]      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
    [wldeploy]      at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
    [wldeploy]      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
    [wldeploy]      at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
    [wldeploy]      at org.apache.tools.ant.Main.runBuild(Main.java:758)
    [wldeploy]      at org.apache.tools.ant.Main.startAnt(Main.java:217)
    [wldeploy]      at org.apache.tools.ant.Main.start(Main.java:179)
    [wldeploy]      at org.apache.tools.ant.Main.main(Main.java:268)
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
    BUILD FAILED
    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 33 failed: [Deployer:149026]deploy application szmap.war on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.soap.SOAPBindingImpl.getElementType()
         at java.lang.Class.getDeclaredMethod(Class.java:1937)
         at org.apache.cxf.tools.common.ExtensionInvocationHandler.invoke(ExtensionInvocationHandler.java:41)
         at $Proxy325.getElementType(Unknown Source)
         at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.hasUsingAddressing(JaxWsEndpointImpl.java:201)
         at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.extractWsdlExtensibilities(JaxWsEndpointImpl.java:184)
         at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.<init>(JaxWsEndpointImpl.java:174)
         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:206)
         at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:165)
         at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
         at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:167)
         at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:346)
         at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:259)
         at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:209)
         at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:404)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
         at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
         at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
         at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
         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.Ev

  • Exceptions on deploying the war file

    Hi,
    On deploying my war file in Weblogic 10.3.4 I get the below Exceptions.
    Could anybody tell the cause and the way to eliminate these?
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminCaptureRootCA
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminCaptureRootCA at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminLicense
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminLicense at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminJDBC
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminJDBC at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminRealm
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminRealm at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminEvents
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminEvents at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.ClientAuthenticationServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.ClientAuthenticationServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.HttpProxyServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.HttpProxyServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminVersion
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminVersion at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminClients
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminClients at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminProps
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminProps at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminThreads
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminThreads at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: utils.certificate
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: utils.certificate at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminConnections
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminConnections at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.servlet.jsp.JSPBuildServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.servlet.jsp.JSPBuildServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminCaptureRootCA
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminCaptureRootCA at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminLicense
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminLicense at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminJDBC
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminJDBC at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminRealm
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminRealm at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminEvents
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminEvents at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.ClientAuthenticationServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.ClientAuthenticationServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminMain
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminMain at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.t3.srvr.HttpProxyServlet
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: weblogic.t3.srvr.HttpProxyServlet at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminVersion
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminVersion at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminClients
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminClients at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminProps
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminProps at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminThreads
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminThreads at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: utils.certificate
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: utils.certificate at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: admin.AdminConnections
    [exec] Ignoring: unable to load class:java.lang.ClassNotFoundException: admin.AdminConnections at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)
    [exec] When processing WebService module 'XXWebApp.war'. Failed to load servlet Class: weblogic.servlet.jsp.JSPBuildServlet

    I faced the same problem once i remove the unused mapping tags from the web.xml file my problem is solved
    ex: I have mapping for TestServlet but i dont have TestServlet class in application. So i removed the mapping tags for TestServlet . I am expecting that your problem also same.
    Thanks
    Nagendra

  • Error in deploying the war file on to the weblogic server(6.1)

    Hi,
    I created the war file and tried to deploy it on the weblogic server 6.1 it is unable to deploy and is give these errors i am unable to find out the problem.Can any one help me out in finding why this is so.
    Help will be appreciated
    java.lang.NullPointerException
         at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:253)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:187)
         at $Proxy65.isDeployed(Unknown Source)
         at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:744)
         at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:206)
         at java.lang.reflect.Method.invoke(Native Method)
         at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
         at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
         at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
         at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
         at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
         at $Proxy5.update(Unknown Source)
         at weblogic.management.console.webapp._domain.__upload_app._jspService(__upload_app.java:149)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:241)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:112)
         at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35)
         at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
         at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Thanks,
    Reji

    Hi jmendelak,
    In the warfile i have jsp,servlets,java classes.
    In my working directory i have jsp and html files and in web-inf folder i have a folder by name classes in which i have the servlets and java classes.
    I made the war file and when i tried to deploy i was getting this error.
    I had previously deployed this war file on weblogic6.1 it was working fine.
    I have upgraded my operating sytem to Windows2000 professional from WinNT 4.0.I reinstalled the weblogic again and had set up the environment variables.
    After going through the error could you find out the reason?Is it because some seeting is missing?
    Raji

  • Deploying war file in weblogic SIP server 2.2

    Hi,
    I trying to deploy a "sar" file in weblogic SIP server,but it is not allowing me to do that.So one of my collegue told me to change the "sar" to "war" and try to deploy.
    When i am trying to deploy that it is saying that unable to find deployment descripter WEB-INF/web.xml in the war file.Actually it is there.But i don't know why it is giving that error.
    Actually i need to deploy "sar" file and i changed that file into "war" file
    What are all the trail and error to solve this problem
    (1)I made the "war" file from file folders.
    suppose my application directory name is "myapp"
    then i am going into the "myapp" folder and from there i am trying to make war file and it is having all the related class files , sip.xml file , web.xml file.
    Then i tryed to deploy that file from weblogic SIP server 2.2.console.
    (2) Next I included the weblogic.xml file also into the war file.
    (3)The "sar" file working fine in SDS 3.1,but not in we blogic SIP server.
    (4)The SDS3.1 is working with JRE 5 so i changed that JRE from 1.5 to jre 1.4. and again prepared the sar file and changed that SAR file to WAR file.
    I created a domain in SIP server which was created in "user_projects."
    For e.g., the domain name is "mydomain" and
    the directory structure is
    mydomain
    |
    |
    |----------applications(dir)
    |
    |----------myserver(dir)
    |
    |----------rmfilestore(dir)
    |
    |----------sipserver(dir)
    |
    |-----------boot (file)
    |
    |-----------config.xml
    |
    |-----------startWeblogic
    |
    |-----------stopWebLogic
    |
    |----------upload-------xxxxmanager----META-INF---WEB-INF----log4j.properties
    --------------sip.xml
    -----------------web.xml
    -------------weblogic.xml
    web.xml, sip.xml,log4j.properties are under WEB-INF folder
    Do i need to change any path setting in startWebLogic.cmd file.I didn't change any thing in the startWeblogic.cmd.
    Since my war file is having all the related files like all the related "jar" files in that.
    Any body's help will be appriciated.
    Thanks
    vish

    Can any body please reply for above question.
    Hi BEA support please flash some light on my above question
    vkviswanadh

  • Problem in deploying war file in weblogic application server 10

    Hi
              Thank you for reading my post.
              We are trying to deploy our application into weblogic but problem is that weblogic return an error like following one when we try to deploy the application.
              I should tell you that the following log was shown in a not well formatted way and i format it manually.
                        [HTTP:101216]Servlet: "com.wira.webservices.int.Wsti" failed to preload on startup in Web application: "wira.war". class:
              com.wira.webservices.int.jaxws.RequestResponse could not be found at
              com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272) at
              com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566) at
              com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513) at
              com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358) at
              com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245) at
              com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229) at
              com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291) at
              com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315) at
              weblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125) at
              weblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64) at
              javax.servlet.GenericServlet.init(GenericServlet.java:241) at
              weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282) at
              weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at
              weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source) at
              weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63) at
              weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at
              weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at
              weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504) at
              weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830) at
              weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807) at
              weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727) at
              weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890) at
              weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948) at
               weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26) at
              weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at
              weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at
              weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at
              weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at
              weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
                        I should say you that we do not have a package and class like: com.wira.webservices.bpel.jaxws.RequestResponse and it looks like WLS is mistaken about this.
              Indeed this application works fine on Sun java application server 9 (java ee 5 certified). Can you please tell me why does it happens?
              here is source code of Wsti class
                        @WebService()
              public class Wsti {
                  @WebMethod(operationName="requestResponse")
                  public String requestResponse(@WebParam(name="request") String request) {
                      return ReflectionManager.call(WstiImp.class, request);
                                            for reflection we used standard JDK reflection stuff.
              and that call method call a method identified in request from WstiImp class.
              Thanks

    Following are the steps involved in deploying a WAR file in Oc4j.
    1. Copy the file to D:\oc4j\j2ee\home\applications where d:\oc4j is the location OC4J is installed in.
    copy mywar.war D:\oc4j\j2ee\home\applications
    2. Open the application.xml file in D:\oc4j\j2ee\home\config directory
    and add the following after the <web-module id="defaultWebApp" path="../default-web-app" />
    line:
    <web-module id="mywar" path="../applications/mywar.war" />
    3. Open the default-web-site.xml file in D:\oc4j\j2ee\home\config
    directory and add the following after the <default-web-app application="default" name="defaultWebApp" /> line:
    <web-app application="default" name="mywar" root="/mywar" />
    Hope this helps
    -Debu Panda
    Oracle

  • How to deploy fusion web application war file on weblogic

    Hi
    I am new to ADF. Please let me know how to create war file and the steps for deployment of war file . Its very urgent...

    Unresolved Webapp Library references for "ServletContext@1289849542[app:ws_ear module:WSAEEAPP-ViewController-context-root path:/WSAEEAPP-ViewController-context-root spec-version:2.5]", defined in weblogic.xml [Extension-Name: jsf, Specification-Version: 2, exact-match: false]
    Specify the JSF library in the config.xml file
    <library>     <name>[email protected]_2-0-2</name>     ... </library>
    Refer the library in weblogic.xml
    <library-ref>      <library-name>jsf</library-name>      <specification-version>2.0</specification-version>      <implementation-version>1.0.0.0_2-0-2</implementation-version>      <exact-match>true</exact-match> </library-ref>
    The implementation version may be different.

  • Deploying War file in Weblogic 9.2

    Hi,
              I have a web application packaged as war file. The servlets are compiled using jdk1.5.0_06. I deployed the
              war file in Tomcat 5.5 successfully and I can invoke the
              application via url http://localhost:8090/FotoProject/home.html
              On the other hand I installed Weblogic Server 9.2. Started the Examples Server and dropped my "FotoProject.war" in "\weblogic92"\samples\domains\wl_server\autodeploy" directory. When I entered url "http://localhost:7001/FotoProject/home.html", I got
              "Error 404-Not Found".
              Could some one help and tell me what is wrong? Thanks in advance.
              Mike

    Restart the server and see if you get any deployment error in log files. Do you see proper deployment msg in the logs? May be there is some issue in weblogic.xml which is not allowing app to deploy properly. How does the app appear in Admin console under deployments?

Maybe you are looking for