Configuring weblogic as a webserver

We have a client with the following architecture:
1. Weblogic 5.1 as web server on one host (used for jsp)
2. Weblogic 5.1 as app server on a different host behind the firewall (used for
ejb)
Both are running on Solaris 7.
How do I configure these two instances of weblogic to talk to each other? I have
checked the documentation but there was nothing on this scenario. Any help would
be highly appreciated.
Thank you.
Regards,
Madhu

So that means we have to have both apache and weblogic running as a
webserver in order have weblogic serve jsp request and apache to serve
static page request
if we do not want to replace apache as a webserver. Correct ?
"Michael Girdley" <[email protected]> wrote in message
news:39b70bcc$[email protected]..
>
>
The plug-in connects to WebLogic using HTTP. So, if you want to have
WebLogic answer HTTP requests, you need to enable the HTTP daemon usingthe
property that you noted below.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"Rakesh Gupta" <[email protected]> wrote in message
news:39b68c14$[email protected]..
We are using Apache 1.3.12 as a web server and Weblogic Server 5.1.0 as
a
app server. I wanted to turn off Weblogic to run as web server so I setthe
following property to false
weblogic.httpd.enable=false.
After this when I start apache and weblogic and invoke a a jsp page I
get
403 (access forbidden error).
When I change weblogic.httpd.enable=true
It works fine. Can you please tell me the solution ?
Rakesh

Similar Messages

  • Configuring weblogic's internal webserver for clustering

    Hi
              I have created a weblogic cluster running on 9001. The cluster has 2 managed servers running on 8001 and 8003. I can access the application depolyed on the cluster by using http://localhost:8001/Appname & http://localhost:8003/Appname.
              I was wondering if there is any way to configure weblogic internal webserver to actually use the cluster. I don't want to use external webservers like Apache etc , because I don't have enough memory in my machine.
              I can't see any document describing this in bea website, Can somebody help please?
              Vijay

    There is no way you can avoid additional memory usage(unless you have hardware loadbalancer that is configured to route request to the weblogic cluster).
              If you do not want to use other webservers, you can always use HttpClusterServlet as proxy mechanism to cluster.
              All you need to do is create another managed server and host the httpclusterservlet webApp on that managed server.
              (you can host the HttpClusterServlet on admin server itself but its not recommended approach though)
              Look at http://e-docs.bea.com/wls/docs81/cluster/setup.html#684345

  • Configuring Weblogic 9.x as both webserver and appserver

    Hi,
    How can one configure weblogic to host static content on weblogic web server and application/business logic on application server.
    Regards
    Raju

    We have upgraded our WebLogic from 8.1 to 9.2 along with our PeopleSoft 9.0 upgrade and boy-oh-boy, has the WebLogicAdmin console slowed down.
    It used to open in about 10 seconds.
    Now it opens in roughly 1 minute and 30 seconds.
    The heap size settings are the same as they were in the WebLogic 8.1
    Even restarting the WebLogicAdmin and associated PeopleSoft PIA's is the worst I have ever seen.
    Windows 2003 SP3
    Here's the startup command line;
    -Xms256m -Xmx256m -XX:MaxPermSize=128m -classpath ";D:/psft/hr849\webserv\hdev\lib\ps_patch.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PSIGW\WEB-INF\lib\mail.jar;D:/psft/hr849\webserv\hdev\lib\portlet-api-1.0.jar;D:/psft/hr849\webserv\hdev\lib\pluto-1.0.1.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\saaj.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\xml-apis.jar;D:/psft/hr849\webserv\hdev\applications\peoplesoft\PORTAL\WEB-INF\lib\xercesImpl.jar;;d:\bea\patch_weblogic923\profiles\default\sys_manifest_classpath\weblogic_patch.jar;d:\bea\jdk150_12\lib\tools.jar;d:\bea\WEBLOG~1\server\lib\weblogic_sp.jar;d:\bea\WEBLOG~1\server\lib\weblogic.jar" -Djava.util.logging.config.file=D:\psft\hr849\webserv\hdev\applications\peoplesoft\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=WebLogicAdmin -Dweblogic.management.username=operator -Dweblogic.ProductionModeEnabled=true -Dps_vault=D:\psft\hr849\webserv\hdev\psvault -Djava.security.policy="d:\bea\WEBLOG~1\server\lib\weblogic.policy" -Dssl.debug=false -Dps_home=D:/psft/hr849 weblogic.Server
    Regards,
    Tom

  • How to install and configure WebLogic 10.3 to use 64-bit JDK?

    Hi,
    Is there a preferred/supported way to configure WebLogic to use the 64-bit JRockit that comes with JRockit Mission Control?
    I can't find any official documentation about how to configure WebLogic to use a 64-bit JDK. From other forum posts I can tell we need to use the 64-bit JRockit that is bundled with JRockit Mission Control (available at [http://www.oracle.com/technology/software/products/jrockit/index.html]) but then we are kind of stuck - the configure script which let me select a JDK for a domain doesn't seem to let me re-configure an existing domain, and I can't find anything within the admin console that would let me set the JDK to use.
    I was able to rename the existing jrockit_160_05 directory to e.g. jrockit_160_05_original and then rename the jrmc directory to "jrockit_160_05", effectively taking the place of the JDK being used but this seemed like a bad way to do it. I also found via Google this page: [http://java.sodeso.nl/application-servers/bea-weblogic/how-can-i-change-the-jdk-installation-that-weblogic-uses] which basically says to modify the JAVA_HOME environment variable in the start scripts, but this seems like the same thing.
    With the plethora of products and the different ways they are bundled, combined with all the documentation about everything, I thought I would find something but I keep coming up blank. Does anyone have suggestions or pointers?
    Thanks,
    KaJun

    Make sure your environment configuration is supported here:
    http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html
    Then, you need to have the correct 64bit JDK installed. Sounds like you have done that.
    Then download and run the generic platform installer as described here with your 64bit supported JDK:
    http://download.oracle.com/docs/cd/E12839_01/doc.1111/e14142/start.htm#i1077535
    Notice how the link you post has the generic installer for all the 64bit JVM rows, but the other installer for the 32bit JVMs on the 64bit OS?

  • Please read my problem when I configure Weblogic https

    I want to use https protocol and SSL for my web application in Weblogic
    I have a problem but I am not sure it's related to configuring Weblogic or not please if you can advice me
    I use "openssl" to be my own Certificate Authority (CA)
    I used this instructions for using openssl [http://www.g-loaded.eu/2005/11/10/be-your-own-ca/]
    after configuring openssl I used these steps for creating my keystore
    1. First I use this keytool for creating my private key and public key
    keytool -genkeypair -keyalg rsa -keystore ali_keytool.jks -storepass ali120 -alias ali_alias
    What is your first and last name?
         [Unknown]: AliKhosravi
    What is the name of your organizational unit?
    [Unknown]: Boors
    What is the name of your organization?
    [Unknown]: software
    What is the name of your City or Locality?
    [Unknown]: Tehranali_keytool.jks
    What is the name of your State or Province?
    [Unknown]: Tehran_Province
    What is the two-letter country code for this unit?
    [Unknown]: IR
    Is CN=AliKhosravi, OU=Boors, O=software, L=Tehran, ST=Tehran_Province, C=IR correct?
    [no]: y
    2. I create my CSR by this command
    keytool -certreq -alias ali_alias -keystore ali_keytool.jks -storepass ali120 -file ali_keytool.csr
    3. I sign the ali_keytool.csr by openssl . I do it like this :
    openssl x509 -req -in ali_keytool.csr -CA certs/myca.crt -CAkey private/myca.key -out ali_keytool.crt -days 365 -CAcreateserial -CAserial my_ca.seq
    4.Now my I have a signed certificate (ali_keytool.crt) and my CA certificate (myca.crt)
    and I import CA certificate to my keystore
    keytool -import -alias Openssl_ca -file myca.crt -keystore ali_keytool.jks -storepass ali120
    5. I import the signed certificate into my keystore by alias of private key
    keytool -import -alias ali_alias -file ali_keytool.crt -keystore ali_keytool.jks -storepass ali120
    6. I import the CA certificate again into a new keystore for creating Trust
    keytool -import -alias my_ca -file myca.crt -keystore ali_keytool_trust.jks -storepass ali120
    All steps done without any errors
    I used this address for help [http://www.startux.de/java/44-dealing-with-java-keystores]
    Now I want to configure kestores ans ssl in Weblogic
    7. I go to the Environment-->Servers-->AdminServer-->Keystore tab in wblogic
    8. I set "Keystores=Custom Identity and Custom Trust", "Custom Identity Keystore = H:\trust\ali_keytool.jks" , "Custom Identity Keystore Type=jks" ,
    "Custom Identity Keystore Passphrase:ali120"
    "Confirm Custom Identity Keystore Passphrase=ali120"
    "Custom Trust Keystore=H:\trust\ali_keytool_trust.jks" , "Custom Trust Keystore Type=jks" ,
    "Custom Trust Keystore Passphrase=ali120" , "Confirm Custom Trust Keystore Passphrase=ali120"
    9. Then I go to SSL tab and I set "Identity and Trust Locations=Keystores" , "Private Key Alias=ali_alias" ,"Private Key Passphrase=ali120",
    "Confirm Private Key Passphrase=ali120"
    10. I go to the General tab and select "SSL Listen Port Enabled"
    11. I user Firefox as WebBrowser so I configure my Browser I select Tools-->Options-->ViewCertificates --> Authorities tab
    and I import the server certificate here is "myca.crt the openssl certificate"
    in Downloading Certificate window I select
    "Trust this CA to identify web sites"
    "Trust this CA to identify email users"
    "Trust this CA to identify software developers"
    12. I restart Weblogic
    13. I try to loging in weblogic like this "https://127.0.0.1:7002/console"
    The webBroser show me this warning:
    This Connection is Untrusted
    You have asked Firefox to connect
    securely to 127.0.0.1:7002, but we can't confirm that your connection is secure.
    Normally, when you try to connect securely,
    sites will present trusted identification to prove that you are
    going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to
    this site without problems, this error could mean that someone is
    trying to impersonate the site, and you shouldn't continue.
    Technical Details
    I Understand the Risks
    I don't know why the WebBrowser show me this warning while I imported the Server Certificate
    I don't know that my problem is in configuring WebLogic or FireFox WebBrowser or Keystore
    If you know please advice me
    Thanks

    Moderator Action:
    You already aked this question a couple of weeks earlier:
    My problem when I enable SSL in Weblogic and I don't have a trusted CA cert
    This is a user-to-user forum.
    There is no obligation that anyone respond. They will answer if they choose to.
    If there is a business need for a resolution, use your service contract privileges and open a support ticket with Oracle Support.
    http://www.oracle.com/us/support/contact-068555.html
    This duplicate forum post is locked.

  • Configuring Weblogic Domain in Offline Mode

    Hi,
    I wrote a java code which invoke wlst command required for configuring weblogic domain in offline mode.
    please give any idea even i do not know exactly what are the required jar file but i have used weblogic.jar,wlfullclient.jar,jython.jar,and some jar files from modules folder which has given in someone post
    i am getting the following error
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at weblogic.management.scripting.utils.WLSTUtil.initOfflineContext(WLSTUtil.java:291)
    at weblogic.management.scripting.utils.WLSTUtil.setupOfflineInternal(WLSTUtil.java:267)
    at weblogic.management.scripting.utils.WLSTUtil.setupOffline(WLSTUtil.java:234)
    at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:134)
    at weblogic.management.scripting.utils.WLSTInterpreter.<init>(WLSTInterpreter.java:76)
    at DomainConfiguration.<init>(DomainConfiguration.java:15)
    at DomainConfiguration.main(DomainConfiguration.java:61)
    Caused by: java.lang.NoClassDefFoundError: com/oracle/cie/wizard/ControllerProxy
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
    at java.lang.Class.getMethod0(Class.java:2670)
    at java.lang.Class.getMethod(Class.java:1603)
    at com.oracle.cie.domain.AbstractManager.getInstanceObject(AbstractManager.java:88)
    at com.oracle.cie.domain.AbstractManager.load(AbstractManager.java:46)
    at com.oracle.cie.domain.ConfigManager.<clinit>(ConfigManager.java:37)
    at com.oracle.cie.domain.DomainConstants.<clinit>(DomainConstants.java:20)
    at com.oracle.cie.domain.script.jython.WLScriptContext.init(WLScriptContext.java:220)
    at com.oracle.cie.domain.script.jython.WLScriptContext.setup(WLScriptContext.java:162)
    at com.oracle.cie.domain.script.jython.WLST_offline.setupContext(WLST_offline.java:105)
    ... 11 more
    thanks in advance

    Hi,
    Make sure that you have weblogic.jar and jython-modules.jar
    You will find weblogic.jar under %BEA_Home% / server / lib
    and you will find jython-modules.jar under %BEA_Home% / common / wlst/modules
    Regards,
    Kal

  • Configuring weblogic 8.1 to hide the jsp file name to be displayed

    Hi,
              I am having problem with configuring weblogic 8.1 to display the jsp file name in the address bar. Please have a look at this link for a description of my problem
              http://theserverside.com/news/thread.tss?thread_id=28381
              Any help would be great.
              Thanks
              Uma

    You should use a controller servlet which forwards to the correct JSP. Then the JSP name is not displayed in the address bar.
              With 8.1 you simply could use a Java pageflow to link several JSPs.
              Generated URLs in the browser will look like
              http://localhost:7001/sampleportal/newpageflow1/test.do;jsessionid=BFssBfmdv4Ly1GDG7gJNZH1d3s2ShJG2qpG4KJJMVvSf0JdyG2nQ!1118879021

  • How to configure weblogic log file?

    HI
    How do i configure Weblogic server log file to log weblogic related information as well as my application?
    I need to maintain one log file for weblogic and my application.
    Thanks,

    Then glassfish instance is either not configured yet or installed somewhere else. Try looking under your user's home directory like C:\Documents and Settings\<username>\Application Data\glassfish\domains\domain1\logs

  • How to configure weblogic as a SAML2 Service Provider

    Hi,
    I have to configure weblogic 11g to work with an external IdP, which is in fact the Dutch SurfConext for the Dutch Education Sector, so I used their metadata (https://wiki.surfnet.nl/display/surfconextdev/Connection+metadata)
    I configured the weblogic server mainly following https://blogs.oracle.com/blogbypuneeth/entry/steps_to_configure_saml_2.
    I have configured a SAML2 Authenticator (Sufficient) and SAM2 Identity Asserter (in that order). Then on the machine I configured the Service Provider tab under Federation Services and the SAML2 Services tab.
    But although I turned on the debug for saml2 at the configured managed server, I don't see any logging when I tried to reach the webapplication. I used the sample destination app from the blog. The application that I have to secure this way has an own login-page. When trying the sample dest webapplication URL I get the 403 forbidden error, but no logging on saml2.
    I search google around several times, and I feel that I should configure something in the web.xml and/or weblogic.xml. But I actually can't find the settings. I assumed that the web.xml of the sampl dest app (where auth-method is set to BASIC and realm-name myrealm) would do. And if that works that the actual application should be configured the same.
    What needs to happen is that when I try to reach the base URL of the web app, the browser gets rerouted to the IdP-'Where are you from" page, where the user can choose his/her college/university/organization and then login. After logging the Idp (SurfConext) should route the browser together with the SAML token to weblogic where the user gets routed to the actual main page of the webapp.
    So I feel that there is some configuration to do to get the webapplication secured via the SAML2 Identity Asserter. Either in weblogic (correct URL) and/or in the web.xml.
    Can anyone help me on the steps I apparently missed? And maybe ask me the correct questions to get me on the right track?
    Thanks in advance.
    Regards,
    Martien

    Apparently I wrongly repackaged the zip from the blog into a war file. There was an faulty extra level of directory structure in the zip.
    I created a new war file from the bottom up, with own jsp's. And that worked.

  • Best Way to Migrate a configuration from one sun webserver to another

    Hi,
    What is the best way to migrate a configuration from one Sun Webserver to another? I am using Webserver 7 Update 5 on Linux. If I just copy the configuration directory, the administration server doesn't know it. Thanks!

    I found my answer.. I found this link - http://forums.sun.com/thread.jspa?threadID=5317534

  • Reg : Error While Configuring Weblogic Using :11.1.1.6 for SOA

    Hi team,
    following is the error iam getting while configuring weblogic server for SOA
    OS : Win XP SP3 : SOA Version : 11.1.1.6
    Component Schema=SOA Infrastructure
    Driver=oracle.jdbc.xa.client.OracleXADataSource
    URL=jdbc:oracle:thin:@localhost:1521/xe
    User=DEV_SOAINFRA
    Password=***
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='SOAINFRA' and version='11.1.1.6.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=User Messaging Service
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/xe
    User=DEV_ORASDPM
    Password=***
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='ORASDPM' and version='11.1.1.6.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=OWSM MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/xe
    User=DEV_MDS
    Password=***
    SQL Test=select 1 from schema_version_registry where
                        owner=(select user from
                        dual) and mr_type='MDS' and
                        version='11.1.1.6.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Component Schema=SOA MDS Schema
    Driver=oracle.jdbc.OracleDriver
    URL=jdbc:oracle:thin:@localhost:1521/xe
    User=DEV_MDS
    Password=***
    SQL Test=select 1 from schema_version_registry where owner=(select user from dual) and mr_type='MDS' and version='11.1.1.6.0'
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01882: timezone region not found
    CFGFWK-60850: Test Failed!
    Please provide your comments.
    Sridhar

    Have a look at this...
    http://www.smartmarmot.com/2011/10/workaround-to-the-issue-ora-01882-timezone-region-not-found-when-connection-to-oracle/
    In your case your still running the installer... So you'll probably have to set the option on your JVM directly...
    Cheers,
    Vlad

  • Any Guidelines on Configuring Weblogic 8.1 with Node Manager

    Hi All, I want to configure Weblogic 8.1 with Node Manager using 4 ports. Is there any step by step guide? Please let me know...
    Currently I am referring to this link:
    http://download.oracle.com/docs/cd/E13222_01/wls/docs81/adminguide/nodemgr.html
    Thanks.

    Hi,
    Hope the below link may be little helpful: http://middlewaremagic.com/weblogic/?p=971
    NOTE: you need not to follow Step8). mentioned in above link because.... WLS8.1 nmEnroll() is not available as part of WLST ...In WLS8.1 no need to start the NodeManager. You can also ignore the Clustering part in the above link ...rest all you need to follow.
    Thanks
    Jay SenSharma

  • Configure Weblogic in eclipse

    Hi,
    i am new to EJB and eclipse ?
    i am using eclipse 2.1.3 and weblogic 9.2.
    so, how i can configure weblogic in eclipse ?
    pls, help me ....

    You have to use oepe (http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html)
    http://download.oracle.com/docs/cd/E15315_09/help/oracle.eclipse.tools.common.doc/html/index.html

  • Not able to execute Configure Weblogic Domain script

    Hi Experts,
    I am trying to configure weblogic domain for odi.I have installed odi studio and weblogic server on WINDOWS 2008 SERVER R2 release(64 bit) and jdk - 1.6 update 22 (32 bit)
    When i try to execute config.cmd it fails with following error:
    c:\odi\mw_home\wlserver_10.3\common\bin>config.cmd
    The system cannot find the path specified.
    Please help me figure out what could be the problem.

    Reinstallation fixed the problem.

  • Configuring weblogic 9.2 domain on Solaris box through Eclipse in Windows

    Hi,
    I'm able to configure weblogic domain on a solaris 10 box from eclipse form windows machine. But while trying to start the server through eclipse i'm getting the error "Error Launching Executable"
    Any help appreciated.
    Thanks
    Prasanth

    First of all you should check out which products are supported on 64bit :- http://www.oracle.com/technology/products/bi/hyperion-supported-platforms.html
    If you are planning on using windows 64bit EAS then you will have to manually deploy the web application, it cannot be automatically deployed.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Why can't i connect to my wifi after ios6 update

    why can't i connect to my wifi after ios6 update

  • How to generate reports in text file without totals

    Hi!!! Does anybody knows how can I generate a report in text file (separated by |), but without the lines with totalizations ? In my application, the user can choose if he wants the output in HTML,PDF or a text file. So, the solution to this question

  • Access Manager Client SDK Java Usage with multiple OpenSSO instances

    I am having some problems using the SDK / API for connecting to OpenSSO in a Java multi-threaded environment, while connecting to multiple instances of OpenSSO. Is there a way to setup a new AuthContext that does not include 1) Use of global configur

  • Capturing the output from jsp selvlet

              Hi,           I have a requirement where I need to capture the output of the JSP generated servlet           , and do something with it before it get's to the client side.           Has someone done something like this before.Any ideas, sug

  • Using BDC in Webdynpro ABAP

    Hai All,       I am currently working on HR req.         I hav to upload my data form my webdynpro screen to Infotype 267.           Can I use BDC recording and program to upload it to the infotype???            Please give ur suggestions.... Thanks