Data lost in Weblogic 6.0 web server cluster

We developed a system using JSP+Servlet+Weblogic 6.0.
We use web sever cluster provided by weblogic 6.0. We implemented
a business logic to login user data. Because data user has to input is too
much, there are multiple pages for user to login data. When use finished
the first page's input, data will be posted to server and store as
attribute
object in session, and user can inut data in second page. Our problem is
when user input data in the second page, the main server is down, another
server will be become main server, however, the previous data user input
has lost. Who can tell me why, or necessary information to solve this
problem?
Regards,
Sun Gang.

Brenda Balog wrote:
Hi,
In the release notes for WebLogic 6.0 it is recommended to use the
java.rmi.*
object/exception types rather than weblogic.rmi.*. The recommendation
is,
however to use the weblogic.rmi.server.UnicastRemoteObject to get an RMI
stub instance.
But looking at the reference API for 6.0, I didn't see anywhere the
package
weblogic.rmi.server. The only package available for RMI in 6.0 is
weblogic.rmi.*THis is a doc bug.
>
>
My questions are:
- Are the other packages for RMI deprecated, or are they going to be
deprecated
in the future releases?No, there are no plans for deprecating the weblogic.rmi packages.
>
- Are the release notes corect with respect to the use of
UnicastRemoteObject?Yes.
>
- Is it correct/recommended to use the RMI registry to register RMI
objects, or
should I use only JNDI for that?Use JNDI.
>
>
Thank you,
Brenda.

Similar Messages

  • Using WebLogic as a Web Server

    Are there any disadvantages to using WebLogic as a Web Server also, if the
    majority of the site is not static HTML, as compared to plugging Weblogic
    into IIS?
    Thanks.
    [email protected]

    There are a lot of benefits using WebLogic as the Web server. For one, it
    greatly simplifies deployment and management.
    If you already have a Webserver deploy, it sometimes makes sense to
    integrate us with that existing server.
    Thanks,
    Michael
    Michael Girdley
    BEA Systems Inc
    "Marc Lippman" <[email protected]> wrote in message
    news:39c90c1b$[email protected]..
    Are there any disadvantages to using WebLogic as a Web Server also, if the
    majority of the site is not static HTML, as compared to plugging Weblogic
    into IIS?
    Thanks.
    [email protected]

  • Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7?

    Can data be passed to an external web server using the "in-course web browsing" feature in ver. 7? I would like to display a simple web page, and I would like to pass to that web page the answers to all the quiz questions, quiz score, etc. In other words, instead of passing quiz results to a SCORM-compliant LMS like Moodle, I'd like to pass that data to a Drupal Webform using a URL like:
    https://www.example.com/my-drupal-webform?param1=value1&param2=value2...&paramn=valuen
    Is this possible?
    Thanks,
    John

    You have to make sure every step in MOS Document ID 726414.1 that is applicable to your E-Business Suite 12.1.x release is performed. Enabling ASADMIN is just one of the steps. In spite of following all the steps in this Document you continue to get the error when clicking "Generate WSDL", please log a Service Request with Oracle Support.I will check all steps again. Maybe I missed one... Thanks!

  • Global data in a servlet using iPlanet Web Server

    Our configuration is an Applet->Servlet->JNI->C/C++ code.
    We have C code that does a number of lengthy mathematical calculations. This C code not only uses its own global variables but, it is also comprised of numerous subroutines that all call each other, reading and writing global C variables as they go. These globals are all isolated to the C code shareable object (.so) library that is included using the LoadLibrary call when the servlet is initialized.
    The problem is that in a multi-user environment (3-5 simultaneous users) we need to have each user have their own "copy" of the servlet (and the C code) so that users will not be accessing each other's global data. We can NOT have only one copy of the C code and define it as synchronized because the calculations that are performed can take a very long time and we can not hold off user requests while the firs user finishes.
    Our hope is that there is a way to configure the iPlanet Web server such that each new user that starts up a copy of the Applet/Servlet combination will get their own "space" so that they can work independently of any other user. We have at most 20 users of this system and only 3-5 simultaneous users so we should not have a problem with memory or CPU speed.
    If anyone has a solution, I would greatly appreciate it!

    The C library is shareable. But you don't want it to be shared. That's your question summarized, isn't it?
    You probably can't prevent it from being shared, so to prevent multiple use of it you would have to queue up the requests to be done one at a time. WynEaston's suggestion of having the servlet implement SingleThreadModel would help, but I believe the servlet spec allows servers to run multiple copies of a servlet that does that (as opposed to running a single copy in multiple threads).
    Your other alternative is to rewrite the math in Java, or at least in some object-oriented language where you don't need global variables (which are the source of your problem). All right, I can already hear you saying "But that wouldn't be as fast!" Maybe not, but that isn't everything. Now you have a problem in queueing theory: do you want a single server that's fast, but jobs have to wait for it, or do you want multiple servers that aren't as fast, but jobs don't have to wait? That's a question you would have to evaluate based on the usage of your site, and it isn't an easy one.

  • SunOne 6.1 HTTP4044 error with sun one web server cluster

    use sun one web server 6.1 sp4 makeup cluster,transfer configure file have HTTP 4044 error.the /opt/SUNWwbsvr/https-admin/logs/error file message are:
    failure ( 4646): for host x.x.x.x trying to POST /https-x.x.x.x/admin/clxfer, cgi_scan_headers reports: HTTP4044: the CGI program /opt/SUNWwbsvr/bin/https/admin/bin/clxfer did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    Anyone have experience with this?

    Hi, I am also getting the same error, can someone please help me on this.
    [13/Jul/2009:05:23:21] failure ( 9574): for host X.X.X.X trying to GET /https-derivmatch/admin/security, cgi_scan_headers reports: HTTP4044: the CGI program /usr2/netscape/server61/bin/https/admin/bin/security did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    [13/Jul/2009:05:24:13] failure ( 9574): for host X.X.X.X trying to GET /https-derivmatch/admin/security, cgi_scan_headers reports: HTTP4044: the CGI program /usr2/netscape/server61/bin/https/admin/bin/security did not produce a valid header (program terminated without a valid CGI header. Check for core dump or other abnormal termination)
    Thanks a lot.
    Regards,
    Mallik

  • File upload through web server to weblogic

    WAS: Weblogic 10.3
    Web Server: Sun One Web Server 6.1
    JDK: 1.4
    I've deployed a web application(*.war) to weblogic server, and try to upload a file through sun one web server(webserver) to the weblogic. The 'webserver' does nothing but bypass the request to weblogic. When I do upload a file to weblogic server directly without though webserver it's ok. I mean the uploaded file would be written to a specfied saving directory on server as soon as the upload process gets start. But with going through webserver, it does not happen immediately. After a long time passed the uploaded file begins to be written to the saving directory. The 'webserver' seems to buffer the amount as much as the file size, and then send them to weblogic. To sovle this problem I tried to change the webserver configuration(magnus.conf) as like,
    ChunkedRequestBufferSize 0, UseOutputStreamSize
    But doesn't work.
    Is there somthing of I'm missing? Get me out of this struggling.

    Thanks for your comments.
    What I'm doing is that first I made a simple upload jsp file using 'com.oreilly.servlet.MultipartRequest', and then try to upload with a html page over IE browser.
    That is,
    IE browser ( Local PC ) ---> Sun One Web Server ( Remote machine ) ---> Weblogic ( Local PC ).
    And I also peeked into the transferred data between webserver and weblogic. What I've found is that all data in the upload file would be buffered into webserver and then flushed out to weblogic at one time. I want to upload the file to weblogic server without buffering in webserver. Rather than a bug of webserver, I thinik I missed some configuration stuff of webserver, or weblogic.
    Local PC: Windows XP
    IE: 6.0
    Web Server: Sun One Web Server 6.1 SP9
    Weblogic: 10.3.0.0
    upload filesize: 4MB

  • Setting apache as a front end host-proxy web server for weblogic 10.3.3

    Hi ,
    i have installed apache 2.2.21 in the red hat linux 6 environment.Now i am trying to set that apache web server as a front end host ,proxy web server for my weblogic 10.3 application server cluster. My apache is listening to the port 8080.
    What changes i had to made in admin console of my server as well as in the httpd.conf file of apache.
    Can any one guide me how to proceed ?
    Any help is highly appreciated......

    Thanks Ravi,
    i have already gone through http://docs.oracle.com/cd/E12840_01/wls/docs103/plugins/apache.html.
    In my case "mod_wl_22.so" was not available but i downloaded this p10051826_1033_Generic.zip file from where i got that file and make it available in the modules directory, changed the file permissions (using chmod 755 mod_wl_22.so) and also changed the httpd.conf file as below :
    LoadModule weblogic_module modules/mod_wl_22.so
    <IfModule mod_weblogic.c>
    WebLogicCluster wlserv1:7001,wlserv2.com:7001
    MatchExpression *.jsp
    </IfModule>
    By using /bin/ls command i checked the following :
    /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
    Using file mod_wl_22.so i checked the following:
    mod_wl_22.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
    My problem is when i used ./apachectl -t i got the following error :
    httpd: Syntax error on line 112 of /u40/app/apache/conf/httpd.conf:
    Cannot load /u40/app/apache/modules/mod_wl_22.so into server: libstdc++.so.5:
    cannot open shared object file: No such file or directory
    So can u please guide me where my problem is and how to rectify it ? Its urgent. please help me.
    Thanks
    Jyoti Ranjan

  • Running WebLogic as Web Server

              Hi,
              Please help!
              I am using WebLogic as a Web Server.
              For some reason, I cannot access HMTL files in myserver/public_html folder.
              What should be added/modified in order for this to work?
              Thanks a lot,
              -Yuri
              [weblogic.properties]
              

    Check "documentRoot" variable in your property file. It should point to:
              C:\weblogic\myserver\public_html & you should have all your html files
              under that directory. This holds true if you're using the default
              configuration.
              Yuri Sokolovski wrote:
              > Hi,
              >
              > Please help!
              >
              > I am using WebLogic as a Web Server.
              > For some reason, I cannot access HMTL files in myserver/public_html folder.
              > What should be added/modified in order for this to work?
              >
              > Thanks a lot,
              >
              > -Yuri
              >
              > ------------------------------------------------------------------------
              > Name: weblogic.properties
              > weblogic.properties Type: Plain Text (text/plain)
              > Encoding: base64
              

  • Weblogic web server v/s apache

    Hi,
    Does anybody have any experiences to share about using weblogic as a web
    server versus using apache or something else? Any idea on what is the market
    share?
    Any links to useful information that anybody can point me to?
    I did find a similar question on this newsgroups but Alas, no answer!!!
    Thanks
    Gaurav

    Hi,
    Does anybody have any experiences to share about using weblogic as a web
    server versus using apache or something else? Any idea on what is the market
    share?
    Any links to useful information that anybody can point me to?
    I did find a similar question on this newsgroups but Alas, no answer!!!
    Thanks
    Gaurav

  • Send data from applet to web server

    Hi,
    I want to send data(event notification) to resource through web server using url.
    Like,As long as perticular action or event is occuring I am sending that message to url.
    I reffered Sevlet theory uses HTTPMessage,but I am confused how should start and what would be feasible?
    Even when I run my code I am not finding browser.How should I place an applet in web server page?
    Regards,
    Palak
    Message was edited by:
    palak_shah

    Hi
    I agree usage of HttpClient is a better and a simple method.
    But If your Application Requirements are Simple you may go by using URL & URLconnection Objects in java.net package.
    Just to Add In You Can Checkout the links given below to have a better understanding of how the communication works...
    The Example APPLET code:
    http://mindy.cs.bham.ac.uk/AppletServletExample/EgApplet.java.txt
    The Example SERVLET code:
    http://mindy.cs.bham.ac.uk/AppletServletExample/EgServlet.java.txt
    and the Example AppletDemo Class
    http://mindy.cs.bham.ac.uk/AppletServletExample/EgApplet.class
    Hope this helps :)
    REGARDS,
    RaHuL

  • Calling SQL Loader from ColdFusion Web Server

    We are trying to Load Data files into Oracle through a Cold Fusion Web Application. Users will browse to a local file on their computers, click a button, and our application will use SQL Loader to load the data into oracle. The ColdFusion web server is Unix and the 11g database server is Linux. When we run the ColdFusion code below we get a file not found error, the sqlldr executable cannot be found. Do we need to install an Oracle client or something on the ColdFusion Web server to get this to work?
    <cfexecute name="sqlldr" arguments="ADVDEMO@ADVDEMO/Transact2011 control=/space/users/www/advfiles/ControlFiles/BS/Bio_ControlFile.ctl" timeout="500"></cfexecute>

    'sqlldr' is part of Oracle server or (full) Oracle client software - NOT the OS - so indeed you need to install at least the client. Unfortunately 'sqlldr' is not part of the Instant Client, which is much smaller than the full client.
    Some guys tried to add 'sqlldr' manually:
    http://my.opera.com/onyxluo/blog/2007/12/28/add-sql-loader-into-oracle-10-instant-client
    Werner

  • Plugin doest respond until web server reboot

    We have a weblogic 6.0SP2 cluster with 4 backends and two Iplanet Web Server 4.1 as
    front ends.
    During FULL GCs in weblogic JVM cluster nodes do not respond to any request and the
    foront ends are not able to respond.
    Web have noticed that if the error persists serveral seconds (or minutes) and then
    weblogic recovers the web server cannot conect anymore to webloguc until we reboot
    it.
    This is what Iplanets error log says:
    [XX/Jun/2002:15:52:10] failure ( 628): for host xx.xx.xx.xx trying to GET /some_weblogic_URL,
    wl-proxy reports: exception occurred for backend host 'my_cluster_node/my_port':
    'READ_TIMEOUT [os error=22,  line 151 of Reader.cpp]: no read after 300 seconds'
    Has anyone else experience this? how can we solve it?
    PLEASE REPLY!
    TIA
    Cristina Ceballos

    in addition to, To simulate the problem, you need to set your window registry to allow IE to open up 20 connections (default is 2) per IE. Please follow the steps below :
    1. run "regedit" to open up the registry
    2. select HKEY_CURRENT_USER|Software|Microsoft|windows|CurrentVersion|Internet Settings
    3. right click on the right hand panel and select New|DWORD Value
    4. type "MaxConnectionsPer1_0Server" for the name
    5. right click on the newly created "MaxConnectionsPer1_0Server" key and select "Modify"
    6. enter 32 as hexadecimal value in the text box then click OK button to save
    7. repeat step 3 to 6 with the name as "MaxConnectionsPerServer"
    8. close all your IE browsers
    if you do not do the above settings, you need to open up 30 browsers to simulate 60 connections to web server.
    Once the a.jsp exit from the while loop, you should see the same number of requests in your iplanet access log. And, when you view source of a frame, you should see "<br>count=1<br>count=2<br>count=3<br>count=4<br>count=5"; otherwise the request is not handled by web server.

  • How to make weblogic proxy to work on Sun Java system web server 7?

    Hi Every one,
    I am working on upgrade our Sun one 6.1 webserver to Sun Java system web server 7. Our website uses weblogic server to process jsp, web server only send static pages. I did all configurations as on Sun one. But somehow, the webserver does not forward "get jsp page" request to weblogic. The log record is:
    for host 10.78.124.118 trying to GET /home.jsp, send-file reports: HTTP4142: can't find /www/a/WebServer7/docs/bmd9i/home.jsp (File not found)
    home.jsp is at weblogic server.
    And redirect "NameTrans fn="redirect" from="/" url="/home.jsp"" seems does not work. when I type on IE http://32.69.253.131/ (32.69.253.131 is http listener IP), it always shows index.html page under the document root.
    Could some on can help? I am the first time to configurate web server. Thanks in advance.
    The configuration files are like:
    1. magnus.conf
    # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/www/a/WebServer7/weblogic6.1sp6/libproxy.so"
    Init fn="wl_init"
    2. obj.conf
    # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    # You can edit this file, but comments and formatting changes
    # might be lost when you use the administration GUI or CLI.
    #<Object name="weblogic">
    #Service fn="wl_proxy" WebLogicCluster="32.69.253.86:7210" ConnectTimeoutSecs="240" ConnectRetrySecs="60"
    #</Object>
    <Object name="default">
    <Client method="TRACE">
    AuthTrans fn="set-variable" remove-headers="transfer-encoding" set-headers="content-length: -1" error="501"
    </Client>
    #AuthTrans fn="match-browser" browser="*MSIE*" ssl-unclean-shutdown="true"
    NameTrans fn="strip-params"
    NameTrans fn="redirect" from="/" url="/home.jsp"
    NameTrans fn="redirect" from="/index.jsp" url="/home.jsp"
    NameTrans fn="redirect" from="/index.html" url="/home.jsp"
    NameTrans fn="document-root" root="$docroot"
    NameTrans fn="pfx2dir" from="/mc-icons" dir="/www/a/WebServer7/lib/icons" name="es-internal"
    NameTrans fn="home-page" path="index.html"
    <If $uri =~ "/*.jsp">
    Service method="(GET|HEAD|POST|PUT)" fn="wl_proxy" WebLogicCluster="32.69.253.86:7210" ConnectTimeoutSecs="240" ConnectRetrySecs="60"
    #Service method="(GET|HEAD|POST|PUT)" type="text/jsp" fn="wl_proxy" WebLogicCluster="32.69.253.86:7210" ConnectTimeoutSecs="240" ConnectRetrySecs="60"
    </If>
    PathCheck fn="unix-uri-clean"
    PathCheck fn="check-acl" acl="default"
    PathCheck fn="find-pathinfo"
    PathCheck fn="find-compressed" check-age="off" vary="on"
    ObjectType fn="type-by-extension"
    ObjectType fn="force-type" type="text/plain" charset="iso_8859-1"
    ObjectType fn="set-default-type" charset="iso_8859-1"
    Service method="(GET|HEAD)" type="magnus-internal/directory" fn="send-error"
    Service method="(GET|HEAD)" type="*~magnus-internal/*" fn="send-file"
    AddLog fn="flex-log" name="access"
    </Object>
    <Object name="es-internal">
    PathCheck fn="check-acl" acl="es-internal"
    </Object>
    <Object name="send-precompressed">
    PathCheck fn="find-compressed"
    </Object>
    <Object name="compress-on-demand">
    Output fn="insert-filter" filter="http-compression"
    </Object>
    3.mime.types
    I add one line: type=text/jsp exts=jsp

    Quick obvious question - Are you positive you're editing the correct obj.conf? Check the config directory and see if there is a second one called something like <instance>.obj.conf (where <instance> is the name of your configured instance).
    Alternatively you can grep for object-file in the server.xml to see which obj.conf the server is using:
    # grep object-file server.xml
        <object-file>bare-php.obj.conf</object-file>Assuming that you are editing the correct obj.conf file, are you making certain to restart Web Server after making your changes?

  • How to import or sync Exchange server data like Calendar, Contacts with a web application or web service

    How to import or sync Exchange data like Calendar, Contacts with a web application or web service.
    1. Is there any API to import contacts and calendar (tasks and events) from exchange server to my calendar in web application using web services or http request. the user would have provided the username and password for his exchange account.
    2. Is there any licensing involved to communicate with exchange server for its data.
    thanks in advance 

    I am bit lost here; i have my exchange credentials, how (or) can i use the above mentioned solution for windows application or web services. can you please point in the right direction. my requirement is this: how to sync exchange data with a third party
    app or webapp(my development) using EWS. how to start with, starting point and steps to do[just overview ;)].

  • Implementing X509 installed in web server for service deployed in weblogic

    I need some advise on what I am doing is the right way of implementing one way x509 certificate.
    1.JWS file is created using wsdlc ant task and deployed in weblogic 10.3.0 with no security policy annotations.
    2.Installed Verisign certificate in Sun One Java server and enabled SSL and added some configurations to redirect webservices request to weblogic server
    3.Created client and added -Djavax.net.debug=all as VM argument and verified the Sun One Java server verisign certificate details in the logs.
    So far there is no issue but today I was reading about security policy file and I don’t know whether I am missing that in the webservice class or not. But because I can verify the certificate data from webserver I am thinking x509 certificate is installed and my webservice is using that certificate. Am I right?
    Can someone point out if I am missing something and let me know the details on the same? Thanks

    I meant @Policy(uri = "policy:Wssp1.2-2007-Https.xml") Also I read this article which is talking about the policy file http://chrismuir.sys-con.com/node/1075471/mobile
    Couple of questions:
    1. As I said in my last thread, since Verisign certificate is installed in the web server, I can view the certificate details in the browser for any https requests to that server instead of just for this webservice request. How to block/filter other requests from using the certificate when involed using https?
    2. When do we need policy files?
    Edited by: user8115570 on Feb 6, 2012 2:55 PM

Maybe you are looking for