Deploying MDB on WebLogic server 8.1 (SP2) with Tibco JMS

Hi,
          I am currently facing problems to deploy and run my MDB on weblogic connecting it to Tibco JMS as the foreign jms server.
          <br>
          <b>My ejb-jar.xml:</b>
          <br>
          <message-driven>
                    <ejb-name>DeAMMsgFactors</ejb-name>
                    <ejb-class>com.db.deam.mdb.DeAMMsgFactors</ejb-class>
                    <transaction-type>Container</transaction-type>
                    <message-driven-destination>
                         <destination-type>javax.jms.Topic</destination-type>
                    </message-driven-destination>
               </message-driven>
               </enterprise-beans>
               <assembly-descriptor>
                    <security-role>
                              <role-name>soiadmin</role-name>
               </security-role>
               </assembly-descriptor>
          <br>
          <b>weblogic-ejb-jar.xml:</b>
          <br>
          <weblogic-enterprise-bean>
          <ejb-name>DeAMMsgFactors</ejb-name>
          <message-driven-descriptor>
          <pool>
          <max-beans-in-free-pool>20</max-beans-in-free-pool>
          <initial-beans-in-free-pool>10</initial-beans-in-free-pool>
          </pool>
          <destination-jndi-name>WLFactorsTopic</destination-jndi-name>
          <connection-factory-jndi-name>WLFactorsCF</connection-factory-jndi-name>
          <jms-polling-interval-seconds>10</jms-polling-interval-seconds>
          </message-driven-descriptor>
          <transaction-descriptor>
          <trans-timeout-seconds>100000</trans-timeout-seconds>
          </transaction-descriptor>
               </weblogic-enterprise-bean>
               <security-role-assignment>
          <role-name>soiadmin</role-name>
          <principal-name>jmsusername</principal-name>
               </security-role-assignment>
          <br>
          <b>Error:</b>
          weblogic.ejb20.WLDeploymentException: [EJB:011014]The Message-Driven EJB failed while creating a JMS Connection. The err
          or was:
          javax.jms.JMSSecurityException: invalid name or password.
          javax.jms.JMSSecurityException: invalid name or password
          at com.tibco.tibjms.Tibjmsx.buildException(Tibjmsx.java:395)
          at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:581)
          at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1743)
          at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:35)
          at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:92)
          at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:121)
          at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTopicConnectionFactory.java:66)
          at weblogic.ejb20.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:607)
          at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1783)
          at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1087)
          at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoller.java:970)
          at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
          at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
          at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
          at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          at weblogic.ejb20.internal.JMSConnectionPoller.getConnection(JMSConnectionPoller.java:638)
          at weblogic.ejb20.internal.JMSConnectionPoller.createJMSConnection(JMSConnectionPoller.java:1783)
          at weblogic.ejb20.internal.JMSConnectionPoller.connectToJMS(JMSConnectionPoller.java:1087)
          at weblogic.ejb20.internal.JMSConnectionPoller.trigger(JMSConnectionPoller.java:970)
          at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
          at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
          at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
          at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
          at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
          at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:50)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
          [JMSConnectionPoller] : ** Connect attempt for: WLFactorsTopic was: unsuccessful
          <br>
          <u><b>Any help would be appreciated.</b></u>
          <br>
          Thanks,<br>
          Kiran Kumar MV.

I was able to use MDB to receive msg from a Tibco JMS queue. This is what you have to do: using WL console,
          - set up a foreign JMS Server. Make sure you specify the following correctly: jndi initial context factory (tibjms class), tibjms server url, username/password
          - create a foreign connection factory (if you are using CMT, make sure you create a XA compliant connection factory in Tibco JMS server). It seems that you have to specify URL again when creating XA connection factory in Tibjms.
          - create a foreign destination (queue/topic)
          In ejb-jar.xml and weblogic-ejb-jar.xml,
          - use resource-ref (wrapper) to specify the foreign connection factory
          - use resource-env-ref to specify the foreign destination.
          - In MDB ejb-jar.xml, specify destination-jndi-name and connection-factory-jndi-name.
          See Message Driven Beans chapter in Programming WebLogic EJB doc.
          Good luck.

Similar Messages

  • Weblogic server 7.0 SP2 with jdk1.4

    Our current environment is installed WLS 7.0 with SP2 on Win2000 Server. And we
    like to upgrade the JDK version to 1.4.
    Any suggection? Will it cause any problem to start WLS once we upgrade the JDK
    version?
    Thanks!
    Evan

    WebLogic 7.0 would not support the additional features in JDK 1.4
    thanks,
    Deepak
    "Evan" <[email protected]> wrote:
    >
    Thanks for the replying.
    But if we'd like to keep using WebLogic Server 7.0.
    Is there any impact to upgrade to JDK 1.4?
    Evan
    "Deepak Vohra" <[email protected]> wrote:
    WebLogic Server 7.0 supports the 1.3.1_02 JDK.
    WebLogic Server 8.1 supports JDK 1.4
    "Evan" <[email protected]> wrote:
    Our current environment is installed WLS 7.0 with SP2 on Win2000 Server.
    And we
    like to upgrade the JDK version to 1.4.
    Any suggection? Will it cause any problem to start WLS once we upgrade
    the JDK
    version?
    Thanks!
    Evan

  • BIBeans internationalization issue with weblogic server 8.1 sp2

    We use oralce bibeans 9.0.4 to develop OLAP web application in Chinsese Simplified environment. When deploy the web application on the embedded OC4J server, everything goes well. All the labels (Line items and image button labels etc. ) of the crosstab is displayed in chinese. but it always display English labels when delploy it on weblogic server V8.1 sp2.
    currently on my web page java.util.Locale.getDefault() return zh_CN
    I have done two things:
    first, add exportCharacterEncoding init param for UIXServlet
    <init-param>
    <param-name>exportCharacterEncoding</param-name>
    <param-value>GBK</param-value>
    </init-param>
    second,Set locale for the BIThinSession instance in jsp file.
    oracle.dss.addins.jspTags.BIThinSession bisession = (oracle.dss.addins.jspTags.BIThinSession) pageContext.findAttribute("SalesBIThinSession");
    bisession.setLocale(Locale.getDefault());
    Is this a bug that bibeans can not locate resource bundles correctly base on the user's specified environment? Is there an invisible environment variable base on which the bibean tags judge to select a resource file and result in this phenomenon?

    The intersting point here is that the application works using an Oracle stack but does not work using an IBM stack. I will contact our development engineers for more information and will post another response when I have a reply.
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • Location for dll files in weblogic server 6.1 sp2

    "where to keep *.dll files in weblogic server 6.1 sp2". Application is deployed on weblogic server 6.1 sp2. Application is being integrated with webmethod to publish data. For that we need to put awssl40jn.dll in weblogic server. Could not able to locate where to put this dll file.

    You can have the dll's anywhere. You just need to mention the location
    in java.library.path.
    For example if you have your Dll's in C:\bea\lib
    You need to mention the following in your command line args:
    java -Djava.library.path=C:\bea\lib ****Other Command Line Args****
    weblogic.Server
    Hope this helps.
    -Kiran
    "Dave Martin" <[email protected]> wrote in message news:<[email protected]>...
    I don't see a DLL like yours in a fresh install of WLS 6.1 SP2
    This is the complete list of DLLs I find in my fresh install of WLS 6.1 SP2 (starting
    from the BEA home) on Windows:
    /jdk131/bin/dt_shmem.dll
    /jdk131/bin/dt_socket.dll
    /jdk131/bin/jdwp.dll
    /jdk131/jre/bin/ActPanel.dll
    /jdk131/jre/bin/agent.dll
    /jdk131/jre/bin/awt.dll
    /jdk131/jre/bin/classic/jvm.dll
    /jdk131/jre/bin/cmm.dll
    /jdk131/jre/bin/dcpr.dll
    /jdk131/jre/bin/dt_socket.dll
    /jdk131/jre/bin/fontmanager.dll
    /jdk131/jre/bin/hotspot/jvm.dll
    /jdk131/jre/bin/hpi.dll
    /jdk131/jre/bin/hprof.dll
    /jdk131/jre/bin/ioser12.dll
    /jdk131/jre/bin/java.dll
    /jdk131/jre/bin/jawt.dll
    /jdk131/jre/bin/jcov.dll
    /jdk131/jre/bin/JdbcOdbc.dll
    /jdk131/jre/bin/jdwp.dll
    /jdk131/jre/bin/jpeg.dll
    /jdk131/jre/bin/jpins32.dll
    /jdk131/jre/bin/jpishare.dll
    /jdk131/jre/bin/jsound.dll
    /jdk131/jre/bin/msvcrt.dll
    /jdk131/jre/bin/net.dll
    /jdk131/jre/bin/NPJava11.dll
    /jdk131/jre/bin/NPJava12.dll
    /jdk131/jre/bin/NPJava131.dll
    /jdk131/jre/bin/NPJava32.dll
    /jdk131/jre/bin/NPOJI600.dll
    /jdk131/jre/bin/packager.dll
    /jdk131/jre/bin/server/jvm.dll
    /jdk131/jre/bin/server/jvm_g.dll
    /jdk131/jre/bin/verify.dll
    /jdk131/jre/bin/zip.dll
    /wlserver6.1/bin/fastfile.dll
    /wlserver6.1/bin/iisforward.dll
    /wlserver6.1/bin/iisproxy.dll
    /wlserver6.1/bin/jsafe.dll
    /wlserver6.1/bin/md5.dll
    /wlserver6.1/bin/md5_g.dll
    /wlserver6.1/bin/nodemanager.dll
    /wlserver6.1/bin/oci816_7/weblogicoci37.dll
    /wlserver6.1/bin/oci816_7/weblogicoxa37.dll
    /wlserver6.1/bin/oci816_8/weblogicoci37.dll
    /wlserver6.1/bin/oci816_8/weblogicoxa37.dll
    /wlserver6.1/bin/oci817_8/weblogicoci37.dll
    /wlserver6.1/bin/oci817_8/weblogicoxa37.dll
    /wlserver6.1/bin/oci901_8/weblogicoci37.dll
    /wlserver6.1/bin/oci901_8/weblogicoxa37.dll
    /wlserver6.1/bin/proxy30.dll
    /wlserver6.1/bin/proxy35.dll
    /wlserver6.1/bin/proxy36.dll
    /wlserver6.1/bin/stackdump.dll
    /wlserver6.1/bin/stackdump_g.dll
    /wlserver6.1/bin/terminalio.dll
    /wlserver6.1/bin/wlenv.dll
    /wlserver6.1/bin/wlntio.dll
    /wlserver6.1/bin/wlntio_g.dll
    /wlserver6.1/bin/wlntrealm.dll
    /wlserver6.1/bin/wlntrealm_ms.dll
    /wlserver6.1/uninstaller/resource/iawin32.dll
    /wlserver6.1/uninstaller_servicepack/resource/iawin32.dll
    manoj <[email protected]> wrote:
    "where to keep *.dll files in weblogic server 6.1 sp2". Application is
    deployed on weblogic server 6.1 sp2. Application is being integrated
    with webmethod to publish data. For that we need to put awssl40jn.dll
    in weblogic server. Could not able to locate where to put this dll file.

  • How to delete the deployed composite in weblogic server 11g

    Can someone tell me how to delete the deployed composite in weblogic server 11g ?I'm facing an issue where the weblogic server is getting started and immediately after sometime the server changes to "Force shutdown"..When i checked the logs,there is an error in one of the composite i deployed..So now i wanted to delete the deployed composite?Please help ....
    Thanks

    Hi
    1. Deleting a domain will not hold any references. But make sure that under your user_projects/applications also remove the folder that matches with your domain. Basically under user_projects folder you will see 2 folders named applications and domains. When you create a domain say mySoaDomain, it will crate a folder with the same name under applications folder also with few files like em.ear. If you do this, then you can crate a new soa domain and use the same old name.
    2. NOW comes the most important thing. If you create a new SOADomain, at one point, you had to give details for soainfra and mds schemas. If you give your current existing db details (that was used for your old deleted domain), then you may still have the issues. Because the soainfra db may still have the instances for your old process.
    3. If you really want to have a full clean soa domain, here is what you do:
    a) Run rcu and drop the existing schemas for soainfra and mds.
    b) Run rcu again and create above schemas again.
    c) Now create SOADomain using config wizard and refer above clean rcu db and you are all set.
    3. Under your domain root folder, just searh for files named with your workflow and you should see the .jar location.
    Thanks
    Ravi Jegga

  • Pagelets not rendering in Fusion ADF application pages deployed on standalone weblogic server

    HI All,
    I am creating a Pagelet Producer connection, and dragging a pagelet on the page as iframe, with height auto. When I run the application in the integrated weblogic server, I am able to see the pagelet. However when I deploy the application on the standalone weblogic server, then the pagelet isn't rendered.
    I am using fusion ADF application 11.1.1.7  and standalone weblogic server v 10.3.6.
    Thanks in advance for yours assistance. Please I need a solution for this uregently. DO let me know, if you need any additonal information.
    Regards,
    Nikhil Mahto

    Sorry for the wrong infromation. The correct scenario is:
    I have an ADF application, in which I have a Pagelet producer connection, pages and taskflows. This ADF application is inlcuded in a Webcenter Portal Framework application, as a shared library. When the WCF application is deployed on the Weblogic server, the pagelets don't appear on the pages.
    I tried the FRAMEBUSTING context parameter to never but it didn't help.
    Regards,
    Nikhil Mahto

  • Deployment Application To Weblogic Server Failed

    Hello every body
    I need your help in this problem please :
    I'm using Oracle JDeveloper 11.1 in my local machine, I Installed Weblogic Server 10.3 on the server and it's works well, I made new JDBC connection in Weblogic Server and it's works well too.
    I made new ADF Fusion web Application and I used the same connection that I used in Weblogic server and it's works well.
    I made new Application Server Connection from my local machine and It's works well with my user account.
    In my project I made new WAR deployment, Also I configured my Application properties to Bind Application to the Weblogic server Instance.
    1-when I try to deploy my project to Weblogic server I get this error message :
    Deploying Application...
    [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application test_webapp on AdminServer.: Failed to load webapp: 'test_webapp.war'.
    weblogic.application.ModuleException: Failed to load webapp: 'test_webapp.war'
    #### Deployment incomplete. #### Feb 15, 2009 12:18:01 PM
    Deployment Failed
    2-Another application was deployed before to Weblogic server, it seems running well, whereas Weblogic Server marks my deployment health as OK, but when I try to run it for test using this URL : http://serverIP:Port/Deployment Name, I get this Error : Error 403--Forbidden
    What Should I do for both cases ?
    Thanks a lot ...

    Thanks Timo
    But first I don't use any library at my project , this is last log in Weblogic Server logfile :
    ####<Feb 16, 2009 1:56:58 PM EET> <Warning> <DeploymentService> <D2KR2> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <Osama> <> <> <1234785418343> <BEA-290008> <Deployment service servlet encountered while extracting uploaded file to directory ".\servers\AdminServer\upload\test_webapp". Exception is: "invalid distance code".>
    Where D2KR2 is my Server Name
    Osama is my user in Weblogic Server
    test_webapp is the Application name
    My problem didn't solved yet, and I'm new at JDeveloper ADF.
    Where I can find clear information about deploying projects to Weblogic server.
    Thank's Agin ...
    Edited by: user8330337 on 15/02/2009 04:09 ص

  • Exception while starting deployed EAR in weblogic server

    Hi,
    I am using Oracle jdeveloper 11.1.1.4.0 and have created EAR of my application.
    I deployed it in WebLogic Server, however when I tried to start(servicing all request) the same.
    It is throwing following exception,
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references.
    Unresolved application library references, defined in weblogic-application.xml:
    [Extension-Name: adf.oracle.domain, exact-match: false].Where is this weblogic-application.xml file located?
    Appreciate your help.
    Thanks in Advance,
    Madhav.

    Hi,
    Thanks, these links are really helpful.
    I added that library in server shared library successfully.
    but now there is new exception while starting the application using deployed EAR,
    weblogic.common.ResourceException: java.security.PrivilegedActionException:
    weblogic.common.ResourceException: java.security.PrivilegedActionException:
    weblogic.common.ResourceException: No credential mapper entry found for password indirection user=sa
    for data source CommonConnThanks,
    Madhav.
    Edited by: Madhav on Aug 19, 2011 12:56 AM

  • BUG: Entering a "version" when deploying to a WebLogic server doesn't work

    By default when deploying to a weblogic server the "Version" is set to v2.0. If you change that to something like v2.1 when the application is deployed, the deployment logs still show the Version=2.0. What needs to be done to get the Version in deployment to accept the changes on the deployment form?

    Sorry, I wasn't clear. This is a Portal application deployed using MDS. So it doesn't have the file referenced in that blog post. The Version field I'm referring to is on the form that pops up to set the MDS repository. For reasons unknown it will always come up v2.0 even during the first deployment. Regardless of what I change it to the Version always equals 2.0 in the deployment logs.

  • Deploy JPF to WebLogic Server Editon?

    Is it possible to deploy JPF components on a WebLogic <u><b>Server</b></u> domain?
    Can anyone or a BEA person advise?

    The JDeveloper IDE has the provision to remote debug applications deployed in the WebLogic Server with a Remote Debugger. With the remote debugger obtain the classes which are producing the ClassNotFoundException.

  • Location of WebLogic Server 6.0 sp2 installable file in ZIP format

    Hello
    I would like to use the ".zip" file of the WebLogic Server 6.0 sp2 installable
    instead of the default ".bin" file.
    Can someone help me locate the URL for downloading it?
    Thanks and Regards
    Kapil Pawar

    Hi.
    The installation for Compaq Tru64 is a zip file - 'weblogic600sp2_generic.zip'.
    However, be aware that installation is not simply a matter of unzipping the file
    like earlier versions of WLS. See the installation directions for details.
    Thanks,
    Michael
    Kapil Pawar wrote:
    Hello
    I would like to use the ".zip" file of the WebLogic Server 6.0 sp2 installable
    instead of the default ".bin" file.
    Can someone help me locate the URL for downloading it?
    Thanks and Regards
    Kapil Pawar--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Site Studio sample site deployment into a WebLogic Server

    Hi,
    Need help in the following requirement . I need to demonstrate Site Studio sample site deployment into a WebLogic Server host with access to eCM content.Host will be configured for HTTPS.
    Host(Domain1) and ECM(Domain 2) are on two different domains . ECM(Domain 2) will provide a war file that should be deployed on Host(Domain1). What do I need to do to achieve this.
    Please help.
    I am new to weblogic deployed if my question is not clear please let me know what more details I need to have for accomplish this.
    Edited by: user4581381 on Nov 21, 2010 6:49 PM

    Thank you for your help but the result is still the same.
    I deployed the library on weblogic server suggested by you.
    File Deployed as library = oracle.adf.desktopintegration.model.ear
    From the folder = C:\Oracle\Middleware\oracle_common\modules\oracle.adf.desktopintegration.model_11.1.1
    It is active.
    After this I loaded jdeveloper and deploy the same sample application and found that the result is same.
    Pls let me know where I am going wrong.
    Regards,
    Masood
    [11:53:09 AM] ---- Deployment started. ----
    [11:53:09 AM] Target platform is (Weblogic 10.3).
    [11:53:09 AM] Retrieving existing application information
    [11:53:09 AM] Running dependency analysis...
    [11:53:09 AM] Building...
    [11:53:09 AM] Deploying 2 profiles...
    [11:53:09 AM] Wrote Web Application Module to C:\JDeveloper\mywork\10MinDemo\ViewController\deploy\10MinDemo_ViewController_webapp.war
    [11:53:10 AM] Wrote Enterprise Application Module to C:\JDeveloper\mywork\10MinDemo\deploy\10MinDemo_Project1_10MinDemo.ear
    [11:53:10 AM] Deploying Application...
    [11:53:10 AM] [Deployer:149191]Operation 'deploy' on application '10MinDemo_Project1_10MinDemo' is initializing on 'ADFServer'
    [11:53:11 AM] [Deployer:149193]Operation 'deploy' on application '10MinDemo_Project1_10MinDemo' has failed on 'ADFServer'
    [11:53:11 AM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application 10MinDemo_Project1_10MinDemo on ADFServer.: .
    [11:53:11 AM] Weblogic Server Exception: weblogic.management.DeploymentException:
    [11:53:11 AM] Caused by: java.lang.ClassNotFoundException: oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener
    [11:53:11 AM] See server logs or server console for more details.
    [11:53:11 AM] weblogic.management.DeploymentException:
    [11:53:11 AM] Deployment cancelled.
    [11:53:11 AM] ---- Deployment incomplete ----.
    [11:53:11 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

  • How to connect sql server 2008 r2 sp2 with vs2013 ultimate?

    how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?

    Hi Shahzad,
    >>how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?
    Based on your issue, if you wan to connect the sql server 2008 r2 sp2 from VS2013 IDE. I suggest you can try the Ammar and darnold924's suggestion to check your issue.
    In addition, I suggest you can also refer the following steps to connect the sql server 2008 r2 sp2 with visual studio 2013 ultimate.
    Step1: I suggest you can go to VIEW->SQL Server Object Explorer->Right click SQL Server->Add SQL Server.
    Step2: After you connect the SQL Server 2008 r2 sp2 fine, I suggest you can go to VIEW->Server Explorer-> right click the Data Connection->Add Connection.
    And then you can create the connect string in the Add Connection dialog box.
    Hope it help you!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Weblogic server 5.1.0 with sp8 does not work with LDAP (Netscape Directory Server 4.12)

    I have weblogic server 5.1.0 with the sp8 running on Windows NT server 4.0.
    The weblogic server is configured to use LDAP realm (Netscape directory
    server 4.12).
    When I try to run weblogic server and I am getting the following errors:
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: java.lang.ExceptionInInitialize
    or: weblogic.security.ldaprealm.LDAPRealmException: cannot connect to ldapse
    without a principal to authenticate as
    at weblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    .java, Compiled Code)
    at weblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    at weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.ExceptionInInitializerError: weblogic.security.ldaprealm.LDAPRealm
    ption: cannot connect to ldapserver without a principal to authenticate as
    at weblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    .java, Compiled Code)
    at weblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    at weblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    And here is the my ldaprealm.properties file
    netscape.server.host=localhost
    netscape.server.port=389
    netscape.server.ssl=false
    netscape.server.principal=uid=admin, ou=Administrators,
    ou=TopologyManagement, o=NetscapeRoot
    netscape.server.credential=password
    netscape.user.dn=ou=People, o=towers.com
    netscape.user.filter=(&(uid=%u)(objectclass=person))
    netscape.group.dn=ou=Groups, o=towers.com
    netscape.group.filter=(&(cn=%g)(objectclass=groupofuniquenames))
    netscape.membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquename
    s))
    By looking at the error message, it seems like the "server.principal" and
    "server.credential" info is not correct.
    But I was able to use the same Netscape Directory server with Welogic 5.1.0
    with sp4, although the ldaprealm.properties file has somewhat different
    format.
    Did anyone have similar problems with sp8?
    Thanks in advance for any suggestions.

    BEA support just gave me the solution.
    They told me to uncomment out the line
    server.alias=netscape
    in the ldaprealm.properties file
    And I am able to start weblogic with my NIS
    Thanks
    "Enrique" <[email protected]> wrote in message
    news:[email protected]...
    >
    Hi,
    Have you try to remove the "system" user on the LDAP server?
    Regards.
    "Honghai Zhang" <[email protected]> wrote:
    I have weblogic server 5.1.0 with the sp8 running on Windows NT server
    4.0.
    The weblogic server is configured to use LDAP realm (Netscape directory
    server 4.12).
    When I try to run weblogic server and I am getting the following errors:***************************************************************************
    The WebLogic Server did not start up properly.
    Exception raised: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException:
    java.lang.ExceptionInInitialize
    or: weblogic.security.ldaprealm.LDAPRealmException: cannot connect toldapse
    without a principal to authenticate as
    atweblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    ..java, Compiled Code)
    atweblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    atweblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)
    java.lang.ExceptionInInitializerError:weblogic.security.ldaprealm.LDAPRealm
    ption: cannot connect to ldapserver without a principal to authenticate
    as
    atweblogic.security.ldaprealm.LDAPDelegate.setupProperties(LDAPDele
    ..java, Compiled Code)
    atweblogic.security.ldaprealm.LDAPDelegate.<clinit>(LDAPDelegate.ja
    83)
    atweblogic.security.ldaprealm.LDAPRealm.<init>(LDAPRealm.java:34)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:241)
    at weblogic.security.acl.Realm.getRealm(Realm.java:78)
    at weblogic.security.acl.Realm.getRealm(Realm.java:56)
    at weblogic.t3.srvr.T3Srvr.initializeSecurity(T3Srvr.java:1756)
    at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java, Compiled Code)
    at weblogic.t3.srvr.T3Srvr.main(T3Srvr.java:827)
    at java.lang.reflect.Method.invoke(Native Method)
    at weblogic.Server.startServerDynamically(Server.java:99)
    at weblogic.Server.main(Server.java:65)
    at weblogic.Server.main(Server.java:55)***************************************************************************
    And here is the my ldaprealm.properties file////////////////////////////////////////////////////////////////////////////
    netscape.server.host=localhost
    netscape.server.port=389
    netscape.server.ssl=false
    netscape.server.principal=uid=admin, ou=Administrators,
    ou=TopologyManagement, o=NetscapeRoot
    netscape.server.credential=password
    netscape.user.dn=ou=People, o=towers.com
    netscape.user.filter=(&(uid=%u)(objectclass=person))
    netscape.group.dn=ou=Groups, o=towers.com
    netscape.group.filter=(&(cn=%g)(objectclass=groupofuniquenames))
    netscape.membership.filter=(&(uniquemember=%M)(objectclass=groupofuniquename
    s))////////////////////////////////////////////////////////////////////////////
    By looking at the error message, it seems like the "server.principal" and
    "server.credential" info is not correct.
    But I was able to use the same Netscape Directory server with Welogic5.1.0
    with sp4, although the ldaprealm.properties file has somewhat different
    format.
    Did anyone have similar problems with sp8?
    Thanks in advance for any suggestions.

  • Getting error while deploying application in weblogic server 9.2

    Im getting below error in production in weblogic 9.2 server.
    ####<Jan 27, 2010 8:17:02 PM AST> <Error> <Deployer> <hpw2k3los01> <LOSWebServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1264612622151> <BEA-149205> <Failed to initialize the application 'NCB_LOS' due to error weblogic.management.DeploymentException: Exception occured while downloading files.
    weblogic.management.DeploymentException: Exception occured while downloading files
         at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:43)
         at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
         at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:98)
         at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:663)
         at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:706)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:100)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over HTTP to server: '192.168.50.5', port: '80'
         at weblogic.net.http.HttpClient.openServer(HttpClient.java:320)
         at weblogic.net.http.HttpClient.openServer(HttpClient.java:375)
         at weblogic.net.http.HttpClient.<init>(HttpClient.java:149)
         at weblogic.net.http.HttpClient.New(HttpClient.java:245)
         at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:160)
         at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.getDataAsStream(HttpDataTransferHandler.java:75)
         at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$RemoteDataTransferHandler.getDataAsStream(DataHandlerManager.java:153)
         at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:39)
         at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:56)
         at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:98)
         at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:663)
         at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForStatic(BasicDeployment.java:706)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:100)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:38)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    This error is intermittent and comes during deployment.Once we get this error we have restart the server.
    Can someone please tell what is the cause of this error?
    we dont have any server with Ip '192.168.50.5' as mentioned in the error message.and what exactly is the server trying to download here?
    Edited by: user12537931 on Jan 31, 2010 4:09 AM

    Hi,
    How are you trying to deploy your application on the Server...Using Admin Console...or Using any Script Like WLDeployer?
    The issue seems to be related to Http protocol in port 80.
    Are you sure that in your Production environment there is not firewall blocking issue...on port 80...?
    Some firewall settings rejects any existing connection to be opened for a long time....If your application takes some time, then please check that the firewall doesn't disconnect the existing connection until the deployment time gets over.
    <font color=red>Note: </font>Sometimes this kind of issue happens when we try to deploy our application on WebLogic Server...at that time based on the XSD informations available in our DeploymentDescriptors...the Server tries to download those DTDs from the mentioned URIs....
    Example:
    web.xml has some entries like:
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    In above case if the Firewall of our production environment Blocks any request to pass through Port 80 (default Http Port) then we get such exceptions.
    http://middlewaremagic.com/weblogic/?p=802
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware Magic Is Here)

Maybe you are looking for

  • Is there a way to select all layers at once?

    I have a bunch of layers, WITHOUT holding down control and clicking each one, one by one, is there a button or shortcut to just auto highlight all the layers, Im trying to move them around evenly together on the canvase at once. Thanks

  • Keep getting error message 2738 when trying to update to 7.3.1

    Hi folks I need some help... I keep getting an error code 2738 when I try to upgrade to 7.3.1.... I tried to uninstall itunes thinking that if I had a clean slate then it would allow me to upgrade.... and that went okay I then tried to unistall quick

  • SAP NetWeaver AS ABAP 7.1 for Mobile 7.1 Trial Version

    From where can I get the SAP NetWeaver AS ABAP 7.1 which is required to run data synchronization with NetWeaver Mobile 7.1 ? As per the download notes, for mobile 7.1 - "Note: SAP NetWeaver AS ABAP 7.1 is NOT part of the download package, but is inte

  • Left my iPad connected to my Windows XP Laptop Overnight - It charged

    I'm finding that if my iPad is left connected to my Windows XP laptop overnight (following a sync) that in the morning it's battery is fully charged. However, when I initially connect it and sync it the iPad clearly says 'Not Charging' in the top of

  • Downloading RD user cal from Microsoft Volume site

    Hello, I am running across Microsoft Volume site for past 30 mins, but cannot find anything like RD User CAL license. only thing closet I can see is "WinRemote Desktop SrvsCAL 4.5 w/Application Virt for Term" , is that the same? I have build a tradit