Weblogic server 7.0 sp2 - servlet deployment

Hi,
Is there any way that i can delpoy a servlet with out context root name ?
I am using weblogic 7.0 sp2.
for eg. if i deply a war say "example.war"
then it works only if i refer http://hostname:7001/example/servletClass. I need
to refer like
http://hostname:7001/servletClass.
Is there any to deploy as a root servlet with out contxt root name ?
Thanks

"Bala" <[email protected]> wrote:
>
Hi Govind,
To add what Selva said, you can also configure <context-root>/</context-root>
parameter in weblogic.xml DD file. But you can have only one application
as the
default application for every WLS instance.
Bala
"Selvamohan Neethiraj" <[email protected]> wrote:
Make the example application as the default Web application in the server.
Thanks,
Selva-
"Govind" <[email protected]> wrote in message
news:3f96e951$[email protected]..
Hi,
Is there any way that i can delpoy a servlet with out context rootname ?
I am using weblogic 7.0 sp2.
for eg. if i deply a war say "example.war"
then it works only if i refer http://hostname:7001/example/servletClass.
I need
to refer like
http://hostname:7001/servletClass.
Is there any to deploy as a root servlet with out contxt root name?
Thanks

Similar Messages

  • BIBeans internationalization issue with weblogic server 8.1 sp2

    We use oralce bibeans 9.0.4 to develop OLAP web application in Chinsese Simplified environment. When deploy the web application on the embedded OC4J server, everything goes well. All the labels (Line items and image button labels etc. ) of the crosstab is displayed in chinese. but it always display English labels when delploy it on weblogic server V8.1 sp2.
    currently on my web page java.util.Locale.getDefault() return zh_CN
    I have done two things:
    first, add exportCharacterEncoding init param for UIXServlet
    <init-param>
    <param-name>exportCharacterEncoding</param-name>
    <param-value>GBK</param-value>
    </init-param>
    second,Set locale for the BIThinSession instance in jsp file.
    oracle.dss.addins.jspTags.BIThinSession bisession = (oracle.dss.addins.jspTags.BIThinSession) pageContext.findAttribute("SalesBIThinSession");
    bisession.setLocale(Locale.getDefault());
    Is this a bug that bibeans can not locate resource bundles correctly base on the user's specified environment? Is there an invisible environment variable base on which the bibean tags judge to select a resource file and result in this phenomenon?

    The intersting point here is that the application works using an Oracle stack but does not work using an IBM stack. I will contact our development engineers for more information and will post another response when I have a reply.
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Location for dll files in weblogic server 6.1 sp2

    "where to keep *.dll files in weblogic server 6.1 sp2". Application is deployed on weblogic server 6.1 sp2. Application is being integrated with webmethod to publish data. For that we need to put awssl40jn.dll in weblogic server. Could not able to locate where to put this dll file.

    You can have the dll's anywhere. You just need to mention the location
    in java.library.path.
    For example if you have your Dll's in C:\bea\lib
    You need to mention the following in your command line args:
    java -Djava.library.path=C:\bea\lib ****Other Command Line Args****
    weblogic.Server
    Hope this helps.
    -Kiran
    "Dave Martin" <[email protected]> wrote in message news:<[email protected]>...
    I don't see a DLL like yours in a fresh install of WLS 6.1 SP2
    This is the complete list of DLLs I find in my fresh install of WLS 6.1 SP2 (starting
    from the BEA home) on Windows:
    /jdk131/bin/dt_shmem.dll
    /jdk131/bin/dt_socket.dll
    /jdk131/bin/jdwp.dll
    /jdk131/jre/bin/ActPanel.dll
    /jdk131/jre/bin/agent.dll
    /jdk131/jre/bin/awt.dll
    /jdk131/jre/bin/classic/jvm.dll
    /jdk131/jre/bin/cmm.dll
    /jdk131/jre/bin/dcpr.dll
    /jdk131/jre/bin/dt_socket.dll
    /jdk131/jre/bin/fontmanager.dll
    /jdk131/jre/bin/hotspot/jvm.dll
    /jdk131/jre/bin/hpi.dll
    /jdk131/jre/bin/hprof.dll
    /jdk131/jre/bin/ioser12.dll
    /jdk131/jre/bin/java.dll
    /jdk131/jre/bin/jawt.dll
    /jdk131/jre/bin/jcov.dll
    /jdk131/jre/bin/JdbcOdbc.dll
    /jdk131/jre/bin/jdwp.dll
    /jdk131/jre/bin/jpeg.dll
    /jdk131/jre/bin/jpins32.dll
    /jdk131/jre/bin/jpishare.dll
    /jdk131/jre/bin/jsound.dll
    /jdk131/jre/bin/msvcrt.dll
    /jdk131/jre/bin/net.dll
    /jdk131/jre/bin/NPJava11.dll
    /jdk131/jre/bin/NPJava12.dll
    /jdk131/jre/bin/NPJava131.dll
    /jdk131/jre/bin/NPJava32.dll
    /jdk131/jre/bin/NPOJI600.dll
    /jdk131/jre/bin/packager.dll
    /jdk131/jre/bin/server/jvm.dll
    /jdk131/jre/bin/server/jvm_g.dll
    /jdk131/jre/bin/verify.dll
    /jdk131/jre/bin/zip.dll
    /wlserver6.1/bin/fastfile.dll
    /wlserver6.1/bin/iisforward.dll
    /wlserver6.1/bin/iisproxy.dll
    /wlserver6.1/bin/jsafe.dll
    /wlserver6.1/bin/md5.dll
    /wlserver6.1/bin/md5_g.dll
    /wlserver6.1/bin/nodemanager.dll
    /wlserver6.1/bin/oci816_7/weblogicoci37.dll
    /wlserver6.1/bin/oci816_7/weblogicoxa37.dll
    /wlserver6.1/bin/oci816_8/weblogicoci37.dll
    /wlserver6.1/bin/oci816_8/weblogicoxa37.dll
    /wlserver6.1/bin/oci817_8/weblogicoci37.dll
    /wlserver6.1/bin/oci817_8/weblogicoxa37.dll
    /wlserver6.1/bin/oci901_8/weblogicoci37.dll
    /wlserver6.1/bin/oci901_8/weblogicoxa37.dll
    /wlserver6.1/bin/proxy30.dll
    /wlserver6.1/bin/proxy35.dll
    /wlserver6.1/bin/proxy36.dll
    /wlserver6.1/bin/stackdump.dll
    /wlserver6.1/bin/stackdump_g.dll
    /wlserver6.1/bin/terminalio.dll
    /wlserver6.1/bin/wlenv.dll
    /wlserver6.1/bin/wlntio.dll
    /wlserver6.1/bin/wlntio_g.dll
    /wlserver6.1/bin/wlntrealm.dll
    /wlserver6.1/bin/wlntrealm_ms.dll
    /wlserver6.1/uninstaller/resource/iawin32.dll
    /wlserver6.1/uninstaller_servicepack/resource/iawin32.dll
    manoj <[email protected]> wrote:
    "where to keep *.dll files in weblogic server 6.1 sp2". Application is
    deployed on weblogic server 6.1 sp2. Application is being integrated
    with webmethod to publish data. For that we need to put awssl40jn.dll
    in weblogic server. Could not able to locate where to put this dll file.

  • Location of WebLogic Server 6.0 sp2 installable file in ZIP format

    Hello
    I would like to use the ".zip" file of the WebLogic Server 6.0 sp2 installable
    instead of the default ".bin" file.
    Can someone help me locate the URL for downloading it?
    Thanks and Regards
    Kapil Pawar

    Hi.
    The installation for Compaq Tru64 is a zip file - 'weblogic600sp2_generic.zip'.
    However, be aware that installation is not simply a matter of unzipping the file
    like earlier versions of WLS. See the installation directions for details.
    Thanks,
    Michael
    Kapil Pawar wrote:
    Hello
    I would like to use the ".zip" file of the WebLogic Server 6.0 sp2 installable
    instead of the default ".bin" file.
    Can someone help me locate the URL for downloading it?
    Thanks and Regards
    Kapil Pawar--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Weblogic server 7.0 SP2 with jdk1.4

    Our current environment is installed WLS 7.0 with SP2 on Win2000 Server. And we
    like to upgrade the JDK version to 1.4.
    Any suggection? Will it cause any problem to start WLS once we upgrade the JDK
    version?
    Thanks!
    Evan

    WebLogic 7.0 would not support the additional features in JDK 1.4
    thanks,
    Deepak
    "Evan" <[email protected]> wrote:
    >
    Thanks for the replying.
    But if we'd like to keep using WebLogic Server 7.0.
    Is there any impact to upgrade to JDK 1.4?
    Evan
    "Deepak Vohra" <[email protected]> wrote:
    WebLogic Server 7.0 supports the 1.3.1_02 JDK.
    WebLogic Server 8.1 supports JDK 1.4
    "Evan" <[email protected]> wrote:
    Our current environment is installed WLS 7.0 with SP2 on Win2000 Server.
    And we
    like to upgrade the JDK version to 1.4.
    Any suggection? Will it cause any problem to start WLS once we upgrade
    the JDK
    version?
    Thanks!
    Evan

  • Deploying MDB on WebLogic server 8.1 (SP2) with Tibco JMS

    Hi,
              I am currently facing problems to deploy and run my MDB on weblogic connecting it to Tibco JMS as the foreign jms server.
              <br>
              <b>My ejb-jar.xml:</b>
              <br>
              <message-driven>
                        <ejb-name>DeAMMsgFactors</ejb-name>
                        <ejb-class>com.db.deam.mdb.DeAMMsgFactors</ejb-class>
                        <transaction-type>Container</transaction-type>
                        <message-driven-destination>
                             <destination-type>javax.jms.Topic</destination-type>
                        </message-driven-destination>
                   </message-driven>
                   </enterprise-beans>
                   <assembly-descriptor>
                        <security-role>
                                  <role-name>soiadmin</role-name>
                   </security-role>
                   </assembly-descriptor>
              <br>
              <b>weblogic-ejb-jar.xml:</b>
              <br>
              <weblogic-enterprise-bean>
              <ejb-name>DeAMMsgFactors</ejb-name>
              <message-driven-descriptor>
              <pool>
              <max-beans-in-free-pool>20</max-beans-in-free-pool>
              <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
              </pool>
              <destination-jndi-name>WLFactorsTopic</destination-jndi-name>
              <connection-factory-jndi-name>WLFactorsCF</connection-factory-jndi-name>
              <jms-polling-interval-seconds>10</jms-polling-interval-seconds>
              </message-driven-descriptor>
              <transaction-descriptor>
              <trans-timeout-seconds>100000</trans-timeout-seconds>
              </transaction-descriptor>
                   </weblogic-enterprise-bean>
                   <security-role-assignment>
              <role-name>soiadmin</role-name>
              <principal-name>jmsusername</principal-name>
                   </security-role-assignment>
              <br>
              <b>Error:</b>
              weblogic.ejb20.WLDeploymentException: [EJB:011014]The Message-Driven EJB failed while creating a JMS Connection. The err
              or was:
              javax.jms.JMSSecurityException: invalid name or password.
              javax.jms.JMSSecurityException: invalid name or password
              at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:395)
              at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:581)
              at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1743)
              at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:35)
              at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:92)
              at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:121)
              at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTopicConnectionFactory.java:66)
              at weblogic.ejb20.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:607)
              at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1783)
              at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1087)
              at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoller.java:970)
              at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
              at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
              at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              at weblogic.ejb20.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:638)
              at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1783)
              at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1087)
              at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoller.java:970)
              at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
              at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
              at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
              at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
              at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
              at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
              [JMSConnectionPoller] : ** Connect attempt for: WLFactorsTopic was: unsuccessful
              <br>
              <u><b>Any help would be appreciated.</b></u>
              <br>
              Thanks,<br>
              Kiran Kumar MV.

    I was able to use MDB to receive msg from a Tibco JMS queue. This is what you have to do: using WL console,
              - set up a foreign JMS Server. Make sure you specify the following correctly: jndi initial context factory (tibjms class), tibjms server url, username/password
              - create a foreign connection factory (if you are using CMT, make sure you create a XA compliant connection factory in Tibco JMS server). It seems that you have to specify URL again when creating XA connection factory in Tibjms.
              - create a foreign destination (queue/topic)
              In ejb-jar.xml and weblogic-ejb-jar.xml,
              - use resource-ref (wrapper) to specify the foreign connection factory
              - use resource-env-ref to specify the foreign destination.
              - In MDB ejb-jar.xml, specify destination-jndi-name and connection-factory-jndi-name.
              See Message Driven Beans chapter in Programming WebLogic EJB doc.
              Good luck.

  • Whats the best way to get the server name in a servlet deployed to a cluster?

              Hi,
              I have a servlet in a web application that is deployed to a cluster, just
              wondering what is the best way to get the name of the node that the server is
              running on at run time??
              Thanks
              

              Please try to modify the following code and test for your purpose: (check Weblogic
              class document for detail)
              import javax.naming.*;
              import weblogic.jndi.*;
              import weblogic.management.*;
              import weblogic.management.configuration.*;
              import weblogic.management.runtime.*;
              MBeanHome home = null;
                   try{
                        //The Environment class represents the properties used to create
                             //an initial Context. DEfault constructor constructs an Environment
                             //with default properties, that is, with a WebLogic initial context.
                             //If unset, the properties for principal and credentials default to
                             //guest/guest, and the provider URL defaults to "t3://localhost:7001".
                             Environment env = new Environment();
                             //Sets the Context.PROVIDER_URL property value to the value of
                             //the argument url.
                             if(admin_url!=null){
                                  env.setProviderUrl(admin_url);
                                  //Sets the Context.SECURITY_PRINCIPAL property to the value of
                                  //the argument principal.
                                  env.setSecurityPrincipal(username);
                                  //Sets the value of the Context.SECURITY_CREDENTIAL property to
                                  //the value of the argument cedentials
                                  env.setSecurityCredentials(password);
                                  //Returns an initial context based on the properties in an Environment.
                                  ctx = env.getInitialContext();
                             }else ctx = new InitialContext();
                             home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
                             ctx.close(); //free resource
                             // or if looking up a specific MBeanHome
                             //home = (MBeanHome) ctx.lookup(MBeanHome.JNDI_NAME + "." + serverName);
                             DomainMBean dmb = home.getActiveDomain(); //Get Active Domain
                             ServerMBean[] sbeans = dmb.getServers(); //Get all servers
                             if(sbeans!=null){
                                  for(int s1=0; s1<sbeans.length; s1++){
                                       String privip = sbeans[s1].getListenAddress();
                                  sbeans[s1].getName();
                             sbeans[s1].getListenPort();
                                                 WebServerMBean wmb = sbeans[s1].getWebServer();
                   }catch(Exception ex){
              "Gao Jun" <[email protected]> wrote:
              >Is there any sample code? Thanks
              >
              >Best Regards,
              >Jun Gao
              >
              >"Xiang Rao" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Sure. You can use the Weblogic management APIs to query ServerBean.
              >>
              >>
              >> "Me" <[email protected]> wrote:
              >> >
              >> >Thanks for your reply, i was hoping to find a better way for example
              >> >a class in
              >> >weblogic API.
              >> >
              >> >Thanks
              >> >
              >> >"Xiang Rao" <[email protected]> wrote:
              >> >>
              >> >>Physical: InetAddress.getLocalHost().getHostName()
              >> >>Weblogic: System.getProperty("weblogic.Name");
              >> >>
              >> >>
              >> >>"Me" <[email protected]> wrote:
              >> >>>
              >> >>>Hi,
              >> >>> I have a servlet in a web application that is deployed to a
              >cluster,
              >> >>>just
              >> >>>wondering what is the best way to get the name of the node that
              >the
              >> >>server
              >> >>>is
              >> >>>running on at run time??
              >> >>>
              >> >>>Thanks
              >> >>
              >> >
              >>
              >
              >
              

  • WebLogic Server 8.1 SP2 - Sudden Crash

    Hello,
    We have WebLogic 8.1 SP2 installed on Unix box (SunOS 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-880). We have configured 2 domains on the same box, one for development and other for staging environment. Both are running normally fine.
    Couple of days back the managed server of development domain crashed sudenly. It generated a CORE file and a log file with following details:
    Can anyone tell me, what exactly happened, and what would be the corrective / preventive action to be taken?
    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 10 occurred at PC=0xFE7E2D9C
    Function=[Unknown. Nearest: ZIP_Lock+0x48]
    Library=/opt/bea/wls811/jdk141_03/jre/lib/sparc/libzip.so
    Current Java thread:
         at java.util.zip.ZipFile.getEntry(Native Method)
         at java.util.zip.ZipFile.getEntry(ZipFile.java:146)
         - locked <c13f7250> (a weblogic.utils.classloaders.ClasspathClassFinder$ZipFileWrapper)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:236)
         at weblogic.servlet.internal.WebAppServletContext.getSource(WebAppServletContext.java:4402)
         at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:5986)
         at weblogic.servlet.FileServlet.findSource(FileServlet.java:273)
         at weblogic.servlet.FileServlet.service(FileServlet.java:186)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Dynamic libraries:
    0x10000      /opt/bea/wls811/jdk141_03/bin/java
    0xff350000      /usr/lib/libthread.so.1
    0xff340000      /usr/lib/libdl.so.1
    0xff200000      /usr/lib/libc.so.1
    0xff390000      /usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
    0xfe000000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/client/libjvm.so
    0xff2d0000      /usr/lib/libCrun.so.1
    0xff1e0000      /usr/lib/libsocket.so.1
    0xff100000      /usr/lib/libnsl.so.1
    0xff0d0000      /usr/lib/libm.so.1
    0xff1c0000      /usr/lib/libmp.so.2
    0xff090000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/native_threads/libhpi.so
    0xff060000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libverify.so
    0xff020000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libjava.so
    0xfe7e0000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libzip.so
    0xfa050000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libnet.so
    0xfa110000      /opt/bea/wls811/weblogic81/server/lib/solaris/libstackdump.so
    0xfa030000      /opt/bea/wls811/weblogic81/server/lib/solaris/libmuxer.so
    0xfa010000      /usr/ucblib/libucb.so.1
    0xb9fb0000      /usr/lib/libresolv.so.2
    0xb9e40000      /usr/lib/libelf.so.1
    0xb9e20000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libnio.so
    0xb9d20000      /usr/lib/librt.so.1
    0xb9c10000      /usr/lib/libaio.so.1
    0xb9b60000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libioser12.so
    0xaec80000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libawt.so
    0xaec00000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/libmlib_image.so
    0xb1490000      /opt/bea/wls811/jdk141_03/jre/lib/sparc/motif21/libmawt.so
    0xae980000      /usr/dt/lib/libXm.so.4
    0xaee10000      /usr/openwin/lib/libXt.so.4
    0xb3890000      /usr/openwin/lib/libXext.so.0
    0xb32e0000      /usr/openwin/lib/libXtst.so.1
    0xae880000      /usr/openwin/lib/libX11.so.4
    0xb10a0000      /usr/openwin/lib/libdps.so.5
    0xb2e60000      /usr/openwin/lib/libSM.so.6
    0xb16d0000      /usr/openwin/lib/libICE.so.6
    Local Time = Thu Sep 9 17:56:49 2004
    Elapsed Time = 520313
    # The exception above was detected in native code outside the VM
    # Java VM: Java HotSpot(TM) Client VM (1.4.1_03-b02 mixed mode)
    +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

    WLS 8.1SP2 can not be upgraded directly to WLS8.1 SP6.
    The existing domain should be at WLS 8.1 SP4 atleast so that it can be upgraded to WLS 8.1 SP6.
    The link:
    http://commerce.bea.com/
    Has be decommissioned and now in order to download the upgrade installers and WLS service pack versions you should have a Support ID which is required to create a login to metalink.oracle.com .
    Then You can follow the following:
    Login to: https://Metalink.oracle.com
    Go to tab: Patches & Updates
    Quick Links to: Latest Patchsets, Mini Packs and Maintenance Packs
    Patch Bundles for Individual Products or Components
    Select BEA Weblogic Platform
    Select the WebLogic Main version and SP version
    Then you should see the download screen.
    Thanks,
    Sandeep

  • Weblogic server 8.1 JNI module deployment java.lang.UnsatisfiedLinkError

    This is on the weblogic 8.1 Solaris platform.
    We have a module in our application which uses the native shared library and makes JNI called from the J2EE application. We have added the .so files to the LD_LIBRARY_PATH environment variable in our managed server startup scripts. When we start our servers the module works fine. But when we redeploy the J2EE application, the java code is changed but we start getting java.lang.UnsatisfiedLinkError exception when the module is invoked. We are using the staged mode for deployment. We have to shut down the managed servers and restart them every time for this module to start working after the redeployment of the J2EE application.
    Is this a known problem with the JNI based application. Is there any setting that we are missing? Has this problem been fixed in any of the service packs?

    Have you checked to see if your file descriptor setting is set high enough? Disabling native IO is not a very good solution as it will drastically reduce performance.
    --Raheem                                                                                                                                                                                                                                                                                                                                                                   

  • Weblogic server 8.1 SP2 to SP6 ugrade

    Hello All
    Am looking for any document that would outline steps to upgrade weblogic 8.1 SP2 to SP6.
    Can we directly upgrade to SP6 ?
    Found the patch 9479129 BEA WebLogic Platform: Patchset WEBLOGIC PLATFORM 8.1 WITH SP6 UPGRADE INSTALLER but the readme doesnt have any instructions.
    Neither could i find in http://docs.oracle.com/cd/E13222_01/wls/docs81/index.html
    Any pointers in this regard would be helpful.
    Thanks
    Sundari

    WLS 8.1SP2 can not be upgraded directly to WLS8.1 SP6.
    The existing domain should be at WLS 8.1 SP4 atleast so that it can be upgraded to WLS 8.1 SP6.
    The link:
    http://commerce.bea.com/
    Has be decommissioned and now in order to download the upgrade installers and WLS service pack versions you should have a Support ID which is required to create a login to metalink.oracle.com .
    Then You can follow the following:
    Login to: https://Metalink.oracle.com
    Go to tab: Patches & Updates
    Quick Links to: Latest Patchsets, Mini Packs and Maintenance Packs
    Patch Bundles for Individual Products or Components
    Select BEA Weblogic Platform
    Select the WebLogic Main version and SP version
    Then you should see the download screen.
    Thanks,
    Sandeep

  • WebLogic Server 9.2 Windows - javax.servlet.ServletException: [HTTP:101250]

    Hi,
    I am using BEA WebLogic Server 9.2
    When I deployed my [ear] apllication (Struts 1, Java 1.4, EJB2) I get this error:
    Message icon - Error     javax.servlet.ServletException: [HTTP:101250][weblogic.servlet.internal.WebAppServletContext@11c2137 -
    appName: 'test-ear', name: 'TEST', context-path: '/TEST']: Servlet class de.general.TestActionServlet for servlet action could not be loaded because a class on which
    it depends was not found in the classpath . java.lang.NoClassDefFoundError:
    org/apache/struts/action/ActionServlet.     
    Please help me in this ClassLoader problem,
    Regards

    Hi
    you can set the classpath struts.jar in setDomainEnv.cmd
    you can get this file in your root domain under the bin directory.
    set classpath=%classpath%;/struts.jar;

  • Cas Deployment error in Weblogic Server

    Hi,
    I am Installing Oracle Webcenter Sites on Windows 7 64bit OS. I am facing problem in deploying cas web application on Weblogic server using Admin console. I have followed installation guide and environment variables are also properly set. The issue is given below. Kindly give any solution.
    [HTTP:101216]Servlet: "Jersey Spring Web Application" failed to preload on startup in Web application: "cas". org.springframework.beans.factory.BeanInitializationException: Could not load properties; nested exception is java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:553) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:527) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:362) 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 org.jasig.cas.web.init.SafeContextLoaderListener.contextInitialized(SafeContextLoaderListener.java:62) at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205) 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.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: java.io.FileNotFoundException: class path resource [cas.properties] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:143) at org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:182) at org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161) at org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69) ... 45 more

    Hi,
    Sorry for late response.
    1) Check PRE_CLASSPATH in setDomainEvn file. I installed the Webcenter Sites in Windows 7 and in my case the PRE_CLASSPATH is (SET PRE_CLASSPATH=D:\OPT\Middleware1\user_projects\domains\csDomain\CS\WEB-INF\lib\commons-lang-2.4.jar %PRE_CLASSPATH%).
    2) In case of CAS deployment, Weblogic Server is trying to access cas file that is located in <Sites installation directory/bin> and the above issue is occur because of permission issue in windows 7. Right click the bin folder that is located in Sites installation directory, De-select Read only check and set all permission in Security tab. After that Restart Weblogic Server and try again to deploy CAS.
    Hope this will help you.
    Regards
    Shaheer Badar
    www.infotechinspiration.blogspot.com
    Edited by: Shaheer on Nov 20, 2012 10:20 PM

  • Error while deploying application on weblogic server

    Hi,
    I have created webservice and deployed on weblogic server.
    Earlier it was working fine. I added some logger and trying to redeploy it.
    But it gives following error.
    Weblogic Server Exception: java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
    [12:46:48 AM] See server logs or server console for more details.
    [12:46:48 AM] java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
    [12:46:49 AM] #### Deployment incomplete. ####
    [12:46:49 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    Can anybody help me out..
    Thanks in advance.

    Hi,
    I am newbie for web service Need your help.
    I am having well developed webservice project with apache cxf 2.2.3 and working fine on Weblogic server 10.3
    But After migration from 10.3 to 10.3.4 Facing below problem.
    While calling call back service of third party it is giving warning messages like
    12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry*.registerSerializersAndTypes()*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    I tried Below solutions
    1. I added com.oracle.ws.orawsdl_1.3.0.0.jar file in web service application provided the required clssess to resolve the issue. Now getting below exceptions
    But getting Exception related org.apache.cxf.wsdl.WSDLManager as it is referenced from my beans.xml import some xml file from cxf 2.2.3.jar and due to
    above jar, the WSDL4J.jar is not getting deployed and throwing getElementType() menthod not found exception while creating bean class for Webservice.
    2. Now I just rename this jar file so that I can expose WSDL, But getting below exception after calling call back servic
    12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
    WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry.registerSerializersAndTypes*(com.ibm.wsdl.extensions.PopulatedExtensionRegistry)*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
    SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
    After investingation I found that in cxf 2.2.3.jar there are some classes which are also present in com.oracle.ws.orawsdl_1.3.0.0.jar.
    now in this case deployer is able to find out the call but signature is getting mismatch, because com.ibm.wsdl.extensions.PopulatedExtensionRegistry is referred from cxf2.2.3.jar file.
    Looking for your response.
    Thanks In Advance.

  • Weblogic 6.1 server upgrade from SP2 to SP3

    Hi All
    We have weblogic server 6.1 SP2 installed on the solaris machine. Now we
    have to upgrade our weblogic server 6.1 SP3. We also have downloaded the installable.
    But that installable seems to over-write the previous weblogic server & installs
    the server afresh. Is there any patch kinda thing available which allows me to
    upgrade from SP2 to SP3 ? I don't want a fresh new install of SP3 server.
    thanks in advance
    -Kiran Rane

    Upgrade installer from SP2 to SP3 is only available for paid BEA
    customers. You need a login at http://support.bea.com
    Kumar
    kiran rane wrote:
    Hi All
    We have weblogic server 6.1 SP2 installed on the solaris machine. Now we
    have to upgrade our weblogic server 6.1 SP3. We also have downloaded the installable.
    But that installable seems to over-write the previous weblogic server & installs
    the server afresh. Is there any patch kinda thing available which allows me to
    upgrade from SP2 to SP3 ? I don't want a fresh new install of SP3 server.
    thanks in advance
    -Kiran Rane

  • Servlet in WebLogic Server 6.0

              I am trying to run a servlet from WebLogic Server 6.0
              Copied servlet class file into the following directory:
              config/mydomain/applications/
              DefaultWebApp_myserver/
              WEB-INF/classes
              Modified the web.xml file located in the config/mydomain/applications/
              DefaultWebApp_myserver/
              WEB-INF/ directory
              <web-app>
              <servlet>
              <servlet-name>
              CustLogin
              </servlet-name>
              <servlet-class>
              lawson.servlet.CustLogin
              </servlet-class>
              <init-param>
              <param-name>url</param-name>
              <param-value> http:/localhost:7001/CustLogin/custaddr.html</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>
              CustLogin
              </servlet-name>
              <url-pattern>
              /CustLogin/*
              </url-pattern>
              </servlet-mapping>
              </web-app>
              Run servlet from a Web browser with URL:
              http://localhost:7001/CustLogin
              Servlet Exception
              <<Error> <HTTP> <saluki2> <myserver> <ExecuteThread-11> <> <> <101018>
              <[WebAppServletContext(944251,DefaultWebApp_myserver)] Servlet
              failed with ServletException>
              javax.servlet.ServletException: Servlet class: 'lawson.servlet.CustLogin'
              could not be resolved - a class upon which this class depends wasn't
              found
              

    Deepak,
              Are all the classes used by CustLogin in System Classpath or under
              web-inf\classes directory?
              Kumar.
              Deepak wrote:
              > I am trying to run a servlet from WebLogic Server 6.0
              >
              > Copied servlet class file into the following directory:
              > config/mydomain/applications/
              > DefaultWebApp_myserver/
              > WEB-INF/classes
              >
              > Modified the web.xml file located in the config/mydomain/applications/
              >
              > DefaultWebApp_myserver/
              > WEB-INF/ directory
              >
              > <web-app>
              >
              > <servlet>
              > <servlet-name>
              > CustLogin
              > </servlet-name>
              > <servlet-class>
              > lawson.servlet.CustLogin
              > </servlet-class>
              > <init-param>
              > <param-name>url</param-name>
              > <param-value> http:/localhost:7001/CustLogin/custaddr.html</param-value>
              >
              > </init-param>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>
              > CustLogin
              > </servlet-name>
              > <url-pattern>
              > /CustLogin/*
              > </url-pattern>
              > </servlet-mapping>
              > </web-app>
              >
              > Run servlet from a Web browser with URL:
              > http://localhost:7001/CustLogin
              >
              > Servlet Exception
              >
              > <<Error> <HTTP> <saluki2> <myserver> <ExecuteThread-11> <> <> <101018>
              > <[WebAppServletContext(944251,DefaultWebApp_myserver)] Servlet
              > failed with ServletException>
              > javax.servlet.ServletException: Servlet class: 'lawson.servlet.CustLogin'
              > could not be resolved - a class upon which this class depends wasn't
              > found
              >
              

Maybe you are looking for