Problem trying to create a connection to Weblogic

Hello,
I desperately try to create a connection to a weblogic 6.1sp2 server in JDeveloper.
The Weblogic server is located on my computer. I just try to connect to the defaultserver running on my PC.
Each time I get a message when I try to test the connection :
"Cannot instanciate Webloci.jndi.WLinitialcontextfactory"
Any help or suggestionn is welcome...
Thank!
Roland

You have to copy the weblogic.jar to jdev_home\jdev\lib\ext and restart jdev. You also have to point the connection to the weblogic.jar in the \bea\wlserver6.1\lib directory. That worked for me. Good luck.

Similar Messages

  • ResourceException: Access not allowed (when trying to grab a connection from weblogic pool)

    I am using WLS7 with SP1.
    I just recently migrated from WLS6.0. When my code tries to grab a
    connection from the pool, it throws an exception
    java.sql.SQLException: Pool connect failed:
    weblogic.common.ResourceException: Access not allowed
    at weblogic.jdbc.pool.Driver.connect(Driver.java:202)
    Does anyone know if anything changed from 6.0 to 7?
    Here is a piece of the code that throws exception.
    Driver driver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver")
    .newInstance();
    conn = driver.connect("jdbc:weblogic:pool:" +
    dbName, null);
    Thanks in advance.

    Hi Jung,
    "Jung Yang" <[email protected]> wrote in message
    news:[email protected]...
    Do you know how to change security setting on the connection pool?
    Thanks.WebConsole:
    1.Compatibility Security => ACLs
    Create a new ACL,
    name : weblogic.jdbc.connectionPool.yourPoolname
    permission : reserve, reset
    group : everynone
    2.Services => JDBC => Connection Pool
    Create a new Connection Pool
    ACL Name : weblogic.jdbc.connectionPool.yourPoolname
    In 'Target' tab, choose server and click the Apply button
    Slava
    >
    "Slava Imeshev" <[email protected]> wrote in message
    news:[email protected]...
    Hi Jung,
    Could you try providing weblogic user name and password
    in the properties?
    Could you also check security setting of the connection pool?
    Regards,
    Slava Imeshev
    "Jung Yang" <[email protected]> wrote in message
    news:[email protected]...
    Well that is exactly what I am doing. The variable dbName is database
    connection pool name that I created in weblogic console. Again, it
    worked
    in WLS6 but after migration, it stopped working.
    Thanks.
    "Mitesh Patel" <[email protected]> wrote in message
    news:[email protected]...
    In my code I am supplying name of the connection pool already
    created
    in
    weblogic server. I am asking you to get connection from the pool
    using
    pool
    driver.
    In your case you are trying to create connection straight to
    database
    using pool
    driver.
    What I am asking is pass name of the connection pool instead of
    database
    name.
    Thanks,
    Mitesh
    Jung Yang wrote:
    What would be the difference between your code and mine? Mine
    simple
    appends dbName string value for connection pool name at the end of
    "jdbc:weblogic:pool:"? And why same exact code would work in WLS6and
    not
    work in WLS7?
    Thanks.
    "Mitesh Patel" <[email protected]> wrote in message
    news:[email protected]...
    conn = driver.connect("jdbc:weblogic:pool:" +
    dbName, null);Instead of doing this what if you use
    Connection conn =
    myDriver.connect("jdbc:weblogic:pool:myConnectionPool", null);
    Will you please try this and see if that helps?
    Mitesh
    Jung Yang wrote:
    Isn't that exactly what I posted for my code piece?
    Thanks.
    "Mitesh Patel" <[email protected]> wrote in message
    news:[email protected]...
    Try As described below:
    The following example demonstrates how to use a database
    connection
    pool
    from a servlet.
    Load the pool driver and cast it to java.sql.Driver. The
    full
    pathname
    of
    the driver is weblogic.jdbc.pool.Driver. For example:
    Driver myDriver = (Driver)
    Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Create a connection using the URL for the driver, plus
    (optionally)
    the
    name of the registered connection pool. The URL of the pool
    driver
    is
    jdbc:weblogic:pool.
    You can identify the pool in either of two ways:
    Specify the name of the connection pool in a
    java.util.Properties
    object
    using the key connectionPoolID. For example:
    Properties props = new
    Properties();props.put("connectionPoolID",
    "myConnectionPool");Connection conn =
    myDriver.connect("jdbc:weblogic:pool", props);
    Add the name of the pool to the end of the URL. In this case
    you
    do
    not
    need a Properties object unless you are setting a username
    and
    password
    for using a connection from the pool. For example:
    Connection conn =
    myDriver.connect("jdbc:weblogic:pool:myConnectionPool",
    null);
    Note that the Driver.connect() method is used in theseexamples
    instead of
    the DriverManger.getConnection() method. Although you may
    use
    DriverManger.getConnection() to obtain a databaseconnection,
    we
    recommend
    that you use Driver.connect() because this method is not
    synchronized
    and
    provides better performance.
    Note that the Connection returned by connect() is an
    instance
    of
    weblogic.jdbc.pool.Connection.
    Call the close() method on the Connection object when youfinish
    with
    your
    JDBC calls, so that the connection is properly returned to
    the
    pool. A
    good coding practice is to create the connection in a try
    block
    and
    then
    close the connection in a finally block, to make sure the
    connection
    is
    closed in all cases.
    conn.close();
    Mitesh
    Jung Yang wrote:
    I am using WLS7 with SP1.
    I just recently migrated from WLS6.0. When my code tries
    to
    grab a
    connection from the pool, it throws an exception
    java.sql.SQLException: Pool connect failed:
    weblogic.common.ResourceException: Access not allowed
    at
    weblogic.jdbc.pool.Driver.connect(Driver.java:202)
    Does anyone know if anything changed from 6.0 to 7?
    Here is a piece of the code that throws exception.
    Driver driver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver")
    .newInstance();
    conn =
    driver.connect("jdbc:weblogic:pool:"
    +
    dbName,
    null);
    >>>>>>>>>
    Thanks in advance.

  • Error trying to create https connection from Web Dynpro

    Hi experts!!
    I am trying to create a WD view with an actionButton and a form template, when the user fills the data in the form and presses the button, i want to create an Https connect and post some parameters to the URL.
    HttpsURLConnection cannot be resolved,
    com.sun.net.ssl.internal.ssl.Provider() does't not exist in the package com.sun.net.ssl.internal.ssl.Provider()
    do i need to add any jars?? I've already added the jsse.jar
    The code i use is the following.
    private void sendHttp(){
          String response = "";
          HttpsURLConnection connection = null;
          try {
                      System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
                      java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                      URL url = new URL(<your_url>);
                      connection = (HttpsURLConnection) url.openConnection();
                      connection.setDoInput(true);
                      connection.setDoOutput(true);
                      connection.setAllowUserInteraction(true);
                      connection.setUseCaches(false);
                }     catch(Exception e) {
                      response = response +  "Error in getting connection: " ;
                      response = response +  e ;
                if (connection != null){
                      try {
                            connection.setRequestMethod("POST");
                            connection.setFollowRedirects(true);
                            //build all the parameters into 1 string
                            String query = "parameter1name=" + URLEncoder.encode(parameter1value);
                                  query += "&";
                                  query += "parameter2name=" + URLEncoder.encode(parameter2value);
                            connection.setRequestProperty("Content-length",String.valueOf (query.length()));
                            connection.setRequestProperty("Content-Type","application/x-www- form-urlencoded");
                            connection.setRequestProperty("User-Agent", "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)");
                            // open up the output stream of the connection
                            DataOutputStream output = new DataOutputStream( connection.getOutputStream() );
                            // write out the data
                            int queryLength = query.length();
                            output.writeBytes( query );
                            output.close();
                            //if responsecode <> 200 you should stop: should always be 200
                            String responsecode = connection.getResponseCode();
                            if (responsecode.equalsIgnoreCase("200")){
                                  String inputLine;
                                  StringBuffer input = new StringBuffer();
                                  BufferedReader in =     new BufferedReader(     new InputStreamReader(connection.getInputStream()));
                                                                                    //Get site response
                                  while ((inputLine = in.readLine()) != null) {
                                        input.append(inputLine);
                                  in.close();
                                  response = response + input.toString();
                      }     catch(Exception e) {
                          response = response +  "Error in using connection: " ;
                          response = response +  e ;
              wdContext.currentContextElement().setResponse(response);

    Hai ,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1d16e
    please check above link .
    application server u have take load balancing click on next  there u take click on radio button of Msg server .
    Regards ,
    venkat

  • Problem trying to create FIELD SYMBOLS in BADI.

    Hi guys!
    I'm trying to create a Field Symbol in method CHECK of BADI me_process_req_cust (well, I'm working on a Z implementation).
    The problem is that I'm trying to create a FIELD SYMBOL and when I check the syntaxsis, I receive the next error:
    Clase ZCL_IM_MM_PURREQ_UPDATE,Método IF_EX_ME_PROCESS_REQ_CUST~CHECK
    Names may only consist of the characters "A-Z", "0-9" and "_". In
    addition, they may not begin with a number.
    This is the code:
            FIELD-SYMBOLS: <sy-mereq> TYPE mereq3328-afnam.
    Any idea????
    Thanks in advance!
    Bet

    Hi Silveria,
    The problem lies in
    FIELD-SYMBOLS: <sy-mereq> TYPE mereq3328-afnam.
    instead of that it should be something like this
    FIELD-SYMBOLS: <sy_mereq> TYPE mereq3328-afnam.
    With your code you will be getting a syntax error saying sy-mereq is not defined,as it will be looking for the mereq in the system fields.
    Regards
    Abhinab Mishra

  • Problems trying to create scrollable text in InDesign CC

    I'm making an interactive presentation in InDesign. Im trying to create some scrollable text. i didn't know how to do that in CC, so I looked up some videos over the web and learned I needed to use the "Folio Builder" or the "Overlay panel". i never was able to find the latter and the Folio Builder gives me this message: "A software update is required to use Digital Publishing Suite. Please go to the Help menu and select Updates to get the required software." My software is already up-to-date (at least that's what the Adobe Application Manager tells me). Is this happening because I'm using a trial version? I'm planning to buy the Creative Cloud package but first I need to know it's worthy. Thanks for your help!

    You are most likely looking at some very old videos. As it happens my DPS
    course was just released on lynda.com:
    http://boblevine.us/my-first-lynda-com-title-adobe-digital-publishing-suite-
    essential-training-is-live/
    There's a link to a one week trial there if you don't have a subscription.

  • Re: Problems trying to create jrepository file

    Leonardo,
    Why do you need to create a new repository file ?
    Can't you just make a copy of the example one that comes with Jolt (/tuxedo/udataobj/jolt/jrepository)
    Joe
    "Leonardo Pedrosa" <[email protected]> wrote:
    >
    Hi, I´m trying to create Jolt repository and I am receiving the following
    exception:
    Exception in thread "main" bea.jolt.ServiceException: Data conversion
    failed;
    check log file
    at bea.jolt.JoltRemoteService.decodeCALL(JoltRemoteService.java:400)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:307)
    at bea.joltadm.JSvcPkgTbl.initTable(jbld.java:776)
    at bea.joltadm.JSvcPkgTbl.<init>(jbld.java:748)
    at bea.joltadm.JBldDefRec.<init>(jbld.java:111)
    at bea.joltadm.jbld.main(jbld.java:703)
    O got this exception by the two ways, creating jrepository through juliet
    and
    even so through bea.joltadm.jbld class.
    Does anyone could help me?
    thankful.
    Leonardo

    The reason for creating a new repository file is to incorporate all the new services which are included in multiple servers which comprise the application.

  • Problems trying to create jrepository file

    Hi, I´m trying to create Jolt repository and I am receiving the following exception:
    Exception in thread "main" bea.jolt.ServiceException: Data conversion failed;
    check log file
    at bea.jolt.JoltRemoteService.decodeCALL(JoltRemoteService.java:400)
    at bea.jolt.JoltRemoteService.call(JoltRemoteService.java:307)
    at bea.joltadm.JSvcPkgTbl.initTable(jbld.java:776)
    at bea.joltadm.JSvcPkgTbl.<init>(jbld.java:748)
    at bea.joltadm.JBldDefRec.<init>(jbld.java:111)
    at bea.joltadm.jbld.main(jbld.java:703)
    O got this exception by the two ways, creating jrepository through juliet and
    even so through bea.joltadm.jbld class.
    Does anyone could help me?
    thankful.
    Leonardo

    The reason for creating a new repository file is to incorporate all the new services which are included in multiple servers which comprise the application.

  • Problem trying to create graphic style...

    I'm trying to create a nave menu and in doing so, create a single graphic style that can achieve my end goal. I can get what I want by using a seperate shape, but that defeats the purpose of the single graphic style. I thought I could achieve the look using an effect under
    Effect>Pathfinder
    But that doesn't get the result I expected. Below you can see both what the graphic style currently looks like, and what I want to add to it (the gloss) hopefully within the same graphic style. Is this possible?

    Try this:
    https://dl.dropboxusercontent.com/u/3910250/button.ai

  • Problem trying to create a list of JTrees

    Hi,
    my problem is that I am attempting to create a Jlist of JTrees. I am not sure if Swing supports this or not - I am at the stage where the JList of JTrees is rendering fine. The problem is that I cannot select the other trees in the list.
    I tried to add a mouse listener to my JList to work around this but this does not seem to work:
    addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    int index = locationToIndex(e.getPoint());
    if (index != -1) {
    JTree tree = (JTree) getModel().getElementAt(index);
    TreePath selPath = tree.getPathForLocation(e.getX(), e.getY());
    tree.setSelectionPath(selPath);
    repaint();
    The tree is detected by the mouse listener no problem, but I can't seem to set the selected node (variable selPath in code above returns null)
    Any ideas on this greatly appreciated - even to say if this is possible or not!
    Regards, Joe.

    You have to copy the weblogic.jar to jdev_home\jdev\lib\ext and restart jdev. You also have to point the connection to the weblogic.jar in the \bea\wlserver6.1\lib directory. That worked for me. Good luck.

  • Problem trying to create an itunes account

    Hello. i recently downloaded itunes for my pc and i wanted to create an itunes account so i got on itunes and when i clicked on create account i got a message saying "We could not complete your itunes store request. The requested resource was not found" i've noticed other users are having the same problem. i didn't see any soultions though and the ones i heard i tried. i have norton internet security on my pc but i turned it off thinking maybe that could stop itunes from working but after i did that it is still not working. i tried configuring windows firewall to see if it was blocking itunes but it is on the allow list so i'm not sure what else to do. does anyone know what i could to fix this?

    idk what happened but now it's fine lol sorry

  • Problem trying to create and manage external tables

    Hello guys,
    I am having problems having created my external tables trying to select from them. I created the table thus:
    create table job_ext
    (job_id number(3),
    FUNCTION varchar2(30) )
    organization external (type oracle_datapump default directory test_dir
    access parameters (records delimited by newline fields delimited by "~" (job_id number(3) ,
    FUNCTION varchar2(30) ) )
    location ('testdump.lst')
    but on running select * from job_ext, I get the error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "logfile, nologfile, version" etc..
    KUP-01008: the bad identifier was: records
    KUP-01007: at line 1 column 1
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    ORA-06512: at line 1
    what am I not doing right.
    Secondly, I wish to ask if an directory object is created, will it be visible on the OS file system?? I am using Oracle 10g complete reference for study but it does not throw light on this.
    thanks

    Hi,
    It looks like you may need to grant permissions to the target directory.
    The ORA-29913 error can also happen in external tables when you don't grant read and write permissions to the directory:
    CREATE OR REPLACE DIRECTORY extdir AS '/u01/app/oracle./extdir';
    GRANT READ ON DIRECTORY extdir TO myowner;
    GRANT WRITE ON DIRECTORY extdir TO myowner;
    Also, see BUG 5172459 (MetaLink Note:373168.1)
    The problem is that the message file for external tables oin not the English version. These steps will address the issue:
    1. cd $ORACLE_HOME/rdbms/mesg
    2. cp KUP<lang>.msb KUP<lang>.msb.BAK
    3. cp kupus.msb KUP<lang>.msb
    http://www.dba-oracle.com/t_ora_29913_external_table_error.htm

  • Problem trying to create user in iManager

    Hello all, When I try to create a user in iManager, I do not have the
    context of user in my tree. Going from the examples in the training doc, do
    I need to create this context from scratch ?
    Peter

    Pwmerritt,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Swc / accordion problem, trying to create a 3-level dynamic nav

    Hi!
    First time poster, long-time troller. I've been working on a
    CMS system and having a little trouble creating a three level
    navigation, that's uses the functionality of the accordion
    component, but styled with dynamically loaded fonts.
    I'm using the "flexlibs" swc (and was playing with degrafa,
    but think it's a little much for what I'm trying to do). What I'm
    doing is:
    - pulling the three level navigation (1st level - brand, 2nd
    - campaign, 3rd - job),
    - a VBOX holds the entire nav, the first level is an
    accordion with:
    -- a header (that somehow draws the data (this is my first
    question) to put in a swc I created, in a Header.mxml component.);
    and a
    -- repeater that does the same thing for "campaign" (2nd
    level): vbox, vaccordion (header + repeater), that holds:
    -- a swc component, called "JobComp" (I've been playing
    swapping it with a flash-made swc but can't seem to figure out how
    to pass initialization variables in the constructor)
    I used "swc"'s for the nav components, because the fonts are
    "AGBuchBQ-Bold" and I thought it'd be easier this way.
    I guess my question(s) are:
    1. How do I pass a variable in the constructor of a swc
    Component?
    2. Am I doing this right? Or should I construct the
    navigation ALL in flash, export as a swc, and just pass in the xml
    to the flash component (which means I need to understand #1...)
    3. Is there a way to load / set font in the accordion / list
    components that are not the basic fonts? If I can style it all in
    the .css, that'd be really really helpful, I think, since it's 90%
    there.
    Thanks again, for any input,
    Dom

    My bad i didn't see that you want to create a swc.
    Well, as i said earlier, for me, the only way to pass
    parameter to a constructor (i suppose you mean like new Label("my
    title")) is using actionscript.
    What you can do if you want to create an MXML file is
    creating public parameters (or getters) in the script tag and use
    the [bindable]. As far as i understood Flex, properties in an MXML
    will have no action on your component if you don't use this tag.
    You can as well create a method that will apply these
    parameter after its creation, example :
    You create a MyComponent class which has different properties
    like displaySubComponent and maximumValue. In your class, you
    create a method called "applyParameters" which will do something to
    initialize it.
    Then you call use it like this:
    <c:MyComponent id="a_component" displaySubComponent=[ A,
    B, D] maximumValue=5
    onCreationComplete={a_component.applyParameters()} />
    And yes, i thought
    "dataProvider="{repeatCampaign.currentItem..job }" was strange but
    it's good to know that we can do that ;)
    Hope, i was understandable ^^"

  • Problem connecting to Weblogic Server

    I have a JMS application for which I am trying to create a connection factory for Oracle ESB (Weblogic). I added the wlfullclient.jar to my classpath and start the application. I receive the following error in my application's log?
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jms.connection.oracle' defined in ServletContext resource [WEB-INF/spring/context-oracle.xml]: Invocation of init method failed; nested exception is javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)
         ... 87 more
    Caused by: javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.init(InitialContext.java:223)
         at javax.naming.InitialContext.<init>(InitialContext.java:197)
         at org.springframework.jndi.JndiTemplate.createInitialContext(JndiTemplate.java:137)
         at org.springframework.jndi.JndiTemplate.getContext(JndiTemplate.java:104)
         at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:153)
         at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
         at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:95)
         at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
         at org.springframework.jndi.JndiObjectTargetSource.afterPropertiesSet(JndiObjectTargetSource.java:96)
         at org.springframework.jndi.JndiObjectFactoryBean$JndiObjectProxyFactory.createJndiObjectProxy(JndiObjectFactoryBean.java:284)
         at org.springframework.jndi.JndiObjectFactoryBean$JndiObjectProxyFactory.access$000(JndiObjectFactoryBean.java:273)
         at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:176)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
         ... 97 more
    Caused by: java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:247)
         at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:46)
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
         ... 113 more
    Is this the correct JAR to add and if so how can I resolve this problem?

    Exception that you shows clearly says your enviroment does not find weblogic.jndi.WLInitialContextFactory class, this class is inside weblogic.jar, wlclient.jar, etc, however. If you only has added wlclient and wljmsclient probably there are missing some libraries that your application requires, I suggest try with weblogic.jar instead of wlclient.jar + wljmsclient.jar.
    If this works, maybe you are not building your wlfullclient.jar correctly.

  • Problem creating WebDav connection to review XML schema in JDeveloper 10g

    I am trying to review some XML schema and cannot seem to create a WebDav connection. I entered all the relevant info and keep getting the following error :Testing connection...
    Connection test failed: unable to connect
    Unable to connect to WebDav Connection1 (http://localhost:8080/)
    May require proxy to connect to the location,
    when I tried to test the connection. The tips given in the help section didn't work either. Could someone please help me?

    Thanks for your prompt response.
    I had done that before yet, it still doesn't work.
    Please, bear with this newbie, for a second.
    I think it may be relevant to mention that I am trying to create a connection on my local network.
    Had no problems when I try to connect to enterprise manager,or iSQL*plus console, or creating a database connection through Jdeveloper, or even to the HTTP server through the browser. I am using windowsXP platform BTW, if it makes a difference, and Jdeveloper 10g. When I try to create the webDav Connection it still gives me the connection failed error, .....
    Testing connection...
    Connection test failed: unable to connect
    May require proxy to connect to the location
    Additionally ran this script ....
    DECLARE
    HTTP_PORT pls_integer := 8080;
    FTP_PORT pls_integer := 2100;
    config xmltype;
    BEGIN
    SELECT updateXML(dbms_xdb.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',
    HTTP_PORT) INTO config
    FROM DUAL;
    DBMS_XDB.CFG_UPDATE(config);
    SELECT updateXML(dbms_xdb.cfg_get(),
    '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',
    FTP_PORT) INTO config
    FROM DUAL;
    DBMS_XDB.CFG_UPDATE(config);
    END;
    COMMIT;
    -- Updates configuration
    BEGIN
    DBMS_XDB.CFG_REFRESH;
    COMMIT;
    END;
    -- Creates /home Directory
    DECLARE
    result boolean;
    BEGIN
    result := dbms_xdb.createFolder('/home');
    dbms_xdb.setAcl('/home','/sys/acls/all_all_acl.xml');
    commit;
    END;
    list
    OUTPUT from script....
    PL/SQL procedure successfully completed.
    Commit complete.
    PL/SQL procedure successfully completed.
    DECLARE
    ERROR at line 1:
    ORA-31003: Parent / already contains child entry home
    ORA-06512: at "XDB.DBMS_XDB", line 195
    ORA-06512: at line 4
    Still no luck! What I am i doing wrong?
    Any pointers will be appreciated.

Maybe you are looking for