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

Similar Messages

  • 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"
              

  • 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.

  • 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

  • WebLogic 11g EAR EJB Classpath and class loaders

    All,
    I have been having issues migrating Spring based EJB applications from OC4J to WebLogic 11g (10.3.1). I have been in communication with Oracle who has suggested a work around however I am keen to see if anyone else can suggest a solution.
    The application is dependant on stateless session EJB beans that communicate with a Spring managed service tier to perform the business logic and database access. PitchFork is used to inject the Spring managers into the EJB’s using the spring-ejb-jar.xml configuration file. Note originally I was using the SpringBeanAutowiringInterceptor however I could not get this to work. See WebLogic 11g and Spring beens injected into EJB for details.
    When the application is deployed packaging all the dependant jars within the APP-INF\lib folder I get a verity of errors from the following InvalidClassException, NoSuchMethodError, AbstractMethodError and IllegalArgumentException. I am using Spring 2.5.3 to match the supported WebLogic version. Note within the EAR application.xml the library-directory is set to APP-INF/lib. The issue appears to be Spring, PitchFork, commons-logging and aspectj libraries are being loaded form WebLogic and do not have visibility on jars within the application or have been modified when bundled for WebLogic. An example of this is the PitchFork jar within WebLogic has been changed excluding the spi package resulting in java.lang.ClassNotFoundException: org.springframework.jee.spi.PitchforkUtilsImpl errors.
    Moving the jars to the domain library path does not resolve any of the issues. I have been unable to successfully deploy the application picking up the application jars using the prefer-application-packages configuration.
    Oracle has advised me to deploy the libraries into the WebLogic system classpath by modifying the startWebLogic command to load the libraries into the classpath. I am concerned that modifying the system classpath will result in an unstable WebLogic server as I will be replacing modified jar files packages with WebLogic (such as PitchFork). This will also limit the applications that can be deployed within the server as each application must use the same libraries and versions (as the application ibraries are leing ignored).
    Has anyone else hit this issue and corrected it? Can anyone think of an alternative solution?
    Regards
    Neil

    Hi,
    I am in the process of updating the tracking bug# 331569 with copies of the eclipse EAR/WAR projects and the EAR for these scenarios. Here are some details on how I got past the 2nd CCE on the org.eclipse.persistence.jpa.PersistenceProvider class (not the javax one)
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=331569
    Essentially an SE persistence unit running both JPA 2.0 api and the 2.0 XSD schema work fine. I will next retest the EE case with variations of the 3 types of injection on the SSB or Servlet.
    Update: There are 3 (possibly 4) issues here (all of these may become obsolete when the next WLS version ships)Initially I got the same 2.0 schema error and the ClassCastException on org.eclipse.persistence.jpa.PersistenceProvider
    It turns out that my import of the 2 eclipse projects from my bug # 296271 for WebLogic 10.3.2.0 lost their facets(specifically the dynamic web facet) because I associated them with a different WebLogic 10.3.3.0. - this caused the CCE I was experiencing like Sri.
    Anyways, after creating an EAR/Web project combination from scratch in eclipse associated with the 10.3.3.0 instance - I predeployed/deployed/ran fine - even with the 2.0 schema - in SE bootstrap mode (no EE yet).
    Reproduction Procedure:
    redoing project from scratch as I noticed that the war was not at the root of the ear - it was a jar in the app-inf/lib dir - my imported eclipse project was not referenced correctly as a web module facet- create empty EAR and WAR project with references
    - download and open my EAR and WAR project code from bug # 296271
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=296271
    - do essentially all the steps in the page below (I paraphrase for re-verification)
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
    - copy applicationService, entity and FrontController servlet code into new projects
    - create persistence.xml and MANIFEST.MF manifest in src\META-INF
    - update manifest
    Class-Path: APP-INF/lib/eclipselink.jar
    APP-INF/lib/javax.persistence_2.0.0.v200911041116.jar
    - copy both javax.persistence 2.0 and eclipselink 2.x jars to APP-INF/lib
    - change ordering of WebLogic library modules classpath reference (javax.persistence 1.0) to ear reference (2.0 version)
    - update web.xml with servlet tags
    - update weblogic.xml with new context root
    - make the persistence unit name the same in persistence.xml and ApplicationManagedService
    - update weblogic-application.xml with prefer-application-packages overrides
    <wls:prefer-application-packages>
    <wls:package-name>javax.persistence.*</wls:package-name>
    <wls:package-name>org.eclipse.persistence.*</wls:package-name>
    </wls:prefer-application-packages>
    - enable server redirect logging
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    - start WebLogic 10.3.3.0
    - deploy (run on) server from eclipse or export ear to auto deploy directory
    1) JPA 2.0 XSD usage on 10.3.3.0
    - I reproduced this issue with a bad EAR
    - was able to use the 2.0 schema within the WAR-only application managed EAR
    persistence.xml<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
    <!-- persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"-->
    <persistence-unit name="example2" transaction-type="JTA">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
    <jta-data-source>localJTA</jta-data-source>
    <class>org.eclipse.persistence.example.business.Cell</class>
    <shared-cache-mode>NONE</shared-cache-mode>
    <properties>
    <property name="eclipselink.target-server" value="WebLogic_10"/>
    <property name="eclipselink.logging.level" value="FINEST"/>
    <property name="eclipselink.target-database" value="Derby"/>
    <!-- new for 10.3.3.0 http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging#Server_Logging -->
    <property name="eclipselink.logging.logger" value="DefaultLogger"/>
    <!-- property name="javax.persistence.jdbc.driver" value="org.apache.derby.jdbc.ClientDriver"/>
    <property name="javax.persistence.jdbc.url" value="jdbc:derby://127.0.0.1:1527/dataparallel;create=true"/>
    <property name="javax.persistence.jdbc.user" value="APP"/>
    <property name="javax.persistence.jdbc.password" value="APP"/-->
    <!-- turn off DDL generation after the model is stable -->
    <!-- property name="eclipselink.ddl-generation" value="drop-and-create-tables"/>
    <property name="eclipselink.ddl-generation.output-mode" value="both"/-->
    </properties>
    </persistence-unit>
    </persistence>
    2) CCE on JPA provider implementation class
    Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit example2: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider
    - I reproduced and fixed this one (was Eclipse project facet issue) - EAR was wrong
    - was able to run JPA 2.0 code fine on an SE PU (predeploy/deploy together)
    - EE injection should not work but I will post an example EAR anyway
    log[EL Example]: enterprise: JPA 2.0 Metamodel: MetamodelImpl@56287508 [ 3 Types: , 1 ManagedTypes: , 1 EntityTypes: , 0 MappedSuperclassTypes: , 0 EmbeddableTypes: ]
    3) CCE on JPA spec interface class
    - I could not reproduce this one
    Re: WebLogic 11g EAR EJB Classpath and class loaders
    Error processing persistence unit PT of module pt: Error instantiating the Persistence Provider class org.eclipse.persistence.jpa.PersistenceProvider of the PersistenceUnit PT: java.lang.ClassCastException: org.eclipse.persistence.jpa.PersistenceProvider cannot be cast to javax.persistence.spi.PersistenceProvider
    4) CCE on fallback Kodo JPA provider (if an invalid say 2.1 JPA XSD schema is referenced)
    java.lang.ClassCastException: kodo.persistence.PersistenceProviderImpl
    at javax.persistence.Persistence.findAllProviders(Persistence.java:186)
    java.lang.NoSuchMethodError: javax/persistence/EntityManager.getMetamodel()Ljavax/persistence/metamodel/Metamodel;
    - reproduced by using the 1.0 javax.persistence jar (but named as the 2.0 one in APP-INF/lib)
    - fixed by using either the 1.0 or 2.0 JPA XSD schema and using the correct 2.0 spec jar
    thank you
    /michael

  • 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
              

  • Setting classpath and library path...

    hello..
    i have downloaded the jfreechart1.0.4 for adding chart in my java application...though i have gone through the installation guide...but i havent figured it out how to make the packages available to my java application....
    i am very new to java ....so pls suggest me any way to make those packages available to my java which is in my j2sdk\bin folder...and truly i dont have any idea where to set the lib path and class path....so pls post any suggestion or any url that will help me...

    Hi,
    You should not place files in the bin directory of your JDK/JRE. Just place the jar-files somewhere close to your application, e.g. in a lib folder in your project folder. Then set the classpath to point to those jars when you execute your application.
    E.g.
    java -classpath ./classes/;./lib/somejar.jar;./lib/anotherjar.jar MainClassKaj

  • 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.
              

  • Can I get a weblogic Initial context without importing all weblogic classes ?

    can I get a weblogic Initial context (with weblogic.jndi.WLInitialContextFactory)
    without importing all weblogic classes ?

    I ran my client through all its functions.
    I then took the access.log file and parsed out a list of all the class
    files that were downloaded and built a script to create my
    weblogiclient.jar file.
    Before running the client we had to:
    With WL5.1 I think we had to unjar the weblogicaux.jar file into the
    serverclasses directory so the client could load them all individually.
    Make sure you clean up after you are done with this.
    With WL 6 we did not have to do that.
    The access.log file is the key to building your own client jar file.
    We also require the use of the Java 1.3 plug-in by our clients (for
    Applets) so we can do multiple Jar caching.
    Tom
    Dominique Jean-Prost wrote:
    Hello tom
    What do you mean by "use the Weblogic class loader" ?
    Could you explain whath you exactly did to find all the classes you need ?
    regards.
    dom
    <nospam@nospam> a écrit dans le message news: 3ABF3EC2.9010200@nospam...
    You need the classes one way or another. BUT you do not have to
    redistribute the whole Weblogic.jar file. Use the Weblogic class
    loader then run your program. The weblogic access.log should have a
    listing of all the classes you need to use and you can build your own
    sub-jar. My experience is that this new jar is significantly smaller.
    Ours is around 600K instead of 15MB.
    Tom
    Dimitri Rakitine wrote:
    Yes, if, for example, you can network classload from WebLogic. Talking
    to a WebLogic
    server means WebLogic RMI (unless you use RMI/IIOP in which case youdont need any
    WebLogic classes) which needs WebLogic-specific classes, so you clientapplication needs
    to get them from somewhere - local classpath or remote WebLogic server.
    David Dahan <[email protected]> wrote:
    I mean without a classpath to all weblogic classes.
    can I get a weblogic Initial context (with
    weblogic.jndi.WLInitialContextFactory)
    without importing all weblogic classes ?

  • CIM.bat giving error that weblogic lib path not found

    I am using atg 9.1 and weblogic 10.3.2. Installed both s/w and started weblogic server. I am using cim.bat to configure and I am stuck at a point where it asks for the app server I am using and I selected 'Weblogic' and when it asked for the path..I gave the correct path where weblogic is installed...but it says Weblogic lib path not found...even though I can see the server/lib directory...could you please help ?

    Yes, I did that...my weblogic is installed in c:\Oracle\Middleware\wlserver_10.3.2 and CIM gives a message that [c:/Oracle/Middleware/wlserver_10.3.2/server/lib] weblogic lib path not found
    Also I see c:\Oracle\Middleware\wlserver_10.3.2\server\lib directory and all the required weblogic files available in that directory.

  • Weblogic Class Loader issues.

    Hi all!
    Let me explain my problem.
    I have an EJB which has in its same Java package some support classes
    & also a startup class. I created an EJB jar file (containing the home,
    remote, bean, the deployment descriptors & the container generated stubs)
    for deployment. I also compiled all the support classes & the startup class
    into the /weblogic/myserver/serverclasses directory. I also added the
    required entries in the weblogic.properties file for the startup class.
    Now the problem is that the support classes & the startup class contain
    methods & constructors which have package level access (i.e the default
    access in Java). At runtime, when my bean tries to access one of these
    methods, an IllegalAccessException is thrown.
    I understand that this exception is thrown when one tries to access a
    method which should not be accessed (like private/protected/cross-package
    access). However, both the EJB & these classes are in the same package.
    So this should not be thrown.
    Now the next thing I thought is that the EJB & the support classes are
    being loaded by 2 different classloaders. I guess the classes under
    /weblogic/myserver/serverclasses are being loaded by the WebLogic
    Server ClassLoader & the EJB bean classes are being loaded by the
    specialized EJB ClassLoader.
    Now my question is,
    1) Is it the case that the WebLogic Server does not recognize that the
    EJB Bean class is in the same package as the support classes because
    they are loaded by 2 separate class loaders? Please note that the EJB
    jar file does not contain any support classes - so there is no
    duplicate classes here.
    2) Is this a bug?
    3) What should I do to prevent this problem?
    Some workarounds that I have done are:
    1) Copied the Bean.class (implementation class of EJB bean) into the
    serverclasses directory. Now the server does not throw any
    IllegalAccessException. -- This, however, does not appeal as a solution
    since it looks like the Bean class is now being loaded by the WebLogic
    Class Loader instead of from the EJB jar file.
    2) I changed all the default package access methods to public methods.
    Works like a charm. -- Problem is that this is a third party set of classes
    which I would like to avoid modifying.
    Hope this is not too confusing. Please let me know if you need any further info.
    Thanks much in advance,
    --Das

    You have to tell WLAS where to load your new classes. You can change
              workingDir of your JSP configuration in weblogic.properties to point to your
              new class directory.
              Cheers - Wei
              Hyung-Jin Kim <[email protected]> wrote in message
              news:[email protected]..
              > It seems that if I compile a class that a JSP uses while Weblogic is
              > running, Weblogic's class loader has this nasty habit of caching/writing
              > the class that already has loaded into memory into:
              >
              > weblogic/myServer/classfiles
              >
              > Weblogic then refers to the older class file under the above directory
              > when the server is started again. Is there any way to turn this "class
              > loader caching" off in Weblogic? Thanks!
              >
              > -hjk
              >
              

  • ATG CIM - Weblogic domain path is not valid

    Hi All,
    Getting the domain path invalid error when trying to configure ATG through CIM...
    Enter Path : > /u01/app/oracle/Middleware/wlserver_10.3
    >> Weblogic path validated.
    >> Weblogic version validated.
    >> App Server home path set to /u01/app/oracle/Middleware/wlserver_10.3/
    -------ENTER DOMAIN PATH--------------------------------------------------------
    enter [h]elp, [m]ain menu, [q]uit to exit
    Hi All,
    When i am trying to configure ATG env through CIM, i have chose weblogic, but i am getting the below error. If i give "*/u01/app/oracle/Middleware/user_projects/domains/base_domain*" path it works fine but , if i give new domain its not working. why??
    Enter Domain Path : > /u01/app/oracle/Middleware/user_projects/domains/base_ATG10.1.1CRS
    >> Weblogic domain path is not valid.
    Enter Domain Path : [[u01/app/oracle/Middleware/user_projects/domains/base_ATG10.1.1CRS]] > /u01/app/oracle/Middleware/user_projects/domains/base_domain_crs
    >> Weblogic domain path is not valid.
    Enter Domain Path : [[u01/app/oracle/Middleware/user_projects/domains/base_domain_crs]] >
    >> Weblogic domain path is not valid.
    Enter Domain Path : [[u01/app/oracle/Middleware/user_projects/domains/base_domain_crs]] >
    >> Weblogic domain path is not valid.

    you mean to say :
    there is a base_domain which is getting accepted by CIM.
    but there in another domain in same folder base_domain_crs that is not being accepted by CIM , strange !
    may be some issue in domain creation ,
    can you try creating a new domain again by the name CRS

  • Weblogic domain path API

    Hi,
    I am using the following code to get the Weblogic domain path.
    InitialContext ctx = new InitialContext();
    MBeanServer server = (MBeanServer)ctx.lookup("java:comp/env/jmx/runtime");
    ObjectName service = new ObjectName("com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean");
    ObjectName domain = (ObjectName)server.getAttribute(service, "DomainConfiguration");
    String domainPath = (String)server.getAttribute(domain, "RootDirectory");
    My question,when the weblogic api and versions change over years, will it have any impact on the above code.
    Please confirm.
    Similar to domain path, can I get the ear deployment folder in java code.
    Thanks,
    Praveen

    you mean to say :
    there is a base_domain which is getting accepted by CIM.
    but there in another domain in same folder base_domain_crs that is not being accepted by CIM , strange !
    may be some issue in domain creation ,
    can you try creating a new domain again by the name CRS

  • Libraries needed for a IDE (RMI) - weblogic 10.3 server lookup

    Hi
    Just a simple question, which .jar files do a need to do a simple rmi lookup from my IDE (Intellij in this case) to a weblogic 10.3 server ?
    The weblogic.jar files doesn't seem to cut it anymore
    /Laban

    The weblogic.jar ist still a good place to start with :)
    You could also try the %bea_home%\wlserver_10.0\server\lib\wlclient.jar
    edocs wrote:
    The thin client jar contains the necessary J2EE interface classes, such as javax.ejb, so no other jar files are necessary on the client.
    Server-side components are deployed in the usual fashion. Client stubs can be generated at either deployment time or runtime.To generate stubs when deploying, run appc with the -iiop > > and -basicClientJar options to produce a client jar suitable for use with the thin client. Otherwise, WebLogic Server will generate stubs on demand at runtime and serve them to the client. > Downloading of stubs by the client requires that a suitable security manager be installed. The thin client provides a default light-weight security manager. For rigorous security requirements, a > > different security manager can be installed with the command line options -Djava.security.manager -Djava.security.policy==policyfile.
    The thin client jar replaces some classes in weblogic.jar, if both the full jar and the thin client jar are in the CLASSPATH, the thin client jar should be first in the path. Note however that > > weblogic.jar is not required to support the thin client.
    /edocsMore information here: http://e-docs.bea.com/wls/docs103/client/basics.html#wp1072941

  • CLASSPATH problem with Application Server 8.2

    Hello everyone.
    i am new to using the App server 8.2 for deploying a web application. we decided to use it because we were having too many problems with Web Server.
    We successfully deployed the application and it runs. however, when accessing a page with database connectivity, we get the following error:
    =================================================
    com.sun.rave.web.ui.appbase.ApplicationException: javax.servlet.ServletException: java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : com.sun.sql.datasource.DriverAdapter
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    =================================================
    I don't really know what that means but it looks like i need to set some sort of classpath properties. under web server 6.1, the classpath settings were those of the server's JAR file path.
    i used Studio creator's remote deployment tool to deploy to AppSvr8.2.
    i followed the tutorial step by step.
    can someone please help me

    i did what you suggested and now i get a different error: Connection could not be allocated because: com.sun.sql.jdbc.oracle.OracleDriver
    see page below:
    ================================================
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    com.sun.rave.web.ui.appbase.ApplicationException: javax.servlet.ServletException: java.lang.RuntimeException: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: com.sun.sql.jdbc.oracle.OracleDriver
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         java.security.AccessController.doPrivileged(Native Method)
         com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    ================================================
    thank you so much for all your help thus far!!

Maybe you are looking for

  • Error Message In Xcode

    hi i have recintly got Xcode for my computor and i am learning how to use the code. I am lerning form "tuturial for Xcode app" and copyed the code over for the first app i made there is a error message and i can not fix it. Here is the code and error

  • 9300 scrolling problem

    Having a the same problem with 2 9300's. when typing or reading a text the screen continously scrolls up very quickly for apparently no reason. the directional button is not stuck. I've reset several times by removing battery and SIM card. have check

  • DownloadHelper only works on youtube video downloads after FireFox upgrade to 32.0

    Firefox upgraded today to 32.0. The add-on DownloadHelper is at 4.9.23. DownloadHelper has worked fine until today. Now it will not offer to download videos from any other sites besides YouTube.

  • Does photo book support Chinese language?

    Hello, this is my first time making a photo book from iPhoto. I just want to find out if the photo book service supporting Chinese before I create one in Chinese. I can type Chinese in iPhoto, what I don't want to see is after I finish my 25 pages of

  • Multiple keyboards with Mainstage

    I am currently using mainstage with my Roland A-30 midi keyboard through a yamaha usb/midi interface and it works fine. I am wondering if I can also use a basic USB keyboard into my other USB connection on my macbook at the same time. So one keyboard