"problem about weblogic startUp feature"

I write one classe "A" in weblogic5.1.0 that startup via weblogic.system.startupClass, in the "startup" method of class "A", i initalize a singtlon class "B", after weblogic started, how can i invoke the object of class "B" in other class. thanks.

Hi jim.
If you have create a Singleton you can refer to insyance by "getInstance()"
method;
but I image that you lost object because GC collect the garbage and your
singleton is not referred by anyone.
Then, in startup class, after initialization, you can put your Singleton in
system properties
(System.getProperties()) or in a WL workspace.
Have a nice day.
Giuseppe Villanova
Software Engineer
IT Staff s.p.a.
081/7877028
[email protected]
"jim" <[email protected]> wrote in message
news:3a6604d6$[email protected]..
>
I write one classe "A" in weblogic5.1.0 that startup viaweblogic.system.startupClass, in the "startup" method of class "A", i
initalize a singtlon class "B", after weblogic started, how can i invoke the
object of class "B" in other class. thanks.

Similar Messages

  • Problem about weblogic server

    When I first started Weblogic, at that time, the database server wasn’t available, so there was a lot of error about the database connection pool, and definitely the application didn’t work properly, so I realized that because of the database server ka. But after the database server was available, I worked on the application again but it seem like weblogic server didn’t update and still kept the state that it couldn’t find the connection pool although it had already there. Is it possible to make weblogic server automatically update when the database server is available. Any solution to resolve this problem?

    In wich version of weblogic ? I 5.1 may be .... from 7.0 to up I don't think so ....
    I supose that you don't enable the refresh/testing parameters of jdbc pool.
    Please check the e-docs to see more information
    Jin

  • Weblogic Startup Class does not run as Windows Service

    If you know the answer, plase send me an email at [email protected]
    I'm running a weblogic startup class that starts a Thread. I need to
    run a batch program that should be running as long as WebLogic is
    running (to process new orders).
    It works fine when I run WebLogic (5.1 SP8) from a script, but causes
    problem when I'm running it as a Windows Service. It calls the
    startup class, however, the startup class never spawns the Thread
    class.
    Following is excerpts from different components:
    =============================================================
    *** weblogic.properties ***
    weblogic.system.startupClass.pdfCreatorStart=WebLogicStartupPdfCreator
    *** WebLogicStartupPdfCreator.java ***
    public class WebLogicStartupPdfCreator implements T3StartupDef {
    public String startup(String name, Hashtable args) throws
    Exception {
    Thread t = new ProductionPdfBatchRunner();
    t.start();
    return "success";
    *** ProductionPdfBatchRunner.java ***
    public class ProductionPdfBatchRunner extends Thread {
    public void run() {
    try {
    //work being done here
    this.sleep(30000);
    catch (InterruptedException ie) {               
    catch(Exception e) {
    e.printStackTrace();
    =============================================================
    Thanks for any help

    Hi,
    Ok. Few suggestions.
    1. Can you review the SAP note:
    552286  Troubleshooting for the SAP Web Dispatcher
    2. When you said: "web dispatcher does not get started ", what error you got ? Can you be more details here ?
    3. Please check the trace file dev_webdisp" that generated in the work directory. If the log entries is not abvious, increase the trace level to 2 or 3, and reproduce and re-check the trace file.
    4. What is the output of the command "sapwebdisp -v"
    5. How about sapwebdisp.pfl ? Are those settings correct ?
    Hope this helps.
    Regards,
    Vincent

  • Automating Weblogic Startup/Shutdown on Linux

    hello and hope you fine
    im using weblogic 10.3 with oracle db 11g on CentoOS 5.5
    everything is working fine
    but my problem is that i want to startup/shutdown weblogic on system start/shutdown
    i defined weblogic as service ( i tried all levels) and it works but the problem is
    when the system is booting it start weblogic but it stops continue system boot!
    i also tries put the start weblogic on the .bash_profile
    the system boot but when im trying to login it stops because the same problem
    (weblogic startup and prevent contitnue the loginin )
    i also tried to add startWeblogic in /etc/rc.d/rc.local
    and the same problem when weblogic start system cant continue booting
    i also tried using nohup
    also the same problem
    so how can i start/shutdown weblogic ?
    and thanks for help
    Edited by: user13113692 on Aug 2, 2010 3:22 AM

    thank you for your replay
    but its the same
    when server is booting
    the weblogic start and goes to the running state
    it stops continue the other services and
    the server boot could not continue
    here is some of my script
    #!/bin/sh
    WEBLOGIC_HOME=/root/Oracle/Middleware/user_projects/domains/mydomain/
    # source function library
    . /etc/rc.d/init.d/functions
    case "$1" in
    start)
    echo "Starting weblogic..."
         cd $WEBLOGIC_HOME
         su root $WEBLOGIC_HOME/bin/startWebLogic.sh &
    stop)
    echo "Stopping weblogic..."
         cd $WEBLOGIC_HOME
         su root $WEBLOGIC_HOME/bin/stopWebLogic.sh &
    i also tried something like this to grape all the output to a log file
    but the problem here is that the weblogic give me a exception about the paths
    case "$1" in
    start)
    echo "Starting weblogic..."
         cd $WEBLOGIC_HOME
         su root $WEBLOGIC_HOME/bin/startWebLogic.sh ALL > ${WEBLOGIC_HOME}/logz/start.log 2>&1 &
    stop)
    echo "Stopping weblogic..."
         cd $WEBLOGIC_HOME
         su root $WEBLOGIC_HOME/bin/stopWebLogic.sh ALL >${WEBLOGIC_HOME}/logz/stops.log 2>&1 &
    i also tried this with the standalone weblogic and its the same
    any help will be appreciated

  • Configuration problem in Weblogic 8.1.1 and 8.1.3

    We have a problem when we hitting instrumented axis services in weblogic 8.1.1 and 8.1.3.
    1.First we create a domain its use for only axis services.
    2.We set the class path according to my project.
    3.I start the server and deploy my axis services.its deploying nicely.
    4.After that used my project and configure the services to getting log file purpose.
    5.After instrument/configuration the service,I restart the server that time the service is redeploy and create the temporary file in .wlnotdelete directory our jar file put inside in this folder extract/myserver_calc1_calc1.This is my deploying service place.
    6.But its not happening in this version of weblogic in that we redeploy the same services its works fine and getting log files.
    7.when i redploy the same service that time only its working fine.
    8.But i don't want to redploy the service. I want only restart time its happen that's only correct.
    9.This problem is only happening in weblogic 8.1.1 and 8.1.3 its not happening in weblogic 7.5 and 8.1.4 is working fine and getting log files.
    10.can any one give me a solution to rectify this problem in Weblogic 8.1.1 and 8.1.3.

    I don't know about that, but I am using MyFaces and tomahawk with WLS8.1 sp5 jdk1.4.2_05 and it works fine.
    I do remember getting such an error when I moved from Sun RI to MyFaces and all I can recall is that it was a commons library mismatch problem or some classpath problem...

  • BIG5 Problem with WebLogic Express 6.1

              Hi,
              I found some problem with Chinese Big5 when using JSP. All big5 code convert in
              a wrong format and can't view by browser.
              My server setting is:
              OS: Solaris 8
              Weblogic: Express 6.1
              JDK 1.3.1
              Anyone know how to solve this problem?
              I have tried different way like creating a new string in different encoding type.
              Actually the BIG5 work fine with Solaris 8, JDK1.2.2_05a and Weblogic 5.1. However
              I WEblogic 6.1 only support JDK1.3 or above. Anyone can help me out. Thanks.
              Pls email me at [email protected]
              

    The download binary is the same for WL Full version and WL Express. It's the
    license that matters. Contact BEA to obtain / buy a WL Express license.
    Ben
    "Rajendra" <[email protected]> wrote in message
    news:[email protected]..
    We have WebLogic 6.1 licensed software. I need to work with WebLogic
    Express.
    I installed on win2K using the installer available with the CD. Now, what
    exactly do I need to do (restricting license..) to work with WebLogic
    Express?
    I need this info urgently. Any help in this regard is greatlyappreciated.
    >
    Thanks
    Rajendra.
    "Michael" <[email protected]> wrote in message
    news:[email protected]..
    Hi.
    WebLogic Express is WebLogic Server with a different license that limits
    some of
    the WebLogic Server features, such as EJB. Downloading WLS effectively
    downloads
    WebLogic Express.
    Regards,
    Michael
    raj wrote:
    Hi,
    does anyone know if it's possible to download weblogic express 6.1 ? icouldn't
    find any link on the bea website.
    thanks
    Raj

  • Fetch error and jaxb problem in weblogic 12c

    Hi,
    I have a problem with running my webService in Weblogic 12c. The response of the webService is an entity which has an OneToMany relationship. After executing the service, its response could not be generated. I think there is a problem during MOXy’s unmarshalling operation of response entity (I haven’t had any problem in weblogic 11, because it don’t use MOXy ).
    What do you think about this problem and solution?
    Regards
    Edited by: Elham on May 27, 2012 12:51 AM

    Note that WebLogic 12c endorses JavaEE6.
    Look ups and how JNDI works is explained in the JavaEE6 tutorial: http://docs.oracle.com/javaee/6/tutorial/doc/gipjf.html

  • Problems with weblogic clustering in 6.1 sp3

    We have spent a lot of time trying to get our application deployed to
              a cluster using weblogic 6.1 sp3 and we consistently receive a failure
              when we attempt to start the managed server. This was not a problem
              with weblogic sp1--we got our application to deploy to the cluster
              successfully; although there was another weblogic bug there with
              clients accessing EJB clusters--we won't go into that here...
              We have tried this on both a Windows 2000 machine and an HP machine
              running weblogic sp3. The same error occurs on both platforms.
              The error in deploying our application to the cluster against weblogic
              sp3 looks to have to do with our custom security realm. Inside our
              custom realm we make use of a configurable providerUrl which we set to
              the cluster address/port. The custom realm makes a call where it
              passes in the providerUrl to:
                   weblogic.management.Helper.getMBeanHome(..., providerUrl,...)
              When we have our providerUrl set to the cluster address/port--e.g.,
                   t3://clustermember1:7001
              and attempt to start the managed server we get the error:
              Starting WebLogic Server ....
              Connecting to http://adminserver:7117...
              The WebLogic Server did not start up properly.
              Exception raised:
              weblogic.management.configuration.ConfigurationException:
              clustermember1 not found
                   at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:1084)
                   at weblogic.management.Admin.initialize(Admin.java:340)
                   at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
                   at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
                   at weblogic.Server.main(Server.java:35)
              Reason: Fatal initialization exception
              When we have our providerUrl set to the admin server address--e.g.,
                   t3://adminserver:7117
              everything starts up fine.
              Does anyone know why this would work on sp1 and not sp3 of weblogic
              6.1?
              We verified that all passwords are correct and everything else we
              could determine--any ideas would be helpful.
              We don't want the providerUrl to point at our admin server, we want it
              to point at the cluster address/port.
              When we get the managed server error, we received this error on the
              AdminServer:
              2002-08-15 16:52:23,019 ERROR [ExecuteThread: '11' for queue:
              'default'] (com.msa.gabriel.share.security.wlrealm.GabrielRealm) -
              Caught naming exception null; throwing RuntimeException.
              javax.naming.CommunicationException. Root exception is
              java.net.ConnectException: t3://tomtate.msais.com:7119: Destination
              unreachable; nested exception is:
                   java.net.ConnectException: Connection refused; No available router to
              destination
                   at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
                   at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
                   at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:307)
                   at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:211)
                   at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:149)
                   at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
                   at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
                   at javax.naming.InitialContext.init(InitialContext.java:222)
                   at javax.naming.InitialContext.<init>(InitialContext.java:198)
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm.getNamingContext(GabrielRealm.java:416)
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm.getConnection(GabrielRealm.java:347)
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm.access$000(GabrielRealm.java:51)
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm$2.run(GabrielRealm.java:225)
                   at weblogic.security.acl.Security.doAsPrivileged(Security.java:489)
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm.myDoAsPrivileged(GabrielRealm.java:578)
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm.getUser(GabrielRealm.java:221)
                   at weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:832)
                   at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:696)
                   at weblogic.security.acl.Security.getCurrentUser(Security.java:250)
                   at weblogic.servlet.security.internal.SecurityModule.auditPerm(SecurityModule.java:356)
                   at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:205)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2518)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              <Aug 15, 2002 4:52:23 PM EDT> <Error> <HTTP>
              <[WebAppServletContext(8091823,wl_management_internal2,/wl_management_internal2)]
              Servlet failed with Exception
              java.lang.RuntimeException
                   at com.msa.gabriel.share.security.wlrealm.GabrielRealm.getUser(GabrielRealm.java:260)
                   at weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:832)
                   at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:696)
                   at weblogic.security.acl.Security.getCurrentUser(Security.java:250)
                   at weblogic.servlet.security.internal.SecurityModule.auditPerm(SecurityModule.java:356)
                   at weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(ServletSecurityManager.java:205)
                   at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2518)
                   at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
                   at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
                   at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              Thanks for any help.
              Rich
              

    Bottom line:
              In our custom realm we were not handling user guest correctly. Even if you
              have guest user disabled, Weblogic seems to have hard-coded guest to
              send messages to the cluster every-so-often. Not sure there--couldn't get
              an answer out of bea as to exactly why we see guest still being used...
              It seems that with sp3, the user guest interaction started happening earlier
              than it did with sp1, consequently making our realm code fail when trying to
              retrieve the guest user like someone we knew about in our system.
              Hence, our getUser and authUserPassword methods now return null for both
              users guest and system, making the secondary realm (file realm) be used to
              authenticate and resolve guest & system. BEA helped get our code fixed;
              however, we still don't have a lot of depth in understanding Weblogic
              server's use of guest...
              Apparently, in 7.x the guest & system user behavior and configuration is
              different also... We'll see when we start digging into that migration.
              Rich
              [email protected] (Rich Koch) wrote in message news:<[email protected]>...
              > Thanks for the responses--we're working with weblogic support now. We
              > think that the custom realm that we have [the developer that wrote it
              > left the company] is the problem.
              >
              > The original developer was told by someone to check:
              > weblogic.security.acl.internal.ClusterRealm.THE_ONE != null
              >
              > In order to determine if the JNDI was available/ready for the whole
              > cluster.
              >
              > It seems that the meaning/setting of THE_ONE changed with this respect
              > from
              > sp1 to sp3--i.e., this is no longer a valid test to tell us if the
              > JNDI is
              > ready for the cluster.
              >
              > We believe this was used because the 'system' user has to be
              > authenticated before the custom realm is up. Originally, before this
              > check was in place, an exception was received when authenticating
              > 'system'. This appears to be a weblogic limitation/issue. Support
              > has told us that this is different in weblogic 7.0. Unfortunately, we
              > can't upgrade from 6.1 yet.
              >
              > We'll post the solution when this gets figured out.
              >
              > Rak
              >
              > "Sabha" <[email protected]> wrote in message news:<[email protected]>...
              > > There was a security restriction enforced from sp2/sp3 onwards in terms of
              > > looking up mbeans from admin server.
              > >
              > > This might cause things to fail if you are attempting to lookup Mbeans with
              > > guest priviliges from admin server. Also, can you try doing the following:
              > >
              > > Run " java weblogic.Admin -url adminServer -username system -password
              > > .... -GET -pretty -type Server" and check whether the named clustermember1
              > > is available in the list or not.
              > >
              > > Also you seem to be getting some security exception - can you check that.
              > >
              > > t3://tomtate.msais.com:7119: Destination
              > > unreachable; nested exception is:
              > >
              > > --- Try running weblogic.Admin PING on this one and see whether you are
              > > able to reach this server upon the error message.
              > >
              > > --Sabha
              > >
              > > "Rich Koch" <[email protected]> wrote in message
              > > news:[email protected]...
              > > > We have spent a lot of time trying to get our application deployed to
              > > > a cluster using weblogic 6.1 sp3 and we consistently receive a failure
              > > > when we attempt to start the managed server. This was not a problem
              > > > with weblogic sp1--we got our application to deploy to the cluster
              > > > successfully; although there was another weblogic bug there with
              > > > clients accessing EJB clusters--we won't go into that here...
              > > >
              > > > We have tried this on both a Windows 2000 machine and an HP machine
              > > > running weblogic sp3. The same error occurs on both platforms.
              > > >
              > > > The error in deploying our application to the cluster against weblogic
              > > > sp3 looks to have to do with our custom security realm. Inside our
              > > > custom realm we make use of a configurable providerUrl which we set to
              > > > the cluster address/port. The custom realm makes a call where it
              > > > passes in the providerUrl to:
              > > > weblogic.management.Helper.getMBeanHome(..., providerUrl,...)
              > > >
              > > > When we have our providerUrl set to the cluster address/port--e.g.,
              > > > t3://clustermember1:7001
              > > >
              > > > and attempt to start the managed server we get the error:
              > > >
              > > > Starting WebLogic Server ....
              > > > Connecting to http://adminserver:7117...
              > > >
              > ***************************************************************************
              > > > The WebLogic Server did not start up properly.
              > > > Exception raised:
              > > > weblogic.management.configuration.ConfigurationException:
              > > > clustermember1 not found
              > > > at weblogic.management.Admin.getBootstrapLocalServer(Admin.java:1084)
              > > > at weblogic.management.Admin.initialize(Admin.java:340)
              > > > at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:359)
              > > > at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:206)
              > > > at weblogic.Server.main(Server.java:35)
              > > > Reason: Fatal initialization exception
              > > >
              > ***************************************************************************
              > > >
              > > > When we have our providerUrl set to the admin server address--e.g.,
              > > > t3://adminserver:7117
              > > >
              > > > everything starts up fine.
              > > >
              > > > Does anyone know why this would work on sp1 and not sp3 of weblogic
              > > > 6.1?
              > > > We verified that all passwords are correct and everything else we
              > > > could determine--any ideas would be helpful.
              > > >
              > > > We don't want the providerUrl to point at our admin server, we want it
              > > > to point at the cluster address/port.
              > > >
              > > > When we get the managed server error, we received this error on the
              > > > AdminServer:
              > > >
              > > > 2002-08-15 16:52:23,019 ERROR [ExecuteThread: '11' for queue:
              > > > 'default'] (com.msa.gabriel.share.security.wlrealm.GabrielRealm) -
              > > > Caught naming exception null; throwing RuntimeException.
              > > > javax.naming.CommunicationException. Root exception is
              > > > java.net.ConnectException: t3://tomtate.msais.com:7119: Destination
              > > > unreachable; nested exception is:
              > > > java.net.ConnectException: Connection refused; No available router to
              > > > destination
              > > > at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
              > > > at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:207)
              > > > at
              > > weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
              > > textFactoryDelegate.java:307)
              > > > at
              > > weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialCon
              > > textFactoryDelegate.java:211)
              > > > at
              > > weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFact
              > > ory.java:149)
              > > > at
              > javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)
              > > > at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:246)
              > > > at javax.naming.InitialContext.init(InitialContext.java:222)
              > > > at javax.naming.InitialContext.<init>(InitialContext.java:198)
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm.getNamingContext(Gabriel
              > > Realm.java:416)
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm.getConnection(GabrielRea
              > > lm.java:347)
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm.access$000(GabrielRealm.
              > > java:51)
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm$2.run(GabrielRealm.java:
              > > 225)
              > > > at weblogic.security.acl.Security.doAsPrivileged(Security.java:489)
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm.myDoAsPrivileged(Gabriel
              > > Realm.java:578)
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm.getUser(GabrielRealm.jav
              > > a:221)
              > > > at weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:832)
              > > > at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:696)
              > > > at weblogic.security.acl.Security.getCurrentUser(Security.java:250)
              > > > at
              > > weblogic.servlet.security.internal.SecurityModule.auditPerm(SecurityModule.j
              > > ava:356)
              > > > at
              > > weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(Servle
              > > tSecurityManager.java:205)
              > > > at
              > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              > > ntext.java:2518)
              > > > at
              > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              > > :2260)
              > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > > > <Aug 15, 2002 4:52:23 PM EDT> <Error> <HTTP>
              > > >
              > > <[WebAppServletContext(8091823,wl_management_internal2,/wl_management_intern
              > > al2)]
              > > > Servlet failed with Exception
              > > > java.lang.RuntimeException
              > > > at
              > > com.msa.gabriel.share.security.wlrealm.GabrielRealm.getUser(GabrielRealm.jav
              > > a:260)
              > > > at weblogic.security.acl.CachingRealm.getUserEntry(CachingRealm.java:832)
              > > > at weblogic.security.acl.CachingRealm.getUser(CachingRealm.java:696)
              > > > at weblogic.security.acl.Security.getCurrentUser(Security.java:250)
              > > > at
              > > weblogic.servlet.security.internal.SecurityModule.auditPerm(SecurityModule.j
              > > ava:356)
              > > > at
              > > weblogic.servlet.security.internal.ServletSecurityManager.checkAccess(Servle
              > > tSecurityManager.java:205)
              > > > at
              > > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              > > ntext.java:2518)
              > > > at
              > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              > > :2260)
              > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              > > >
              > > >
              > > > Thanks for any help.
              > > >
              > > > Rich
              

  • Deployed application is not picked up during weblogic startup

    I'm having this strange problem, my application is deployed with java.Deployer
    tool, works fine, then when ever i reboot the weblogic server, the application
    is not accessible untill i explicitly redeploy it again.
    Please help!

    http://e-docs.bea.com/wls/certifications/certs_810/overview.html
    Looks 141_03. But you have to understand what "certification" means.
    Typically within minor revs of the VM 141_03 and 142 you are ok and there
    should be no problems.
    As for the proving it to you... There were lots of changes and improvemetns
    to the 8.1 code line for deployment. As for knowing what your testing for,
    OOM is a general error with no clear indication of where the problem lies,
    its not clear if it is WLS version or the VM itself. I am sure you know the
    hard answer there, it takes digging in with a profiler to find the culprit.
    You have two options:
    1) Drill down with a profiler in your env and figure out exactly WHAT is the
    cause of the leak in the current environment
    2) switch between different app verndors/versions and VMs.
    Either way you have alot of varialbes to track, take care of and compare.
    There is no silver bullet as always.
    Cheers
    mbg
    "Stephen" <[email protected]> wrote in message
    news:[email protected]...
    >
    BTW, is 8.1 certified with 1.4.2 on Solaris/Sparc yet? Otherwise it is anon-starter
    >
    "Stephen" <[email protected]> wrote:
    SOS, we hear this one all the time, the new and improved version fixes
    the problem.
    Is this a 1.4.2 fix that helps 8.1 or something in the code that is
    different?
    be specific, I have this problem as well and am not willing to give it
    another
    try unless I know what I am testing for.
    "Mark Griffith" <[email protected]> wrote:
    My suggestion would be to try 8.1, I developed many sample applications
    over
    the course of the release and never had to restart the server and could
    continually redeploy. The worst it got was having to completely
    undeploy
    and redeploy the application. (undeploy + redeploy is different that
    just
    redeploy).
    Cheers
    mbg
    "Tom Wilson" <[email protected]> wrote in message
    news:[email protected]...
    This probably doesn't help but....we were doing our initial
    development
    using
    Weblogic 7.0 using 1.3.1_08 but finally we got tired of dealing withthe
    out
    of memory issues resulting from continuously deploying new versionsof JSP
    pages on our system. We found that running into the "Out of Memory"exceptions
    combined with restarting and redeploying the app wasted too much time- an
    average of 7 minutes about 7-8 times a day resulting in about 1 hourworth
    of downtime for each developer using Weblogic. We finally trieddeveloping
    our system with Tomcat and OpenEJB and now we never get "Out of
    Memory"
    exceptions requiring us to restart Tomcat - provided we are onlyworking
    on JSP's.
    Also, we used JDK 1.4.2 with Tomcat which helps get around the memoryleak
    issue
    that results from compiling JSP's using JDK 1.3.1.
    My suggestion...try something else
    "Stephen Westbom" <[email protected]> wrote:
    I have had the same problem with Weblogic 7.0 sp4 using 1.3.1_08.
    I
    found that
    turning off deadspot helps (otherwise known as hotspot).
    It makes it unusable after a while in a production environment.
    Our
    firm is considering
    switching to JBoss because it is simpler and more reliable, despiteno
    good user
    friendly deployment tools.
    Weblogic concentrates too much on bells and whistles that sound good
    rather than
    reliability and usability. I guess existing customers are not asimportant
    as
    new business.
    "Dmitry Amelchenko" <[email protected]> wrote:
    Also, I don't know if that helps, but in general we've been
    experiencing
    some
    other problems with the web logic deployment. For instance, aftera
    number
    of
    redeployments, the application throwth OutOfMemoryException (about
    10
    deployments
    MAX).
    Internally we've been discussing what's the best way of deployingthe
    ear application
    into the weblogic -- using java deploy tool, or using hot deployby
    just
    dropping
    the app in a particular bea folder.
    Is there a prefered/recommended way of deployment?
    If not, what people have found to be the most stable way of
    deploying?
    >>>>>>
    Please help!
    P.S. I'm little dissappointed, isn't bea an industry leader? Isn'tit
    supposed
    to take all these little issues away from the developpers so theycan
    concentrate
    on solving the business problems? It has not been the case for usso
    far. BTW
    -- JBOSS just works.
    "Dmitry" <[email protected]> wrote:
    I'm having this strange problem, my application is deployed with
    java.Deployer
    tool, works fine, then when ever i reboot the weblogic server,
    the
    application
    is not accessible untill i explicitly redeploy it again.
    Please help!

  • 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

  • Problem about get the workflow context

    There are 2 servers.
    One is Weblogic server (server1), deployed a fusion web project on it.
    Another is BPM server (server2), deployed the bpm process on it.
    On the fusion web project, we use API to get the tasks. But we encountered a problem about get the workflow context.
    There are 2 method to get the workflow context.
    1. getTaskQueryService().authenticate(userId, password, null, null), this method need to pass in useId and password, we can get the user form request but can't get
    password.
    2. getTaskQueryService().createContext(request), we pass the request on server1, but can't get the context on server2, exception thrown.
    Appreciate if you can give some help.

    javax.el.ELException: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[jcooper, ERole]
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         Truncated. see log file for complete stacktrace
    Exception thrown when createContext()

  • Question about Weblogic

    Hello,
    I have a question about Weblogic and would like someone to help me with it.
    I created a JSP and everything was doing fine while i was testing it in Tomcat. But once I started the tests with Weblogic, it seemed Weblo wasn't accepting a class that i used to call from my JPS ( a sax parser). Instead of using my parser, Weblogic was using his default SAXParser, what causes problems to my JSP. Trying to solve this, I changed the classpath in Weblo and putted the jar of my parser in the beginning of the classpath, but it still didn't work. Does anyone have an idea of why Weblogic don't accept my parser and uses its default parser instead?
    Thanks in advance!!
    M@G

    naveen.g wrote:
    How to get the path of the domain, where my application is running, in a java code?
    For example, my domain path is "D:\bea\user_projects\domains\production". How to get this path dynamically?Please start a new topic instead of resurrecting an old and non-related thread and hijacking others' threads.

  • I need to know how to disable the forget about this site feature.

    I have disabled the inprivate browsing feature and I need to know how to disable the forget about this site feature. I have a teenager and this is not a feature that I want available.

    Some info here (group policy) --> http://www.unidesk.com/blog/how-disable-firefox-auto-updates<br />
    Above article refers to --> http://sourceforge.net/projects/firefoxadm/
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • JMS Warning on weblogic startup

    The JMS experts may here know better. Looking hard to resolve this issue relaated to JMS. can anyone help here.
    Re: JMS Warning on weblogic startup

    I'm not familiar it, but apparently there's a feature in the security subsystem that allows propagating security information for "L2 Caches" via JMS, and it is this feature that's generating the Warning -- not JMS itself.
    I do not happen to know how this feature works, what kind of JMS configuration it expects, or if the Warning is simply a natural ephemeral part of the boot/initialization process of the security feature that can be ignored.
    You might want to try posting to the "WebLogic Server - Security" newsgroup.
    Tom

Maybe you are looking for

  • Refreshing Webservices in Search (caching problem?)

    Hi, I've developed some EJBs and deployed them to the WAS. I then created a WSIL Destination in NWA. In Visual Composer I see the methods in my Search Pane no prolem. I have since added 2 new methods to my service, deployed them, and tested them in W

  • Help with downloading new version of flash player not accepting password

    I am having trouble downloading the new flash player version.  Adobe is not excepting my password even with changing it several times.  Need help with downloading the new version.

  • IE stops working when trying to open a PDF on the web.

    I have checked the add-ons and Adobe Reader is enabled. I have the file AcroIEHelperShim.dll installed. When I try to open a PDF from a web page, IE stops working. What to do?

  • Can old iMac be retro-fitted to communicate w/ new iMac Intel?

    After reading a few of the posts here I'm skeptical about the possibility of going wireless for the first time with my old iMac. I have no airport card for it and since I'm giving up the dial-up service I'd still like to access the internet with both

  • Trying to get rxvt background solid

    Here is my ~/.Xdefaults, bolded are background and transparency commented out: Xcursor.theme: ComixCursors-Black-Regular !Xcursor.theme: Grounation background: #000000 *foreground: #efefcf !Colors ! Black *color0: #5A5A5A *color8: #909090 ! Red *colo