Weblogic.class.path

I am using WL 5.1, SP12, on Solaris ...
          I am running jsp code that accesses a bean class specified in the weblogic.class.path in my startscript.
          I got a "ClassNotFound" error when I run the jsp code.
          Are all classes in weblogic.class.path of a given WL server visible to JSPs running in that server - regardless web-applications?
          I appreciate any help. Thanks
          

Look at startWeblogic.{cmd/sh}.
WLCLASSPATH should include the weblogic classes and any of your classes.
JAVACLASSPATH include the JDK classes, the weblogic/classes/boot and DB
access classes
(Cloudscape.jar, JConnect classes, etc.) and NOTHING else.
"Shoaib" <[email protected]> wrote in message news:[email protected]..
The documentation on setting up the environment mentions this property
but doesn't give any information on where it should be set.
How is this system property specified and what is it used for ?
Should it be specified via wlconfig.exe or is included in
weblogic.properties ?
I'm currently using the latest beta for WLS.

Similar Messages

  • Classpath, weblogic.class.path, server's class path, javaclasspath, serverclasspath ?? confused

    When I type t3config , I see a couple of class paths and I'm confused which
    one is which and
    what are the diffrences between them, there is classpath, javaclasspath,
    serverclasspath, weblogic.class.path
    and JVM class path, Server's class path on the weblogic console window.
    any clearification is appreciated.
    thanks,
    CLASSPATH Prefix
    CLASSPATH
    JAVA_HOME
    WEBLOGIC_LICENSEDIR
    WEBLOGIC_HOME
    system properties
    weblogic.class.path
    INITIAL HEAP
    MAX HEAP
    SERVERCLASSPATH

    Why would you do that - same class in both class paths? Don't.
    Don't put any application classes in the system
    classpath (JAVACLASSPATH).
    Mike
    Dimitri Rakitine <[email protected]> wrote:
    http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deployover.html#1056256
    Tony Lu <[email protected]> wrote:
    Can someone tell me how does weblogic use the weblogic.class.path? what's
    the relation between weblogic.class.path and systemclasspth ? if I have 2
    different classes ( same name but different ) on bothpath, which one would
    be loaded ? the one in classpath or the one in weblogic.class.path?
    Dimitri

  • How modify weblogic.class.path

    i have problem for install drivers oracle in the classpath
    how modify the properti of weblogic weblogic.class.path?
    i have to do it with the program wlconfig, but don´t run
    jorge

    If you run your WebLogic on Win2K, you have to modify the
    command file startWebLogic.cmd
    Regards,
    Jacob
    "jorge" bienpicao.com wrote:
    >
    i have problem for install drivers oracle in the classpath
    how modify the properti of weblogic weblogic.class.path?
    i have to do it with the program wlconfig, but don´t run
    jorge

  • Diff between CLASSPATH and weblogic.class.path in t3config

    Hi,
              My servlets which would run happily in WLS4.0.2 on NT do not run anymore
              in WLS4.5.
              In order to help me troubleshoot this problem will someone please
              explain me the difference between the path mentioned against
              weblogic.class.path in the output of t3config
              and the path mentioned against CLASSPATH in the same output.
              When I type t3config I get the following. What is the diff between the
              lines marked ---->>>>
              WebLogic startup settings are presently:
              CLASSPATH Prefix=
              .;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar
              ------->>>>>CLASSPATH=
              ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              JAVA_HOME= "d:\Weblogic\jre1_1"
              WEBLOGIC_HOME="d:\Weblogic"
              system properties:
              weblogic.system.home=d:\Weblogic
              java.compiler=symcjit
              ------->>>
              weblogic.class.path=d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar
              INITIAL_HEAP= 32 MB
              MAX_HEAP= 32 MB
              SERVERCLASSPATH=
              ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\classes\boot;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              

    Pankaj,
              It all depends on whether you want to do reload on modify feature or not. If you don't need reload on modify they you can have servlets in weblogic.class.path.
              Two things to remember if you can't invoke servlets.
              1. Do you have the servlet registered.
              2. If not, do you have ServletServlet property uncommented. If this property is not commented out then you have to give the complete path to make servlets work.
              Good luck,
              Prasad
              Pankaj Tandon wrote:
              > Hi,
              > My servlets which would run happily in WLS4.0.2 on NT do not run anymore
              > in WLS4.5.
              > In order to help me troubleshoot this problem will someone please
              > explain me the difference between the path mentioned against
              > weblogic.class.path in the output of t3config
              > and the path mentioned against CLASSPATH in the same output.
              >
              > When I type t3config I get the following. What is the diff between the
              > lines marked ---->>>>
              > WebLogic startup settings are presently:
              >
              > CLASSPATH Prefix=
              > .;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar
              >
              > ------->>>>>CLASSPATH=
              > ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              >
              > JAVA_HOME= "d:\Weblogic\jre1_1"
              > WEBLOGIC_HOME="d:\Weblogic"
              > system properties:
              > weblogic.system.home=d:\Weblogic
              > java.compiler=symcjit
              >
              > ------->>>
              > weblogic.class.path=d:\Weblogic\license;d:\Weblogic\classes;d:\Weblogic\lib\weblogicaux.jar
              >
              > INITIAL_HEAP= 32 MB
              > MAX_HEAP= 32 MB
              > SERVERCLASSPATH=
              > ".;C:\wip\java\ejb\classes;d:\weblogic\jre1_1\lib\classes.zip;d:\weblogic\jre1_1\lib\rt.jar;d:\weblogic\classes\boot;d:\Weblogic\evel\cloudscape\lib\cloudscape.jar;d:\Weblogic\jre1_1\lib\classes.zip;d:\Weblogic\jre1_1\lib\rt.jar;d:\Weblogic\classes\boot;d:\Weblogic\eval\cloudscape\lib\cloudscape.jar"
              

  • Servlet can't be found outside of weblogic/classes??

    Hi there!
              I wrote a servlet that I've placed into a directory that's in my CLASSPATH
              (set inside startWebLogic.bat). It's clearly identified within the System
              java.class.path variable as well (when the logs scroll by).
              However, the Servlet (although it's been registered in Weblogic.properties)
              refuses to be found unless I finally move it into weblogic/classes.
              Does anybody know why??
              -joe
              

    Joe,
              Servlets are loaded by the weblogic class loader. For that reason, the
              base directory for your servlets has to be in the weblogic.class.path.
              Since weblogic/classes is part of this class path, they were found by
              the WL class loader. Basically, add the base dir for your servlet
              package to the WL class path and you will be fine.
              If you're starting WL from the command line, see the
              /weblogic/startweblogic.??? scripts.
              Jason
              

  • How to set (class)paths for a Managed server?

    How does one configure the PATH and CLASSPATH and pass definitions (like "-Djava.library.path=c:\p\bea\wlserver6.1\bin")
    to a remotely-started managed server?
    The section in the WLS 6.1 AdminGuide.pdf that talks about configuring a managed
    server's Remote Start tab says on pages 3-9 to 3-10 that, "If you don't specify
    values for these fields and attempt to start the target server from the Administration
    Console, the Node Manager will attempt to start the target server with the values
    for these attributes that were used when starting the Node Manager. The Node Manager
    will be able to start the Managed Server in that case if you specified the required
    values on the command line when starting the Node Manager."
    So it sounds as if I can get the java.library.path definition and CLASSPATH sent
    to the server via the Node Manager startup command.
    Does that work when using the Node Manager as an NT Service? Here is my Win2K
    command file for setting up the Node Manager as an NT Service. Note that I'm trying
    to tell it where to find the Windows native libraries (wlserver6.1\bin for wlntio.dll)
    and the JDBC drivers (C:\SHADOW\jdbc\... and C:\Orant\jdbc\... ) :
    ========== BEGIN installNMNtService.cmd ================ @echo off
    SETLOCAL
    cd C:\p\bea\wlserver6.1\
    rem *** Set Classpath to load Weblogic Classes
    set CLASSPATH=.;C:\p\bea\wlserver6.1\lib\weblogic_sp.jar;C:\p\bea\wlserver6.1\lib\weblogic.jar;C:\SHADOW\JDBC\scjd12.jar;C:\orant\jdbc\lib\classes111.zip
    rem *** Set Command Line for service to execute
    rem *** %JAVA_HOME%\java will automatically be prepended.
    set CMDLINE=" -ms16m -mx16m -classpath \"%CLASSPATH%\" \"-Dbea.home=C:\p\bea\"
    \"-Djava.security.policy==C:\p\bea\wlserver6.1/lib/weblogic.policy\" \"-Dweblogic.nodemanager.weblogicHome=C:\p\bea\wlserver6.1\"
    \"-Dweblogic.nodemanager.reverseDNSenabled=true\" \"-Djava.library.path=c:\p\bea\wlserver6.1\bin\"
    \"-Dweblogic.nodemanager.listenAddress=111.111.111.123\" \"-Dweblogic.nodemanager.trustedHosts=./config/nodemanager.hosts\"
    weblogic.nodemanager.NodeManager"
    rem *** Install the service
    "C:\p\bea\wlserver6.1\bin\beasvc" -install -svcname:EDANodeManager -javahome:"C:\p\bea\jdk131"
    -execdir:"C:\p\bea\wlserver6.1" -extrapath:"C:\p\bea\wlserver6.1\bin" -cmdline:%CMDLINE%
    ENDLOCAL
    ================= END installNMNtService.cmd ==================
    But when I start a server remotely, it can't find the native libraries and it
    can't find the JDBC libraries in the CLASSPATH. Otherwise, it can serve up HTML
    pages at the correct port number so I know it's running.
    When starting a managed server remotely via the WLS 6.1 console, how do I tell
    the managed server where the native libraries and JDBC libraries are?
    Thanks!

    Hi,
    The memory setting on the WC_Spaces managed servers can be seen as mentioned below.
    ps -eaf | grep Spaces
    Above command shows something like this at the top of the output:
    /a01/app/oraweb/middle/jrrt-3.1.2-1.6.0/bin/java -jrockit -Xms512m -Xmx1024m -Dweblogic.Name=WC_Spaces1 ...
    Regards
    Sreedhar

  • How to add external library in class path folder for use in Java call-out?

    Hi,
    I am working with Java callout component in OSB 12c using Jdeveloper.
    Thing is Jar what i am using to perform conversion of json to xml that using external libraries.
    When i have give reference of my project jar to java callout it doen't found external libraries.
    Could you please tell me how to add external libraries in class path folder or How to use to add it through web-logic server ?
    Thanks,
    Pavan

    Hi,
    Thanks, I have solved issue.
    We can add on following path in windows pc:
    C:\Users\your_usename\AppData\Roaming\JDeveloper\system12.1.3.0.41.140521.1008\DefaultDomain\lib
    One you add your external lib here then do restart weblogic server instance.
    Now, you have that external lib or jar in use.
    Cool!

  • Class-path manifest attribute

    Hi,
    I have a session bean, that references some external classes. I am deploying the
    application as a ear file. The session beans are stored in a jar file and the
    external classes are stored in a separate jar file. Both the jar files go into
    an ear file. The manifest of the session bean jar file defines the relative URI
    of the other jar file using the Class-path attrtibute. I use JDK 1.3.1. However,
    when I try to deploy the ear, WLS complains about not being able to find the extermal
    class. I use WLS 6.1. This is driving me nuts, any help would be highly appreciated.
    I have attached the EAR file.
    Thanks
    Meeraj

    I was wondering as to why was this constraint placed on EJB's in
    weblogic(that Class-Path can't be used in manifest). After all EJB jar is
    also a jar file, and as what java extensions mechanism dictates, any jar
    file can utilize this feature.
    and how the code would the loadClass/findClass method in the classloader
    look like of I were to disable this feature (like what weblogic currently
    behaves....)
    any thoughts!!!
    - Rajeev Dave
    "Deepak Vohra" <[email protected]> wrote in message
    news:[email protected]...
    Manifest Class-Path
    Use the manifest file to specify that a JAR file can reference another JARfile.
    Standalone EJBs cannot use the Manifest Class-Path. It is only supportedfor
    components that are deployed within an EAR file.
    To use the manifest file to reference another JAR file:
    Specify the name of the referenced JAR file in a Class-Path header in the
    referencing JAR file's Manifest file.
    The referenced JAR file is named using a URL relative to the URL of the
    referencing JAR file.
    Name the manifest file META-INF/MANIFEST.MF in the JAR file
    The Class-Path entry in the Manifest file is as follows:
    Class-Path: AAyy.jar BByy.jar CCyy.jar.
    Meeraj wrote:
    Hi,
    That is not what I want to do. I had got similar stuff working fine with
    JBoss
    by resolving dependencies using Class-path manifest attribute.
    Thanks
    Meeraj
    Deepak Vohra <[email protected]> wrote:
    Add the external classes to the Sessions Bean jar.
    Meeraj Kunnumpurath wrote:
    Hi,
    I have a session bean, that references some external classes. I amdeploying the
    application as a ear file. The session beans are stored in a jar fileand the
    external classes are stored in a separate jar file. Both the jar
    files
    go into
    an ear file. The manifest of the session bean jar file defines therelative URI
    of the other jar file using the Class-path attrtibute. I use JDK
    1.3.1.
    However,
    when I try to deploy the ear, WLS complains about not being able tofind the extermal
    class. I use WLS 6.1. This is driving me nuts, any help would be
    highly
    appreciated.
    I have attached the EAR file.
    Thanks
    Meeraj

  • J2EE Packaging and manifest Class-Path:

    Does anyone know if Weblogic 6.0 supports the redefined deployment extension mechanism
    that makes use of the 'Class-Path:' entry in the manifest files?
    In our project we have one single .ear file containing a couple of EJB's (.jar
    files) and a Web Application (.war file).
    We are using log4j as logging mechanism and we would like to keep everything in
    the .ear file so that we can make hot-deploys. So we are trying not to make use
    of the classpath in startWebLogic.sh. All of our EJB's and the Web Application
    makes use of log4j.jar. My question is; can I do the following and make it work
    in Weblogic 6.0?
    1. In every EJB .jar file I add the follwing to the manifest file - "Class-Path:
    log4j.jar"
    2. I place the log4j.jar in the root directory of the .ear file.
    By doing this I expect that the ear classloader loads the log4j.jar classes. Am
    I right or do I do something wrong. At least it does not seem to work.
    Using Weblogic 6.0 without service pack.
    Thanks,
    Steen

    This does not work in WebLogic 6.0. It's supposed to be supported in 6.1
    Daniel
    -----Original Message-----
    From: Steen Laursen [mailto:[email protected]]
    Posted At: Wednesday, August 08, 2001 1:32 PM
    Posted To: environment
    Conversation: J2EE Packaging and manifest Class-Path:
    Subject: J2EE Packaging and manifest Class-Path:
    Does anyone know if Weblogic 6.0 supports the redefined
    deployment extension mechanism
    that makes use of the 'Class-Path:' entry in the manifest files?
    In our project we have one single .ear file containing a
    couple of EJB's (.jar
    files) and a Web Application (.war file).
    We are using log4j as logging mechanism and we would like to
    keep everything in
    the .ear file so that we can make hot-deploys. So we are
    trying not to make use
    of the classpath in startWebLogic.sh. All of our EJB's and
    the Web Application
    makes use of log4j.jar. My question is; can I do the
    following and make it work
    in Weblogic 6.0?
    1. In every EJB .jar file I add the follwing to the manifest
    file - "Class-Path:
    log4j.jar"
    2. I place the log4j.jar in the root directory of the .ear file.
    By doing this I expect that the ear classloader loads the
    log4j.jar classes. Am
    I right or do I do something wrong. At least it does not seem
    to work.
    Using Weblogic 6.0 without service pack.
    Thanks,
    Steen

  • Manifest class-path does not works

    Hi,
    We use Jrockit 1.4.2 (latest) on Solaris.
    We found that manifest class-path does not seems to work, we got classdef not found messages.
    If we change the JVM to sun 1.4.2 that everything works perfectly.
    Manifest:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.5.2
    Created-By: 1.4.1_02-b06 (Sun Microsystems Inc.)
    Implementation-Title: com.clarify.igb.common.ejbserver
    Implementation-Version: 12.5.000
    Implementation-Vendor: Amdocs Inc.
    Specification-Title: ClarifyCRM Business Object Infrastructure
    Specification-Version: 12.5.000
    Specification-Vendor: Amdocs Inc.
    Class-Path: ClfyShared.jar ClfyCbo.jar ClfyClient.jar ClfyWebInf.jar C
    lfyiSupport.jar ClfyUtil.jar jdom.jar ClfyCommon.jar ClfySales.jar Cl
    fymOrder.jar ClfyiAdmin.jar ClfyBilling.jar ClfyBillingManager.jar Cl
    fyEmailProcessor.jar
    What can be the problem?
    Regards.,
    LJ

    Hi Jaejun,
    a.jar should also have a MANIFEST.MF Class-Path refering to b.jar.
    HTH
    Regards,
    Slava Imeshev
    "Jaejun Lee" <[email protected]> wrote in message
    news:3e541ede$[email protected]..
    >
    I meant <CRLF> not <CR> only.
    Thank you.
    "Jaejun Lee" <[email protected]> wrote:
    Ravinder Pal <[email protected]> wrote:
    I have read all message posted in this regard but my problem still
    remain.
    Please read the context to give me some pointers.
    myapp.ear contains
    - myejb.jar contains
    - manifest with Class-Path a.jar b.jar
    - a.jar (Internal)
    - b.jar (Some external Vendor)
    Problem: Call from a.jar classes which reference b.jar classes doesraise
    a ClassNotFoundException.
    Thanks.
    I have a similar problem with WebLogic 7.0 sp1.
    I have to verify this.
    Dose WebLogic support MANIFEST.MF Class-Path in development-mode.
    Indeed, I just put a.jar and b.jar in application directory.
    I put Class-Path: b.jar<carrage-return> in MANIFEST.MF of a.jar.
    But, a.jar cannot find classes in b.jar.
    Do I have to make EAR?

  • AutoType Compiler Class Path

    I am using NetBeans with their Ant integration. If I put the
    "webservices.jar" file in the IDE class path and then run my Ant build
    script, it complains that it can not find the autotype task. So what I do
    is specify the classpath as part of my task definition in Ant.
    But the problem arises when the autotype task attempts to compile its
    generated java files. With debugging turned on in Ant, I see that the
    compiler's class path is inherited from the IDE. So it does NOT contain the
    webservices.jar and therefore pukes when it compiles the generated java
    files.
    Bottom line is, I need to specify the compiler class path that autotype will
    use to compile its generated java files. Is there any way to accomplish
    this? Has anyone else had luck with running autotype under NetBeans???
    Thanks In Advance,
    Pat

    You need both weblogic.jar and webservice.jar in your classpath.
    Then try this :
    <target name="autotypetest">
    <autotype schemaFile=" ....">
    <classpath>
    <pathelement path=" "/> --- You can specify complete
    classpath here for compiler to use.
    </classpath>
    </autotype>
    </target>
    -Neal
    "Pat Regan" <[email protected]> wrote in message
    news:[email protected]..
    I am using NetBeans with their Ant integration. If I put the
    "webservices.jar" file in the IDE class path and then run my Ant build
    script, it complains that it can not find the autotype task. So what I do
    is specify the classpath as part of my task definition in Ant.
    But the problem arises when the autotype task attempts to compile its
    generated java files. With debugging turned on in Ant, I see that the
    compiler's class path is inherited from the IDE. So it does NOT containthe
    webservices.jar and therefore pukes when it compiles the generated java
    files.
    Bottom line is, I need to specify the compiler class path that autotypewill
    use to compile its generated java files. Is there any way to accomplish
    this? Has anyone else had luck with running autotype under NetBeans???
    Thanks In Advance,
    Pat

  • Weblogic class corresponding to HTTPSession

    I am looking at a stress issue and wanted to know which weblogic class corresponds to a HTTPSession.
    I see the follwoing in my heap dump. Is it one of these classes or anything else?
    Class Name | Objects | Shallow Heap | Retained Heap
    weblogic.servlet.internal.session.MemorySessionContext| 14 | 1,120 | >= 3,495,016
    weblogic.servlet.internal.session.MemorySessionData | 38 | 5,472 | >= 3,483,824
    weblogic.servlet.internal.session.SessionData | 0 | 0 | >= 600
    Thanks,
    Sunil.

    Programmatically, I don't know of a way to do that in java.
              Bill
              "D. Alvarado" wrote:
              > Thanks for your reply, What if you wanted to get the classname of a
              > particular jsp from another jsp? For example, what if I wanted to
              > know the class name of "/mypath/http/myapp/dummy.jsp" if I'm writing
              > code in "mypath/http/myapp/another.jsp"?
              >
              > Thanks, Dave
              >
              > William Kemp <[email protected]> wrote in message news:<[email protected]>...
              > > this.getClass().getName() will give you the name of the class at runtime.
              > >
              > > Bill
              > >
              > > "D. Alvarado" wrote:
              > >
              > > > Hi,
              > > > I'm running WebLogic 5.1, sp12 for Solaris. I was wondering if
              > > > someone could provide me with a small snippet of java code that would
              > > > tell me the class name, or at least path to the servlet class that
              > > > corresponds to a jsp page. So, for example, if I knew my jsp path was
              > > >
              > > > /mypath/http/myapp/dummy.jsp
              > > >
              > > > it would be great to get the class name which, in this example, might
              > > > be:
              > > >
              > > > jsp_servlet._myapp.__dummy
              > > >
              > > > Thanks in advance, Dave A.
              

  • WAR, MANIFEST.MF and class-path to jars

    Hello,
    I have a WAR shared library shared.mylib consisting of a series of JARs in a WAR:
    /WEB-META/
    MANIFEST.MF
    /WEB-INF/
    lib/
    lib1.jar
    lib2,jar
    in the MANIFEST.MF I don't need to specify any Class-Path, since lib/ is considered by default and classes are loaded.
    However I need a way to load classes from other directories in the WAR (without specifiying each jar if possible).
    I have tried all the possibilities with Class-Path in the MANIFEST, but nothing works. Suppose you have /mylibs/ with many jars other than the default /lib.
    What should I have to do to make weblogic load all the claasses in the jars under /mylibs ?
    Thanks.

    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/programming/classloading.html

  • JBO:33001 bc4j.xcfg file not found in class path

    Hi,
    I am yet another victim of the age-old error JBO:33001 bc4j.xcfg file not found in class path, When i have my BC4JApp.jar in Tomcat Web-inf/lib directory. All the other jar files and class files in my webserver-application web-inf classes and lib directory works.
    But Tomcat server is not able to read this bc4j.xcfg file. I can see in my jar file that this bc4j.xcfg exists and in the specified package directory. still the problem persists. My BC4JApp.jar is perfectly working when i use JDeveloper. but not when i use tomcat4.0 and call a JSP using BC4JApp.jar from browser (My environment is Jdeveloper3.2, Tomcat4.0+IIS in middle tier and oracle 8i as DB, everything on windows2k)
    I have gone through almost all the threads possible that relates to this error in this form. None of them have a answer except to say "put the file in classpath". and last reply is "will fix in jDeveloper 9i. So what happens to us who are working in Jdeveloper 3.2?
    1. I have this file in my jar file.
    2. I also tried creating a seperate directory manually, with the same name as my package under web-inf/classes, web-inf/lib , just under web-inf directory and atlast under approot directory also. I tried having my package directory containing bc4j.xcfg in these folders one at a time and also tried having this directory in all these folders at the same time.
    Still no solution.
    Itz frustrating that neither proper documentation nor a right url page nor i am aware of available addressing this. page links given in above threads only gives me the wonderful page of ie's "Page cannot be displayed".
    Is there a answer to this error and my problem. If this doesn't work, then i have to all the way develop from scratch creating my jsp using JDBC calls and Stored packages etc.
    I don't want to give up on this Jdeveloper at this final moment because if this bc4j.xcfg file is found, my application will work perfectly. on these final moments, if this doesn't work, i am frightened to imagine to develop my application in standard way. Atlast, if thatz the option left,we have to do that bcos our production date is close by.
    Please can some one in this forum or Jdeveloper help me to solve this problem. I am desperate and very urgent.
    Waiting for a reply from Jdev team very much...
    ( I just posted in the other thread which is pretty old, dated backto May 2001, which was relevant to this error. Just to make sure it is noticed, I am posting it seperately too)
    Thanks
    Hari(2/3/02)

    Hi All,
    For those who are following this thread, I got a solution for this error with the help of Jdev Team.
    This solution may work, if you have deployed your application in Tomcat4.0.1. This is the environment in which I work and tested.
    As you may be aware, Tomcat ignores value in CLASSPATH variable.
    To see any files that are existing or newly deployed, it has it own way of detecting it.
    Addition information on Tomcat working, you can follow this link,
    http://jakarta.apache.org/tomcat/tomcat-4.0-doc/index.html
    Coming to point, Tomcat has got five classloaders and each classloader invoked, looks in their related directories for files in following order.
    1. /WEB-INF/classes of your web-application
    2. /WEB-INF/lib/*.jar of your web application
    3. BootStrap classes of your JVM (Tomcat's $JAVA_HOME/jre/lib/ext)
    4. System class loader classes($CATALINA_HOME/bin/bootstrap.jar,CATALINA_HOME/lib/tools.jar)
    5. $CATALINA_HOME/common/classes
    6. $CATALINA_HOME/common/lib/*.jar
    7. $CATALINA_HOME//classes
    8. $CATALINA_HOME/lib/*.jar
    So All your individual application related files should be deployed in your application's WEB-INF/classes or WEB-INF/lib directory accordingly.
    If your application files are unpacked, they should be deployed or copied under WEB-INF/classes directory
    if the files are within a jar, they should be under WEB-INF/lib directory.
    If your Jar-files contains bc4j components, then those jar files should be deployed under WEB-INF/lib directory. Also,do the next step to copy all relavant BC4J runtime libraries under lib directory.
    IMPORTANT: Please remember to copy and paste all the required BC4j runtime libraries in the Same WEB-INF/lib directory along with your application jar files. This is the real reason which can solve this JBO:33001 to disappear. It worked for me.
    To configure your directory for tag-lib uri's, use web.xml to set the taglib-uri attribute.
    Put your web.xml and DataTags.tld in the WEB-INF directory.
    Your simple web.xml may look like as follows.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <taglib>
              <taglib-uri>
                   /webapp/DataTags.tld
              </taglib-uri>
              <taglib-location>
                   /WEB-INF/DataTags.tld
              </taglib-location>
         </taglib>
    </web-app>
    You may then modify this web.xml to suit further requirements of your application.
    Remember to stop and restart the Tomcat Server (service) by using shutdown and startup scripts after updating any jar files/class files/ JSP or source files deployed in Tomcat.
    Sometimes, only this helps even though your context's reloadable attribute is set to true in Tomcat Server's server.xml file.
    Hope this above information helps you to solve this error in Tomcat environment. My Sincere thanks once again to Juan and Jdev team for their help and efforts to solve this problem.
    Thanks
    Hari

  • Java 5.0 does not recognize wrapped Class-Path in Manifest.MF of .jar file?

    Java: build 1.5.0_05-b05
    Ant: 1.6.2
    I use Ant <jar> task to create a standalone application in a .jar file. I have a very long "Class-Path" in the Manifest.MF file. The long Class-Path is wrapped at every 70th character by the <jar> task. I cannot run "java -jar <the jar file>", because Java runtime cannot find classes.
    I found the following Q&A from ANT's FAQ page,
    Q: Whenever I use the Ant jar or manifest related tasks, long lines in my manifest are wrapped at 70 characters and the resulting jar does not work in my application server. Why does Ant do this?
    A: Ant implements the Java Jar file specification. Please refer to the notes section where it discusses the maximum allowable length of a line and the concept of continuation characters.
    If a jar file produced by Ant does not work in your appserver, and that failure is due to the wrapped manifest, then you need to consult your appserver provider, as it is a bug in their appserver. Far more likely, however, is a problem in your specification of your classpath. It is not Ant's wrapping of your classpath that is the problem.
    Do not raise a bug about this issue until you have checked to ensure that the problem is not due to your classpath specification.
    Any idea?

    "will be searched ALSO."...
    From: http://java.sun.com/docs/books/tutorial/ext/basics/load.html
    Understanding Extension Class Loading
    The extension framework makes use of the new class-loading mechanism in the JavaTM 1.2 platform. When the runtime environment needs to load a new class for an application, it looks for the class in the following locations, in order:
    1. Bootstrap classes: the runtime classes in rt.jar and internationalization classes in i18n.jar.
    2. Installed extensions: classes in JAR files in the lib/ext directory of the JRE.
    3. The class path: classes, including classes in JAR files, on paths specified by the system property java.class.path. If a JAR file on the class path has a manifest with the Class-Path attribute, JAR files specified by the Class-Path attribute will be searched also.
    [snip]

Maybe you are looking for

  • How can i sign out from ichat ??

    how can i sign out from the ichat ??

  • Poor performance using Oracle Text

    We are currently using wildcard queries and we have setup substring or prefix index which is recommended in Oracle's documentation in order to improve performance but we have not seen any improvements. Does anyone have any other recommendations?

  • Averaging pmt signal and strange signal shift problem with recording

    Hello I'm a researcher at UCL and am quite new to Labview. I have a PMT and i've successfully created a program to read/show and write the data. From the signal I need the average pk to pk value and the average mean value. Is there any way I tell lab

  • NUMERIC FORMAT PROBLEM

    Hi, We did a migration of an oracle 8i database to a 9i database. Further web application call our database and we see a strange behaviour. With the new version, all the big numeric format seems to be retrieve in scientific notation as oracle stores

  • Ext HD not mounting in Panther

    I have a WD ext hd that is formatted in OS Extended Journaled. It is partitioned into a time machine half and a regular storage half for movies and music and such. It works perfectly on my macbook running leopard but when i plug it into my imac g3 a