Configure Visualvm with weblogic 10.0

I followed the procedure below to configure VisualVm with weblogic 10.0
I have installed jdk1.6_18 in /usr/jdk1.6_18 on solaris 10.0.
created jstatd.all.policy file with entry
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
in /usr/jdk1.6_18/bin
executed below line from the same where i have the jstatd.all.policy file
jstatd -J-Djava.security.policy=jstatd.all.policy
I am unable to enable jstatd i getting the following error:
./jstatd -J-Djava.security.policy=java.all.policy
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
I have followed the below link to configure
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14287864
Any help would be greatly appreciated.

Hi,
Step1). Please open "java.policy" file from the following location <JAVA_HOME>\jre\lib\security
Step2). // Standard extensions get all permissions by default and add the Highlighted Code Snippet there at the TOP below is the modified content of "java.policy" file
// Standard extensions get all permissions by default
<font color=red>
grant codeBase "file:C:/bea103/jdk160_05/lib/tools.jar" {
permission java.security.AllPermission;
</font>
grant codeBase "file:${{java.ext.dirs}}/*" {
     permission java.security.AllPermission;
// default permissions granted to all domains
grant {
     // Allows any thread to stop itself using the java.lang.Thread.stop()
     // method that takes no argument.
     // Note that this permission is granted by default only to remain
     // backwards compatible.
     // It is strongly recommended that you either remove this permission
     // from this policy file or further restrict it to code sources
     // that you specify, because Thread.stop() is potentially unsafe.
     // See "http://java.sun.com/notes" for more information.
     permission java.lang.RuntimePermission "stopThread";
     // allows anyone to listen on un-privileged ports
     permission java.net.SocketPermission "localhost:1024-", "listen";
     // "standard" properies that can be read by anyone
     permission java.util.PropertyPermission "java.version", "read";
     permission java.util.PropertyPermission "java.vendor", "read";
     permission java.util.PropertyPermission "java.vendor.url", "read";
     permission java.util.PropertyPermission "java.class.version", "read";
     permission java.util.PropertyPermission "os.name", "read";
     permission java.util.PropertyPermission "os.version", "read";
     permission java.util.PropertyPermission "os.arch", "read";
     permission java.util.PropertyPermission "file.separator", "read";
     permission java.util.PropertyPermission "path.separator", "read";
     permission java.util.PropertyPermission "line.separator", "read";
     permission java.util.PropertyPermission "java.specification.version", "read";
     permission java.util.PropertyPermission "java.specification.vendor", "read";
     permission java.util.PropertyPermission "java.specification.name", "read";
     permission java.util.PropertyPermission "java.vm.specification.version", "read";
     permission java.util.PropertyPermission "java.vm.specification.vendor", "read";
     permission java.util.PropertyPermission "java.vm.specification.name", "read";
     permission java.util.PropertyPermission "java.vm.version", "read";
     permission java.util.PropertyPermission "java.vm.vendor", "read";
     permission java.util.PropertyPermission "java.vm.name", "read";
Step3). run the "jstack"
Thanks
Jay SenSharma
http://jaysensharma.wordpress.com  (WebLogic Wonders Are Here)

Similar Messages

  • Could someone let me know the steps in configuring documentum with weblogic

    Could someone let me know the steps in configuring documentum with weblogic server

    http://www.apple.com/itunes/content-providers/book-faq.html
    Michi.

  • Hyperion Shared Services Configuration Error with Weblogic 9.2

    Hi All,
    I have been trying to configure Hyperion Shared Services 9.3.1 with Weblogic Ver 9.2
    During configuration of the Database and the Application Server, I select Manual Configuration option on Weblogic 9
    However, it returns a configuration failure everytime of the Database.
    In my case, the DB used is SQL 2005.
    Can someone, please advise me.
    Thanks in advance
    Regards,
    Apo

    Hi Apo,
    Check the configtool.log in the logs/config folder and post the error message that is being returned.
    Thanks
    Nick

  • Anyone configured OID with weblogic as external LDAP

    Hey,
    I need help from someone who configured Oracle Internet Directory with weblogic 7 or any version to us as external LDAP server.
    Your Help is greatly appreciated.
    Thanks & Best Regards,
    Nagendra

    I was able to use OID as external LDAP for my Weblogic. I was able to move the stuff from Weblogic Embedded LDAP to Oracle Internet Directory Server, I have done it by myself
    Thanks
    Nagendra

  • Apache2.2 Plugin configuration issue with Weblogic 9.2

    Hi All,
    We are trying to configure apache plugin for weblogic 9.2 (Apache Proxying for Weblogic) in Solaris Spark. When we are testing the httpd.conf configuration using apachectl configtest we are getting following error.
    httpd: Syntax error on line 80 of /data/httpserv/apache-2.2.10/conf/httpd.conf: Cannot load /data/httpserv/apache-2.2.10/modules/mod_wl_22.so into server: ld.so.1: httpd: fatal: /data/httpserv/apache-2.2.10/modules/mod_wl_22.so: wrong ELF class: ELFCLASS32
    We were using the mod_wl_22.so file provided for Solaris/Spark in the link mentioned below.
    http://download.oracle.com/otn/bea/weblogic/server103/server103_apacheplugins.zip
    Apache 2.2.10 installation that we are using is a 64-bit version. It seems mod_wl_22.so provided in the above link for solaris/spark is a 32-bit version. Is it possible to get a 64bit version of this library?
    Anybody has worked on same/similar kind of issues? Is there any workaround, for this?
    Input/thoughts from anyone is highly appreciated

    Hello, I'm not an expert at confugring Apache and WebLogic servers. Hopefully someone else who does know what they are doing will reply to your question.
    I found your question because I am also working on an Apache / WebLogic install for an Ariba installation (in Windows 7).
    However I did support a configuration of WebLogic on Solaris with Apache. I remember that the guy who did the Apache install mentioned that Apache needed to be compiled correctly - below is what he sent:
    Apache server compilation options:
    ./configure prefix=/usr/local/apache_2.0.63 enable-mods-shared=all enable-ssl=shared enable-ssl with-ssl=/usr/local/ssl enable-proxy enable-proxy-connect enable-proxy-http --with-mpm=worker
    I am still looking into the differences between the plugins (mod 22 so vs mod 20 so). Navigating the Oracle download options can be bewildering. I found the link to download a full zip file of plugins (below).
    Oracle WebLogic Server Web Server Plugins 1.1
    http://www.oracle.com/technetwork/middleware/ias/downloads/wls-plugins-096117.html
    I clicked on "all versions."
    Does the WLSPlugin1.1-64bitApache2.2-solaris-sparc.zip contain what you need?
    Great luck to you!
    -Tom Tobey

  • How To Configure Maven With Weblogic 10.3.1 With JDK6

    Hi,
    I have recently upgraded my JDK from 1.5 to 1.6. Can any one help what changes is needed for using Maven for remote deployment with JDK 1.6.
    Regards,
    Swain

    Hi,
    I am getting the below error when using Maven with JDK6
    [INFO] --- weblogic-maven-plugin:2.9.1:deploy (default-cli) @ Spring-JDBC ---
    [INFO] Weblogic Deployment beginning with parameters DeployMojoBase[adminServerHostName = 10.60.246.49, adminServerProtocol = t3, adminServerPort = 8003, userId = weblogic, password = system103, artifactPath = D:\EspaceDeTravail\Projets\MigrationPiloteDiargramme\workspace\Spring-JDBC\target/Spring-JDBC-1.1, projectPackaging = war, name = Spring-JDBC, targetNames = MDAD1, remote = true]
    [INFO] Weblogic Deployment parameters [-adminurl, t3://10.60.246.49:8003, -username, weblogic, -password, system103, -verbose, -noexit, -name, Spring-JDBC, -targets, MDAD1, -upload, -source, D:\EspaceDeTravail\Projets\MigrationPiloteDiargramme\workspace\Spring-JDBC\target/Spring-JDBC-1.1.war, -deploy]
    weblogic.Deployer invoked with options: -adminurl t3://10.60.246.49:8003 -username weblogic -verbose -noexit -name Spring-JDBC -targets MDAD1 -upload -source D:\EspaceDeTravail\Projets\MigrationPiloteDiargramme\workspace\Spring-JDBC\target/Spring-JDBC-1.1.war -deploy
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 33.218s
    [INFO] Finished at: Wed Mar 09 11:48:29 CET 2011
    [INFO] Final Memory: 7M/43M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.codehaus.mojo:weblogic-maven-plugin:2.9.1:deploy (default-cli) on project Spring-JDBC: Exception encountered during artifact start: weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 't3://10.60.246.49:8003': invalid type code: 31. Ensure the url represents a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server. DeploymentManagerCreationException: ServerConnectionException: CommunicationException: failed to unmarshal class weblogic.security.acl.internal.AuthenticatedUser; nested exception is:
    [ERROR] java.io.StreamCorruptedException: invalid type code: 31
    [ERROR] -> [Help 1]

  • Security violation exception with Weblogic cluster installation on OIm 9.1

    Hi,
    I have OIM9.1 installed on weblogic 8.1 SP4 in clustered environment, which more often than not seems to work fine. But some time I get following exception on server console/log file which causes certain provisioning task to be rejected...
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by: javax.ejb.AccessLocalException: [EJB:010160]Security Violation: User: 'xelsysad
    m' has insufficient permission to access EJB: type=<ejb>, application=Xellerate, module=xl
    DataObjectBeans.jar, ejb=tcFormInstanceOperations, method=create, methodInterface=LocalHom
    e, signature={}.
    at weblogic.ejb20.internal.MethodDescriptor.checkMethodPermissionsLocal(MethodDesc
    riptor.java:486)
    at weblogic.ejb20.internal.StatelessEJBLocalHome.create(StatelessEJBLocalHome.java
    :80)
    at com.thortech.xl.ejb.beans.tcFormInstanceOperations_2j82mm_LocalHomeImpl.create(
    tcFormInstanceOperations_2j82mm_LocalHomeImpl.java:93)
    ... 126 more
    ERROR,19 Dec 2008 14:20:03,752,[XELLERATE.APIS],Class/Method: tcBaseUtilityClient/getLocal
    Interface encounter some problems: {1}
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.in
    Problem is, I get this exception only 4 out of 6 times (when it is least expected). I have googled, and tried all possible means but have't been able to resolve it. One more thing I am sure of is, it only comes with Weblogic installation not with Jboss. So there should be some configuration issue with weblogic installation.
    Any suggestions would be useful...

    No Response???
    Where are the good guys??

  • XSQL with Weblogic 5.1 SP 6

    Hi there,
    I'm trying to use the XSQL framework with our current system.
    My system configuration is :
    -Windows NT 4.0
    -Weblogic 5.1 SP 6
    -Oracle 8.1.5
    -Xalan version=2.0.1
    -Xerces version=1_3_1 (Support SAX2)
    In particular, I was wondering how to set up the CLASSPATH order of specifing Xerces and SAX2(as part of the XSQL libraries)
    Thanks in advance,
    dan stepanov

    Hi there,
    I've managed to configure XSQL with Weblogic 5.1 SP6 and to run the demos from the Oracle site.
    My system configuration is :
    -Windows NT 4.0
    -Weblogic 5.1 SP 6
    -Oracle 8.1.7
    -Xalan version=2.0.1
    -Xerces version=1_3_1 (Support SAX2)
    CLASSPATH="${oradriver.lib}:${servlets.lib}:${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.home.dir}/lib/weblogic510sp${weblogic.sp.version}boot.jar:${weblogic.home. dir}/classes/boot"
    WEBLOGIC_CLASSPATH="${jaxp.lib}:${xerces.lib}:${xalan.lib}:${xsql.lib}:${weblogic.lib}:${jdom.lib}:${oreilly.lib}:${jdriver.lib}:${build.classes.dir}"
    Now when trying to integrate my XSQL framework in the big picture of the webapp - I'm getting errors.
    the error is:
    =============================================
    <WebAppServletContext-ads> looking for taglib uri
    /tlds/taglib.tld as resource /WEB-INF/tlds/taglib.tld
    in Web Application root:
    Sat Jun 16 14:30:37 PDT 2001:<E>
    <WebAppServletContext-ads> Servlet failed with
    Exception
    java.lang.NoSuchMethodError:
    javax.servlet.jsp.tagext.TagAttributeInfo: method
    <init>(Ljava/lang/String;ZZLjava/lang/String;)V not
    found
    at
    weblogic.servlet.jsp.MyAttInfo.<init>(StandardTagLib.java:34)
    at
    weblogic.servlet.jsp.StandardTagLib.processTag(StandardTagLib.java:280)
    =========================================
    If I remove from the classpath the servlets.lib(which contains servlets.jar) I'm able to access my webapp again but I cannot process the .xsql extensions.
    -the error from Weblogic appserver is:
    cannot find XSQLServletPageProcessor
    My question is that somebody has any ideea of what other type of servlet lib will be needed or if something else in the configuration files has to be modified?
    Thanks in advance,
    dan stepanov
    null

  • Log4J with weblogic Portal 9.2

    Can anybody have sample process to configure Log4J with weblogic Portal 9.2?
    Sample code alongwith log4jConfig.xml and other required jsr files would be helpful.
    I want to store all the log messages to defult weblogic dirctory. i.e base_doman\servers\AdminServer\logs

    Do you want your app to log messages using log4j (in which case the setup is no different in WLP than with any other app using log4j, read the log4j docs) or do you want weblogic server messages to be sent to Log4j?

  • Integrating Oracle BPM with WebLogic Portal

    Can I integrate Oracle BPM standalone 10g with Weblogic Protal?
    Must I use the BPM for Weblogic to integrate with Weblogic Protal or OSB.
    According to the Configuration Guide, I cannot find the <ORABPM_standalone_HOME>/j2ee/weblogic/deployer

    Hi All,
    I am able to configure Oracle with Weblogic.
    Thx.

  • Error in configuring apache plug in with weblogic 8.1.5

    I tried to configure Apache 2.2 plugin with weblogic 8.1 SP 5 in Linux ES 4.0 . I am getting the following error while loading weblogic_module in httpd.conf file in Apache server (restarting apache server after putting entries in httpd.conf).. The error is httpd: Syntax error on line 414 of /usr/local/apache2/conf/httpd.conf: API module structure `weblogic_module' in file /usr/local/apache2/modules/mod_wl_20.so is garbled - perhaps this is not an Apache module DSO?
    Did anyone got this error before?

    The solution is for BEA to provide the plug-in. Probably a few minutes of a work for BEA developer. Weblogic 9.0 has it.
    Edited by muralive at 09/17/2007 10:08 PM

  • Configuring PAM login modules with weblogic 6.1

    I am trying to configure my own PAM login module to work on the same JVM as weblogic.
    I have my own security policy that does not rely on weblogic however when trying
    to login after creating a specific login context :
    LoginContext loginContext = new LoginContext("XXLogin",subject,
    callbackHandler);
    loginContext.login();
    The JVM tries to invoke weblogic's own internal server login module. It looks
    for the callback the login module uses and then fails.
    The same problem ocurrs at weblogic startup. Weblogic appears to overide the -Djava.security.auth.login.config=jaas.config
    with their own login configuration file:WLHOME\lib\server.policy. Is this supposed
    to be a standard PAM login configuration file or weblogic's own interpretation
    of it ? (It is called a policy file which normally relates to grants and permissions
    in JAVA). Anyway we modified this file to include our own login module under a
    different AuthenticationConfigurationName. However weblogic attempted to use our
    login module as well as their own. According to the jaas api when creating a login
    context the application configuration name is specified however weblogic appears
    to be ignoring this !! Also we have found that a PAM configuration file that we
    had did not parse with weblogic, however it worked with the standard PAM configuration
    file parser. This implies that weblogic does not use the standard parser. Any
    help welcome !!

    Hi Parthasarathy,
    Thanks for the pointer. Your suggestion was the first step to getting our Security
    Model to be compatible with the WebLogic 6.1 model. As suggested I removed the
    the default LoginModule (ServerLoginModule) from the Server.policy file and replaced
    it with our Login Module. Then we defined JVM properties for the weblogic.management.password
    property in the startweblogic command file to supply the authentication information
    required by WebLogic.
    The next problem that I encountered was that we use files in the jaas.jar for
    Authorisation when I tried to access these files (e.g. javax.security.auth.Policy)
    I got a sealing violation as the JVM had previously loaded other class files in
    this package from the weblogic.jar (as weblogic uses these files for authorisation).
    It was possible to get around this problem by putting the jaas.jar ahead of the
    weblogic.jar in the classpath.
    After this I just needed to set up permissions in the weblogic.policy file for
    authorisation and we were there.
    Regards
    Paul
    Parthasarathy Seshadri <[email protected]> wrote:
    Please note from the documentation:
    http://e-docs.bea.com/wls/docs61//security/prog.html#1039659
    that WLS uses the default Login Module (weblogic.security.internal.ServerLoginModule)
    to gather authentication informatino
    during server initialization. To replace the default Login module, edit
    the Server.policy file and replace the name of the
    default Login module with the name of a custom Login module.
    Please inform whether the above information is useful. Thank you.
    Paul Petley wrote:
    I am trying to configure my own PAM login module to work on the sameJVM as weblogic.
    I have my own security policy that does not rely on weblogic howeverwhen trying
    to login after creating a specific login context :
    LoginContext loginContext = new LoginContext("XXLogin",subject,
    callbackHandler);
    loginContext.login();
    The JVM tries to invoke weblogic's own internal server login module.It looks
    for the callback the login module uses and then fails.
    The same problem ocurrs at weblogic startup. Weblogic appears to overidethe -Djava.security.auth.login.config=jaas.config
    with their own login configuration file:WLHOME\lib\server.policy. Isthis supposed
    to be a standard PAM login configuration file or weblogic's own interpretation
    of it ? (It is called a policy file which normally relates to grantsand permissions
    in JAVA). Anyway we modified this file to include our own login moduleunder a
    different AuthenticationConfigurationName. However weblogic attemptedto use our
    login module as well as their own. According to the jaas api when creatinga login
    context the application configuration name is specified however weblogicappears
    to be ignoring this !! Also we have found that a PAM configurationfile that we
    had did not parse with weblogic, however it worked with the standardPAM configuration
    file parser. This implies that weblogic does not use the standard parser.Any
    help welcome !!--
    Developer Relations Engineer
    BEA Support

  • Coherence with berkeley db environment configuration problem in weblogic

    Hi
    i am new to coherence and i developed a web application. in my app coherence is a cache and berkely db is a backend store. i configured the coherence-config.xml correctly as per the instructions in the oracle site.the problem is when i try to put my data in the cache i am getting an exception like this
    java.lang.NoSuchMethodError: com/sleepycat/je/EnvironmentConfig.setAllowCreate(Z)V
         at com.tangosol.io.bdb.DatabaseFactory$EnvironmentHolder.configure(DatabaseFactory.java:544)
         at com.tangosol.io.bdb.DatabaseFactory$EnvironmentHolder.(DatabaseFactory.java:262)
         at com.tangosol.io.bdb.DatabaseFactory.instantiateEnvironment(DatabaseFactory.java:157)
         at com.tangosol.io.bdb.DatabaseFactory.(DatabaseFactory.java:59)
         at com.tangosol.io.bdb.DatabaseFactoryManager.ensureFactory(DatabaseFactoryManager.java:74)
         at com.tangosol.io.bdb.BerkeleyDBBinaryStoreManager.createBinaryStore(BerkeleyDBBinaryStoreManager.java:176)
         at com.tangosol.net.DefaultConfigurableCacheFactory.instantiateExternalBackingMap(DefaultConfigurableCacheFactory.java:2620)
         at com.tangosol.net.DefaultConfigurableCacheFactory.configureBackingMap(DefaultConfigurableCacheFactory.java:1449)
         at com.tangosol.net.DefaultConfigurableCacheFactory$Manager.instantiateBackingMap(DefaultConfigurableCacheFactory.java:3904)
         at com.tangosol.coherence.component.util.CacheHandler.instantiateBackingMap(CacheHandler.CDB:7)
         at com.tangosol.coherence.component.util.CacheHandler.setCacheName(CacheHandler.CDB:35)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ReplicatedCache.instantiateCacheHandler(ReplicatedCache.CDB:16)
         at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.ReplicatedCache.ensureCache(ReplicatedCache.CDB:152)
         at com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache$Router(SafeCacheService.CDB:1)
         at com.tangosol.coherence.component.util.safeService.SafeCacheService.ensureCache(SafeCacheService.CDB:33)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:875)
         at com.tangosol.net.DefaultConfigurableCacheFactory.configureCache(DefaultConfigurableCacheFactory.java:1223)
         at com.tangosol.net.DefaultConfigurableCacheFactory.ensureCache(DefaultConfigurableCacheFactory.java:290)
         at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:735)
         at com.tangosol.net.CacheFactory.getCache(CacheFactory.java:712)
         at com.coherence.cachestore.ReadFromFile.putValuesInCache(ReadFromFile.java:149)
         at com.coherence.cachestore.ReadFromFile.doPost(ReadFromFile.java:78)
         at com.coherence.cachestore.ReadFromFile.doGet(ReadFromFile.java:43)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3717)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    i google it but i got the answer for setting the environment in the java class(even this is also not succeed).i dont know how to do it for coherence. how coherence will take the berkely db configuration when i load the data in catch.please help me. if you know the answer please show the code how to configure the berkely db environment configuration for coherence and where i need to chanage/create and what should i have to do coherence will invoke the berkely db environment and store the data in the local disk. i am using coherence 3.6 with weblogic 10.3.5 server
    Edited by: 875786 on Dec 2, 2011 4:37 AM
    Edited by: 875786 on Dec 2, 2011 4:39 AM

    Hi Thank you very much. Its works fine with je 3.3 version. I have several doubts.as per my application configuration its stores the data in local disk using berkely db. when i restart the server the cache data is no more but the stored data is available in the disk , is there any configuration or technique is available for pre load the data from disk to catch. (i am using replicated cache scheme).if yes menas please provide the full detail and sample code. thanks in advance.

  • Configuring MQSeries 5.2 JMS With Weblogic 7.0

    Hi :
              Has anyone configured MQ Series 5.2 under weblogic 7.0 ?. I would appreciate
              if you could let me step by step configuration.
              I have tried all the configuration steps in Weblogic 7.0 but still i am
              getting an exception while the MessageBridge is trying to get a connection
              from the Target Destination (in my case MQSeries).
              The exception:
              <Oct 17, 2002 11:17:37 AM PDT> <Error> <Connector> <190006> <Error granting
              connection request.>
              javax.resource.spi.ResourceAllocationException: CreateManagedConnection
              Error: Failed to start the connection
              at
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              ol.java:993)
              at
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              ol.java:1762)
              at
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              ctionPoolManager.java:163)
              at
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              ConnectionManagerImpl.java:25)
              at
              weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
              nectionFactory.java:126)
              at
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              java:733)
              at
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
              9)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              thanks,
              Balaji.
              

    Hi Dongbo:
              It worked, as you have said it was configuration problem of the PATH
              variable in my end.
              thanks,
              Balaji.
              "Dongbo Xiao" <[email protected]> wrote in message
              news:[email protected]...
              > Your configuration looks fine except that you are not recommended to
              > put MQSeries stuff in the AdapterClasspath attribute. Instead, the
              > following is what you should do according to the doc.
              >
              > Before starting WebLogic Server:
              >
              > Supply the provider's CLASSPATH in the WebLogic Server CLASSPATH.
              >
              > Include the PATH of any native code required by the provider's
              > client-side libraries in the WebLogic Server system PATH. (This variable
              > may vary depending on your operating system.)
              >
              > You can also check the Messaging Bridge part of the following doc:
              >
              >
              http://dev2dev.bea.com/resourcelibrary/whitepapers.jsp?highlight=whitepapers
              >
              > If the bridge still does not work after you correctly set everything,
              > you need to check all the values that you set for the attributes
              > (ConnectionURL
              > and etc)of the JMSBridgeDestination corresponding to the MQSeries queue.
              > Make sure
              > you can access MQSeries with those values from a client.
              >
              > It should work. Most commonly seen problems are configuration problems
              > or
              > environment problems.
              >
              > Good luck.
              > Dongbo
              >
              > Balaji Venkataraman wrote:
              > >
              > > Hi Dongbo: Please find herewith the information requested by you.
              > >
              > > Related Properties from Config.xml:
              > >
              > > <Application Deployed="true" Name="jms-xa-adp"
              > > Path="C:\bea\weblogic700\server\lib" TwoPhase="true">
              > > <ConnectorComponent Name="jms-xa-adp" Targets="adminserver"
              > > URI="jms-xa-adp.rar"/>
              > > </Application>
              > >
              > > JMS Related Entries:
              > >
              > > <JMSBridgeDestination ConnectionFactoryJNDIName="ediJMSFactory"
              > > DestinationJNDIName="MQ_WEBEDI_TO_OPUSTX"
              > > Name="MQSourceDestination"/>
              > > <JMSBridgeDestination
              > > Classpath="c:\Program
              > > Files\IBM\MQSeries\Java\samples\base;c:\Program
              > > Files\IBM\MQSeries\java\lib\com.ibm.mq.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\com.ibm.mqjms.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\jms.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\jndi.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\fscontext.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\providerutil.jar;c:\Program
              > > Files\IBM\MQSeries\java\lib\connector.jar;"
              > > ConnectionFactoryJNDIName="mqXAQCF"
              > > ConnectionURL="file://c:\bea\wlsmq" DestinationJNDIName="mqQ"
              > >
              InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
              > > Name="MQTargetDestination"/>
              > > <JMSConnectionFactory AllowCloseInOnMessage="true"
              > > JNDIName="ediJMSFactory" Name="ediJMSFactory"
              > > Targets="adminserver" UserTransactionsEnabled="true"
              > > XAConnectionFactoryEnabled="true" XAServerEnabled="true"/>
              > > <JMSFileStore Directory="filestore" Name="MyJMSFile Store"/>
              > > <JMSServer Name="MyJMSServer" Store="MyJMSFile Store"
              > > Targets="adminserver">
              > > <JMSQueue DeliveryModeOverride="Persistent"
              > > JNDIName="MQ_WEBEDI_TO_OPUSTX" Name="OpusQueue"
              > > StoreEnabled="true"/>
              > > </JMSServer>
              > >
              > > Message Bridge:
              > >
              > > <MessagingBridge Name="MyMessaging Bridge"
              > > SourceDestination="MQSourceDestination"
              > > TargetDestination="MQTargetDestination" Targets="adminserver"/>
              > >
              > > thanks,
              > > Balaji.
              > >
              > > "Dongbo Xiao" <[email protected]> wrote in message
              > > news:[email protected]...
              > > >
              > > > Please send your configuration for the source bridge destination,
              > > > target bridge destination and the bridge itself.
              > > >
              > > > Dongbo
              > > >
              > > > Balaji Venkataraman wrote:
              > > > >
              > > > > Hi :
              > > > >
              > > > > Has anyone configured MQ Series 5.2 under weblogic 7.0 ?. I would
              > > appreciate
              > > > > if you could let me step by step configuration.
              > > > >
              > > > > I have tried all the configuration steps in Weblogic 7.0 but still i
              am
              > > > > getting an exception while the MessageBridge is trying to get a
              > > connection
              > > > > from the Target Destination (in my case MQSeries).
              > > > >
              > > > > The exception:
              > > > > <Oct 17, 2002 11:17:37 AM PDT> <Error> <Connector> <190006> <Error
              > > granting
              > > > > connection request.>
              > > > > javax.resource.spi.ResourceAllocationException:
              CreateManagedConnection
              > > > > Error: Failed to start the connection
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              > > > > ol.java:993)
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              > > > > ol.java:1762)
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              > > > > ctionPoolManager.java:163)
              > > > > at
              > > > >
              > >
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              > > > > ConnectionManagerImpl.java:25)
              > > > > at
              > > > >
              > >
              weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseCon
              > > > > nectionFactory.java:126)
              > > > > at
              > > > >
              > >
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              > > > > java:733)
              > > > > at
              > > > >
              > >
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
              > > > > 9)
              > > > > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              > > > >
              > > > > thanks,
              > > > > Balaji.
              > >
              > > <?xml version="1.0" encoding="UTF-8"?>
              > > <!--If your domain is active, please do not edit the config.xml file.
              Any changes made to that file while the domain is active will not have any
              effect on the domain's configuration and are likely to be lost. If your
              domain is inactive, you may edit this file with an XML editor. If you do so,
              please refer to the BEA Weblogic Server Configuration Reference
              documentation available from http://edocs.bea.com/wls/docs70/config_xml. In
              general, we recommend that changes to your configuration file be made
              through the Administration Console.-->
              > > <Domain ConfigurationVersion="7.0.0.0" Name="edixml">
              > > <Application Deployed="true" Name="DefaultWebApp"
              > > Path=".\applications" StagedTargets="" TwoPhase="false">
              > > <WebAppComponent Name="DefaultWebApp" Targets="adminserver"
              URI="DefaultWebApp"/>
              > > </Application>
              > > <Application Deployed="true" Name="certificate"
              > > Path=".\applications" StagedTargets="" TwoPhase="false">
              > > <WebAppComponent Name="certificate" Targets="adminserver"
              URI="certificate.war"/>
              > > </Application>
              > > <Application Deployed="true" Name="jms-xa-adp"
              > > Path="C:\bea\weblogic700\server\lib" TwoPhase="true">
              > > <ConnectorComponent Name="jms-xa-adp" Targets="adminserver"
              URI="jms-xa-adp.rar"/>
              > > </Application>
              > > <ApplicationManager Name="edixml"/>
              > > <Cluster ClusterAddress="208.193.6.143:7001,208.193.6.143:8001"
              > > MulticastAddress="237.0.0.4" MulticastPort="7777"
              Name="edixmlcluster"/>
              > > <EmbeddedLDAP
              > > Credential="{3DES}iLJIRpiJCbQYHvktF5nq32XqGBhWLQpLEcMRXP+KJi0="
              Name="edixml"/>
              > > <FileRealm Name="wl_default_file_realm"/>
              > > <JDBCConnectionPool DriverName="oracle.jdbc.driver.OracleDriver"
              > > Name="OracleDBPool"
              > >
              Properties="user=webedi7;password=webedi7;dll=ocijdbc8;protocol=thin"
              > > Targets="adminserver" TestConnectionsOnReserve="true"
              > > TestTableName="numberblockmaster"
              URL="jdbc:oracle:thin:@192.168.222.6:1521:ora8"/>
              > > <JDBCTxDataSource JNDIName="OracleTxDS" Name="OracleTxDS"
              PoolName="OracleDBPool"/>
              > > <JMSBridgeDestination ConnectionFactoryJNDIName="ediJMSFactory"
              > > DestinationJNDIName="MQ_WEBEDI_TO_OPUSTX"
              Name="MQSourceDestination"/>
              > > <JMSBridgeDestination
              > > Classpath="c:\Program
              Files\IBM\MQSeries\Java\samples\base;c:\Program
              Files\IBM\MQSeries\java\lib\com.ibm.mq.jar;c:\Program
              Files\IBM\MQSeries\java\lib\com.ibm.mqjms.jar;c:\Program
              Files\IBM\MQSeries\java\lib\jms.jar;c:\Program
              Files\IBM\MQSeries\java\lib\jndi.jar;c:\Program
              Files\IBM\MQSeries\java\lib\fscontext.jar;c:\Program
              Files\IBM\MQSeries\java\lib\providerutil.jar;c:\Program
              Files\IBM\MQSeries\java\lib\connector.jar;"
              > > ConnectionFactoryJNDIName="mqXAQCF"
              > > ConnectionURL="file://c:\bea\wlsmq" DestinationJNDIName="mqQ"
              > >
              InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
              Name="MQTargetDestination"/>
              > > <JMSConnectionFactory AllowCloseInOnMessage="true"
              > > JNDIName="ediJMSFactory" Name="ediJMSFactory"
              > > Targets="adminserver" UserTransactionsEnabled="true"
              > > XAConnectionFactoryEnabled="true" XAServerEnabled="true"/>
              > > <JMSFileStore Directory="filestore" Name="MyJMSFile Store"/>
              > > <JMSServer Name="MyJMSServer" Store="MyJMSFile Store"
              Targets="adminserver">
              > > <JMSQueue DeliveryModeOverride="Persistent"
              > > JNDIName="MQ_WEBEDI_TO_OPUSTX" Name="OpusQueue"
              StoreEnabled="true"/>
              > > </JMSServer>
              > > <JTA Name="edixml"/>
              > > <JTARecoveryService Name="primary"/>
              > > <JTARecoveryService Name="secondary"/>
              > > <Log FileName=".\wl-domain.log" Name="edixml"/>
              > > <MessagingBridge Name="MyMessaging Bridge"
              > > SourceDestination="MQSourceDestination"
              > > TargetDestination="MQTargetDestination" Targets="adminserver"/>
              > > <MigratableTarget Cluster="edixmlcluster"
              > > Name="primary (migratable)"
              > > Notes="This is a system generated default migratable target for
              a server. Do not delete manually." UserPreferredServer="primary"/>
              > > <MigratableTarget Cluster="edixmlcluster"
              > > Name="secondary (migratable)"
              > > Notes="This is a system generated default migratable target for
              a server. Do not delete manually." UserPreferredServer="secondary"/>
              > > <PasswordPolicy Name="wl_default_password_policy"/>
              > > <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
              > > <SNMPAgent Name="edixml"/>
              > > <Security GuestDisabled="false" Name="edixml"
              > > PasswordPolicy="wl_default_password_policy"
              > > Realm="wl_default_realm" RealmSetup="true"/>
              > > <SecurityConfiguration
              > >
              Credential="{3DES}du0wFpH35kta7XFhGk6UV2mve7IhavFhAJ8uSzz1W4Gt2i9CV4PDWSLsnb
              6nJjMiej2UAIGHrmT3RGIQG1sn9R0xaYz1STwV" Name="edixml"/>
              > > <Server ListenAddress="208.193.6.143" ListenPort="9001"
              > > Name="adminserver" NativeIOEnabled="true"
              ServerVersion="7.0.0.0">
              > > <COM Name="adminserver"/>
              > > <ExecuteQueue Name="default" ThreadCount="15"/>
              > > <IIOP Name="adminserver"/>
              > > <JTAMigratableTarget Cluster="" Name="adminserver"
              UserPreferredServer="adminserver"/>
              > > <KernelDebug Name="adminserver"/>
              > > <Log FileName=".\adminserver\adminserver.log"
              Name="adminserver"/>
              > > <SSL Enabled="true" HostnameVerificationIgnored="true"
              > > ListenPort="9002" Name="adminserver"
              > > ServerCertificateChainFileName="ca.pem"
              > > ServerCertificateFileName="democert.pem"
              ServerKeyFileName="demokey.pem"/>
              > > <ServerDebug Name="adminserver"/>
              > > <ServerStart Name="adminserver"/>
              > > <WebServer DefaultWebApp="DefaultWebApp"
              > > LogFileName=".\adminserver\access.log" LoggingEnabled="true"
              Name="adminserver"/>
              > > </Server>
              > > <Server Cluster="edixmlcluster" JTARecoveryService="primary"
              > > ListenAddress="208.193.6.143" ListenPort="7001" Name="primary"
              > > NativeIOEnabled="true" ServerVersion="7.0.0.0">
              > > <COM Name="primary"/>
              > > <ExecuteQueue Name="default" ThreadCount="15"/>
              > > <IIOP Name="primary"/>
              > > <JTAMigratableTarget Cluster="edixmlcluster" Name="primary"
              UserPreferredServer="primary"/>
              > > <KernelDebug Name="primary"/>
              > > <Log Name="primary"/>
              > > <SSL Name="primary"/>
              > > <ServerDebug Name="primary"/>
              > > <ServerStart Name="primary"/>
              > > <WebServer Name="primary"/>
              > > </Server>
              > > <Server Cluster="edixmlcluster" JTARecoveryService="secondary"
              > > ListenAddress="208.193.6.143" ListenPort="8001" Name="secondary"
              > > NativeIOEnabled="true" ServerVersion="7.0.0.0">
              > > <COM Name="secondary"/>
              > > <ExecuteQueue Name="default" ThreadCount="15"/>
              > > <IIOP Name="secondary"/>
              > > <JTAMigratableTarget Cluster="edixmlcluster" Name="secondary"
              UserPreferredServer="secondary"/>
              > > <KernelDebug Name="secondary"/>
              > > <Log Name="secondary"/>
              > > <SSL Name="secondary"/>
              > > <ServerDebug Name="secondary"/>
              > > <ServerStart Name="secondary"/>
              > > <WebServer Name="secondary"/>
              > > </Server>
              > > </Domain>
              

  • IIS configuration with Weblogic 10gR3

    Hi All,
    We are using IIS 6.0 as the proxy server in our portal application. The portal server is Weblogic 10gR3. I have followed some documents to configure it. (http://download-llnw.oracle.com/docs/cd/E13222_01/wls/docs103
    /plugins/isapi.html). But I am not able to configure that. Can any body help me in configuring IIS server as a proxy server.
    Thanks & Regrads
    Abani R. Behera

    Configure IIS Plug-in with Weblogic Server
    1. Make a directory on the IIS box for the plug-in.
    For instance: c:\Inetpub\WLS_IIS_Plugin\
    2. Copy iisforward.dll and iisproxy.dll to this new directory.
    These files are located at:
    10.0: \wlserver_10.0\server\plugin\win\32
    10.3: \wlserver_10.3\server\plugin\win\32
    3. To install iisforward.dll as an ISAPI filter, do the following:
    Go to Start->Administrative Tools->Internet Information Services
    (IIS) Manager
    In the left pane, drill down to the active website
    (like "Default Web Site")
    Right-click the active website and select Properties
    Select the ISAPI Filters tab and press the Add button
    Filter name: WLS IIS Plugin
    Or whatever you want
    Executable: C:\Inetpub\WLS_IIS_Plugin\iisforward.dll
    Or whatever path you created
    Press OK twice
    IIS6 does not allow the iisforward.dll ISAPI Extension to run by default.
    To enable:
    In the left pane of the Internet Information Services (IIS) Manager,
    click on Web Service Extension (located under the computer name)
    In the right pane, highlight All Unknown ISAPI Extensions and press
    the Allow button
    4. To map .wlforward to use iisproxy.dll, do the following:
    a. In the left pane, drill down to the active website (like
    "Default Web Site")
    b. Right-click the active website and select Properties
    c. Select Home Directory tab
    d. Click the Configuration... button.
    e. In the Application Mapping tab, click the Add... button.
    a. Executable: C:\Inetpub\WLS_IIS_Plugin\iisproxy.dll
    b. Extension: .wlforward
    f. Uncheck Verify that file exists
    g. IMPORTANT: Ensure .wlforward is not mapped to iisforward.dll.
    While this seems intuitive, it is wrong. .wlforward maps to
    iisproxy.dll.
    h. Press OK three times
    i. Exit the IIS Manager MMC console.
    5. Create a text file named iisproxy.ini and place it in the plug-in
    directory (e.g. c:\Inetpub\WLS_IIS_Plugin\iisproxy.ini)
    iisproxy.ini
    WebLogicCluster=localhost:7001,localhost:7003
    WlForwardPath=/
    Debug=ALL
    DebugConfigInfo=ON
    WLLogFile=c:/temp/iisproxy.log
    6. Restart IIS using the following CLI statement: iisreset /restart
    7. Use a browser to access IIS. This will 'turn on' the IIS->WLS
    ISAPI filter.
    8. Relaunch the IIS Manager and check the ISAPI filter tab to ensure
    the iisforward.dll is now 'turned on', as evidenced by a green arrow.

Maybe you are looking for

  • How do I create an Entity Bean with unknown primary keys

    Hi, Can a good folk help me. I am mapping an entity bean to an oracle table for the purpose of logging . I do not need a primary key contraint on this table. How do I specify in my entity bean file descriptor not to use any field for primary key ...

  • Regza 40" LCD TV emits high frequency noise

    A few months ago I was lucky to win this television, a 106 cm Regza HD LCD. I was very pleased because I could never have afforded it myself, and I am very happy with its performance generally. What I find however is that it emits a high frequency no

  • Token longer than max allowable length of 258 chars

    Hi all, i tried to apply a sql case statement in sql loader control file in " " the load succeed with 258 chars case or decode statement but when i add more cases it return sql loader 350 token longer than max LOAD DATA INFILE 'F:\Vou\vou20110613_102

  • No default application when re-installing FCP

    Good afternoon, We installed a copy of FCP that we had to un-install. We tried to drag everything FCP related to the trash, but now when we try to re-install the software we're getting the message: "There's no default application specified to open th

  • Insufficient bandwith for video discussion

    I am getting the error message "insufficient bandwith" when starting a video with one other person. We both have iChat AV 3 I've got a G4 10.4.2. I tested my bandwith speed and got: downstream: 965 Kbps upstream: 118Kbps which is well above the minim