Weblogic 8.1 to 9.2 upgrade of web application Issues

Hi,
I am trying to migrate an Weblogic 8.1 web application project (based on netui/struts/pageflows) to 9.2 using the workshop upgrade utility. During the upgrade, i get the following errors(note, this is not after upgrade but during upgrade itself).
====================================================================================================
!SUBENTRY 1 com.bea.wlw.upgrade <ERROR> <RESOURCE: /RMSPortal/WebContent/visitorTools/skeletons/edittogglebutton.jsp> 2010-07-06 16:37:51.341
!MESSAGE Exception caught during upgrade of "edittogglebutton.jsp"
!STACK 0
java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class
====================================================================================================
Please let me know if this is an issue or can be ignored ? or how can i get rid of this error ?
Regards,
Ram

Hi,
I am trying to migrate an Weblogic 8.1 web application project (based on netui/struts/pageflows) to 9.2 using the workshop upgrade utility. During the upgrade, i get the following errors(note, this is not after upgrade but during upgrade itself).
====================================================================================================
!SUBENTRY 1 com.bea.wlw.upgrade <ERROR> <RESOURCE: /RMSPortal/WebContent/visitorTools/skeletons/edittogglebutton.jsp> 2010-07-06 16:37:51.341
!MESSAGE Exception caught during upgrade of "edittogglebutton.jsp"
!STACK 0
java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class
====================================================================================================
Please let me know if this is an issue or can be ignored ? or how can i get rid of this error ?
Regards,
Ram

Similar Messages

  • Heap Memory Issue in weblogic 9.2 for a JSF 1.1 web application

    Hi,
    We are running a JSF application (Myfaces, facelets, tomahawk, richfaces & iBATIS) in weblogic 9.2 server on Solaris 10. This application is deployed in production and works fine under normal circumstances. But when there is a heavy user load we are facing a memory issue. The memory usage is gradually increasing and when it reaches to max, Full GC kicks in again & again which choks up all requests. We don't save anything in session scope. All our backing beans are saved in request scope hence they should be garbage collected after each request done, but this is not happening.
    We took the heap dump from production after this issue and analyzed it. After my analysis, I found all objects which are set in request object not being garbage collected and the root referers of all these objects is weblogic.servlet.internal.MuxableSocketHTTP.
    I reproduced the similar behaviour in one of our development environment using JMeter. I ran 100 concurrent users in JMeter for almost 1 hour and saw the similar behaviour. Below is the result of all weblogic objects which are still hanging in heap after test was over (I also ran manual Garbage Collector from admin server).
    1) weblogic.servlet.internal.MuxableSocketHTTP - 1774 objects - retained heap (1 GB)
    2) weblogic.servlet.internal.ServletRequestImpl - 1774 objects - retained heap (1 GB)
    My understanding is that every request made to weblogic server goes through the MuxableSocketHTTP object which creates the ServletRequestImpl to serve it. Once the request is served these objects are suppose to be removed. As a result of that whatever is saved in your request will still be hanging.
    I am not able to understand why these objects are hanging after request is done. Could anybody answer to my question. I appreciate your help in advance.
    The GC setting for weblogic server while startup is:
    -XX:MaxTenuringThreshold=15 -XX:+PrintTenuringDistribution -XX:+AggressiveHeap -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:PermSize=128m -XX:MaxPermSize=128m -Xms3g -Xmx3g -XX:NewSize=512m -XX:MaxNewSize=1024m
    Thanks MaKK

    What happened with this issue? We are seeing something similar on WebLogic 9.2 MP1 in Solaris (Jdk 1.5. patch 10. 32 bit). Out of Memory's with thousands if instances of weblogic.socket.MuxableSocket hanging around.
    Our thinking was initally the Java heap, then we thought that maybe the sockets weren't being closed properly, possible in WebLogic or in LiveCycle.
    Any info would be greatly appreciated.
    Snippet of our stack trace:
    <16-Feb-2010 04:30:13 o'clock GMT> <Error> <Kernel> <BEA-000802> <ExecuteRequest failed
    java.lang.OutOfMemoryError: Java heap space.
    java.lang.OutOfMemoryError: Java heap space
    >
    javax.ejb.EJBException: EJB encountered System Exception: : java.lang.OutOfMemoryError: Java heap space
         at weblogic.ejb.container.internal.EJBRuntimeUtils.throwEJBException(EJBRuntimeUtils.java:145)
         at weblogic.ejb.container.internal.BaseLocalObject.postInvokeCleanup(BaseLocalObject.java:550)
         at weblogic.ejb.container.internal.BaseLocalObject.postInvokeCleanup(BaseLocalObject.java:496)
         at com.adobe.idp.um.businesslogic.directoryservices.DirectorySynchronizationManagerBean_f5g74_ELOImpl.synchronizeProviders(DirectorySynchronizationManagerBean_f5g74_ELOImpl.java:267)
    Joel

  • SP 2013 Upgrade error - web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against a windows classic authentication mode.

    Hi there,
    I get this error when I perform a DB Attach upgrade from SharePoint 2010 to SharePoint 2013. 
    "web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against a windows classic authentication mode."
    Any help is appreciated. Thanks.

    There is other way of fixing this issue apart from what Amit mentioned. Create a classic based web application in SP 2013 using PowerShell.
    New-SPWebApplication -Name "TestApplication" -ApplicationPool "TestApplicationAppPool" -AuthenticationMethod "NTLM" -ApplicationPoolAccount (Get-SPManagedAccount "sppoc\spfarm") -Port 100 -URL "http://sp2013demo"
    Now mount the content database from SP 2010 on to the web application created above 
    Mount-SPContentDatabase WSS_Content_100 -DatabaseServer SQL2012Demo -WebApplication http://sp2013demo:100
    Once the mount is complete, convert the web application to use claims and migrate the user to use claims identity.
    Convert-SPWebApplication -Identity "http://sp2013demo:100" -To Claims –RetainPermissions -Force
    $w = Get-SPWebApplication "http://sp2013demo:100"
    $w.MigrateUsers($True)
    See my blog post about it: http://www.sharepointnadeem.com/2014/01/upgrade-from-sharepoint-2010-classic.html
    Please remember to up-vote or mark the reply as answer if you find it helpful.

  • Help required in Weblogic 6 - Creation & Configuration of Web Application

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

    Forum Home > Enterprise JavaBeans[tm]
    Topic: Help required in Weblogic 6 - Creation & Configuration of Web Application
    Duke Dollars
    2 Duke Dollars assigned to this topic. Reward the best responses to your question
    using the icons below, or transfer additional Duke Dollars to this topic.
    Welcome moinshariff!
    Watching this topic.
    Previous Topic Next Topic
    This topic has 1 reply on 1 page (Most recent message: Jan 23, 2002 1:05 AM)
    Author: moinshariff Jan 22, 2002 4:55 AM
    Hi,
    I am using Weblogic 6. I have created a new Web
    Application called Web (I have not used the DefaultWebApp_myserver).
    And I have the following settings:
    Name : Web
    URI : Web
    and Path : C:\Web
    and placed my JSP files under c:\Web\
    I am able to access the first page, but after that I am not able to access the
    second page.
    I get "Error 404--Not Found" on the browser. Basically the class file is not getting
    created under /Web-inf/_tmp_war_myserver_myserver_Web/jsp_servlet/ folder .
    I tried a work around for this. I copied all my files under one more folder called
    web and placed this under C:\Web
    The it works. Now I have 2 copied off all the files, 1 copy under c:\web and another
    copy under c:\web\web\.
    If I have the files under DefaultWebApp_myserver and have the setting as
    Name: DefaultWebApp_myserver
    URI: DefaultWebApp_myserver
    Path: .\config\mydomain\applications
    everything works fine.
    Can any one please let me know if there is any configuration which has to be done
    so that I do not duplicate the code in 2 directories
    Thanks in advance.
    Regards,
    Moin

  • Deploy web application on weblogic

    i am a newbie to weblogic
    and i want to deploy my existing web application which was developed on tomcat
    onto weblogic
    what changes should i make
    and how to deploy it on weblogic
    i am using weblogic7
    thanks in advance

    If it has the proper directory structure and the web.xml is OK, you need not change anything. Copy the WAR or the directory into the $BEA_HOME/user_projects/<<server-name>>/applications
    and start WebLogic. It will get auto-deployed.
    $ Carol.

  • After upgrade of Weblogic 8.1 to 9.2 web application fails to function

    Hi,
    After spending days and days together to get the upgrade to complete and finally build the web application, when i now try to run the web application, the admin (note i am runing under weblogic workshop domain) server gives the following warnings when starting up and the application throws a lot of exceptions related to netui pageflows. Kindly help.
    <Jul 2, 2010 1:40:02 PM PDT> <Error> <WSRP-Consumer> <BEA-420731> <Exception [java.security.PrivilegedActionException: com.bea.wsrp.consumer.managemen
    t.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fx
    ifd8_LocalHomeImpl] thrown while trying to do task [handleTimerNotification] in class [com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveList
    ener].
    java.security.PrivilegedActionException: com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.
    wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
    at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
    Truncated. see log file for complete stacktrace
    com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyP
    ortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:485)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.AbstractAdapter.getLocalPPPM(AbstractAdapter.java:313)
    at com.bea.wsrp.consumer.management.AbstractAdapter.getProxyPortletPersistenceManager(AbstractAdapter.java:293)
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:483)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423147> <Exception [java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.applic
    ation.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationM
    anagerHome] thrown while trying to do task [initPortalPresentationManager] in class [com.bea.netuix.servlets.manager.PortalServlet].
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423393> <An exception was thrown while running PortalServlet.init: [ javax.servlet.ServletException
    : Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.
    application.manager.persistence.PortalPresentationManagerHome ].
    javax.servlet.ServletException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeI
    mpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at com.bea.netuix.util.ThrowServletException.throwServletException(ThrowServletException.java:28)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:430)
    at com.bea.netuix.servlets.manager.PortalServlet.initCommon(PortalServlet.java:378)
    at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:234)
    at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:225)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace

    Hi,
    After spending days and days together to get the upgrade to complete and finally build the web application, when i now try to run the web application, the admin (note i am runing under weblogic workshop domain) server gives the following warnings when starting up and the application throws a lot of exceptions related to netui pageflows. Kindly help.
    <Jul 2, 2010 1:40:02 PM PDT> <Error> <WSRP-Consumer> <BEA-420731> <Exception [java.security.PrivilegedActionException: com.bea.wsrp.consumer.managemen
    t.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fx
    ifd8_LocalHomeImpl] thrown while trying to do task [handleTimerNotification] in class [com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveList
    ener].
    java.security.PrivilegedActionException: com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.
    wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:373)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    at javax.management.NotificationBroadcasterSupport.handleNotification(NotificationBroadcasterSupport.java:221)
    at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:184)
    Truncated. see log file for complete stacktrace
    com.bea.wsrp.consumer.management.portlet.ProxyPortletManagerException: java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyP
    ortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:485)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener.handleNotification(ProxyPortletRemoveListener.java:197)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: com.bea.wsrp.services.persistence.internal.ProxyPortletPersistenceManagerImpl_fxifd8_LocalHomeImpl
    at com.bea.wsrp.consumer.management.AbstractAdapter.getLocalPPPM(AbstractAdapter.java:313)
    at com.bea.wsrp.consumer.management.AbstractAdapter.getProxyPortletPersistenceManager(AbstractAdapter.java:293)
    at com.bea.wsrp.consumer.management.ProxyPortletManagerImpl.getRemovableProxyPortlets(ProxyPortletManagerImpl.java:483)
    at com.bea.wsrp.consumer.management.portlet.ProxyPortletRemoveListener$ProxyPortletRemover.run(ProxyPortletRemoveListener.java:330)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423147> <Exception [java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.applic
    ation.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationM
    anagerHome] thrown while trying to do task [initPortalPresentationManager] in class [com.bea.netuix.servlets.manager.PortalServlet].
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace
    <Jul 2, 2010 1:40:04 PM PDT> <Error> <netuix> <BEA-423393> <An exception was thrown while running PortalServlet.init: [ javax.servlet.ServletException
    : Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImpl@11ef9a9 to com.bea.netuix.
    application.manager.persistence.PortalPresentationManagerHome ].
    javax.servlet.ServletException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeI
    mpl@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at com.bea.netuix.util.ThrowServletException.throwServletException(ThrowServletException.java:28)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:430)
    at com.bea.netuix.servlets.manager.PortalServlet.initCommon(PortalServlet.java:378)
    at com.bea.netuix.servlets.manager.PortalServlet.reinitInternal(PortalServlet.java:234)
    at com.bea.netuix.servlets.manager.PortalServlet.initInternal(PortalServlet.java:225)
    Truncated. see log file for complete stacktrace
    java.lang.ClassCastException: Cannot narrow remote object com.bea.netuix.application.manager.persistence.jdbc.PortalPresentationManager_4ekhk0_HomeImp
    l@11ef9a9 to com.bea.netuix.application.manager.persistence.PortalPresentationManagerHome
    at weblogic.corba.server.naming.ReferenceHelperImpl.narrow(ReferenceHelperImpl.java:206)
    at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
    at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
    at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
    at com.bea.netuix.servlets.manager.PortalServlet.initPortalPresentationManager(PortalServlet.java:418)
    Truncated. see log file for complete stacktrace

  • Unable to resolve JNDI DataSource in weblogic 12c When you upgrade web application

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

    I create a datasource which jndi name is jdbc/allianzB2CDataSource and the target is AdminServer ,and i deploy a web application in AdminServer.In that web application,the code(base on spring framework) is:
    public static DataSource getJndiDataSource(String name) {
      JndiDataSourceLookup dsLookup = new JndiDataSourceLookup();
      Properties jndiEnvironment = new Properties();
      jndiEnvironment.put("java.naming.factory.initial",
      "weblogic.jndi.WLInitialContextFactory");
      dsLookup.setJndiEnvironment(jndiEnvironment);
      try {
      dsLookup.setResourceRef(false);
      return dsLookup.getDataSource(name);
      } catch (Exception e) {
      dsLookup.setResourceRef(true);
      return dsLookup.getDataSource(name);
    And the parameter is jdbc/allianzB2CDataSource,everything work fine,but when i restart or upgrate the web application,i got the error like this:
    javax.naming.NameNotFoundException: Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'
    Unable to resolve 'jdbc.allianzB2CDataSource'. Resolved 'jdbc'; remaining name 'allianzB2CDataSource'

  • How do shutdown the weblogic server from the command line prompt using web logic 8.1

    I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
    java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
    How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
    Any help will be greatly appreciated.
    Maria

    Maria <[email protected]> wrote:
    How do I shutdown the weblogic server from the
    command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
    http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
    Hope this helps...
    Brian J. Mitchell
    Systems Administrator, TRX
    email: [email protected]
    office: +1 404 327 7238
    mobile: +1 678 283 6530

  • WEB.XML gives me an error while deploying a Web Application in Weblogic 5.1

    I have a Web.xml which I copied the one from their documentation and edited for my servlet specific data. When I try to deploy it I am getting the following error.
              Wed Nov 15 17:10:37 EST 2000:<E> <HTTP> Error reading Web application 'C:/tomcat
              /webapps/La/'
              java.net.UnknownHostException: java.sun.com
              Can you throw some light on this? I have included the first three lines from the WEB,XML file where weblogic is choking.
              <?xml version="1.0" encoding="UTF-8"?>
              <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN'
              'http://java.sun.com/j2ee/dtds/webapp_2_2.dtd'>
              Thank You
              Trisula P. Siripurapu
              

              Hi Jacek,
              Thank you for your suggestion. I changed the Web App version to 1.2 instead of 2.2. It worked. Thanks once again for the timely response. I really do appreciate it.
              Trisula Pani Siripurapu.
              Jacek Laskowski <[email protected]> wrote:
              >"Trisula P. Siripurapu" wrote:
              >>
              >> I have a Web.xml which I copied the one from their documentation and edited for my servlet specific data. When I try to deploy it I am getting the following error.
              >> Wed Nov 15 17:10:37 EST 2000:<E> <HTTP> Error reading Web application 'C:/tomcat
              >> /webapps/La/'
              >> java.net.UnknownHostException: java.sun.com
              >
              >I remember having the same problem before I added the latest service
              >pack (SP 6). If you don't want to download it, just change DOCTYPE to
              >
              ><!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application
              >1.2//EN' 'http://java.sun.com/j2ee/dtds/webapp_2_2.dtd'>
              >
              >and it should work. Notice the change of Web Application version - 1.2
              >rather then 2.2. I'm (almost) sure, I saw one example - examples/webapp
              >(?) - with this header. Take a look at the accompanying examples.
              >
              >When you apply SP6, things should work as they suppose to.
              >
              >> Trisula P. Siripurapu
              >
              >Jacek Laskowski
              

  • Problem in web application deployment in weblogic 8.1

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

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

  • Deploy web application in jbuilder 9 with weblogic 7 problem

    when i create a web application and a servlet, and deploy it in jbuilder 9 with weblogic 7.0 ,jbuilder 9 showed me the error,please tell me why, when i choose "redeploy" ,it can be normally work..
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    Usage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]
    where options include:
    -help Print this help message.
    -version Print version information.
    -adminurl <https://<server>:<port>> The URL of the administration server: default
    http://localhost:7001
    -user <user> A user other than the default of
    "installadministrator"
    -password <password> Specifies the password on the command line.
    If this option is absent the user is
    prompted.
    -verbose Displays additional status during the
    deployment process, including notifications
    when the application is prepared and
    activated on each target.
    -debug Displays debug level messages to the standard
    output.
    -examples Display example usage of this tool.
    -upload Causes the specified source file(s) to be
    transferred to the adminstration server. This
    is used when the Deployer tools is not being
    used on the same machine as the adminstration
    server and the user does not otherwise have
    access to place the targeted files on the
    adminstration server.
    -delete_files Causes the server to remove the files that
    are specified in the file list and leave the
    application activated. This option is valid
    only for unarchived web applications.
    -remote Signals that the tools is not runnning on the
    same machine as the adminstration server and
    that the source path should be made passed
    through unchanged as it represents the path
    on the remote server.
    -nostage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged and the
    original source is be used.
    -external_stage Sets the stagingMethod attribute on the
    application mbean when it is created so that
    the application will not be staged but the
    value of the staging path will be used when
    preparing the application.
    -stage Sets the stagingMethod staging attribute on
    the application when it is created so that
    the application will always be staged. This
    value will override the stagingMethod
    attribute on any targeted servers.
    -nowait Once the action is initiated the tool will
    print the task id and exit. This is used to
    initiate multiple tasks and then monitor them
    later using the -list action.
    -timeout <seconds> The maximum time in seconds to wait for the
    completion of the deployment task. When the
    time expires the current status is printed
    and the program exits.
    -source <archive file or directory> Location of the file or directory that
    represents the enterprise component or
    application tha is being (re)activated. If
    the source file is relative it is relative to
    the current directory, unless the -remote
    option is used. To specify individual files
    within an application for reployment or
    addition list them at the end of the command
    line.
    -name <application name> The name of the application being deployed.
    -targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or
    cluster names. Each target may be qualified
    with a J2EE component name. This enables
    different components of the archive to
    deployed on different servers.
    -id <task identifier> Optional client supplied unique identifier
    for the deployment task. The id is first
    specified to -activate, -deactivate,
    -unprepare or -remove. It is then used later
    as an argument to -cancel or -list.
    -activate (Re)activates the <source> application on the
    <targets> with the <name>.
    -deactivate Deactivates the application <name> on the
    <targets> leaving an staged application files
    in a state where the may be quickly
    reactivated.
    -unprepare Deactivates and unloads classes for the
    application <name> on the <targets> leaving
    an staged application files in a state where
    the may be quickly reloaded.
    -remove Deactivates the application <name> on the
    <target> and removes any files that were
    staged for this application. If there are no
    longer any targets for the application, the
    associated configuration is completely
    removed.
    -cancel Atempts to cancel the task <id> if it is has
    not yet completed.
    -list Lists the target status of each task <id>
    -deploy a convenient alias for activate.
    -undeploy a convenient alias for unprepare.
    Optionally a list of the specific files in the archive that are to be
    redeployed may be specified. If a directory is specified the entire subtree is
    redeployed.
    Full documentation on this tool is available at:
    http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475
    No actions was specified. Please specify one and only one of:
    -activate, -deactivate, -cancel, -remove, -unprepare, or -list.
    Type java weblogic.Deployer -examples for example usage.

    you use "deploy" under DOS-Mode to deploy your web application?
    i found some differences between "deploy" and "redeploy" function in jbuilder 9.
    when i choose "deploy" ,jbuilder shows me the commond below:
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -deploy -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility
    when i choose redeploy,it shows me: (the -deploy parameter has changed to -activate) ,maybe it's a bug.
    E:\bea\jdk131_02\bin\javaw -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer -user system -adminurl http://localhost:7001 -password 12345678 -activate -name firstWebApp -upload -source E:/J2EE/servlet/firstWebApp.war -targets myserver
    WebLogic Application Deployment Utility

  • Unable to access java web application index page on Weblogic server 10.3.6

    Hi,
    I have deployed a Web application on Weblogic server.
    My war file is very basic with just a index page.
    I am able to deploy & access its index page properly in OC4J ( applicaton server on soa suite 10g ) and apache tomcat.
    But when i deployed same war file in weblogic am not able to access its index page, Getting below error:
    Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    *10.5.4 503 Service Unavailable*The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    status=Prepared, Consolidated State=Prepared, Target-Specific State= Prepared.
    what does Prepared indicates here?*
    Adminserver.log prints blow log when i try to access the index page
    ####<Dec 26, 2012 8:27:17 AM GMT> <Warning> <netuix> <soa-app-dev-01.am.health.ge.com> <AdminServer> <[ACTIVE] ExecuteThread: '21' for queue: 'weblogic.kernel.Default (self-tuning)'> <501226496> <> <9b375c7445d8c121:79ee4f70:13bc880be7a:-8000-0000000000000209> <1356510437306> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3D*Weblogs*%2CType%3DAppDeployment%22%29.>
    My Deployment descriptors are as below:
    Web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
    <display-name>Weblogs</display-name>
    <welcome-file-list>
    <welcome-file>index.html</welcome-file>
    </welcome-file-list>
    <servlet>
    <description></description>
    <display-name>SOA11gLogServlet</display-name>
    <servlet-name>SOA11gLogServlet</servlet-name>
    <servlet-class>com.ge.healthcare.soa.logs.SOA11gLogServlet</servlet-class>
    </servlet>
    </web-app>
    ==================================================================
    weblogic.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" 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 http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>/Weblogs</wls:context-root>
    </wls:weblogic-web-app>
    ==================================================================
    Please help me to resolve the issue,its bit urgent.Let me know in case of anything else required to check and verify.
    Thanks in advance.
    Regards,
    Rahul Aahir
    Edited by: 978673 on Dec 26, 2012 4:22 PM
    Edited by: 978673 on Dec 26, 2012 4:32 PM

    In weblogic 10.3.6, when you deploy using console, you have to click on start button which appears in Deployments page.
    Your weblogic.xml file should be as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-web-app xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app" 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 http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.3/weblogic-web-app.xsd">
    <wls:weblogic-version>10.3.6</wls:weblogic-version>
    <wls:context-root>/logs</wls:context-root>
    <container-descriptor>
    <index-directory-enabled>true</index-directory-enabled>
    </container-descriptor>
    <virtual-directory-mapping>
         <local-path>/opt/oracle/logs</local-path> (as per your path)
         <url-pattern>/logs/*</url-pattern>
         <url-pattern>*.log</url-pattern>
    </virtual-directory-mapping>
    </wls:weblogic-web-app>

  • Failed to start web application in weblogic server 11g R1 RBACx

    Hi friends,
    I have an error when starting Oracle Identity Analitycs 11g R1, someone can help me solve the problem
    Log Weblogic Server server when starting the web application rbacx.war:
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Warning> <HTTP> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302195457218> <BEA-101162> <User defined listener org.springframework.web.util.Log4jConfigListener failed: java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded.
    java.lang.IllegalStateException: Cannot set web app root system property when WAR file is not expanded
    at org.springframework.web.util.WebUtils.setWebAppRootSystemProperty(WebUtils.java:139)
    at org.springframework.web.util.Log4jWebConfigurer.initLogging(Log4jWebConfigurer.java:118)
    at org.springframework.web.util.Log4jConfigListener.contextInitialized(Log4jConfigListener.java:47)
    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:121)
    at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1863)
    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
    at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Info> <Deployer> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302195457234> <BEA-149059> <Module rbacx.war of application rbacx is transitioning from STATE_ADMIN to STATE_PREPARED on server RbacxAdmin.>
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Info> <ServletContext-/rbacx> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1302195457234> <BEA-000000> <Shutting down log4j>
    ####<Apr 7, 2011 11:57:37 AM GMT-05:00> <Info> <Deployer> <vkpeoplesoft000> <RbacxAdmin> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1302195457265> <BEA-149060> <Module rbacx.war of application rbacx successfully transitioned from STATE_ADMIN to STATE_PREPARED on server RbacxAdmin.>
    See the full log:
    http://yourpaste.net/7984
    Grateful

    No wonder you are having problems. The document you have linked to is full of errors and inconsistencies.
    Anyway, find log4j.properties under your expanded war file location and update it so that
    log4j.appender.file.file=logs/rbacx.log
    is updated to point to a location that exists and is writable by weblogic, eg:
    log4j.appender.file.file=/opt/oracle/weblogic/user_projects/OIA/logs/rbacx.log

  • How can I debug a web application running on Weblogic 10.3

    Hello,
    I have inherited a NetUI Web Application developed using Weblogic Workshop and I can't manage to debug it. I have configure my server in Workshop and to debug it I right-click the project in Project Exporer and select Debug As -> Debug On Server, but this isn't working. The browser does open the application doesn't appear to be getting delpoyed.
    Can anyone help me out? I am using Weblogic 10.3 and Java 1.6.
    Thanks,
    Sean

    Hi Kal,
    The application is an enterprise application packaged as an EAR. if I right click on the project and click Debug As -> Debug on Server, the application appears in the Server Tab, but it does not start automatically. If I then manually start the server the application runs, but it does not stop at break points and I can not debug it.
    If I right-click on the web project that is packaged as part of the ear and select Debug As -> Debug On Server again the application is deployed, but I can't debug it. I don't get error messages, the application functions as normal but it does not stop at break points. When I attempt to debug the application via the Web Project, two browsers open automatically, both correctly displaying the application.
    Regards,
    Sean

  • Probloms deploying web application in weblogic 8.1

    Hi,
    I've been using weblogic8.1 to host my web applications.
    The problem that i'm facing is that when i try to upload/deploy the (.war) file through weblogic console it shows the status as success but when i try to access a web resource, it gives me an error saying " The resource did not process correctly" on the browser, where as when i place the (.war) file directly in the applications folder of the user domain i'm able to access the web resource successfully on my browser.
    Can anyone help me in resolving this issue. I require it urgently.
    Thanks

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

Maybe you are looking for

  • How to build a screen with master detail data

    Hi ,expert , Someone can teach me how to build a screen with master detail table ? I wnat to build a screen for user to maintain FERT group  and  FERT detail list  in one screen . just like this .. MASTER Block FERT1       FERT2  FERT3 DETAIL Block F

  • How to Group itab values....

    Hi Experts, I have created  a report and inserted into itab. The values are Matkl      Pend.Qty.  Pend Value. ========================= SPG           5              100.00 SPG          3               300.00 SRG          2              300.00 SRG    

  • My screen turns gray stays with the ball going around what I can do to boot right?

    my screen turns gray stays with the ball going around what I can do to boot right?

  • Are there any bios conflicts with using a 7800GT/ NF4 SLi 7100 mobo?

    Simple question, does anyone know of any problems with runing a 7800GT with a MSI NF4 SLi mobo/bios version-V.6.00PG-V9.0 031505(W7100NZ1)?, Thanks!

  • Confusion about Master data text

    Hello all, I am little bit confused about the modelling concept in BI7. My confusion is about the Text table creation and its concepts. I got a Flat File data in my PC .Here is the scenario: Material Num, Material Name,  Material Description