WebLogic Server 10.3.4 external config files

Hey,
i have a question. I have external configuration files, and i dont know where to place, or better how to add the path where the configurations files located to WebLogic Servers classpath ?
I worked with JBOSS and there i added some lines in the start script. In glassfish there i can make it via administration gui.
The files are *.cfg files and the error output is this:
PATH_INSTANCIA:
log4j:ERROR Could not read configuration file [nullCONFIG.cfg].
java.io.FileNotFoundException: nullCONFIG.cfg (No such file or directory)
Thanks in advance :)

Hi Jack,
You will have to add the folder where the config file is present to the WLS classpath. Modify the CLASSPATH in setDomainEnv.cmd/setDomainEnv.sh (Take a backup of these files - just in case :) ) to include the config file folder path.
And restart the server and WLS should be able to pick the file.
In your code you can have the line as follows
Thread.currentThread().getContextClassLoader().getResource("filename")As you have already added the folder to the classpath, it will be able to get the reference to the file.
Thanks,
Patrick

Similar Messages

  • How to access an External LDAP on a weblogic server using OPSS APIs.

    Hi,
    Can anyone let me know how I can access an External LDAP configured on a weblogic server using OPSS APIs( or alternative APIs).
    I'm currently using the below snippet and I'm getting only the Users and groups from the DefaultAutheticator on the weblogic server and not the external LDAP Server.
    I've verified the providers, users and groups on the weblogic server console and can see that external LDAP server content is being picked, but my below code does not query them.
    import oracle.security.idm.IMException;
    import oracle.security.idm.IdentityStore;
    import oracle.security.idm.Role;
    import oracle.security.jps.JpsContext;
    import oracle.security.jps.JpsContextFactory;
    import oracle.security.jps.JpsException;
    import oracle.security.jps.service.idstore.IdentityStoreService;
    List<Role> rowData = null;
    JpsContextFactory ctxf = JpsContextFactory.getContextFactory();
    JpsContext ctx = ctxf.getContext();
    IdentityStoreService storeService = ctx.getServiceInstance(IdentityStoreService.class);
    IdentityStore idStore = storeService.getIdmStore();
    rowData = this.getRoles(idStore, "*");
    Any help or pointers are highly appreciated.
    Thanks,
    Bhasker

    Can anyone please provide any suggestions. I trying to google around but still not able to find any solution.
    Thanks,
    Bhasker

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

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

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

  • Help need in Adding External jar files.

    Hi all,
    Iam developing ADF application using JDEV 11.1.1.3.0.
    I need to move files from one directory to another so i have used external jar "commons-io-1.4.jar" file.
    i did this by going to the project properties -->Libraries and Classpath -->Add Library
    added the jat file.
    In java class i have used the function
    File.copyFileToDirectory(reQueueFile, TargetLocation,false);
    it was working fine when i tried in IntegratedWeblogic server but when i deploy in Standalone Weblogic server its not getting the jar file.
    Its throwing me the exception
    javax.el.ELException: java.lang.NoSuchMethodError: org/apache/commons/io/FileUtils.moveFileToDirectory(Ljava/io/File;Ljava/io/File;Z)V
    at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1303)
    Please let me know is there a way of adding the lib to the project.
    Regards,
    Suresh kumar.k

    First you should check that the library has the checkbox 'Deploy by default' is checked for your library.
    The you open the project properties of the view controller project, select Deployments, edit the deployment descriptor. Select the Node 'File Groups'->'WEB-INF/lib'->'Contributors'. this should give you a list of libraries your project uses. Check if your library has the checkbox checked (is selected fro deployment). If it's not checked, set it.
    This should include the library.
    Timo

  • 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

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

  • PL/SQL  Web Service fails when deployed to WebLogic server

    I have a web service generated via JDeveloper from a PL/SQL package. It runs fine both when tested in JDeveloper and when the WAR file is manually deployed to the Integrated WebLogic Server. However, when the WAR file is deployed to our actual WebLogic server, it fails. Other existing web services that were not generated with the JDeveloper wizard work correctly. I am having trouble finding any references to this type of issue to solve it. Are there any ideas what might be causing the WSDL to fail?
    References:
    * JDeveloper 11.1.1.6.
    * No proxies are involved.
    * The PLSQL package is a basic function that returns varchar2 input fed in by one parameter:
    create or replace package body pkg_ws_test as
    function test_me (p_anything_in varchar2)
    return varchar2 is
    begin
    return p_anything_in;
    end test_me;
    end pkg_ws_test;
    * Top of error stack is as follows:
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://svr:8892/wsTest2-getSame-context-root/TestMePort?wsdl: HTTP connection error code is 500 at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at
    ...

    Hi,
    The below error trace you've provided doesn't confirm that Weblogic server has thrown the error.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://svr:8892/wsTest2-getSame-context-root/TestMePort?wsdl: HTTP connection error code is 500 at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:157) at oracle.sysman.emSDK.webservices.wsdlparser.ParsedWSDLFactoryImpl.getParsedWSDL(ParsedWSDLFactoryImpl.java:87) at oracle.sysman.emas.model.wsmgt.WSTestModel.init(WSTestModel.java:325) at
    Please paste complete stacktrace of the error to check and also include the caused by section in the error.
    Thanks,
    Vijaya

  • Weblogic server - deploy application

    Hello,
    Please advice me, i am totally new in this.
    Web application has been successfully build in Jdeveloper 11g .
    Also i am create new domain and web logic server are running.
    What i need is instruction how to deploy this app on that weblogic server, i am not sure which files i need to instal

    Are you asking how to deploy it from within JDeveloper? This would be better asked in the forum that focuses on JDeveloper. I don't know the exact link for it, but I think it's in the "Tools" category.
    If you're asking how to deploy the constructed WAR or EAR file outside of JDeveloper, then I would suggest this:
    1. Follow the instructions in JDeveloper to export or construct a WAR or EAR file that is saved to disk. I have no idea how to do that. If you don't know, ask in the JDeveloper forum.
    2. Log into the admin console for the domain you want to deploy the application to.
    3. Click on "Deployments" and follow the instructions for installing a new application.
    (There are other details of the process, but that's the basic idea.)

  • Installing Weblogic Server 10.3.3.0

    Hi
    Currenty I have SOA Suite 11g R1 (11.1.1.2.0) and Weblogic Server 10.3.2.0 installed. I want to apply patchset 11.1.1.3.0 on top of 11.1.1.2.0. But there is a prerequisite of having Weblogic 10.3.3.0 first before we can apply patchset 11.1.1.3.0
    My question is how do I install/upgrade Weblogic Server 10.3.3.0
    I have downloaded the Weblogic Server 10.3.3.0 zip file wls1033_dev.zip. But I couldn't find any Installer file or Setup.exe file. All it has is configure.cmd file.
    Do we need to apply patch to upgrade it ? I had read somewhere that it could be done using Smart Update utility. For that we need to have Metalink account.
    Your help/inputs will be much appreciated.
    Cheers
    Mayur

    Hi blueocean,
    While looking for a setup.exe you may have stumbled over a README.txt in the root directory. It clearly explains the steps to install the app server. But that's old news because you managed to do this another way, so that's great.
    However I ran into another issue when I tried to apply the SOA suite patchset 11.1.1.3.0 on top of 11.1.1.2.0. It did not recognize my Weblogic installation (from the ZIP distribution) as a 10.3.3 version, and therefore the setup wizard refused to continue. I'm now trying the full install and see if that resolves my issues.
    Regarding the warning that comes with the ZIP distribution: I maybe just a simple guy, but in my opinion I was just installing this locally for development purposes. Unfortunately this warning is not very informative of the limitations...
    Regards,
    Bastiaan
    Update: I finally managed to get Oracle DB XE, WLS 10.3.3, SOA suite 11g and JDev 11g working together, by using the full installation of WLS as mentioned above.
    Edited by: Bastiaan on 7-sep-2010 1:54

  • Problem downloading WebLogic Server 8

    I am having problems downloadingl the eval copy of Weblogic server 8. The'Specify
    Download Options' page in the Weblogic installer doesnt request proxy server authentication
    information (userid, password). Is there a way to work around this issue and successfully
    download the software.
    thanks
    -vinny

    "Tanguy" == Tanguy Le Berre <[email protected]> writes:
    Tanguy> I have a problem while installing weblogic server 8.11 on a solaris 9 machine.
    Tanguy> I use the following instruction: ./filename.bin and I see the following message:
    Tanguy> Illegal instruction (memory dumped)
    Tanguy> (in french: instruction incorrecte (vidage memoire))
    Tanguy> A core file is generated but it doesn't help resolving this problem. It seems
    Tanguy> to be talking about unzip, as I found things like this message in this file:
    Tanguy> error: cannot allocate unzip buffers
    Tanguy> unzipsfx: cannot find myself! [%s]
    Tanguy> error [%s]: missing %ld bytes in zipfile
    Tanguy> I also tryed to install weblogic server 8.10 and no core file is generated but
    Tanguy> I have the following message:
    Tanguy> error [export/home/tleberre/net_server810_solaris32.bin]: missing 570 byes in
    Tanguy> zipfile
    Tanguy> (attempting to process anyway)
    Tanguy> ** Error during init, error code = 2.
    Tanguy> I first thought the file I downloaded was incomplete, so I downloaded it again
    Tanguy> but I still have the same problem. Can anyone help me? What have I forgotten to
    Tanguy> do?
    Well, perhaps one thing you've forgotten is that it's better to write notes
    about particular problems in the newsgroup or mailing list that is most
    appropriate to the problem. If people who read this newsgroup only know about
    the webserver, then they won't have any idea how to help you with installation
    problems with WebLogic server, which this clearly is (the "webserver" is not
    "WebLogic Server", but only part of the entire package).
    Have you made an attempt to contact BEA support? It seems likely that your zip
    file is corrupt.
    ===================================================================
    David M. Karr ; Java/J2EE/XML/Unix/C++
    [email protected] ; SCJP; SCWCD; SCBCD

  • Problem installing weblogic server 8.11

    I have a problem while installing weblogic server 8.11 on a solaris 9 machine.
    I use the following instruction: ./filename.bin and I see the following message:
    Illegal instruction (memory dumped)
    (in french: instruction incorrecte (vidage memoire))
    A core file is generated but it doesn't help resolving this problem. It seems
    to be talking about unzip, as I found things like this message in this file:
    error: cannot allocate unzip buffers
    unzipsfx: cannot find myself! [%s]
    error [%s]: missing %ld bytes in zipfile
    I also tryed to install weblogic server 8.10 and no core file is generated but
    I have the following message:
    error [export/home/tleberre/net_server810_solaris32.bin]: missing 570 byes in
    zipfile
    (attempting to process anyway)
    ** Error during init, error code = 2.
    I first thought the file I downloaded was incomplete, so I downloaded it again
    but I still have the same problem. Can anyone help me? What have I forgotten to
    do?
    Thank you
    Tanguy Le Berre

    "Tanguy" == Tanguy Le Berre <[email protected]> writes:
    Tanguy> I have a problem while installing weblogic server 8.11 on a solaris 9 machine.
    Tanguy> I use the following instruction: ./filename.bin and I see the following message:
    Tanguy> Illegal instruction (memory dumped)
    Tanguy> (in french: instruction incorrecte (vidage memoire))
    Tanguy> A core file is generated but it doesn't help resolving this problem. It seems
    Tanguy> to be talking about unzip, as I found things like this message in this file:
    Tanguy> error: cannot allocate unzip buffers
    Tanguy> unzipsfx: cannot find myself! [%s]
    Tanguy> error [%s]: missing %ld bytes in zipfile
    Tanguy> I also tryed to install weblogic server 8.10 and no core file is generated but
    Tanguy> I have the following message:
    Tanguy> error [export/home/tleberre/net_server810_solaris32.bin]: missing 570 byes in
    Tanguy> zipfile
    Tanguy> (attempting to process anyway)
    Tanguy> ** Error during init, error code = 2.
    Tanguy> I first thought the file I downloaded was incomplete, so I downloaded it again
    Tanguy> but I still have the same problem. Can anyone help me? What have I forgotten to
    Tanguy> do?
    Well, perhaps one thing you've forgotten is that it's better to write notes
    about particular problems in the newsgroup or mailing list that is most
    appropriate to the problem. If people who read this newsgroup only know about
    the webserver, then they won't have any idea how to help you with installation
    problems with WebLogic server, which this clearly is (the "webserver" is not
    "WebLogic Server", but only part of the entire package).
    Have you made an attempt to contact BEA support? It seems likely that your zip
    file is corrupt.
    ===================================================================
    David M. Karr ; Java/J2EE/XML/Unix/C++
    [email protected] ; SCJP; SCWCD; SCBCD

  • Weblogic Server 8.1.6 nodemanager log rotation

    Hi,
    Does anybody know how to setup Weblogic server 8.1.6 nodemanager log file rotation?
    I want to setup the log file rotation by size, the maximum log file size is 10M, 3 files for rotation; like the log4j log files.
    What and how to set the nodemanager properties to achive this?
    Thanks,
    Harry

    can you use the following debug flags in the weblogic server as java_options and paste the complete ssl handshake exception here.
    -Dweblogic.StdoutDebugEnabled=true
    -Dssl.debug=true
    thanks,
    sandeep

  • How to specify a different config file for a weblogic 6.1 server

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    Hello Gunaseelan,
    This is not possible because WLS 6.1 needs a config.xml file, exactly this
    name, to start.
    What you can do is to define a recovery domain, called myrecovery_domain for
    instance, and put the config_recovery.xml, renamed "config.xml".
    Hope this helps,
    Ludovic.
    Developer Relations Engineer
    BEA Support.
    "Gunaseelan Venkateswaran" <[email protected]> a écrit dans le message
    news: 3cd6a324$[email protected]..
    >
    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file forstartWebLogic_recovery.sh
    >
    >
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

  • How to specify the webLogic server startup script to use different config.xml  file ??

    Hi,
    I have 2 weblogic startup scripts (startWebLogic.sh and
    startWebLogic_recovery.sh) for the same domain.
    startWebLogic.sh uses config.xml file.
    I would like to use config_recovery.xml as the configuration file for startWebLogic_recovery.sh
    How would I do this ?
    I am using WebLogic Server 6.1 on SunOS 5.8 / HP-UX 11.0.
    Appreciate any help.
    Regards
    Gunaseelan Venkateswaran

    I guess you're using Weblogic 6.1 with WLCS 3.5. I think you're supposed to work with one config.xml for the same domain, and not have a different config.xml.
    To start up different applications or EJBs, use the "target" property to control which applications to start up for the particular instance.
    YY

  • Configuring file realm in weblogic server 9.2

    Hi,
    I am trying to upgrade my application from weblogic 6.1 to weblogic 9.2 and I am using compatibility security.
    I have configured a RDBMS realm and then configured the caching realm giving that RDBMS realm as its Base realm.
    Now since caching realm works with file realm. I have to configure this also. Now on click of file realm tab in weblogic 9.2 throws the following error.
    java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: equals
    Caused by: java.lang.NoSuchMethodException: equals(java.lang.Object,) for com.bea:Name=CachingRealm-0,Type=CachingRealm
         at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:369)
         at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:63)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:141)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
         at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:426)
         at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:377)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:375)
         at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:310)
         at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
         at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
         at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
         at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
         at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         ... 91 more
    Can anyone help me out?
    Thank you
    Njoy
    :-)

    You may still need to define the role in the weblogic.xml file in order for deployment descriptor-based role definition to work (alternatively you could use the WebLogic Server console to define the role and policy).
    You can specify your role "testrole" as "externally-defined" as opposed to mapping it to specific principals.
    See http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1040908
    Jeff

Maybe you are looking for

  • How to catch the userid and use it in a query?

    Hi, I have the table users =========== userid password user_name nationality order table ============== order_no number order_date date notes varchar2(50) deptname varchar2(50) userid varchar2(20) it references users.userid every portal user has an a

  • Pricing in billing doc.

    Hi, I have created a sales order with item category ZSAX( Free of charge ,for sample items) . In the order the item is showing zero in net value. When I created the order related proforma invoice the actual pricing of the item is reflected. Note:- In

  • Indesign crashes exporting to pdf after upgrading to windows 7

    I recently upgraded to windows 7. Indesign cs4 worked fine...until i tried to export my 16-page document to a pdf. I got the message: Adobe Indesign CS4 has stopped working. A problem caused the program to stop working correclty. Windows will close t

  • Problem to connect Time capsule to Huawei hg8245

    Hi, I need to connect my Time capsule to Huawei hg8245. Before i used ADSL internet and used Dlink modem in bridge mode. Now provider changed and i need use this Huawei hg8245 as provider using serial number of this modem for peoviding me internet. i

  • Problems SSID diffusion

    Hello, I have this Cisco AIR-AP1131AG-E-K9, at one point some ssid's are not available. Afterwards some PC's will see the ssid while some will not after none Here is the config of the AP: YDE-LKIE-WLAN-AP01#sh run Building configuration... Current co