facebook

Deploying War file in Weblogic 9.2

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #274408 Reply

    Michaelw
    Member

    Hi all,
    I am using MyEclipse 5.5.1 GA. I deployed the web application (packaged war file) in
    Tomcat 5.5 successfully. But when I deployed the same web application in Weblogic
    Server 9.2, I received errors. Could some one help please? Here is the display from
    MyEclipse console:

    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:80:20:80:20: problem: cvc-complex-type.2.4a: Expected element ‘servlet-name@http://java.sun.com/xml/ns/j2ee’ instead of ‘url-pattern@http://java.sun.com/xml/ns/j2ee’ here in element servlet-mapping@http://java.sun.com/xml/ns/j2ee:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:80:20>
    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:80:106:80:106: problem: cvc-complex-type.2.4c: Expected element ‘url-pattern@http://java.sun.com/xml/ns/j2ee’ before the end of the content in element servlet-mapping@http://java.sun.com/xml/ns/j2ee:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:80:106>
    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:81:20:81:20: problem: cvc-complex-type.2.4a: Expected element ‘servlet-name@http://java.sun.com/xml/ns/j2ee’ instead of ‘url-pattern@http://java.sun.com/xml/ns/j2ee’ here in element servlet-mapping@http://java.sun.com/xml/ns/j2ee:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:81:20>
    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:81:110:81:110: problem: cvc-complex-type.2.4c: Expected element ‘url-pattern@http://java.sun.com/xml/ns/j2ee’ before the end of the content in element servlet-mapping@http://java.sun.com/xml/ns/j2ee:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:81:110>
    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:82:20:82:20: problem: cvc-complex-type.2.4a: Expected element ‘servlet-name@http://java.sun.com/xml/ns/j2ee’ instead of ‘url-pattern@http://java.sun.com/xml/ns/j2ee’ here in element servlet-mapping@http://java.sun.com/xml/ns/j2ee:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:82:20>
    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:82:90:82:90: problem: cvc-complex-type.2.4c: Expected element ‘url-pattern@http://java.sun.com/xml/ns/j2ee’ before the end of the content in element servlet-mapping@http://java.sun.com/xml/ns/j2ee:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:82:90>
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:229)
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:216)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
    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:775)
    … 25 more

    weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
    C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war\WEB-INF\web.xml:15:32:15:32: problem: cvc-complex-type.2.3: Element ‘welcome-file-list@http://java.sun.com/xml/ns/j2ee’ with element-only content type cannot have text content.:<C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war/WEB-INF/web.xml:15:32>

    Thanks in advance

    Mike

    #274440 Reply

    Loyal Water
    Member

    Please make sure that you have set up the connector correctly. This is what the connector should look like:-
    https://www.genuitec.com/forums/topic/weblogic-9-what-does-a-configured-connector-look-like/

    Are you able to start the weblogic sever without errors outside MyEclipse ? What errors messages do you get when you start the server with MyEclipse ? I need you to paste the complete error log.

    #274488 Reply

    Michaelw
    Member

    Hi Nipun,
    Thanks for replying.
    I checked my connector. It seemed to be properly set up.
    Here is the console display when I started Weblogic Server 9.2:

    <24-Aug-2007 1:25:38 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    C:\bea921\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\bea921\weblogic92\platform\lib\p13n\p13n_common.jar;C:\bea921\weblogic92\platform\lib\p13n\p13n_system.jar;C:\bea921\weblogic92\platform\lib\wlp\netuix_common.jar;C:\bea921\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\bea921\weblogic92\platform\lib\wlp\netuix_system.jar;C:\bea921\weblogic92\platform\lib\wlp\wsrp-common.jar>
    <24-Aug-2007 1:25:40 o’clock PM ADT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_06-b05 from Sun Microsystems Inc.>
    <24-Aug-2007 1:25:42 o’clock PM ADT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP1 Sun Jan 7 00:56:31 EST 2007 883308 >
    <24-Aug-2007 1:25:46 o’clock PM ADT> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\bea921\license.bea>
    <24-Aug-2007 1:25:46 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <24-Aug-2007 1:25:46 o’clock PM ADT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <24-Aug-2007 1:25:47 o’clock PM ADT> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
    <24-Aug-2007 1:25:51 o’clock PM ADT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <24-Aug-2007 1:25:56 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <24-Aug-2007 1:25:56 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <24-Aug-2007 1:26:11 o’clock PM ADT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    <24-Aug-2007 1:26:12 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <24-Aug-2007 1:26:12 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <24-Aug-2007 1:26:13 o’clock PM ADT> <Notice> <Server> <BEA-002613> <Channel “Default[1]” is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, http.>
    <24-Aug-2007 1:26:13 o’clock PM ADT> <Notice> <Server> <BEA-002613> <Channel “Default” is now listening on 142.139.122.98:7001 for protocols iiop, t3, ldap, http.>
    <24-Aug-2007 1:26:13 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server “AdminServer” for domain “base_domain921” running in Development Mode>
    <24-Aug-2007 1:26:13 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <24-Aug-2007 1:26:13 o’clock PM ADT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
    <WSEE>Warning: JMS queue ‘weblogic.wsee.DefaultQueue’ is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    <WSEE>Warning: JMS queue ‘weblogic.wsee.DefaultQueue’ is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    <WSEE>Warning: JMS queue ‘weblogic.wsee.DefaultQueue’ is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    <WSEE>Warning: JMS queue ‘weblogic.wsee.DefaultQueue’ is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    <WSEE>Warning: JMS queue ‘weblogic.wsee.DefaultQueue’ is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    <WSEE>Warning: JMS queue ‘weblogic.wsee.DefaultQueue’ is not found, as a result, Web Service async responses via jms transport is not supported. If the target service uses JMS transport, the responses will not be able to come back.<JmsQueueListener.connect:227>
    <24-Aug-2007 1:28:02 o’clock PM ADT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.>
    <24-Aug-2007 1:28:23 o’clock PM ADT> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal.>

    Mike

    #274500 Reply

    Loyal Water
    Member

    Make sure you are using the JDK from the WebLogic install to run it. Also make sure you left all the Paths settings empty for now.

    #274510 Reply

    Michaelw
    Member

    Yes, I am using Weblogic install JDK which is jdk1.5.0_06. After I removed all the paths settings and restart Weblogic Server, the console displayed the following messages:

    <SNIP, same as above, just using that one for reference>

    #274614 Reply

    Riyad Kalla
    Member

    Mike it looks like WebLogic doesn’t like your web.xml file.

    The odd thing is that error would normally make me think that WebLogic doesn’t know how to parse the J2EE 1.4 compliant web.xml file, but WebLogic 9.2 *does* support J2EE 1.4 (and the web 2.4 spec) so it shouldn’t have a problem parsing that descriptor.

    So then my second thought is there is something wrong with your descriptor.

    Do you have XML validation off for that file? Are there any errors or markers on it? Can you paste it here for us to look at?

    Also if it worked on Tomcat but not WebLogic, that is extra odd…

    #274628 Reply

    Michaelw
    Member

    Hi Riyad,

    The XML validation was on. I turned them all off and redeploy the application. The console displayed the similars error as before.

    ……
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:229)
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:216)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:141)
    …..

    I deployed the war file in the domain I created in Weblogic Server directory
    “c:\bea921\user_projects\domains\base_domain921\autodeploy\FotoProject.war”
    The url I used is “http://localhost:7001/FotoProject/home.html&#8221;. When I typed this
    url the browser diplayed “Error 404-Not Found”. In Tomcat, when I typed
    http://localhost:8090/FotoProject/home.html&#8221;, I received the initial home page as expected.

    There are no errors or markers in my web.xml file. Attached is the web.xml

    <web-app>
    <display-name>Photo Project</display-name>
    <description>Photo Project</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <welcome-file-list>home.htm</welcome-file-list>

    <servlet><servlet-name>LogOn</servlet-name><init-param><param-name>url</param-name><param-value>VldteAndProceedLogOn</param-value></init-param>
    <servlet-class>com.gnb.ca.LogOn</servlet-class><display-name>LogOn</display-name><description></description></servlet>

    <servlet><servlet-name>VldteAndProceedLogOn</servlet-name>
    <init-param><param-name>poolName</param-name><param-value>psdmvdevpool</param-value></init-param>
    <init-param><param-name>service</param-name><param-value>QMVS_Generic3</param-value></init-param>
    <init-param><param-name>ttssService</param-name><param-value>QMVS_Sgnver3</param-value></init-param>
    <init-param><param-name>trxnCode</param-name><param-value>T00773</param-value></init-param>
    <init-param><param-name>appId</param-name><param-value>2</param-value></init-param>
    <init-param><param-name>url1</param-name><param-value>LogOn</param-value></init-param>
    <init-param><param-name>url2</param-name><param-value>PasswordToExp</param-value></init-param>
    <init-param><param-name>url3</param-name><param-value>ChangePassword</param-value></init-param>
    <init-param><param-name>propsLocn</param-name><param-value>c:\Jolt-Jars\joltpool.properties</param-value></init-param>
    <servlet-class>com.gnb.ca.VldteAndProceedLogOn</servlet-class><display-name>VldteAndProceedLogOn</display-name><description></description></servlet>

    <servlet><servlet-name>RequestFoto</servlet-name>
    <init-param><param-name>url1</param-name><param-value>VldteRequestFoto</param-value></init-param>
    <init-param><param-name>url2</param-name><param-value>LogOn</param-value></init-param>
    <servlet-class>com.gnb.ca.RequestFoto</servlet-class><display-name>RequestFoto</display-name><description></description></servlet>

    <servlet><servlet-name>VldteRequestFoto</servlet-name>
    <servlet-class>com.gnb.ca.VldteRequestFoto</servlet-class><display-name>VldteRequestFoto</display-name><description></description></servlet>

    <servlet><servlet-name>PasswordToExp</servlet-name>
    <init-param><param-name>poolName</param-name><param-value>psdmvdevpool</param-value></init-param>
    <init-param><param-name>service</param-name><param-value>QMVS_Generic3</param-value></init-param>
    <init-param><param-name>trxnCode</param-name><param-value>T00773</param-value></init-param>
    <init-param><param-name>appId</param-name><param-value>2</param-value></init-param>
    <init-param><param-name>url1</param-name><param-value>LogOn</param-value></init-param>
    <init-param><param-name>url2</param-name><param-value>ChangePassword</param-value></init-param>
    <servlet-class>com.gnb.ca.PasswordToExp</servlet-class><display-name>PasswordToExp</display-name><description></description></servlet>

    <servlet><servlet-name>ChangePassword</servlet-name>
    <init-param><param-name>poolName</param-name><param-value>psdmvdevpool</param-value></init-param>
    <init-param><param-name>service</param-name><param-value>QMVS_Generic3</param-value></init-param>
    <init-param><param-name>trxnCode</param-name><param-value>T00773</param-value></init-param>
    <init-param><param-name>appId</param-name><param-value>2</param-value></init-param>
    <init-param><param-name>url</param-name><param-value>LogOn</param-value></init-param>
    <servlet-class>com.gnb.ca.ChangePassword</servlet-class><display-name>ChangePassword</display-name><description></description></servlet>

    <servlet><servlet-name>ToChangePassword</servlet-name>
    <init-param><param-name>trxnCode</param-name><param-value>T00773</param-value></init-param>
    <init-param><param-name>appId</param-name><param-value>2</param-value></init-param>
    <init-param><param-name>url1</param-name><param-value>LogOn</param-value></init-param>
    <init-param><param-name>url2</param-name><param-value>ChangePassword</param-value></init-param>
    <servlet-class>com.gnb.ca.ToChangePassword</servlet-class><display-name>ToChangePassword</display-name><description></description></servlet>

    <servlet><servlet-name>CheckSecurity</servlet-name>
    <init-param><param-name>poolName</param-name><param-value>psdmvdevpool</param-value></init-param>
    <init-param><param-name>service</param-name><param-value>QMVS_Generic3</param-value></init-param>
    <init-param><param-name>appId</param-name><param-value>2</param-value></init-param>
    <init-param><param-name>url</param-name><param-value>LogOn</param-value></init-param>
    <init-param><param-name>propsLocn</param-name><param-value>c:\Jolt-Jars\joltpool.properties</param-value></init-param>
    <servlet-class>com.gnb.ca.CheckSecurity</servlet-class><display-name>CheckSecurity</display-name><description></description></servlet>

    <servlet><servlet-name>LogOff</servlet-name><init-param><param-name>url</param-name><param-value>LogOn</param-value></init-param>
    <servlet-class>com.gnb.ca.LogOff</servlet-class><display-name>LogOff</display-name><description></description></servlet>

    <servlet-mapping><url-pattern>/LogOn</url-pattern><servlet-name>LogOn</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/RequestFoto</url-pattern><servlet-name>RequestFoto</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/VldteRequestFoto</url-pattern><servlet-name>VldteRequestFoto</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/VldteAndProceedLogOn</url-pattern><servlet-name>VldteAndProceedLogOn</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/PasswordToExp</url-pattern><servlet-name>PasswordToExp</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/ChangePassword</url-pattern><servlet-name>ChangePassword</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/ToChangePassword</url-pattern><servlet-name>ToChangePassword</servlet-name></servlet-mapping>
    <servlet-mapping><url-pattern>/LogOff</url-pattern><servlet-name>LogOff</servlet-name></servlet-mapping>

    </web-app>

    #274632 Reply

    Riyad Kalla
    Member

    Mike, as you said that web.xml looks totally normal. I’m not sure what is wrong with the WebLogic install that it’s having trouble validating it though.

    The error is fortunately pretty straight forward (validation error). I’d try and search the WebLogic support forums for that validation error phrase, and see if you get a lot of other folks posting the same thing, maybe it’s minor? like you need an extra tag for WL in there or something.

    It could also just be a WebLogic bug.

    #274646 Reply

    Michaelw
    Member

    I will check BEA forum and hopefully I will find some answers. Thanks for the help. I will update the thread when I got an answer from Bea.

    #274648 Reply

    Riyad Kalla
    Member

    Thank you Mike, I look forward to hearing what the issue was… I’ll probably add it to the FAQ if there is a good clean-cut fix for it.

    #275452 Reply

    Michaelw
    Member

    I looked at one of the web.xml in BEA examples. It has two extra statements at the beginning of the web.xml file:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <web-app xmlns:j2ee=”http//java.sun.com/xml/ns/j2ee”>

    I added these two statments to my web.xml and redeployed my web application.
    Wa-Lah! The application was deployed and I could invoke the web application
    successfully. But I don’t understand why. Could someone explain please?

    Mike

    #275477 Reply

    Riyad Kalla
    Member

    Mike you replaced the default <web-app> root level tag with the one above, or you *literally* copy and pasted the two lines into the existing web.xml file so you now have two <web-app> tags in the file?

    #275588 Reply

    Michaelw
    Member

    Hi Riyad,
    Didn’t mean to mislead you. I went over my changes to web.xml file and tested it carefully. The problem is not due to the two statements which I mentioned I added and/or changed. All in all there is only one <web-app> element.
    What made the deployment work was that I changed the sequence of the elements and removed <display-name> and <description> within <servlet> and </servlet>. I also
    changed the sequence of the elements within <servlet-mapping> and </servlet-mapping>.

    Here is the partial of the Before and After of my web.xml:

    Before:

    <web-app>
    <display-name>Photo Project</display-name>
    <description>Photo Project</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <welcome-file-list>home.htm</welcome-file-list>

    <servlet><servlet-name>LogOn</servlet-name><init-param><param-name>url</param-name><param-value>VldteAndProceedLogOn</param-value></init-param>
    <servlet-class>com.gnb.ca.LogOn</servlet-class><display-name>LogOn</display-name><description></description></servlet>
    …..
    …..
    <servlet-mapping><url-pattern>/LogOn</url-pattern><servlet-name>LogOn</servlet-name></servlet-mapping>
    </web-app>

    After:

    <web-app>
    <display-name>Photo Project</display-name>
    <description>Photo Project</description>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>home.html</welcome-file>
    </welcome-file-list>

    <servlet>
    <servlet-name>LogOn</servlet-name>
    <servlet-class>com.gnb.ca.LogOn</servlet-class>
    <init-param>
    <param-name>url</param-name>
    <param-value>VldteAndProceedLogOn</param-value>
    </init-param>
    </servlet>
    ……
    ……
    <servlet-mapping>
    <servlet-name>LogOn</servlet-name>
    <url-pattern>/LogOn</url-pattern>
    </servlet-mapping>
    </web-app>

    Although I can invoke my web application, there are some warnings and errors showing in the console after I deployed the war file. However, the application seemed to be working fine. Just wonder will these errors and warnings cause problem down the road. Here is what showed up in the console:

    <14-Sep-2007 11:29:36 o’clock AM ADT> <Error> <Deployer> <BEA-149265> <Failure occured in the execution of deployment request with ID ‘1189780171912’ for task ’12’. Error is: ‘weblogic.management.DeploymentException: ‘
    weblogic.management.DeploymentException:
    at weblogic.management.deploy.internal.MBeanConverter.reconcile81MBeans(MBeanConverter.java:302)
    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.compatibilityProcessor(RedeployOperation.java:182)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:117)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    Truncated. see log file for complete stacktrace
    java.util.zip.ZipException: Error opening file – C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war Message – error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:65)
    at weblogic.servlet.utils.WarUtils.isWar(WarUtils.java:44)
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:54)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.reconcileMBeans(MBeanFactoryImpl.java:157)
    Truncated. see log file for complete stacktrace
    >
    <14-Sep-2007 11:29:36 o’clock AM ADT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application ‘_appsdir_FotoProject_war’.>
    <14-Sep-2007 11:29:36 o’clock AM ADT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException:
    at weblogic.management.deploy.internal.MBeanConverter.reconcile81MBeans(MBeanConverter.java:302)
    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.compatibilityProcessor(RedeployOperation.java:182)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.setupPrepare(AbstractOperation.java:295)
    at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:117)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
    Truncated. see log file for complete stacktrace
    java.util.zip.ZipException: Error opening file – C:\bea921\user_projects\domains\base_domain921\servers\AdminServer\stage\_appsdir_FotoProject_war\FotoProject.war Message – error in opening zip file
    at weblogic.servlet.utils.WarUtils.existsInWar(WarUtils.java:65)
    at weblogic.servlet.utils.WarUtils.isWar(WarUtils.java:44)
    at weblogic.servlet.internal.WarDeploymentFactory.findOrCreateComponentMBeans(WarDeploymentFactory.java:54)
    at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
    at weblogic.application.internal.MBeanFactoryImpl.reconcileMBeans(MBeanFactoryImpl.java:157)
    Truncated. see log file for complete stacktrace
    >

    Thanks

    Mike

    #275687 Reply

    Riyad Kalla
    Member

    This message has not been recovered.

    #275709 Reply

    Michaelw
    Member

    This message has not been recovered.

Viewing 15 posts - 1 through 15 (of 16 total)
Reply To: Deploying War file in Weblogic 9.2

You must be logged in to post in the forum log in