Tomcat4.02 & WL6.1 SP2

I use tomcat&apache as my jsp&serverlet container and weblogic as my ejb container.
There're always nullpoint error when I call ejb from serverlet. What's wrong with
me???
Any clue will be appreciated!@!

Can you show us the NullPointerException?
FWIW, you'd get much better performance from running WLS for both the servlet and EJB
containers.
-- Rob
Aaron wrote:
I use tomcat&apache as my jsp&serverlet container and weblogic as my ejb container.
There're always nullpoint error when I call ejb from serverlet. What's wrong with
me???
Any clue will be appreciated!@!--
AVAILABLE NOW!: Building J2EE Applications & BEA WebLogic Server
by Michael Girdley, Rob Woollen, and Sandra Emerson
http://learnWebLogic.com
[att1.html]

Similar Messages

  • Help Requested:  Unix WebLogic 6.0 sp2 and PetStore Error

    Hello,
    I have tried several variations to cleanly run the WL6 sp2 Pet Store
    application on a Solaris 8 box.
    The server starts, but I am getting the following error:
    <Sep 7, 2001 3:57:05 PM EDT> <Critical> <WebLogicServer> <Failed to
    invoke start
    up class "StartBrowser", java.lang.ClassNotFoundException:
    com.bea.estore.startu
    p.StartBrowser>
    This error I get from a clean install. What could be wrong?
    Also by which command should the petstore be started?
    ./startPetStore.sh
    sh startPetStore.sh
    . ./startPetStore.sh
    I would greatly appreciate any timely insight.
    Leslie

    After executing sh startPetStore.sh, bring up a browser and enter the
    following URL to read about and optionally invoke the Pet Store
    application:
    http://<target_host>:<target_port>/index.html
    LAA at Work wrote:
    Hello,
    I have tried several variations to cleanly run the WL6 sp2 Pet Store
    application on a Solaris 8 box.
    The server starts, but I am getting the following error:
    <Sep 7, 2001 3:57:05 PM EDT> <Critical> <WebLogicServer> <Failed to
    invoke start
    up class "StartBrowser", java.lang.ClassNotFoundException:
    com.bea.estore.startu
    p.StartBrowser>
    This error I get from a clean install. What could be wrong?
    Also by which command should the petstore be started?
    ./startPetStore.sh
    sh startPetStore.sh
    . ./startPetStore.sh
    I would greatly appreciate any timely insight.
    Leslie

  • Image caching in JSPs

    In WL6 sp2, we have JSP pages that call an ImageServlet within the <IMG> tag
              to pull JPG files from the database to the local filesystem and create an
              outputstream so that they are displayed on the page.
              The problem is that the servlet is not called each time the page loads.
              Only if a Refresh is requested will the servlet be called that displays the
              image. Our browsers are set not to cache pages, and the page has the usual
              no-cache pragmas.
              My question is, are images cached in the compiled servlet code? Is there
              something about the WebLogic HTTP server that prevents an <IMG> from being
              loaded each time the page is delivered?
              

              Turns out that Nscp 4.7 has a nasty habit of caching images even if it isn't
              supposed to. We don't have this problem in IE.
              "Sam Pullara" <[email protected]> wrote in message
              news:[email protected]...
              > There is nothing in the server that is caching the pages. This must be a
              > browser related behavior. You can see if a request is being made from the
              > browser by looking at the access log. Are you setting the no-cache pragma
              > on the servlet that is serving the .jpg files?
              >
              > Sam
              >
              > "Tony Bailey" <[email protected]> wrote in message
              > news:[email protected]...
              > > In WL6 sp2, we have JSP pages that call an ImageServlet within the <IMG>
              > tag
              > > to pull JPG files from the database to the local filesystem and create
              an
              > > outputstream so that they are displayed on the page.
              > >
              > > The problem is that the servlet is not called each time the page loads.
              > > Only if a Refresh is requested will the servlet be called that displays
              > the
              > > image. Our browsers are set not to cache pages, and the page has the
              > usual
              > > no-cache pragmas.
              > >
              > > My question is, are images cached in the compiled servlet code? Is
              there
              > > something about the WebLogic HTTP server that prevents an <IMG> from
              being
              > > loaded each time the page is delivered?
              > >
              > >
              >
              >
              

  • WL6.1 SP2, Oracle 8.1.7, OCI, ConnectionPool

    Hi,
    i try to set up a database connection from a WL6.1 SP2 running on
    Solaris 8 to a Oracle 8.1.7 DB running on Linux. I have to use the
    Oracle - Driver, not the Weblogic - Driver. CLASSPATH, PATH,
    LD_LIBRARY_PATH, ORACLE_HOME and TNS_ADMIN are set correct
    (hopefully). When I use the thin - drivers, everything works fine. Now
    I want to switch to OCI and get the following error:
    ORA-07217: sltln: environment variable cannot be evaluated
    I know this error occurs because I did not provide an ORACLE_SID. But
    why do I need to export ORACLE_SID, isn´t the SID provided by the
    ConnectionURL?
    Anyway, if I set the ORACLE_SID explicitely, I get:
    ORA-01034: ORACLE not available
    Do I need to export the ORACLE_SID? If yes, why do i get the 01034?
    The tnsnames.ora is correct, I can connect by using sqlplus to the
    database without any problems ...
    Here is the definition of the connection - pool:
    <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
    LoginDelaySeconds="1" MaxCapacity="10"
    Name="BMSP JDBC Connection Pool"
    Password="{3DES}LFkEplP7jUuI/nVqSwNNjQ=="
    Properties="user=vgn_data;dll=ocijdbc8;protocol=oci8"
    RefreshMinutes="5" Targets="sgw-domain-server"
    TestConnectionsOnRelease="true"
    TestConnectionsOnReserve="true"
    TestTableName="dual" URL="jdbc:oracle:oci8:@TESTDB"/>
    Any hint is very welcome.
    Thanks in advance,
    Jochen

    Hi,
    ok, I solved the problem, it was a "classic" version - conflict. The
    drivers (classes12.zip) came from an 8.1.6 - Version, but the
    libraries were all 8.1.7. Mea maxima culpa ;)
    Anyway, it was hard to find this error, because the errormessages did
    not point to a version - conflict ... so, if anyone of you out there
    encounters the same strange behaviour: Check your versions ;)
    Greetings,
    Joche

  • Upgrading WL6.1 SP2 to SP3

    hi all
    i would like to know what is the ways of upgrading the WL from SP2 to SP3
    i have installed WL6.1 SP2 on my solaris station and i want to upgrade it to SP3
    is there a way of upgrading rather then installing new WL.
    thanks in advance
    shlomit

    Shlomit <[email protected]> wrote:
    i have installed WL6.1 SP2 on my solaris station and i want to upgrade it to SP3.
    Is there a way of upgrading rather than installing new WL? Shlomit,
    Sure. Go to bea.com, download service pack 3, install as follows:
    $ /opt/bea/jdk131/bin/java -cp wls61sp3_upgrade_generic.zip install -i console
    Preparing CONSOLE Mode Installation...
    ===============================================================================
    Choose Locale...
    ->1- English
    CHOOSE LOCALE BY NUMBER: 1
    ===============================================================================
    WebLogic Server 6.1 Service Pack 2 (created with InstallAnywhere by Zero G)
    ===============================================================================
    Introduction
    This installer will guide you through the installation of Service Pack 3 of
    WebLogic Server 6.1. Use command "next" to proceed to the next screen. If you
    want to change something in a previous screen, use command "previous" or
    "back". You may quit the installer at any time by using the command the
    "quit".
    PRESS <ENTER> TO CONTINUE:
    ===============================================================================
    Choose BEA Home Directory
    1- /opt/bea
    Existing BEA Home: 1
    ===============================================================================
    Installing...
    [==================|==================|==================|==================]
    [------------------|------------------|------------------|------------------]
    ===============================================================================
    Install Complete
    Congratulations! The installation of Service Pack 3
    for WebLogic Server 6.1 is complete.
    The installer has saved copies of files which you may have modified to:
    /opt/bea/wls/servicepacks/sp3/backup
    Press "Enter" to quit the installer:
    $
    Then, to verify...
    MBean reports:
    WebLogic Server 6.1 SP3 (...etc...)
    Let me know if you need more assistance.
    Brian J. Mitchell
    BEA Systems Administrator
    TRX
    Atlanta, GA
    email: [email protected]
    office: 404-327-7238
    mobile: 678-283-6530

  • Start WL6.1 sp2 as service, can't find DB2 dlls

    I have WL6.1 sp2 installed to run as a service. I modified the classpath and java.library.path
    to pick up my DB2 jdbc drivers. The service sends a message stating that the
    DB2CLI.dll can not be found in the following path c:\bea\wlserver6.1\bin;.;c:\winnt...etc.
    The -extrapath setting in the installNTservice.cmd sets the 'path' parameter
    in the registry, but does not seem to do anything. If I copy all my DB2*.dll
    files into the \bin, it works fine. I would rather figure out how to modify that
    path correctly.

    Layne,
    Can you test with the latest beasvc.exe file thatw as shipped with sp2
    for WLS 6.1 ?
    The -extrapath issue has been fixed in the latest beasvc.exe file
    Thanks,
    Raj Alagumalai
    Developer Relations Engineer
    BEA Support
    Layne Carder wrote:
    I have WL6.1 sp2 installed to run as a service. I modified the classpath and java.library.path
    to pick up my DB2 jdbc drivers. The service sends a message stating that the
    DB2CLI.dll can not be found in the following path c:\bea\wlserver6.1\bin;.;c:\winnt...etc.
    The -extrapath setting in the installNTservice.cmd sets the 'path' parameter
    in the registry, but does not seem to do anything. If I copy all my DB2*.dll
    files into the \bin, it works fine. I would rather figure out how to modify that
    path correctly.

  • Failure in Precompilation of JSPs  due to include file in WL6.1 SP2

    Hi
              We are getting the following error when we try to do precompilation of JSPs using
              precompile param to true in weblogic.xml
              We are deploying our application as war files.
              eagerly waiting for your help
              sincerely
              Ramesh
              Issue description and StackTrace:
              Issue:
              Precompilation of JSPs fail while using precompile param to true in weblogic.xml and deploy it as War file. It is througing "failure pre-compiling JSP's
              weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              xception: Could not include index.jsp" exception.
              OS: Windows 2000
              Jdk: Sun Jdk1.3.1
              Weblogic: 6.1 SP2
              ***Stacktrace*************
              <Dec 17, 2002 1:05:51 PM CST> <Error> <HTTP> <[WebAppServletContext(3961036,AdvW
              eb,/AdvWeb)] failure pre-compiling JSP's
              weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              xception: Could not include index.jsp
              at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1025)
              at weblogic.servlet.jsp.JspParser.doit(JspParser.java:80)
              at weblogic.servlet.jsp.JspParser.parse(JspParser.java:183)
              at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255
              

    Ramesh,
              We experienced this sympton as well. In our JSPs, we converted
              <%@ include file="xyz.jsp"%> (static include, source time) to
              <jsp:include page="licensedQuote.jsp"/> (dynamic include, run time)
              and the problem went away.
              We still use static includes at the very start of the JSPs. It seems the problem only occurs when the static include is inside of a tag whose body does JSP evaluation.
              -Charlie
              "Ramesh Danala" <[email protected]> wrote in message news:[email protected]...
              > Hi
              > We are getting the following error when we try to do precompilation of JSPs using
              > precompile param to true in weblogic.xml
              > We are deploying our application as war files.
              > eagerly waiting for your help
              > sincerely
              > Ramesh
              >
              > Issue description and StackTrace:
              > Issue:
              >
              > Precompilation of JSPs fail while using precompile param to true in weblogic.xml and deploy it as War file. It is througing "failure pre-compiling JSP's
              > weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              > xception: Could not include index.jsp" exception.
              >
              > OS: Windows 2000
              > Jdk: Sun Jdk1.3.1
              > Weblogic: 6.1 SP2
              >
              > ***Stacktrace*************
              >
              > <Dec 17, 2002 1:05:51 PM CST> <Error> <HTTP> <[WebAppServletContext(3961036,AdvW
              > eb,/AdvWeb)] failure pre-compiling JSP's
              > weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamE
              > xception: Could not include index.jsp
              > at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:1025)
              > at weblogic.servlet.jsp.JspParser.doit(JspParser.java:80)
              > at weblogic.servlet.jsp.JspParser.parse(JspParser.java:183)
              > at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:119)
              > at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:255
              > )
              

  • Installing WL6.0 sp2 on RedHat 7.1 - Error

    How can I install BEA Weblogic Server 6.0 sp2 on RedHat 7.1. I have tried several
    of the fixes that have been mentioned here to no avail.
    I have the Sun JDK 1.3.1 for Linux on the system.
    I have the link to cut set up:
    lrwxrwxrwx 1 root root 8 Jul 12 10:16 /usr/bin/cut -> /bin/cut
    I have run the following and still get the error:
    # export LD_ASSUME_KERNEL=2.2.5
    # sh weblogic600sp2_linux.bin -i console
    Preparing to install...
    weblogic600sp2_linux.bin: line 1: 24167 Segmentation fault (core dumped)
    /tmp/install.dir.23184/Solaris/resource/jre/jre/bin/java -Djava.compiler=NONE
    com.zerog.lax.LAX "/tmp/install.dir.23184/temp.lax" /tmp/env.properties.23184
    "-i" "console"
    Any help would be appreciated.
    --Peter

    Here's a workaround previously posted to the newsgroup:
    "Glen Austin" <[email protected]> wrote in message
    news:[email protected]...
    Found it. Same problem as on Oracle 8.1.7 on RedHat 7.1.
    1. Install the compat* RPMs from the RedHat 7.1 CD1 and CD2. These RPMs
    allow compatibility with RedHat 6.2.
    2. Put the following two statements in your environment prior to running
    the install.
    export LD_ASSUME_KERNEL=2.2.5
    . /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh
    These two statements will allow you to run your shell in a 6.2compatibility
    mode, for glibc 2.1.3 instead of the new glibc 2.2.2 libs.
    It sounds to me like Sun needs to update the JDKs to support the new glibc
    and the 2.4 kernel. I'm not sure this is even BEA's problem?
    Glen Austin
    OmniSYS, Inc.
    "Glen Austin" <[email protected]> wrote in message
    news:[email protected]...
    I installed jdk 1.3.1 from java.sun.com on a RedHat 7.1 O/S.
    Originally, I was not pointing to the JDK correctly. I fixed the PATH,
    CLASSPATH, JAVA_HOME, JAVA_PATH to point to the jdk1.3.1 dir.
    Then I got an error saying that cut could not be found in /usr/bin, so I
    ln -s /bin/cut cut in the /usr/bin directory.
    I ran the install script a 3rd time and I'm seeing a [<defunct>] for myJava
    VM in a ps -aef entry, which is in the process list along with the WLS
    6.0
    SP1 install bin file. I will try it one more time, but it's not looking
    good.
    Glen Austin
    "Henri Jubin" <[email protected]> wrote in message
    news:[email protected]...
    You need to install the JDK 1.3.1 to have wls 6.0 working.
    The JDK could be found at the developpers zone at javasoft.
    root <[email protected]> wrote:
    i tried installing the wls by using the command :
    sh weblogic600sp1_linux.bin
    i got the message ,
    "Preparing to install..."
    and thats where it stops !
    any ideas ??
    cheers
    Pac
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    Buy the only book covering J2EE & WebLogic 6:
    http://www.amazon.com/exec/obidos/ASIN/0130911119/learnweblogic/102-1778325-
    4765749
    "Peter Woodhams" <[email protected]> wrote in message
    news:[email protected]...
    >
    How can I install BEA Weblogic Server 6.0 sp2 on RedHat 7.1. I have triedseveral
    of the fixes that have been mentioned here to no avail.
    I have the Sun JDK 1.3.1 for Linux on the system.
    I have the link to cut set up:
    lrwxrwxrwx 1 root root 8 Jul 12 10:16/usr/bin/cut -> /bin/cut
    I have run the following and still get the error:
    # export LD_ASSUME_KERNEL=2.2.5
    # sh weblogic600sp2_linux.bin -i console
    Preparing to install...
    weblogic600sp2_linux.bin: line 1: 24167 Segmentation fault (coredumped)
    >
    /tmp/install.dir.23184/Solaris/resource/jre/jre/bin/java -Djava.compiler=NON
    E
    com.zerog.lax.LAX "/tmp/install.dir.23184/temp.lax"/tmp/env.properties.23184
    "-i" "console"
    Any help would be appreciated.
    --Peter

  • Problem with upgrading WL6.0 sp1 to sp2

    I just recently downloaded the weblogic service pack upgrade off of the bea site.Followed all the instructions and ran the install program.When done, the program, says the installation is complete.Unfortunately, when I run the server console and check on the version it still says sp1. I am wondering, did the service pack install correctly or didn't it? If it did, why does it say SP1 still and should I worry about it with later upgrades?Thanks,

    Hi,
    to be honest I'm realy not surpriced by the answer, that you got from Microsoft. 
    The part with the Symantec is something, that is realy irrelevant from my point of view in this situation. 
    However, if you can logon to the system, I can recommend to start TVSU <ThinkVantage System update> that will search for all the updates, that are relevat to your system. 
    Please install all updates, that will be listed. Basically those updates, that you will see will be all, that are needed for your system. 
     My second thought was more in the direction to make a restore to a previous state, so that it will convert back the system back to the pre installation stage. 
    If I were you, I would test this restore part before doing the TVSU part. 
    So in this case would be my suggestion following:
    - restore the system back to a pre-SP2 installation stage 
    - after reboot check ,whether the error is gone
    IF yes => do the TVSU part and if you want to , then do the update to SP2 
    IF no => anyway do the TVSU part only to verify, whether that will kind of help the situation 
    Maybe a question out of topic, but have you made some RnR backups before the SP2 installation?
    If yes, that that might be good, becasue from my past experiences with failed SP installation, I can tell, that only a OS reinstall realy fixed all the incomming issues, OR a restore to a previous date<from a backup, or using Windows own restore option>
    Please let me know, whe you have any comments to this situation.
    I fully understand, that it does not sound realy enthusiastic.
    Rgrds

  • Please help: Installation of WL6.1 SP2 aborts w no error message

    Hello,
    I am trying to install Weblogic Server 6.1 Service Pack 2 on a PC with AMD Duron
    800 MHz, 6 GB HD space, 419 MB RAM running Windows 2000 Professional. I have
    jdk1.3.1_02, j2sdkee v1.3.1, and TomCat v4.0 installed on the same PC. I have
    the c:\jdk1.3.1_02\bin as the first entry both in CLASSPATH and PATH System variables.
    After I double click on the .exe file for weblogic 6.1 SP2 to install, the InstallAnywhere
    progress window pops up and then after it completes, nothing happens.
    Please give me suggestions as to how I can install weblogic 6.1? Can I do a command
    line install in windows 2000 professional?
    Thanks in Advance,
    Jay

    Hi.
    there is no command line installation option for wls on windows, unfortunately.
    Have you searched the archives of this newsgroup for answers? There have been numerous
    postings and solutions regarding similar installation problems.
    Regards,
    Michael
    Jayanta wrote:
    Hello,
    I am trying to install Weblogic Server 6.1 Service Pack 2 on a PC with AMD Duron
    800 MHz, 6 GB HD space, 419 MB RAM running Windows 2000 Professional. I have
    jdk1.3.1_02, j2sdkee v1.3.1, and TomCat v4.0 installed on the same PC. I have
    the c:\jdk1.3.1_02\bin as the first entry both in CLASSPATH and PATH System variables.
    After I double click on the .exe file for weblogic 6.1 SP2 to install, the InstallAnywhere
    progress window pops up and then after it completes, nothing happens.
    Please give me suggestions as to how I can install weblogic 6.1? Can I do a command
    line install in windows 2000 professional?
    Thanks in Advance,
    Jay--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Error to call IOServicesDef.getFileSystem(FS_NAME) in WL6.0 sp2

    I use WL 6.0 sp2 on NT Workstation. I have the following code in the
    startup class:
    IOServicesDef myio = t3Service.io();
    Enumeration myenum = myio.listFileSystems();
    for (; myenum.hasMoreElements(); )
    System.out.println(myenum.nextElement());
    T3FileSystem myfs = myio.getFileSystem(FS_NAME);
    It does print the file system's name. But an internal error occurred at
    callling myio.getFileSystem(FS_NAME). The command console output is like
    this:
    MyFileSystem
    java.lang.InternalError: Needs updating
    at
    weblogic.io.common.internal.T3FileSystemLocalMountPoint.<init>(T3FileSystemLocalMountPoint.java:66)
    at
    weblogic.io.common.internal.IOServicesServerImpl.getLocalFileSystem(IOServicesServerImpl.java:54)
    at
    weblogic.io.common.internal.IOServicesServerImpl.getFileSystem(IOServicesServerImpl.java:25)
    at
    com.experian.ncac.startup.NCACStartup.getIniFilePath(NCACStartup.java:175)
    at com.experian.ncac.utils.IniFile.<clinit>(IniFile.java:37)
    at
    com.experian.ncac.affiliate.ZipAffiliate.<init>(ZipAffiliate.java:90)
    at
    com.experian.ncac.affiliate.ZipAffiliate.getInstance(ZipAffiliate.java:270)
    at com.experian.ncac.startup.NCACStartup.startup(NCACStartup.java:80)
    at
    weblogic.t3.srvr.StartupClassRunner.invokeStartup(StartupClassRunner.java:112)
    at
    weblogic.t3.srvr.StartupClassRunner.invokeClass(StartupClassRunner.java:93)
    at
    weblogic.t3.srvr.StartupClassRunner.run(StartupClassRunner.java:61)
    at java.lang.Thread.run(Thread.java:484)
    Need your help. Thanks in advance. - Yang Cao

    I use WL 6.0 sp2 on NT Workstation. I have the following code in the
    startup class:
    IOServicesDef myio = t3Service.io();
    Enumeration myenum = myio.listFileSystems();
    for (; myenum.hasMoreElements(); )
    System.out.println(myenum.nextElement());
    T3FileSystem myfs = myio.getFileSystem(FS_NAME);
    It does print the file system's name. But an internal error occurred at
    callling myio.getFileSystem(FS_NAME). The command console output is like
    this:
    MyFileSystem
    java.lang.InternalError: Needs updating
    at
    weblogic.io.common.internal.T3FileSystemLocalMountPoint.<init>(T3FileSystemLocalMountPoint.java:66)
    at
    weblogic.io.common.internal.IOServicesServerImpl.getLocalFileSystem(IOServicesServerImpl.java:54)
    at
    weblogic.io.common.internal.IOServicesServerImpl.getFileSystem(IOServicesServerImpl.java:25)
    at
    com.experian.ncac.startup.NCACStartup.getIniFilePath(NCACStartup.java:175)
    at com.experian.ncac.utils.IniFile.<clinit>(IniFile.java:37)
    at
    com.experian.ncac.affiliate.ZipAffiliate.<init>(ZipAffiliate.java:90)
    at
    com.experian.ncac.affiliate.ZipAffiliate.getInstance(ZipAffiliate.java:270)
    at com.experian.ncac.startup.NCACStartup.startup(NCACStartup.java:80)
    at
    weblogic.t3.srvr.StartupClassRunner.invokeStartup(StartupClassRunner.java:112)
    at
    weblogic.t3.srvr.StartupClassRunner.invokeClass(StartupClassRunner.java:93)
    at
    weblogic.t3.srvr.StartupClassRunner.run(StartupClassRunner.java:61)
    at java.lang.Thread.run(Thread.java:484)
    Need your help. Thanks in advance. - Yang Cao

  • [WL6.1 SP2] RMI and Serialization problems

    Greetings. I've got a strange question.
    I have a rather large object graph that's produced by an EJB. This
    object graph is then serialized and sent across the network to a waiting
    client, or is passed to the web tier.
    The object graph is of variable size, but huge in any case - some
    examples are 10 megs in size when serialized to disk.
    The big problem is that it takes a lot of ram to serialize this object
    to push it over the network. Now, this wouldn't be a big problem (because
    objects are not requested very often), but for the fact that weblogic
    doesn't seem to release the memory for these objects after the serialization
    takes place.
    Is there some way to make sure that the object stream is closed after
    the object is sent, so the memory can be GC'd for other processes? We're
    currently giving the server about 600 Megs of ram max for the heap (the
    server is a ES40 dual), and the server can die in a matter of hours.
    Would SP3 help things at all?
    Is there some way to force memory cleanup?
    Thanks!
    -Jim Nemesh

    "Jim Nemesh" <[email protected]> writes:
    The big problem is that it takes a lot of ram to serialize this object
    to push it over the network. Now, this wouldn't be a big problem (because
    objects are not requested very often), but for the fact that weblogic
    doesn't seem to release the memory for these objects after the serialization
    takes place.This sounds like a bug, although if you leave any reference to the
    object it will not get GC'd. Are nulling out all your references after
    you are done with the object?
    Is there some way to make sure that the object stream is closed after
    the object is sent, so the memory can be GC'd for other processes? We're
    currently giving the server about 600 Megs of ram max for the heap (the
    server is a ES40 dual), and the server can die in a matter of hours.If the stream is not being closed then its a bug.
    Would SP3 help things at all?
    Is there some way to force memory cleanup?Garbage collection should do this.
    andy

  • Exploded directory: wl6.0 sp2: how to define in config.xml?

    hi,
              how do i define a web server with exploded directory format. i dont want to
              use webcomponent because it creates a war and the jsp changes are not
              reflected. war is fine for production, but during development i dont want to
              restart the server to see the jsp changes.
              is there a way to create a web server component with an exploded directory
              format in config.xml. i want to map the current jsp directory to the web
              server.
              in short: i want to see the jsp changes immediately without restarting the
              server everytime.
              thanks.
              

              "Muthu Ram" <[email protected]> wrote:
              >hi,
              >
              >how do i define a web server with exploded directory format. i dont want
              >to
              >use webcomponent because it creates a war and the jsp changes are not
              >reflected. war is fine for production, but during development i dont
              >want to
              >restart the server to see the jsp changes.
              >
              >is there a way to create a web server component with an exploded directory
              >format in config.xml. i want to map the current jsp directory to the
              >web
              >server.
              >
              >in short: i want to see the jsp changes immediately without restarting
              >the
              >server everytime.
              >
              >thanks.
              >
              >
              apparently if you create an empty file called REDEPLOY (no exstension) in your
              meta-inf directory then either touch it if on unix or change it and save it (i
              add then delete a spce in it) in win32. apparently wls looks at this file and
              if its been changed it reloads the rest off the webapp and hey presto dynamic
              deployment. the alternative is to goto the console goto your app uncheck the deployed
              box click apply then check the deployed box and click apply (this should redeploy
              it). Note jsps don't seem to redeploy well if you have keepgenerate set to true
              in the weblogic.xml.
              

  • JSP- Java compilation duplicates methods (WL6.1 SP2)

              I am trying to run some examples (unpacked application). All JSP pages fail
              compilation, upon request, due to duplicated code section in the generated
              Java file i.e (exprformtestfile.jsp -> _exprformtestfile.java)
              private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) {
              while (t != null) {
              javax.servlet.jsp.tagext.Tag tmp = t;
              t = t.getParent();
              try { tmp.release(); } catch (Exception ignore) {}
              private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) {
              while (t != null) {
              javax.servlet.jsp.tagext.Tag tmp = t;
              t = t.getParent();
              try { tmp.release(); } catch (Exception ignore) {}
              Naturally, the compilation fails due to duplicating method names.
              Any ideas?
              TIA
              

              I am trying to run some examples (unpacked application). All JSP pages fail
              compilation, upon request, due to duplicated code section in the generated
              Java file i.e (exprformtestfile.jsp -> _exprformtestfile.java)
              private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) {
              while (t != null) {
              javax.servlet.jsp.tagext.Tag tmp = t;
              t = t.getParent();
              try { tmp.release(); } catch (Exception ignore) {}
              private static void _releaseTags(javax.servlet.jsp.tagext.Tag t) {
              while (t != null) {
              javax.servlet.jsp.tagext.Tag tmp = t;
              t = t.getParent();
              try { tmp.release(); } catch (Exception ignore) {}
              Naturally, the compilation fails due to duplicating method names.
              Any ideas?
              TIA
              

  • WL6.1 sp2: It seems there isnt' HttpSession.getServletContext() method

              Hi all,
              In the release notes (features & changes section) we can read that the getServletContext()
              method has been added to HttpSession but we get an NoSuchMethodError exception when
              we invoke it.
              Whats going wrong?
              TIA.
              Pablo.
              

              Thanks all,
              So, there is no way to get the ServletContext from the Session?
              We need to do it without the servlet (we use the wep app context to store global
              common data for all the users).
              Deepak Vohra <[email protected]> wrote:
              >ServletContext ctx=getServletConfig().getServletContext();
              >
              >Pablo wrote:
              >
              >> Hi all,
              >>
              >> In the release notes (features & changes section) we can read that the
              >getServletContext()
              >> method has been added to HttpSession but we get an NoSuchMethodError exception
              >when
              >> we invoke it.
              >>
              >> Whats going wrong?
              >>
              >> TIA.
              >> Pablo.
              >
              

Maybe you are looking for

  • 500 - internal server error in KM repository

    Hi all, I get the following error while trying to access any file I upload in /documents/. <b>500 Internal server error -- contact system administrator.</b> I am able to upload and view files in repositories other than \documents and its subfolders.

  • Video Chat won't work in Germany.

    Hi, I am new to the discussions board, and I just recently bought an iSight camera so I can chat with and see my family while I'm studying abroad in Munich, Germany. Every time we attempt to do a Video Chat session the window pops up, and says it is

  • Problem using multiple collections in web gallery

    I have a web gallery in LR5 that I created in LR2. It consists of four collections with individual titles. When I try to include the titles using the right-hand panel in the web module, when I change the title of one collection, all four collection t

  • Can I track/search and view/list of tasks

    Hi everyone, We have EP 7.3 and want to start using UWL for general day to day tasks for a certain group of users.  There is no backend connectivity, just pure EP since we are just doing simple day to day tasks. We are able to create and process task

  • Object Diagrams that support user define type (create type....and subtypes

    Hello it would be very nice to be able to use user define types in a diagram, at this time oracle, ibm db2 9 and sql server 2005 suport sql ansi 2003 and to use all this potential we have to take tecnology foward. My sugestion is create object diagra