OC4J classpath and JAZN

In my project we're using the DBTableOraDataSourceLoginModule login module in order to store usernames and passwords to the database. I've created a customized SHA1 encoder that extends DBLoginModuleEncodingInterface for database password hashing. When I attempt to use the class I've created the embedded OC4J cannot find it.
The error message I'm seeing in log.xml is:
<MSG_TEXT>[DBTableOraDataSourceLoginModule]No class found for name mypackage.AESSHA1Encoder. Please check JAAS configuration option</MSG_TEXT>
This is the relevant portion of system-jazn-data.xml:
<option>
     <name>pw_encoding_class</name>
     <value>mypackage.AESSHA1Encoder</value>
</option>
I'm including my library in application.xml:
<library path="C:\jdevstudio10133_B\jdev\lib\AESSecurity.jar"/>
The contents of the jar are as follows:
C:\jdevstudio10133_B\jdev\lib>jar -tf AESSecurity.jar
META-INF/MANIFEST.MF
mypackage/AESSHA1Encoder.class
I've sprinkled the jar file around various lib directories I've found under <JDEV_HOME>\j2ee\home and <JDEV_HOME>\jdev\system\oracle.j2ee.10.1.3.41.57 but I continue to get the same error.
How should I point OC4J to my custom encoding module?

Hi,
in my origin implementation of this LoginModule - before OC4J development put the code into their production line - I had the class within the same JAR file that stored the LoginModule. However, I always tested this with a stand alone OC4J instead of the embedded. In there I Used the lib directoy of the OC4J "home" (which would be a subdirectory of the JDeveloper home) when using the embedded OC4J stand alone.
The applications.xml would have
<library path="../../home/lib/my_jar.jar"/>
Frank

Similar Messages

  • 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

  • OC4J "classpath+properties" issue

    Hi,
    Is any fix available for the OC4J classpath+properties issue?
    It can't find *.properties files even if it is in the classpath.
    It's not convenient to jar properties files and edit the manifest.mf file in orion.jar every time you want to add new file
    Thanks

    The classpath for the Oc4j is entirely different than what is normal classpath. If you start your oc4j with -jar option the system classpath will never get effected. If you want your properties files to be recognized keep under the possible classpaths. Oc4j takes every thing from lib directory so you can keep there.
    If you have an application you can add <library path=""/> tags to your application.xml and keep the properties files in that directory.
    If you have webapplication usually web-inf\lib added in classpath.

  • How to set classpath and server configuration in eclipse

    i am new to eclipse tool pls anyone tell me to set classpath and serverconfiguration (tomcat) and sample program

    Get WTP [1], install it [2] and checkout one of the lot Eclipse WTP tutorials [3].
    [1] http://www.eclipse.org/webtools/
    [2] http://ftp.osuosl.org/pub/eclipse/technology/phoenix/demos/install-wtp/install-wtp.html
    [3] http://www.eclipse.org/webtools/community/tutorials/BuildJ2EEWebApp/BuildJ2EEWebApp.html

  • Classpath and manifest.mf

    what is the difference between classpath, buildpath and a Manifest.mf paths?
    I believe class path is used at run time to look for the classes referred in this path.
    Build path is used to build the application i.e. to link the components used while compiling and building classes.
    Manifest.MF is also used for runtime resolution.
    What different purpose did classpath and manifest.mf serve?

    If I understand you correctly, this is more of a general Java Question then a Java Servlet Question... but anyway...
    The manifest.mf is defined for JARs. Your system CLASSPATH, and the classpath set on the command line are ignored for JARs, and only the CLASSPATH set in the manifest is used.
    When running applications outside of JARs, then the system/command line CLASSPATH is used.
    When running a web application inside a WAR, the server has its own classpath which will override that of the manifest and the system CLASSPATH.

  • Classpath and hash Character (#)

    Hi,
    I have some jar files in my java classpath and it looks as if the JVM does not manage to find them when the jar file path contains a hash character (#) (java.lang.NoClassDefFoundError Exception is raised)
    I haven't found anything about this in docs.
    Can anyone help me ?
    Thanks
    Michel

    Maybe not.
    However, once I do not need these classes which are stored in a file path with a hash character, everything works fine.
    You can experiment by yourself following this basic scenario:
    1) store your famous HelloWord.class in a directory containing a hash Character (e.g. C:\tmp\te#st )
    2) run your jvm as follows: java -classpath C:\tmp\te#st HelloWord
    3) you should see the message
    "Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld"
    if not, tell me. I am completely wrong.
    PS: Enviromment: WindowNT, sdk 1.4.0 or sdk 1.3.1
    Michel

  • Classpath and property problem in services

    Hi, all,
    I've had a number of problems getting the Stockquote example to run properly. This seems to be due to a problem that services don't get either classpaths or properties when they start.
    The first manifestation of this problem came when the proxySet, proxyHost, and proxyPort environment variables weren't getting set properly in class services.stockquote.Stockquote. The symptom was that url.openStream () timed out because the proxy was not set correctly.
    The second symptom comes when"JavaPort" is used as the port on the client. Despite every attempt I've made to put services.stockquote.Stockquote on the classpath, URLClassLoader will not find this class. However, a call to Class.forName("services.stockquote.Stockquote") in Main.java, just before the bottom of the stack, works! It works in both the client and the server!
    So, could someone please tell me why the classpath and properties are getting shucked, and how to get them right?
    I'm on Windows 2000 :p using JDK 1.3.1 and Tomcat 4.0.
    Thanks,
    - Steve.

    Vivek, I think this belongs in a different thread. Also you'll need to say what problems you're having.
    The only thing that definitely needs to be changed about the example is that the service may fail if it's run behind a proxy server. You'll need to set the following System properties:
    System.setProperty("proxySet", "true");
    System.setProperty("proxyHost", "your.proxy.com");
    System.setProperty("proxyPort", <your proxy port>");
    If this isn't done you'll get an exception like the following:
    Exception in thread "main" com.ibm.wsif.WSIFException: SOAP Fault:SOAP-ENV:Server Exception from service object: Operation timed out: connect
    -S.

  • Problems in Classpath and Path 's variables setting in Windows XP

    Here is my drive structure in my PC:
    1. hard drive (primary slave, Partition: C and E where E boot Windows XP
    2. Hard drive 2 (Primary Master), Drive letter: D
    Although my default boot directory is E (for strange reason, i like to keep
    that way for now), I installed other programs in C and D drive dues drive
    space factors.
    So My java sdk1.4.2_02 has been installed in C:\Java_home directory, the
    following is my Classpath and Path values:
    (CLASSPATH Variables)
    Classpath=.;
    c:\java_home\j2sdk1.4.2_02;
    e:\Program Files\java\j2re1.4.2_02;c:\java_home; c:\java_home\j2sdk1.4.2_01
    \lib;e:\Program Files\java; e:\Program Files\java web start;c:\java_home\j2
    sdk1.4.2_02\jre\lib;c:\java_home\java\petstore1.3.2\src\lib\jst1;
    (PATH variables)
    c:\java_home\j2sdk1.4.2_01\bin;C:\java_home;e:\Pr
    ogram Files\java;c:\java_home\jdk1.4.2_2\bin;E:\Program Files\Oracle\jre\1.
    1.8\bin;E:\WINDOWS\system32;E:\WINDOWS;E:\WINDOWS\system32\WBEM;E:\
    Program Files\Support Tools\;
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    Path=D:\oracle\ora92\bin;E:\Program Files\Oracle\jre\1.3.1\bin;
    My Fruit txt and Fruit.java file is located in my c:\java_home folder
    when I try to compile the my file as <c:\java_home\javadoc Fruit.java), it
    gives me the error message<'javac' is not recognized as an internal or
    external command,operable program or batch file.>
    however, I can compile the Fruit file from C:\java_home\jdk1.4.2_2
    \bin\javadoc Fruit.java; with out any problem of course I have to copy the
    Fruit.java file at the C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java
    folder.
    I am requesting u please help or advise me to correct my mistakes
    Ely
    [email protected]

    I must confess that I am totally unable to understand what your PATH is set to. The error that you see,
    <'javac' is not recognized as an internal or external command,operable program or batch file.>
    is due to a missing or incorrectly set PATH. It is used by Windows to find executable file (like javac.exe) that you have added to the computer. Item #5 on this page gives you instructions on how to set it: http://java.sun.com/j2se/1.4.2/install-windows.html
    As for the setting of the CLASSPATH, you seem to have a number of different versions of java (1.4.2_02, 1.4.2_01, 1.4.2_2, and 1.1.8) and I doubt that these are all valid. You are also using an unusual syntax C:\java_home\jdk1.4.2_2\bin\javadoc Fruit.java and I wonder if that is really C:\java_home\jdk1.4.2_2\bin\javadoc\Fruit.java? I think the best action is to point you to Sun's instructions and information about setting and using the CLASSPATH.
    The CLASSPATH is a set of pointers that is used by Java to find the files that YOU (not Java) create and want compiled and/or run.
    Setting the Classpath:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    [NOTE: always start your classpath with ".;" which means the current directory. See my classpath, below]
    How Classes are Found:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/findingclasses.html
    Examples:
    This is my path
    PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BATCH;C:\J2SDK1.4.2_01\BIN;C:\PROGRA~1\UTILIT~1;C:\PROGRA~1\WIN98RK
    This is my classpath
    CLASSPATH=.;C:\mjava;C:\mnrx;C:\NetRexx\lib\NetRexxC.jar;C:\j2sdk1.4.2_01\lib\tools.jar;C:\NetRexx\NrxRedBk

  • Oc4j, jdeveloper and apache, port conflicts ?

    Hi all,
    I am currently in the process of deploying my first EJB on Oracle 9i AS.
    I have successfully installed oc4j.zip and set the login credentials.
    I am however, unable to connect to the index page of the OC4J server from any computer besides the server.
    My URL is http://prams_nt_03:6666 and this works on the server. The reason for it being 6666 is that I have changed it to avoid conflicts with the oc4j server. I have changed it in the default-web-site.xml file. There is a danger of conflict because I want to access the OC4J server behind Apache.
    I have also created the oc4j.conf file, which httpd.conf looks at :
    <IfModule mod_proxy.c>
    ProxyRequests On
    ProxyPass /servlet/ http://prams_nt_03:6666/servlet/
    ProxyPassReverse /servlet/ http://prams_nt_03:6666/servlet/
    </IfModule>
    Does anyone have any suggestions as to what else I need to do ? Maybe I need to specify somewhere else that I am using port 6666 ?
    Also, another point is that I am unable to deploy from JDeveloper, the connection test to the application server fails with the error message : Disconnected.
    My server is Win NT sp6, my AS is 1.0.2.2.2a.
    Thanks in advance for any help you can give.

    Hiya Debu,
    1) Are OHS and OC4J running on the same server ?
    - Yes, along with 9i DB rel 1
    2) What ports are used by OHS and OC4J ?
    The ports are 8888 for both, I have removed the setting for the OC4j Server, which means the OC4J server is not working behind Apache.
    3) Can you go to OC4J's homepage directly i.e. http://myhost:6666 ?
    I cannot go using hostname, but can using I.P address
    4) Can you go to OHS (aka Apache)'s homepage directly ?
    Yes, using I.P and hostname
    5) Do you get any errors during startup of OC4J or OHS ? You will an error port already in use error when a port is used by someone else ?
    None that I can think of.
    I think you hit the nail on the head when you said it could be a DNS problem ! I will configure that now. Thanks for your help, you're a star !

  • Error while working on OC4J installation and Configuration

    Hi i am using DB(9.2.0.6.0) and APPS(11.5.10.2).  Now i have cloned a new instance and it runs on port 8050. Now i want to install and configure OC4J with it. I have done the OC4J Installation Successfully. Here i used the OC4J Version 9.0.3.I have changed the http-web-site.xml port number to 8890 and rmi.xml port to 23793 as per the document i got.To create the starting script, file name called “.start_oc4j” I issued cd $OC4J_TOP/j2ee/home/ then
    java -jar oc4j.jar and
    it throws the error
    [applpdev@oraapps ~]$ cd $OC4J_TOP
    [applpdev@oraapps home]$ pwd
    /pdev/p01/oracle/pixappl/pwr/11.5.0/oc4j/
    [applpdev@oraapps oc4j]$ cd j2ee/home/
    [applpdev@oraapps home]$ java -jar oc4j.jar
    Error starting JMS-Server: Unable to bind socket: Address already in use
    Error starting ORMI-Server.  Unable to bind socket: Address already in use
    [applpdev@oraapps home]$

    Hi,
    It looks like there is a conflicts with the ports you are using.
    These ports seems to be already in use.
    please check 8890 , 23793 , 8050 ports are in use or not .
    Thanks,
    Sharmela

  • Custom classpath and custom jar entry in R12

    Hi all,
    I have created the custom classpath and custom jar file for isrore process. I had put custom jar and custom class entry in orien_application.xml file. But it was working on R12 at doveloper mode. It will creates the classes for custom jsp file using custom import class or custom jar. But once i revert back the devloper mode means it won't work.
    Could you please help..

    Oracle apps R12 - Compiling JSP with custom classpath
    We all know that to compile JSP manually on the Oracle Application R12 instance, we need to run the file $FND_TOP/patch/115/bin/ojspCompile.pl.
    Its help is as follows:
    syntax: ./ojspCompile.pl COMMAND {ARGS}
    COMMAND --compile               update dependency, compile delta
    --create                rebuild entire dependency file
    -delta.out update dependency, list delta to file
    -dep.out update dependency, output heirarchy to file
    ARGS -s matching condition for JSPs filenames
    -p number of parallel compilations
    -log to override logfile from ojspCompile.conf
    You are
    recommended to set the log file location
    outside of any network file system shared (NFS) area/drive.
    -conf to override ojspCompile.conf
    --retry         retry previously failed compilation attempts
    --flush         forces recompilation of all parent JSPs
    --quiet         do not provide an actively running progress meter
    --fast          instantly fail jsps that are possibly invalid
    example1: ojspCompile.pl compile -s 'jtf%' -p 20 retry
    example2: ojspCompile.pl compile -s 'jtflogin.jsp,jtfavald.jsp' flush
    example3: ojspCompile.pl compile fast --quiet
    If your JSP uses custom classes, then compiling jsp manually can fail if proper classpath is not set. Yes, even though if you have setup the classpath correctly in orion-application.xml, it will fail because this jsp compile utility does not read orion-application.xml classpath.
    So, the problem is to identify where to set the classpath so that above utility can pick it up. After several search and looking into code, I found following:
    By default, the jsp compiler script uses following configuration file
    $INST_TOP/appl/admin/ojspCompile.conf
    This conf file has a classpath field in it which is usually pointed to file
    $INST_TOP/appl/admin/ojspCompile.properties
    This property file lists the classpath used for JSP compilation.
    So if your classes are not listed in this file, your jsps will not compile by ojspCompile.
    Ofcourse, you can always set the "main_mode" to "recompile" in orion-web.xml, but that for production you do not want to change it and compile the JSP on file deployment.
    References:
    458338.1 How to Enable Automatic Compilation of JSP pages in R12 Environment
    433386.1 JSP Pages Hanging in R12 After Removing Cached Class Files in _pages
    783094.1 Compile jsp files at Application R12 at Windows

  • CLASSPATH and JAVA_HOME commands (variables) aren't recognized by DOS

    My command prompt doesn't recognize neither CLASSPATH nor JAVA_HOME commands...I've already set the path variable "C:\WINDOWS\System32;C:\Programs\Java\jdk1.6.0\bin", but when i'm going to set the classpath and java_home variables it says that they are not recognized as an intern or extern command etc...
    Could anyone please help me?
    (I'm portuguese; sorry for my english...)

    you don't need to set CLASSPATH. you should learn to use -classpath option on javac.exe and java.exe when you compile and run in a command shell.
    if your PATH points to Java's /bin, you probably don't need to do anything else.
    the right way to set environment variables in Windows XP is in the control panel.
    if you want to set them just for one shell, and have them disappear when the shell is closed, you type "set JAVA_HOME=...." and "set CLASSPATH=...".
    You'll find out quickly that CLASSPATH environment variables are ignored by javac.exe, java.exe, every IDE, and every Java EE app server. You have to learn how each one sets CLASSPATH.
    %

  • Can I use OC4J only and not the full Oracle AppServer?

    When I install Oracle SoaSuite then the full Oracle Application Server including the little brother OC4J
    is installed. Can I somehow (at least theoretically) only install/use the OC4J server and omit the full Oracle ApplicationServer?
    Peter

    SOA Suite is certified only against the Oracle Application Server. You need to have/run on this, or on WebLogic.
    Marc
    http://orasoa.blogspot.com

  • Single SOA Suite Install with multiple oc4j instances and java processes

    We right now have 5 BPEL processes and 5 ESB processes all running under one java.exe process. We would like to seperate some of
    them out into their own java.exe processes without having to install more
    %ORACLE_HOME% instances of SOA Suite. I can create an oc4j instance but of
    course it doesn't have any SOA Suite stuff deployed to it. I tried to see what
    the install would do with this new oc4j instance but it wants to create a new
    %ORACLE_HOME% with an entire installation of SOA Suite.
    Is there some sort of way to clone oc4j instances that have SOA Suite deployed to them so that you
    don't need multiple %ORACLE_HOME% instances?
    ### How is this Issue Impacting Your Business ###
    We really don't want to have a lot of %ORACLE_HOME% instances to have to maintain. We are
    migrating projects over from our current integration server product and we'll
    have potentially dozens more BPEL and ESB projects. We definitely want to
    group and isolate projects so that outages of one project do not bring down
    others that are unrelated.
    We are currently experiencing periodic problems with one BPEL project that requires recycling but all the other BPEL and ESB
    projects get recycled also. If we could put this project into it's own java
    process without creating another SOA SUITE instance, it would be a big
    help.
    ANSWER
    =======
    You can create multiple domains in BPEL or create multiple systems/groups in ESB to group different projects.
    MY REPLY:
    =========
    We have been using systems/groups in ESB but they all run under the save java.exe process. I would assume that having a seperate domain in BPEL would also run in that same java.exe process.
    Right now, the one BPEL project we have a problem with will gobble up all the JDBC connections from time to time and that requires a recycle of SOA Suite, which means all BPEL and ESB projects that run in that java.exe process get recycled also. We're working that issue in a different ticket.
    It would be nice if the SOA Suite installation would install against a new oc4j instance and not assume it has to create a complete %ORACLE_HOME% instance. The components of SOA Suite seem to be J2EE based components.
    Scenario: I already have an oc4j instance called oc4j_soa and a complete %ORACLE_HOME% installation of soa suite. I then create a new oc4j instance from Enterprise Manager. Then I would deploy the esb-dt, esb-rt, orabpel, etc. components of SOA Suite to that new oc4j instance and modify the necessary config file so that it can work with OHS and the SOA Suite Databases. Is this possible?
    Does anyone have any experience with this or do people typically install multiple complete installation of SOA Suite with mulitple Oracle Homes?

    Hi,
    yes, on metalink you get in touch with real experts....
    You have to install serveral application servers to get different ORACLE_HOMEs.
    For each one, you can install a BPEL PM.
    But: For each BPEL PM you need your own database instance, or you have to configure them as a clustered BPEL installation.... (but i do not know if this work with non RAC DBs)

  • Sick and tired og classpath and system properties

    Now im really turned on! Its maybe the fifth time i have to reinstall. Why?
    Because ANY change of weblogic.class.path seems to be irreversible, and the
    wlconfig-"tool" not even act as in the documentation.
    ***How do I really change weblogic.class.path?
    It does NOT seem to work, and when it works it appends just the new path to
    alle other paths
    ***How do I set paths back to "zero"????? It seems impossible! Any change is
    appearently a no-return operation where the possibilities is succes or
    reinstall.
    ***Why is it not possible to edit some simple textfiles/scripts? Or why is
    there not even some graphic tool like in all other apps? Its very strange
    that a common thing lige some simple files is so hard for BEA to implement.
    Its really, really, really annoying!!! I Use 5.1 and sp8. All the printed
    documentation says that i shall use for instance
    java -Dweblogic.class.path=xxx, but it doesnt work. It says also that I can
    use wlconfig -classpath, but this messes CLASSPATH Prefix, classpath and
    weblogic.class.path up, so the server cant run.
    I have maybe done something wrong, but the documentation is certainly not
    very helpful or accurate!
    How do you really do it? It should not be so hard to do, becuase WL is
    worthless without for instance a databasepool.

    Now im really turned on! Its maybe the fifth time i have to reinstall. Why?
    Because ANY change of weblogic.class.path seems to be irreversible, and the
    wlconfig-"tool" not even act as in the documentation.
    ***How do I really change weblogic.class.path?
    It does NOT seem to work, and when it works it appends just the new path to
    alle other paths
    ***How do I set paths back to "zero"????? It seems impossible! Any change is
    appearently a no-return operation where the possibilities is succes or
    reinstall.
    ***Why is it not possible to edit some simple textfiles/scripts? Or why is
    there not even some graphic tool like in all other apps? Its very strange
    that a common thing lige some simple files is so hard for BEA to implement.
    Its really, really, really annoying!!! I Use 5.1 and sp8. All the printed
    documentation says that i shall use for instance
    java -Dweblogic.class.path=xxx, but it doesnt work. It says also that I can
    use wlconfig -classpath, but this messes CLASSPATH Prefix, classpath and
    weblogic.class.path up, so the server cant run.
    I have maybe done something wrong, but the documentation is certainly not
    very helpful or accurate!
    How do you really do it? It should not be so hard to do, becuase WL is
    worthless without for instance a databasepool.

Maybe you are looking for

  • How to remove entries from the new auto-complete ?

    Firefox 33 came with a new auto-complete for forms. Unfortunately I cannot seem to delete the auto-complete suggestions once they have been stored. This is necessary functionality for things like mis-spelled words, where you want to get rid of the ol

  • Macbook Pro Retina Display back to "out of box" setting

    I put some things on my new computer, but want to get it back to the "out of the box" state, so that I can start it up with a fresh backup install from my time machine.  I don't have backup disks "no optical drive", so how do I do it?

  • Use different ringtones for diff contacts?

    My blackberry used to allow me to change the ringtone for each contact.  Can I do that with iPhone?  I have a 4s. Next question - can I change the ringtone notification for when certain contacts send me texts?  This would be great

  • Error in consignment consumption

    Hi All, I had done 411k to transfer stock from consignment to unrestricted. now i m doing 201k and is giving error msg "Deficit of VC Unrestricted-use 1 nos : 300000010 FORG SCON K".

  • X button to close window hanging up

    Version 10.5.5 on an Intel Imac New installation replacing Tiger on the IMac. Clean install no archiving, transferred files using migration tool. All went smoothly. When I click the red X button on the upper left corner to close a window, I'm getting