Is it safe to cache stubs to SLSBs?
Hi,
I have a question which might actually be rather dumb: Is it safe to cache EJB3 stubs? Are they thread-safe?
In other words, if I perform a lookup like that:
MyBeanLocal myBeanLocal = (MyBeanLocal)ctx.lookup("...blah-blah...");can I then safely store the myBeanLocal stub somewhere and let multiple clients access it simultaneously?
I ran a short test with 10 concurrent threads accessing one and the same stub and calling a long-running method on the SLSB. They each managed to obtain a separate instance of the EJB from the pool and the long-running method was able to run in parallel.
But then again, even if the stub can produce different instances of the EJB, this doesn't necessarily mean that it's thread-safe or, even if it is, that it scales well for thousands of users.
Can anybody tell me what the best approach is?
Best regards,
Bisser
HI,
Cache can be deleted , i mean the entries can be refreshed.
see the below link
http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/28e1c20a9d374cbb71875c5f89093b/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/c7/5c564077d96f13e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/12/5dd23aaad7b3408dde3c1577fda5b3/content.htm
Regards
Chilla
Similar Messages
-
Error deploying application: error retrieving component [ caching Stub] Pro
Hi we are using web logic 6.1, everything was working fine untill we restarted the server. once i restarted i got this error...
Error deploying application m1_model_responsecurvefacility.jar: error retrieving component [Caching Stub]Proxy for m192:ApplicationConfig=m1_model_responsecurvefacility.jar,Location=m192admin,Name=m1_model_responsecurvefacility.jar,Type=EJBComponentConfig>
can i know what are all the possible cause for this error to occur ?####<Jan 14, 2008 9:24:06 PM EST> <Info> <Logging> <server> <m192admin> <main> <> <> <000000> <FileLogger Opened.>
####<Jan 14, 2008 9:24:22 PM EST> <Notice> <WebLogicServer> <server> <m192admin> <main> <system> <> <000327> <Starting WebLogic Admin Server "m192admin" for domain "m192">
####<Jan 14, 2008 9:24:22 PM EST> <Info> <WebLogicServer> <server> <m192admin> <main> <system> <> <000214> <WebLogic Server "m192admin" version:
WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
WebLogic XML Module 6.1 SP2 12/18/2001 11:28:02 #154529
(c) 1995, 1996, 1997, 1998 WebLogic, Inc.
(c) 1999, 2000, 2001 BEA Systems, Inc.>
####<Jan 14, 2008 9:24:22 PM EST> <Info> <WebLogicServer> <server> <m192admin> <main> <system> <> <000215> <Loaded License : /opt/weblogic_m1/61sp2/license.bea>
####<Jan 14, 2008 9:24:38 PM EST> <Info> <Connector> <server> <m192admin> <main> <system> <> <190000> <Initializing J2EE Connector Service>
####<Jan 14, 2008 9:24:38 PM EST> <Info> <Connector> <server> <m192admin> <main> <system> <> <190001> <J2EE Connector Service initialized successfully>
####<Jan 14, 2008 9:24:40 PM EST> <Info> <WebLogicServer> <server> <m192admin> <main> <system> <> <000000> <IIOP subsystem enabled.>
####<Jan 14, 2008 9:24:40 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101128> <Initializing HTTP services.>
####<Jan 14, 2008 9:24:40 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101133> <Initializing WEB server m192admin>
####<Jan 14, 2008 9:24:40 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101052> <[HTTP m192admin] Initialized>
####<Jan 14, 2008 9:24:40 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101135> <m192admin is the default web server>
####<Jan 14, 2008 9:24:40 PM EST> <Info> <J2EE> <server> <m192admin> <main> <system> <> <000000> <J2EE service initializing>
####<Jan 14, 2008 9:24:41 PM EST> <Info> <JMS> <server> <m192admin> <main> <system> <> <040090> <Deployed 4 default connection factories.>
####<Jan 14, 2008 9:24:41 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101129> <Initializing Web services.>
####<Jan 14, 2008 9:24:41 PM EST> <Info> <HTTP m192admin> <server> <m192admin> <main> <system> <> <000000> <Log rotation is size based>
####<Jan 14, 2008 9:24:44 PM EST> <Info> <HTTP Session> <server> <m192admin> <main> <system> <> <100037> <Creating SessionContext of type: memory for webapp: /bea_wls_internal>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(3029388,bea_wls_internal,/bea_wls_internal)] registering classpath servlet with initArgs 'null'>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(3029388,bea_wls_internal,/bea_wls_internal)] registering getior servlet with initArgs 'null'>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(3029388,bea_wls_internal,/bea_wls_internal)] registering tunneling servlets with initArgs 'wl-dispatch-policy=direct'>
####<Jan 14, 2008 9:24:45 PM EST> <Debug> <HTTP> <server> <m192admin> <main> <system> <> <101097> <Registering ServletContext: "bea_wls_internal:/bea_wls_internal">
####<Jan 14, 2008 9:24:45 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101051> <[HTTP m192admin] started>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <ZAC> <server> <m192admin> <main> <system> <> <000000> <ZAC ACLs initialized>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <ZAC> <server> <m192admin> <main> <system> <> <000000> <ZAC packages stored in local directory exports>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vendor = Sun Microsystems Inc.>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: os.name = SunOS>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: sun.boot.class.path = /opt/weblogic_m1/MercuryDiagnostics/JAVAProbe/classes/boot:/opt/weblogic_m1/61sp2/jdk131/jre/lib/rt.jar:/opt/weblogic_m1/61sp2/jdk131/jre/lib/i18n.jar:/opt/weblogic_m1/61sp2/jdk131/jre/lib/sunrsasign.jar:/opt/weblogic_m1/61sp2/jdk131/jre/classes>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.specification.vendor = Sun Microsystems Inc.>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.runtime.version = 1.3.1_01>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: maxBH = 49999>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.Name = m192admin>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: jmx.implementation.vendor = Sun Microsystems>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: user.name = m192>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: bea.home = /opt/weblogic_m1/61sp2>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: javax.xml.parsers.SAXParserFactory = weblogic.xml.jaxp.RegistrySAXParserFactory>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.naming.factory.initial = weblogic.jndi.WLInitialContextFactory>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: jmx.implementation.name = JMX RI>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: user.language = en>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: sun.boot.library.path = /opt/weblogic_m1/61sp2/jdk131/jre/lib/sparc>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: vo.poolingString = false>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: jmx.specification.name = Java Management Extensions>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.version = 1.3.1_01>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.collection.finders = true>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: user.timezone = America/New_York>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: m1tempproxy.MaxTries = 1>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: javax.rmi.CORBA.UtilClass = weblogic.iiop.UtilDelegateImpl>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: jmx.specification.version = 1.0 Final Release>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: jmx.implementation.version = 1.0>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: sun.cpu.isalist = sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: file.encoding.pkg = sun.io>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: file.separator = />
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.specification.name = Java Platform API Specification>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.email.host = ponyex.capitalone.com>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.class.version = 47.0>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.home = /opt/weblogic_m1/61sp2/jdk131/jre>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: javax.xml.parsers.DocumentBuilderFactory = weblogic.xml.jaxp.RegistryDocumentBuilderFactory>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.info = mixed mode>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.email.sender = [email protected]>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: os.version = 5.8>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: probe.id = hulk_m192>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.url = t3://localhost:7092>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.awt.fonts = >
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: path.separator = :>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.version = 1.3.1_01>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.protocol.handler.pkgs = weblogic.net|weblogic.management|weblogic.utils>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: jmx.specification.vendor = Sun Microsystems>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.awt.printerjob = sun.awt.motif.PSPrinterJob>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.security.policy = =/opt/weblogic_m1/61sp2/wlserver6.1/lib/weblogic.policy>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: sun.io.unicode.encoding = UnicodeBig>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.naming.factory.url.pkgs = weblogic.jndi.factories>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: user.home = /export/home/m1/m192>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: SMS_HOME = /m1/src/m192/sms>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.specification.vendor = Sun Microsystems Inc.>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: org.xml.sax.driver = weblogic.apache.xerces.parsers.SAXParser>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.library.path = /opt/weblogic_m1/61sp2/jdk131/jre/bin/../lib/sparc/hotspot:/opt/weblogic_m1/61sp2/jdk131/jre/bin/../lib/sparc:::/opt/hpnpl/lib:/opt/weblogic_m1/61sp2/wlserver6.1/lib/solaris:/opt/weblogic_m1/61sp2/wlserver6.1/lib/solaris/oci816_8:/usr/lib>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vendor.url = http://java.sun.com/>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.vendor = Sun Microsystems Inc.>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.runtime.name = Java(TM) 2 Runtime Environment, Standard Edition>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.class.path = /opt/weblogic_m1/61sp2/wlserver6.1:/opt/weblogic_m1/61sp2/wlserver6.1/lib/weblogic_sp.jar:/opt/weblogic_m1/61sp2/wlserver6.1/lib/weblogic.jar:/m1/src/m192/commons-net-1.3.0.jar:config/m192/applications:/m1/src/m192:/opt/weblogic_m1/61sp2/wlserver6.1/lib/ejb20.jar:/m1/src/m192/aspectjrt.jar:/m1/src/m192/activation.jar:/m1/src/m192/techteam.jar:/m1/src/m192/jce1_2-do.jar:/m1/src/m192/junit.jar:/m1/src/m192/httpunit.jar:/m1/src/m192/Tidy.jar:/m1/src/m192/crypto.jar:/m1/src/m192/entbase.jar:/m1/src/m192/performance.jar:/m1/src/m192/logging.jar:/m1/src/m192/smartupload.jar:/m1/src/m192/connectionfilter.jar:/m1/src/m192/jaxb-api.jar:/m1/src/m192/jaxb-libs.jar:/m1/src/m192/jaxb-ri.jar:/m1/src/m192/saaj-api.jar:/m1/src/m192/saaj-ri.jar:/m1/src/m192/dom4j.jar:/m1/src/m192/commons-logging.jar:/m1/src/m192/poi.jar:/m1/src/m192/fakeGA.jar>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.Domain = m192>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.specification.name = Java Virtual Machine Specification>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: javax.rmi.CORBA.PortableRemoteObjectClass = weblogic.iiop.PortableRemoteObjectDelegateImpl>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.specification.version = 1.0>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: sun.cpu.endian = big>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.io.tmpdir = /var/tmp/>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.system.name = m192>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: entity.auditlog = true>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: os.arch = sparc>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.ext.dirs = /opt/weblogic_m1/61sp2/jdk131/jre/lib/ext>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: user.dir = /opt/weblogic_m1/61sp2/wlserver6.1>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: line.separator =
>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.vm.name = Java HotSpot(TM) Client VM>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: m1proxy.MaxTries = 1>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.management.discover = false>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: loadPS = false>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: file.encoding = 646>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: weblogic.ProductionModeEnabled = false>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: java.specification.version = 1.3>
####<Jan 14, 2008 9:24:45 PM EST> <Info> <Management> <server> <m192admin> <main> <system> <> <141034> <Java system property: javax.xml.transform.TransformerFactory = weblogic.xml.jaxp.RegistrySAXTransformerFactory>
####<Jan 14, 2008 9:24:49 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101053> <[HTTP m192admin] Loading web app: wl_management_internal2>
####<Jan 14, 2008 9:24:49 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101059> <[m192admin] Loading wl_management_internal2 from WAR file: /opt/weblogic_m1/61sp2/wlserver6.1/./config/m192/applications/.wlnotdelete/wl_comp3387.war>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101031> <[WebAppServletContext(4777931,wl_management_internal2,/wl_management_internal2)] extracting classfiles to /m1/src/m192/applications/.wlnotdelete/WEB-INF/_tmp_war_m192admin_m192admin_wl_management_internal2:>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101032> <[WebAppServletContext(4777931,wl_management_internal2,/wl_management_internal2)] extracted classfiles successfully...>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP Session> <server> <m192admin> <main> <system> <> <100037> <Creating SessionContext of type: memory for webapp: /wl_management_internal2>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4777931,wl_management_internal2,/wl_management_internal2)] registering classpath servlet with initArgs 'null'>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4777931,wl_management_internal2,/wl_management_internal2)] registering getior servlet with initArgs 'null'>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4777931,wl_management_internal2,/wl_management_internal2)] registering tunneling servlets with initArgs 'wl-dispatch-policy=direct'>
####<Jan 14, 2008 9:25:02 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4777931,wl_management_internal2,/wl_management_internal2)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=/m1/src/m192/applications/.wlnotdelete/WEB-INF/_tmp_war_m192admin_m192admin_wl_management_internal2,pageCheckSeconds=1,superclass=null,keepgenerated=false,compilerSupportsEncoding=false,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
####<Jan 14, 2008 9:25:03 PM EST> <Debug> <HTTP> <server> <m192admin> <main> <system> <> <101097> <Registering ServletContext: "wl_management_internal2:/wl_management_internal2">
####<Jan 14, 2008 9:25:03 PM EST> <Info> <J2EE> <server> <m192admin> <main> <system> <> <160003> <Deployed : wl_management_internal2>
####<Jan 14, 2008 9:25:04 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101053> <[HTTP m192admin] Loading web app: console>
####<Jan 14, 2008 9:25:04 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101059> <[m192admin] Loading console from WAR file: /opt/weblogic_m1/61sp2/wlserver6.1/./config/m192/applications/.wlnotdelete/wl_comp3389.war>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101031> <[WebAppServletContext(4340768,console,/console)] extracting classfiles to /m1/src/m192/applications/.wlnotdelete/WEB-INF/_tmp_war_m192admin_m192admin_console:>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101032> <[WebAppServletContext(4340768,console,/console)] extracted classfiles successfully...>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP Session> <server> <m192admin> <main> <system> <> <100037> <Creating SessionContext of type: memory for webapp: /console>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4340768,console,/console)] registering classpath servlet with initArgs 'null'>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4340768,console,/console)] registering getior servlet with initArgs 'null'>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4340768,console,/console)] registering tunneling servlets with initArgs 'wl-dispatch-policy=direct'>
####<Jan 14, 2008 9:25:07 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(4340768,console,/console)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=/m1/src/m192/applications/.wlnotdelete/WEB-INF/_tmp_war_m192admin_m192admin_console,pageCheckSeconds=1,superclass=weblogic.servlet.jsp.JspBase,keepgenerated=false,compilerSupportsEncoding=false,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
####<Jan 14, 2008 9:25:08 PM EST> <Debug> <HTTP> <server> <m192admin> <main> <system> <> <101097> <Registering ServletContext: "console:/console">
####<Jan 14, 2008 9:25:08 PM EST> <Info> <J2EE> <server> <m192admin> <main> <system> <> <160003> <Deployed : console>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101053> <[HTTP m192admin] Loading web app: wl_management_internal1>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101059> <[m192admin] Loading wl_management_internal1 from WAR file: /opt/weblogic_m1/61sp2/wlserver6.1/./config/m192/applications/.wlnotdelete/wl_comp3391.war>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101031> <[WebAppServletContext(2130451,wl_management_internal1,/wl_management_internal1)] extracting classfiles to /m1/src/m192/applications/.wlnotdelete/WEB-INF/_tmp_war_m192admin_m192admin_wl_management_internal1:>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101032> <[WebAppServletContext(2130451,wl_management_internal1,/wl_management_internal1)] extracted classfiles successfully...>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP Session> <server> <m192admin> <main> <system> <> <100037> <Creating SessionContext of type: memory for webapp: /wl_management_internal1>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(2130451,wl_management_internal1,/wl_management_internal1)] registering classpath servlet with initArgs 'null'>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(2130451,wl_management_internal1,/wl_management_internal1)] registering getior servlet with initArgs 'null'>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(2130451,wl_management_internal1,/wl_management_internal1)] registering tunneling servlets with initArgs 'wl-dispatch-policy=direct'>
####<Jan 14, 2008 9:25:08 PM EST> <Info> <HTTP> <server> <m192admin> <main> <system> <> <101047> <[WebAppServletContext(2130451,wl_management_internal1,/wl_management_internal1)] registering JSPServlet with initArgs '[JspConfig: verbose=true,packagePrefix=jsp_servlet,-compiler=javac,compileFlags=,workingDir=/m1/src/m192/applications/.wlnotdelete/WEB-INF/_tmp_war_m192admin_m192admin_wl_management_internal1,pageCheckSeconds=1,superclass=null,keepgenerated=false,compilerSupportsEncoding=false,encoding=null,defaultfilename=index.jsp,compilerclass=null,noTryBlocks=false]'>
####<Jan 14, 2008 9:25:08 PM EST> <Debug> <HTTP> <server> <m192admin> <main> <system> <> <101097> <Registering ServletContext: "wl_management_internal1:/wl_management_internal1">
####<Jan 14, 2008 9:25:08 PM EST> <Info> <J2EE> <server> <m192admin> <main> <system> <> <160003> <Deployed : wl_management_internal1>
####<Jan 14, 2008 9:25:15 PM EST> <Info> <JDBC Pool M1Pool> <server> <m192admin> <main> <system> <> <000000> <Cannot set refreshTestMinutes with '0'. Will use 5 minutes.>
####<Jan 14, 2008 9:25:27 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001068> <Connection for pool "M1Pool" created.>
####<Jan 14, 2008 9:25:27 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001068> <Connection for pool "M1Pool" created.>
####<Jan 14, 2008 9:25:27 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001068> <Connection for pool "M1Pool" created.>
####<Jan 14, 2008 9:25:27 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001068> <Connection for pool "M1Pool" created.>
####<Jan 14, 2008 9:25:27 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001068> <Connection for pool "M1Pool" created.>
####<Jan 14, 2008 9:25:28 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001082> <Creating Data Source named M1DataSource-M1Pool for pool M1Pool>
####<Jan 14, 2008 9:25:28 PM EST> <Info> <JDBC> <server> <m192admin> <main> <system> <> <001070> <Checking existence of connection pool M1Pool requested by user system>
####<Jan 14, 2008 9:25:28 PM EST> <Info> <JMS> <server> <m192admin> <main> <system> <> <040090> <Deployed 4 default connection factories.>
####<Jan 14, 2008 9:25:31 PM EST> <Info> <JMS> <server> <m192admin> <main> <system> <> <040054> <JMSServer "JMSServer-0", no persistent store configured.>
####<Jan 14, 2008 9:25:33 PM EST> <Info> <JMS> <server> <m192admin> <main> <system> <> <040010> <JMSServer "JMSServer-0", configured no session pools.>
####<Jan 14, 2008 9:25:33 PM EST> <Info> <JMS> <server> <m192admin> <main> <system> <> <040109> <JMSServer "JMSServer-0" is started.>
####<Jan 14, 2008 9:25:39 PM EST> <Info> <EJB> <server> <m192admin> <main> <system> <> <010008> <EJB Deploying file: m1_model_bbamfacility.jar>
####<Jan 14, 2008 9:25:39 PM EST> <Warning> <J2EE> <server> <m192admin> <main> <system> <> <160007> <You are running WebLogic Server with J2EE 1.3 features enabled. The implementation of specific J2EE 1.3 features (EJB 2.0, JSP 1.2, Servlet 2.3, and J2EE Connector Architecture 1.0) in BEA WebLogic Server 6.1 is of a non-final version of the appropriate specification. It is subject to change in future releases once the specification becomes finalized. This may cause application code developed for BEA WebLogic Server 6.1 that uses the new features of J2EE 1.3 to be incompatible with the J2EE 1.3 platform supported in future releases of BEA WebLogic Server.>
####<Jan 14, 2008 9:25:41 PM EST> <Warning> <EJB> <server> <m192admin> <main> <system> <> <010001> <EJB Deployment: bbamfacility cannot be redeployed while the server is running. com.capitalone.intranet.solicitation.model.bbamfacility.BbamFacilityBean is located in the server's classpath.>
####<Jan 14, 2008 9:25:41 PM EST> <Warning> <EJB> <server> <m192admin> <main> <system> <> <010001> <EJB Deployment: bbamfacility cannot be redeployed while the server is running. com.capitalone.intranet.solicitation.model.bbamfacility.BbamFacilityHome is located in the server's classpath.>
####<Jan 14, 2008 9:25:41 PM EST> <Warning> <EJB> <server> <m192admin> <main> <system> <> <010001> <EJB Deployment: bbamfacility cannot be redeployed while the server is running. com.capitalone.intranet.solicitation.model.bbamfacility.BbamFacility is located in the server's classpath.>
####<Jan 14, 2008 9:25:42 PM EST> <Warning> <EJB> <server> <m192admin> <main> <system> <> <010001> <EJB Deployment: parameterentity cannot be redeployed while the server is running. com.capitalone.intranet.solicitation.model.bbamfacility.parameterentity.ParameterEntityBean is located in the server's classpath.>
####<Jan 14, 2008 9:25:42 PM EST> <Warning> <EJB> <server> <m192admin> <main> <system> <> <010001> <EJB Deployment: parameterentity cannot be redeployed while the server is running. com.capitalone.intranet.solicitation.model.bbamfacility.parameterentity.ParameterEntityHome is located in the server's classpath.>
####<Jan 14, 2008 9:25:42 PM EST> <Warning> <EJB> <server> <m192admin> <main> -
The case:
I have a case where I hold configuration about a web page in an xml-file. The configuration is cached in memory on first request then I retrieve the configuration from memory on every following request. If the configuration in the xml-file changes between requests I will release the current configuration from memory and renew it by reading from the file.
Since we are talking about http requests all this will happen in a heavy loaded multithreaded environment.
The current solution:
+public class ConfigFile {+
private static final ConfigCache REGISTRY;
+static {+
REGISTRY = ModuleRegistry.create();
+}+
+public static Element getConfigElement(final String configKey) {+
Element configElm = null;
+if(configFileIsChanged()) {+
REGISTRY.clear();
+}+
+if((configElm = REGISTRY.get(configKey)) == null) {+
+... //Reload configuration from xml-file+
REGISTRY.put(configKey, configElm);//and save to registry
+}+
return configElm;//Return config data as an xml-element
+}+
+... //Class impl..+
+//This inner class holds the configuration as dom element parts+
+private static class ConfigCache {+
+private HashMap<String, Element> _moduleRegistry;+
+public synchronized void put(final String key, final Element elm) {+
_moduleRegistry.put(key, elm);+
+}+
+public synchronized Element get(final String module) {+
+return _moduleRegistry.get(key);+
+}+
+public synchronized void clear() {+
_moduleRegistry.clear();+
+}+
+public static ConfigCache create(){+
return new ConfigCache();
+}+
+}+
+}+
Since the registry is declared as a class variable in the ConfigFile class I handle the put and get operations to it by synchronizing the access.
The problem/question:
Is if this is enough to handle possible threading issues when it comes to invalidating the registry. What happens if some thread tries to "get" from the registry when another just cleared it? I guess it needs to wait until it's reloaded, right?
Regards
JohannesI wasn't clear enough in my previous post. Sorry for that.
The code will be executed in a servlet/JSP environment but it's not really relevant in this case except for the fact that there will be multiple threads accessing this code.
Think of it as an in memory data storage with information that will be read from the memory. The memory in this case is implemented as a static HashMap (the ConfigCache). I've wrapped it in the ConfigCache class since I want to synchronize the access to the put and get. All threads have access to the configuration file through the static method call ConfigFile.getModuleElement(somElementName);. This method is not synchronized.
Suppose we have 20 threads accessing this code concurrently. I'm not sure how the code will behave when this executes. My guess is that the critical parts are when one thread clears the HashMap, another tries to put something to the Map and another tries to get something.
I made an assertation test where I expected different results from 5 randomly executed web requests with 20 active threads reading and writing to the Map (the ConfigCache). It succeeds but I'm still not sure if I'm on the right track.
I've read a lot about this but I have not found any material describing this as clearly as I want it. In most cases they only explain how to use synchronized blocks and methods.
Are you with me or do you still think this belong in the servlet forum? Maybe it does?
BTW. How do I use code tags? -
Hi all,
I was wondering if anyone could give me a conclusive explanation regarding the caching options for EJB objects(SLSB, and Entity Beans), both home/remote and localHome/local.
I have read a lot of various EJB documentations including a fairly thorough look into the spec, and have about 2 years of practical expirience with EJBs.
The matter that is still vague to me after all this time is the matter of caching and reusing EJB references. practical expirience and some documentation lead me to believe that caching an EJB reference of any kind is hazardous. From what I saw the spec never adresses this issue in a straightforward conclusive manner. It does discuss some failover scenarios and the use of EJB handles as both optionally a persistent reference and a "long living" refernce, but never in a context that is "spec mandatory" and "encapsulates" the whole picture.
Now, there is no fundamental difference between caching a reference or using one that is locally scoped in a single method, except the time it is expected to be "alive", which is, by definition, a relative and unmeasurable matter.
Theoretically, I am sure there is no problem implementing references, which are actually client "proxies", stubs, in a way that will not be dependent of an exact instance, but rather on an abstract EJB ID(which may indeed cause a performance overhead).
Anyway, I don't want to get into implementation details, I am simply looking for a clear explanation about the matter of "long living" references, and what is mandatory by EJB specification.
Thanks for any insights....
I also crossposted to EJB forum -> http://forum.java.sun.com/thread.jsp?forum=13&thread=538526&tstart=0&trange=15A locally scoped reference is only on the stack while the cached reference is on the heapOf course, but in the context of what I'm talking about here, that doesn't really matter. The point is that in both cases there is a reference to an EJB object/home, that is used for a longer/shorter time.
I think the main reason for not caching the references is that is interfere's with the server's ability to manage it's resources. OK, sounds reasonable enough. So why doesn't the specification provide clear rules, even restrective ones that say no caching can be applied? Looks to me as if it would be safe to say that home objects for example are safe to cache working with any EJB server as long as the EJB server isn't restarted. Why isn't it written anywhere?
It always refers to Handles as "long living" references. How can one measure "long"?
Now, I may have gotten the wrong picture. Maybe there are some widely agreed issues on this matter, for example that caching SLSB as you've mentioned, and home objects is always safe in the scope of an EJB server life time(from the point in which it starts to the point it goes down).
The thing is, where ever I looked I saw different strategies, and never it was clear what exactly they came to solve. For instance, an EJBHome service locator that caches the home object as is, vs. a service locator that caches the home handle. -
Turning off Google Safe Browsing Content
Not much of a question, but an answer to others' archived questions. Many are concerned that Google Safe Browsing Cache violates their privacy and releases the public's web activities to one of Google's data-centers. The easiest way to disable this feature (can't be done through the Firefox web browser), is to block these URL domains on your main network router (given that you have a newer, more feature-rich router such as the latest D-link product line):
safebrowsing.clients.google.com
safebrowsing-cache.google.com
sb-ssl.google.com
sb.google.com
Now, Google may only track your activities while your logged in with your Google account--when it is relevent--rather than all of the time without your control. Thank you.I think there are some misconceptions about this feature.
Firefox doesn't send every web request to Google, but instead consults a database of bad sites that you download from Google at regular intervals. You would only send a request to Google if you request a page on a bad site.
Google's agreement with Mozilla is that this data isn't supposed to be correlated with your other Google activity.
* Support articles:
** [[How does built-in Phishing and Malware Protection work?]]
** [[Security and passwords settings]] (you can turn the SafeBrowsing features on and off using these two checkboxes)
* Google privacy: [https://developers.google.com/safe-browsing/firefox3_privacy Google Safe Browsing Service in Mozilla Firefox Version 3 - Safe Browsing API — Google Developers] -
Hi,
from what I gather, when using PHDS, the per-content encryption key is built from the common-key and the content ID (which in PHDS seems to be the filename).
When fetching the file manifest (<file>.f4m), a new license is returned every time.
When fetching the actual file segments (<file>SegX-FragY), no "session" information or similar is sent. However, the resulting file is never the same between downloads.
However, even if the files differ between fetches, it seems that if I cache the segments, serving the same identical segmentes to different users, the different license have no problem decrypting them.
Is this something which I can depend on? I.e, I let the manifest requests through every time, so each client gets a their own license. As long as the common-key remains the same, is it safe to cache the segment files, thus allowing us to use regular HTTP caches in front of the FMIS server in order to scale better?
The diffs in the segment files, how is this explained? Is this the result of different IVs?
Also, does the development version of FMIS server have any limitation in regards to number of connections or otherwise? The RTMP functionality has max 10 simultanous connections if I recall correct, but the same does not seem to apply for HDS/PHDS. Just want to check if this is the case, or if something in our testing is broken.
Thank youThere are two modes :
1. Flash Access
2. PHDS.
With PHDS, license is always embedded in the drm meta-data
While in FlashAccessV2(V3) protection scheme, drm meta includes the license server url (from where license has to be fetched).
In FMS, under apache=>conf=>httpd.conf you can set proper protectionscheme .
You may check this http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html#WSeb6b7485f9649bf2-23ab110412e09345b8b-8000
for encryption settings for FlashAccessV2(V3) -
JMS Server and MySQL Persistent Store
I set up a JDBC connection pool in Weblogic 8.1 with MySQL dbms. When I tried to
create a JMS server and use the connection pool as the Persistent Store, then
try to target the JMS to a managed server. I got the following error, any idea
what the problem is?
weblogic.management.DistributedManagementException: Distributed Management [1
exceptions]
JMS JDBC store, connection pool = , prefix = : unsupported DBMS
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:1133)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:462)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:765)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
at weblogic.management.configuration.ServerMBean_Stub.addDeployment(ServerMBean_Stub.java:7929)
at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1795)
at weblogic.management.internal.DynamicMBeanImpl.access$100(DynamicMBeanImpl.java:95)
at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1708)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1704)
at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1128)
at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:311)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:367)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:741)
at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
at weblogic.management.configuration.JMSServerMBean_Stub.setTargets(JMSServerMBean_Stub.java:1247)
at weblogic.management.console.webapp._domain.__jmsserver$ServerAndMigratableTargetAttribute.doSet(__jmsserver.java:109)
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:256)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
java.io.IOException: JMS JDBC store, connection pool = , prefix = : unsupported
DBMS
at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:359)
at weblogic.jms.store.JDBCIOStream.rebuildTables(JDBCIOStream.java:1613)
at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:426)
at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
at weblogic.jms.backend.BEStore.open(BEStore.java:262)
at weblogic.jms.backend.BEStore.start(BEStore.java:151)
at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1287)
at weblogic.jms.JMSService.addJMSServer(JMSService.java:2167)
at weblogic.jms.JMSService.addDeployment(JMSService.java:1938)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:201)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:747)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:726)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:458)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:765)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
--------------- nested within: ------------------
weblogic.management.console.utils.SetException: An error occurred while updating
MigratableTarget on [Caching Stub]Proxy for dotnet:Name=CSJMSServer,Type=JMSServer
- with nested exception:
[weblogic.management.DistributedManagementException: Distributed Management [1
exceptions]
JMS JDBC store, connection pool = , prefix = : unsupported DBMS]
at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:311)
at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Console Release Build8.1.1.0Server Release Build8.1.1.0Server BuildWebLogic Server
8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 All Server Product VersionsWebLogic
Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 WebLogic XMLX Module 8.1 SP1
Fri Jun 20 23:06:40 PDT 2003 271009 WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40
PDT 2003 271009 WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 WebLogic
Portal 8.1 Thu Jul 10 20:09:22 PDT 2003 84868
Exactly what it says: unsupported DBMS.
But but but...
OK, I'll be nice (just couldn't resist).
The next 8.1 SP will contain the DDL for MySQL, but for
now you can run it manually. Prepend your catalog,
schema, and prefix before JMSState and JMSStore to
match what you configured as a prefix in your
JMS JDBC store, and run the commands:
CREATE TABLE JMSState (recordHandle int, recordState int,
recordGeneration int);
CREATE TABLE JMSStore (recordHandle int, recordState int, record longblob);
CREATE INDEX JMSMSG_X ON JMSState (recordHandle);
CREATE INDEX JMSMSGQ_X ON JMSStore (recordHandle);
COMMIT;
Note that a file store may be preferable instead
of using a database store, there is
likely no performance advantage to MySQL (in fact
there is likely a significant performance penalty), and a file
store is just as transactionally safe as a database
store.
Tom
dahan wrote:
> I set up a JDBC connection pool in Weblogic 8.1 with MySQL dbms. When I tried to
> create a JMS server and use the connection pool as the Persistent Store, then
> try to target the JMS to a managed server. I got the following error, any idea
> what the problem is?
>
> weblogic.management.DistributedManagementException: Distributed Management [1
> exceptions]
> JMS JDBC store, connection pool = , prefix = : unsupported DBMS
> at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:1133)
> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:462)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
> at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:765)
> at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
> at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
> at weblogic.management.configuration.ServerMBean_Stub.addDeployment(ServerMBean_Stub.java:7929)
> at weblogic.management.internal.DynamicMBeanImpl.unprotectedUpdateDeployments(DynamicMBeanImpl.java:1795)
> at weblogic.management.internal.DynamicMBeanImpl.access$100(DynamicMBeanImpl.java:95)
> at weblogic.management.internal.DynamicMBeanImpl$2.run(DynamicMBeanImpl.java:1708)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
> at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1704)
> at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:1128)
> at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:311)
> at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1358)
> at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1333)
> at weblogic.management.internal.RemoteMBeanServerImpl.setAttribute(RemoteMBeanServerImpl.java:367)
> at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:741)
> at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:475)
> at weblogic.management.configuration.JMSServerMBean_Stub.setTargets(JMSServerMBean_Stub.java:1247)
> at weblogic.management.console.webapp._domain.__jmsserver$ServerAndMigratableTargetAttribute.doSet(__jmsserver.java:109)
> at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:256)
> at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
> at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> java.io.IOException: JMS JDBC store, connection pool = , prefix = : unsupported
> DBMS
> at weblogic.jms.store.JDBCIOStream.throwIOException(JDBCIOStream.java:359)
> at weblogic.jms.store.JDBCIOStream.rebuildTables(JDBCIOStream.java:1613)
> at weblogic.jms.store.JDBCIOStream.open(JDBCIOStream.java:426)
> at weblogic.jms.store.JMSStore.open(JMSStore.java:224)
> at weblogic.jms.backend.BEStore.open(BEStore.java:262)
> at weblogic.jms.backend.BEStore.start(BEStore.java:151)
> at weblogic.jms.backend.BackEnd.openStores(BackEnd.java:1171)
> at weblogic.jms.backend.BackEnd.resume(BackEnd.java:1287)
> at weblogic.jms.JMSService.addJMSServer(JMSService.java:2167)
> at weblogic.jms.JMSService.addDeployment(JMSService.java:1938)
> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:330)
> at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:201)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:747)
> at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:726)
> at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:458)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
> at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
> at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:765)
> at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
> at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
> at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
> at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
> at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
> --------------- nested within: ------------------
> weblogic.management.console.utils.SetException: An error occurred while updating
> MigratableTarget on [Caching Stub]Proxy for dotnet:Name=CSJMSServer,Type=JMSServer
> - with nested exception:
> [weblogic.management.DistributedManagementException: Distributed Management [1
> exceptions]
> JMS JDBC store, connection pool = , prefix = : unsupported DBMS]
> at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:311)
> at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173)
> at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1053)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:387)
> at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
> at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6310)
> at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
> at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
> at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3622)
> at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2569)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
>
>
> --------------------------------------------------------------------------------
>
> Console Release Build8.1.1.0Server Release Build8.1.1.0Server BuildWebLogic Server
> 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 All Server Product VersionsWebLogic
> Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 WebLogic XMLX Module 8.1 SP1
> Fri Jun 20 23:06:40 PDT 2003 271009 WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40
> PDT 2003 271009 WebLogic Server 8.1 SP1 Fri Jun 20 23:06:40 PDT 2003 271009 WebLogic
> Portal 8.1 Thu Jul 10 20:09:22 PDT 2003 84868
>
-
I am trying to run this sample on my machine
I am trying to run this sample on my machine as per the instructions to
install the sample in WLISampleUserGuide.pdf. When I go to the step 6 of the
installation, I get the following error in the Weblogic Server Console.
<Sep 17, 2001 10:47:36 AM GMT+05:30> <Error> <Management> <Error
initializing module certificate.war
of application samples:Name=certificate,Type=Application from path
.\config\samples\applications: w
eblogic.management.MBeanCreationException: cannot find referenced module
certificate.war>
<Sep 17, 2001 10:47:46 AM GMT+05:30> <Error> <Management> <Error
initializing module console.war of
application samples:Name=console,Type=Application from path
.\config\samples\applications: weblogic.
management.MBeanCreationException: cannot find referenced module
console.war>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <Management> <Error preparing
application component cer
tificate.war of application samples:Name=certificate,Type=Application:
java.io.FileNotFoundException
: .\config\samples\applications\certificate.war (The system cannot find the
file specified) ((localP
ath: java.io.FileNotFoundException:
.\config\samples\applications\certificate.war (The system cannot
find the file specified))>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <J2EE> <Error deploying
application certificate: error
retrieving component [Caching Stub]Proxy for
samples:Name=certificate,Location=myserver,Type=WebAppC
omponentConfig,ApplicationConfig=certificate>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <Management> <Error preparing
application component con
sole.war of application samples:Name=console,Type=Application:
java.io.FileNotFoundException: .\conf
ig\samples\applications\console.war (The system cannot find the file
specified) ((localPath: java.io
.FileNotFoundException: .\config\samples\applications\console.war (The
system cannot find the file s
pecified))>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <J2EE> <Error deploying
application console: error retr
ieving component [Caching Stub]Proxy for
samples:Name=console,Location=myserver,Type=WebAppComponent
Config,ApplicationConfig=console>
Loaded resources from
'/D:/bea/wlintegration2.0/config/samples/wlai/wlai.properties'
[SerializationTester] : isSerializable(class javax.naming.Binding)
java.io.NotSerializableException: javax.mail.Session
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.jndi.internal.SerializationTester.isSerializable(SerializationTeste
r.java:36)
at
weblogic.jndi.internal.BindingEnumeration.fixNonSerializableBindings(Binding
Enumeration.j
ava:29)
at
weblogic.jndi.internal.BindingEnumeration.writeExternal(BindingEnumeration.j
ava:48)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.rmi.internal.CBVOutputStream.writeObjectInternal(CBVOutputStream.ja
va:220)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:213)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:190)
at
weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(ServerNamingNode_WLSke
l.java:262)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
at
weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher
.java:115)
at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:247)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode
_WLStub.java:
374)
at
weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:724)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.getDeployedPlugins(PluginMan
agerCfgImpl.j
ava:710)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.initializePlugins(PluginMana
gerCfgImpl.ja
va:811)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.init(PluginManagerCfgImpl.ja
va:75)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanImpl.init(PluginManagerCfgBea
nImpl.java:79
0)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanEOImpl.init(PluginManagerCfgB
eanEOImpl.jav
a:1270)
at
com.bea.wlpi.server.initlistener.InitListenerBean.onMessage(InitListenerBean
.java:151)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.Kernel.execute(Kernel.java:250)
at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Initialized WebLogic Process Integrator Plugin Framework version 1.0
Started WebLogic Process Integrator version 2.0 SP 3
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicCollaborate> <INFO:
WebLogic Collaborate Serv
er started successfully.>
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicServer> <WebLogic
Server started>
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicServer>
<SSLListenThread listening on port 70
02>
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicServer> <ListenThread
listening on port 7001>
Once I put the certificate.war and console.war from
D:\bea\wlintegration2.0\config\mydomain\applications, the errors related to
the
certificate.war and console.war file are not shown. The Weblogic Server
Console now shows the following
Loaded resources from
'/D:/bea/wlintegration2.0/config/samples/wlai/wlai.properties'
[SerializationTester] : isSerializable(class javax.naming.Binding)
java.io.NotSerializableException: javax.mail.Session
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.jndi.internal.SerializationTester.isSerializable(SerializationTeste
r.java:36)
at
weblogic.jndi.internal.BindingEnumeration.fixNonSerializableBindings(Binding
Enumeration.j
ava:29)
at
weblogic.jndi.internal.BindingEnumeration.writeExternal(BindingEnumeration.j
ava:48)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.rmi.internal.CBVOutputStream.writeObjectInternal(CBVOutputStream.ja
va:220)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:213)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:190)
at
weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(ServerNamingNode_WLSke
l.java:262)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
at
weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher
.java:115)
at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:247)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode
_WLStub.java:
374)
at
weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:724)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.getDeployedPlugins(PluginMan
agerCfgImpl.j
ava:710)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.initializePlugins(PluginMana
gerCfgImpl.ja
va:811)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.init(PluginManagerCfgImpl.ja
va:75)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanImpl.init(PluginManagerCfgBea
nImpl.java:79
0)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanEOImpl.init(PluginManagerCfgB
eanEOImpl.jav
a:1270)
at
com.bea.wlpi.server.initlistener.InitListenerBean.onMessage(InitListenerBean
.java:151)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.Kernel.execute(Kernel.java:250)
at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Initialized WebLogic Process Integrator Plugin Framework version 1.0
Started WebLogic Process Integrator version 2.0 SP 3
Did anybody face this problem with this sample? Can somebody help me out
with this. I am also looking for some basic ways of developing a PIP using
Rosettanet. Is there is any site that gives such information. I have seen
the BEA site on rosettanet. That does not help me.
Regards,
Dharnidhar Vemuri
mailto: [email protected]Hi
I am also facing this similar problem. Could any one tell me the root cause of
this problem.
Thanks in advance.
Thanks and Regards
Ramko
"weblogic.integrator.developer" <[email protected]> wrote:
I am trying to run this sample on my machine as per the instructions
to
install the sample in WLISampleUserGuide.pdf. When I go to the step 6
of the
installation, I get the following error in the Weblogic Server Console.
<Sep 17, 2001 10:47:36 AM GMT+05:30> <Error> <Management> <Error
initializing module certificate.war
of application samples:Name=certificate,Type=Application from path
..\config\samples\applications: w
eblogic.management.MBeanCreationException: cannot find referenced module
certificate.war>
<Sep 17, 2001 10:47:46 AM GMT+05:30> <Error> <Management> <Error
initializing module console.war of
application samples:Name=console,Type=Application from path
..\config\samples\applications: weblogic.
management.MBeanCreationException: cannot find referenced module
console.war>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <Management> <Error preparing
application component cer
tificate.war of application samples:Name=certificate,Type=Application:
java.io.FileNotFoundException
: .\config\samples\applications\certificate.war (The system cannot find
the
file specified) ((localP
ath: java.io.FileNotFoundException:
..\config\samples\applications\certificate.war (The system cannot
find the file specified))>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <J2EE> <Error deploying
application certificate: error
retrieving component [Caching Stub]Proxy for
samples:Name=certificate,Location=myserver,Type=WebAppC
omponentConfig,ApplicationConfig=certificate>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <Management> <Error preparing
application component con
sole.war of application samples:Name=console,Type=Application:
java.io.FileNotFoundException: .\conf
ig\samples\applications\console.war (The system cannot find the file
specified) ((localPath: java.io
..FileNotFoundException: .\config\samples\applications\console.war (The
system cannot find the file s
pecified))>
<Sep 17, 2001 10:48:27 AM GMT+05:30> <Error> <J2EE> <Error deploying
application console: error retr
ieving component [Caching Stub]Proxy for
samples:Name=console,Location=myserver,Type=WebAppComponent
Config,ApplicationConfig=console>
Loaded resources from
'/D:/bea/wlintegration2.0/config/samples/wlai/wlai.properties'
[SerializationTester] : isSerializable(class javax.naming.Binding)
java.io.NotSerializableException: javax.mail.Session
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.jndi.internal.SerializationTester.isSerializable(SerializationTeste
r.java:36)
at
weblogic.jndi.internal.BindingEnumeration.fixNonSerializableBindings(Binding
Enumeration.j
ava:29)
at
weblogic.jndi.internal.BindingEnumeration.writeExternal(BindingEnumeration.j
ava:48)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.rmi.internal.CBVOutputStream.writeObjectInternal(CBVOutputStream.ja
va:220)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:213)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:190)
at
weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(ServerNamingNode_WLSke
l.java:262)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
at
weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher
..java:115)
at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:247)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode
_WLStub.java:
374)
at
weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:724)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.getDeployedPlugins(PluginMan
agerCfgImpl.j
ava:710)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.initializePlugins(PluginMana
gerCfgImpl.ja
va:811)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.init(PluginManagerCfgImpl.ja
va:75)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanImpl.init(PluginManagerCfgBea
nImpl.java:79
0)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanEOImpl.init(PluginManagerCfgB
eanEOImpl.jav
a:1270)
at
com.bea.wlpi.server.initlistener.InitListenerBean.onMessage(InitListenerBean
..java:151)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.Kernel.execute(Kernel.java:250)
at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Initialized WebLogic Process Integrator Plugin Framework version 1.0
Started WebLogic Process Integrator version 2.0 SP 3
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicCollaborate> <INFO:
WebLogic Collaborate Serv
er started successfully.>
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicServer> <WebLogic
Server started>
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicServer>
<SSLListenThread listening on port 70
02>
<Sep 17, 2001 10:49:46 AM GMT+05:30> <Notice> <WebLogicServer> <ListenThread
listening on port 7001>
Once I put the certificate.war and console.war from
D:\bea\wlintegration2.0\config\mydomain\applications, the errors related
to
the
certificate.war and console.war file are not shown. The Weblogic Server
Console now shows the following
Loaded resources from
'/D:/bea/wlintegration2.0/config/samples/wlai/wlai.properties'
[SerializationTester] : isSerializable(class javax.naming.Binding)
java.io.NotSerializableException: javax.mail.Session
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
at
java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.jndi.internal.SerializationTester.isSerializable(SerializationTeste
r.java:36)
at
weblogic.jndi.internal.BindingEnumeration.fixNonSerializableBindings(Binding
Enumeration.j
ava:29)
at
weblogic.jndi.internal.BindingEnumeration.writeExternal(BindingEnumeration.j
ava:48)
at
java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1180)
at
java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
at
weblogic.rmi.internal.CBVOutputStream.writeObjectInternal(CBVOutputStream.ja
va:220)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:213)
at
weblogic.rmi.internal.CBVOutputStream.writeObject(CBVOutputStream.java:190)
at
weblogic.jndi.internal.ServerNamingNode_WLSkel.invoke(ServerNamingNode_WLSke
l.java:262)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:128)
at
weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
at
weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.
java:118)
at
weblogic.rmi.internal.BasicRequestDispatcher.dispatch(BasicRequestDispatcher
..java:115)
at
weblogic.rmi.internal.ServerRequest.sendOneWayRaw(ServerRequest.java:88)
at
weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:108)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:247)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:225)
at
weblogic.jndi.internal.ServerNamingNode_WLStub.listBindings(ServerNamingNode
_WLStub.java:
374)
at
weblogic.jndi.internal.WLContextImpl.listBindings(WLContextImpl.java:293)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:724)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.traverseContext(PluginManage
rCfgImpl.java
:747)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.getDeployedPlugins(PluginMan
agerCfgImpl.j
ava:710)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.initializePlugins(PluginMana
gerCfgImpl.ja
va:811)
at
com.bea.wlpi.server.plugin.PluginManagerCfgImpl.init(PluginManagerCfgImpl.ja
va:75)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanImpl.init(PluginManagerCfgBea
nImpl.java:79
0)
at
com.bea.wlpi.server.plugin.PluginManagerCfgBeanEOImpl.init(PluginManagerCfgB
eanEOImpl.jav
a:1270)
at
com.bea.wlpi.server.initlistener.InitListenerBean.onMessage(InitListenerBean
..java:151)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:221)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:175)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:1933)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:1892)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.Kernel.execute(Kernel.java:250)
at weblogic.jms.client.JMSSession.pushEnvelope(JMSSession.java:1779)
at weblogic.jms.client.JMSCallback.pushEnvelope(JMSCallback.java:69)
at weblogic.jms.frontend.FESession.execute(FESession.java:1972)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
Initialized WebLogic Process Integrator Plugin Framework version 1.0
Started WebLogic Process Integrator version 2.0 SP 3
Did anybody face this problem with this sample? Can somebody help me
out
with this. I am also looking for some basic ways of developing a PIP
using
Rosettanet. Is there is any site that gives such information. I have
seen
the BEA site on rosettanet. That does not help me.
Regards,
Dharnidhar Vemuri
mailto: [email protected] -
Deploying exploded war to a managed server
We've just started using exploded war files for development, but we're
having trouble deploying these applications on server's other than the
managing/console. We keep getting this error:
Error deploying application zq: error retrieving component [
Caching Stub]Proxy for blue:Name=zq,Location=webserv,Type=We
bAppComponentConfig,ApplicationConfig=zq
Can someone shed some light on what this cryptic message means?
Thanks,
EricInteresting, never seen this before.
can you give some details - which server, complete trace etc....
mihir
Eric F wrote:
We've just started using exploded war files for development, but we're
having trouble deploying these applications on server's other than the
managing/console. We keep getting this error:
Error deploying application zq: error retrieving component [
Caching Stub]Proxy for blue:Name=zq,Location=webserv,Type=We
bAppComponentConfig,ApplicationConfig=zq
Can someone shed some light on what this cryptic message means?
Thanks,
Eric -
Java.rmi.ConnectException using webstart Swing client with WL 8.1 SP2 in a
Hi all,
I'm receiving the following exception when invoking a remote method on
a cached remote stub. This only happens if there are at least two
nodes running in a cluster. It happens more often the more nodes are
running.
It seems that the exception occurs if for a call to a remote method a
cached stub is used, and if that call is referred to a different node
in the cluster by the load balancer than the one that the stub
originally came from. But I'm not completely sure about that...
Client side config:
Webstart
JDK 1.4.2_05
weblogic.jar (we're experiencing other problems already discussed in
this group when using wlclient.jar)
Server side config:
Weblogic 8.1 SP2
cluster on Sun Solaris machines (two nodes, one manager)
Here is the exception stacktrace:
java.rmi.ConnectException: Could not establish a connection with
2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
java.security.AccessControlException: access denied
(java.net.SocketPermission shebea219 resolve)
at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
at
weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
at
weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
at
de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
Source)
at
de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
at
de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
at
de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
at
de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
at
de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Has anyone ever come across the same problem and possibly found a
solution?
Any help would be greatly appreciated.
Thanks in advance
RolfHi all,
I'm receiving the following exception when invoking a remote method on
a cached remote stub. This only happens if there are at least two
nodes running in a cluster. It happens more often the more nodes are
running.
It seems that the exception occurs if for a call to a remote method a
cached stub is used, and if that call is referred to a different node
in the cluster by the load balancer than the one that the stub
originally came from. But I'm not completely sure about that...
Client side config:
Webstart
JDK 1.4.2_05
weblogic.jar (we're experiencing other problems already discussed in
this group when using wlclient.jar)
Server side config:
Weblogic 8.1 SP2
cluster on Sun Solaris machines (two nodes, one manager)
Here is the exception stacktrace:
java.rmi.ConnectException: Could not establish a connection with
2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
java.security.AccessControlException: access denied
(java.net.SocketPermission shebea219 resolve)
at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
at
weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
at
weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
at
de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
Source)
at
de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
at
de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
at
de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
at
de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
at
de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
at
de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
at
de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
at java.awt.Window.processWindowEvent(Unknown Source)
at javax.swing.JFrame.processWindowEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
Has anyone ever come across the same problem and possibly found a
solution?
Any help would be greatly appreciated.
Thanks in advance
Rolf -
WLS 6.1 Error 160001 in wl-domain.log
####<Feb 6, 2004 10:04:10 AM GMT-06:00> <Error> <J2EE> <myHost> <myServer> <main>
<system> <> <160001> <Error deploying
application console: error retrieving component [Caching Stub]Proxy for myDomain:ApplicationConfig=console,Location=myServer,Name=console,Type=WebAppComponentConfig>
####<Feb 6, 2004 10:04:10 AM GMT-06:00> <Error> <Management> <myHost> <myServer>
<main> <system> <> <000000> <Applicati
onManager starting Config caught throwable>
java.lang.reflect.UndeclaredThrowableException: javax.management.ReflectionException:
error invoking addTarget
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:688)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
Does anyone recognize this error?
This error was followed by a core dump."Brian Mitchell" <[email protected]> wrote:
>
"Oded Peer" <[email protected]> wrote:
Does anyone recognize this error?Looks like your application is misconfiged. Check your config.xml to
ensure that
the component MBean is wrapped in a valid application mbean and has a
valid URI
/ Target attribute.The config.xml file appears valid.
"Oded Peer" <[email protected]> wrote:
This error was followed by a core dump.Interesting. Could you elaberate further? Have you performed any sort
of inspection
into this core dump? I'll assist if possible...We limited the core size so it is incomplete and can not be investigated thoroughly.
Thanks.
>
Brian J. Mitchell
Systems Administrator, TRX
email: [email protected]
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8BEE2240
Fingerprint: 3A84 A5D6 EE26 BC10 E525 1905 6FF0 0B6F 8BEE 2240 -
Exception by getAuthenticationProviderMBean()
Hi,
Below is my code that i am trying to use to create an user programmatically in weblogic portal. But it giving starnge exceptions. If anybody have encountered such exception then please suggest how to fix it.
Rajeeb ( [email protected] )
Code:
import javax.naming.Context;
import weblogic.management.MBeanHome;
import weblogic.management.configuration.DomainMBean;
import weblogic.management.configuration.SecurityConfigurationMBean;
import weblogic.management.security.RealmMBean;
import weblogic.management.security.authentication.AuthenticationProviderMBean;
//import weblogic.management.security.authentication.UserEditorMBean;
import weblogic.jndi.Environment;
import weblogic.security.providers.authentication.DefaultAuthenticatorMBean;
public class UserManagement {
//private static UserEditorMBean editor = null;
//public UserManagement(String user,String password,String serverName,String serverURL)
//@common:security run-as-principal="weblogic" run-as="Administrators"
public UserManagement() {
String user = "weblogic";
String password = "weblogic";
String serverURL = "t3://localhost:7001";
String serverName = "myserver";
MBeanHome adminHome = null;
SecurityConfigurationMBean conBean = null;
RealmMBean realmBean = null;
AuthenticationProviderMBean[] authBeans = null;
DefaultAuthenticatorMBean defBean = null;
DomainMBean dBean = null;
System.out.println("Entered UserManagement Constructor");
try {
Environment env = new Environment();
env.setSecurityPrincipal(user);
env.setSecurityCredentials(password);
env.setProviderUrl(serverURL);
Context ctx = env.getInitialContext();
System.out.println("Context Name: " + ctx);
adminHome = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
System.out.println("Got the MBeanHome: " + adminHome);
System.out.println("\n");
//adminHome = Helper.getMBeanHome(user,password,serverURL,serverName);
//System.out.println("Got Local MBeanHome by Helper Class");
//System.out.println("Local Admin Home Name: " + adminHome);
dBean = adminHome.getActiveDomain();
System.out.println("Domain MBean: "+ dBean);
System.out.println("\n");
conBean = dBean.getSecurityConfiguration();
System.out.println("Security configuration MBean: "+ conBean);
System.out.println("\n");
realmBean = conBean.findDefaultRealm();
System.out.println("Got the default realm: " + realmBean);
System.out.println("\n");
authBeans = realmBean.getAuthenticationProviders(); //is it the defaultAuthenticationProviderMBean???
defBean = (DefaultAuthenticatorMBean)authBeans[0];
System.out.println("Got the default Authenticator MBean: " + defBean);
//defBean.createUser("test","testtocreate","just a test of wls81 security");
//System.out.println("\n Created successfully!");
//System.out.println("\n\n");
//then find all the authentication providers
//AuthenticationProviderMBean[] providers = rbean.getAuthenticationProviders();
//editor = (UserEditorMBean) providers[0];
//providers[0] is the default authenticator
}catch (Exception e) {
e.printStackTrace();
} // End of constructor
Output and Exceptions:
Entered UserManagement Constructor
Context Name: WLContext ()
Got the MBeanHome: weblogic.rmi.internal.BasicRemoteRef@102 - hostID: '-7508997471895112706S:10.116.70.99:[7001,7001,-1,-1,7001,-1,-1,0,0]:thortech:myserver', oid: '258'
Domain MBean: [Caching Stub]Proxy for thortech:Name=thortech,Type=Domain
Security configuration MBean: [Caching Stub]Proxy for thortech:Name=thortech,Type=SecurityConfiguration
Got the default realm: Security:Name=myrealm
java.lang.NullPointerException
at weblogic.management.commo.CommoProxy.createFreshProxy(CommoProxy.java:576)
at weblogic.management.commo.CommoProxy.getProxyInstance(CommoProxy.java:485)
at weblogic.management.commo.CommoProxy.getCommoProxy(CommoProxy.java:178)
at weblogic.management.commo.CommoProxy.wrap(CommoProxy.java:599)
at weblogic.management.commo.CommoProxy.wrap(CommoProxy.java:609)
at weblogic.management.commo.CommoProxy.invoke(CommoProxy.java:258)
at $Proxy0.getAuthenticationProviders(Unknown Source)
at com.webportal.UserManagement.<init>(UserManagement.java:75)
at com.webportal.UserManagement.main(UserManagement.java:121)Hi satya,
I have added three jars. weblogic.jar,wlsecurityProviders.jar and wlManagement.jar
and still i am getting the same exceptions.
Do i need to define some security role for the "weblogic"
username or it is defined somewhere..
do clarify
Thanks
Rajeeb -
Fonts in Library/Fonts are disabled after restart
On every sytem start/restart I have all fonts in Library/Fonts folder disabled. Safe boot, cache cleaning etc. didn't help. Any help, please? It's quite annoying.
Wow. I just called Adobe customer support, was on hold for 15 minutes, finally got an attendant in another country, then within 60 seconds was inadvertently(?) disconnected.
Uh, not helpful. -
Error Trying to get a managed server connected to the admin server
I am getting the following error when I try starting up a managed server. I
put -Dweblogic.management.server=http://host:port
The managed server starts with out setting the management.server setting.
It gives the error below when I put the management server setting in
<Error deploying application DefaultWebApp_online: error retrieving
component [Caching Stub]Proxy for
rnd2Domain:Name=DefaultWebApp_online,Location=online,Type=WebAppComponentCon
fig,ApplicationConfig=DefaultWebApp_online>
Thanks,
Scott Jones
[email protected]Can you post the error message from both admin as well as managed servers?
Viresh Garg
Principal Developer Relations Engineer
BEA Systems
Scott Jones wrote:
I am getting the following error when I try starting up a managed server. I
put -Dweblogic.management.server=http://host:port
The managed server starts with out setting the management.server setting.
It gives the error below when I put the management server setting in
<Error deploying application DefaultWebApp_online: error retrieving
component [Caching Stub]Proxy for
rnd2Domain:Name=DefaultWebApp_online,Location=online,Type=WebAppComponentCon
fig,ApplicationConfig=DefaultWebApp_online>
Thanks,
Scott Jones
[email protected]
[att1.html] -
I can't get a jsp to be served up from a managed server. It works from the
admin server however.
I created a new domain (FooDomain) and ran an admin server with
a jsp copied into the default web app dir:
C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooAdminServe
r
I can bring this jsp up in the browser AND when I update the
jsp it redeploys just fine.
Then I do the same the thing with a managed server, putting the
jsp in:
C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooManServer1
This does not work at all. I can't see the jsp and I get the
following error from the dos screen running the FooManServer:
<Jan 7, 2001 11:24:38 PM EST> <Error> <HTTP> <HttpServer(4899834,null
default ct
x,fooManServer1) found no context for "GET /hello.jsp?name=bike HTTP/1.1".
This
should not happen unless the default context failed to deploy.>
Right after the managed server boots it gives me this error:
<Jan 7, 2001 11:40:30 PM EST> <Error> <J2EE> <Error deploying application
Defaul
tWebApp_fooManServer1: error retrieving component [Caching Stub]Proxy for
FooDom
ain:Name=DefaultWebApp_fooManServer1,Location=fooManServer1,Type=WebAppCompo
nent
Config,ApplicationConfig=DefaultWebApp_fooManServer1>
I get a 400 error on the browser! Not a 404!
Any ideas on what is going on here?
It looks like the default web app is not being loaded on your managed
server. Two things to check are
1. that DefaultWebApp_fooManServer1 is targeted to your managed server
2. that it is deployed.
I think that this is something we should do automatically for the default
web app, but currently, we don't so its possible to have the system
configured such that the default app is not acutally loaded for a particular
server.
mark
Mike Sprague wrote:
> I can't get a jsp to be served up from a managed server. It works from the
> admin server however.
>
> I created a new domain (FooDomain) and ran an admin server with
> a jsp copied into the default web app dir:
>
> C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooAdminServe
> r
>
> I can bring this jsp up in the browser AND when I update the
> jsp it redeploys just fine.
>
> Then I do the same the thing with a managed server, putting the
> jsp in:
>
> C:\bea\wlserver6.0\config\FooDomain\applications\DefaultWebApp_fooManServer1
>
> This does not work at all. I can't see the jsp and I get the
> following error from the dos screen running the FooManServer:
>
> <Jan 7, 2001 11:24:38 PM EST> <Error> <HTTP> <HttpServer(4899834,null
> default ct
> x,fooManServer1) found no context for "GET /hello.jsp?name=bike HTTP/1.1".
> This
> should not happen unless the default context failed to deploy.>
>
> Right after the managed server boots it gives me this error:
> <Jan 7, 2001 11:40:30 PM EST> <Error> <J2EE> <Error deploying application
> Defaul
> tWebApp_fooManServer1: error retrieving component [Caching Stub]Proxy for
> FooDom
> ain:Name=DefaultWebApp_fooManServer1,Location=fooManServer1,Type=WebAppCompo
> nent
> Config,ApplicationConfig=DefaultWebApp_fooManServer1>
>
> I get a 400 error on the browser! Not a 404!
>
> Any ideas on what is going on here?
Maybe you are looking for
-
I am loging in SAP. Initial screen come where it display User Menu and Sap
Dear All, When i am loging in SAP. Initial screen come where it display User Menu and Sap Menu, but User menu is in active not showing but T code are executing then what object i have missed. can u help me? Thanks, Regards, Sachin
-
Video is not displayed during rendering
Since the purchase of a new PC (Windows 7, Intel i7, Geforce GTX970, 16 Gb RAM) its not possible anymore to render AVCD or .mts clips. The clips can be played in WMP. When te clips are loaded and played only the audio is played and the video remains
-
B2B-50037: B2B inbound message processing error
We are trying to implement B2B with Customer EDI X12 850 Inbound with SOA Application server Version 11.1.1.4.0 (weblogic) Hitting the following error in the logs MDS-00013: no metadata found for metadata object "/soa/b2b/EDI_X12/4010/850/New/850
-
HT2052 are there sources for apps that will run in iOS 3?
I have a 1st generation iPod touch, which I have upgraded to iOS 3.1.3, but it seems as though there are no apps that will run in less than iOS 4. Are there any sources for older versions of the apps that will work?
-
Creating multiple vlans on a 877
Hi, I want to create a default, voice and access vlan on a 877, but just one vlan comes up. On the other two vlan inetrfaces is the protocol down. I guess this has something to do with bridging. I've tried that already, but I can't find documentation