Classpath on solaris

I've got the JRE and SDK here.
- /usr/j2se
- /usr/jdk/latest -> /usr/jdk/jdk1.5.0_14
My working directory is here:
- /iwenv/iw-home/custom/scripts/JCA
And it contains (non-exclusive) the following files:
- dom4j-1.6.1.jar
- JCA.jar
- xmlimport.sh
Aparently my classpath and java_home was empty on my Solaris. (SunOS emsss4b4 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V490)
So I set it to
$ export JAVA_HOME=/usr/jdk/latest
$ export CLASSPATH=.:/usr/jdk/latest/lib:/usr/jdk/latest/jre/lib:/usr/j2se/lib:/usr/j2se/jre/lib
So far so good right ?
Upon running the following command:
$ java -jar JCA.jar
I receive the following error:
- Exception in thread "main" java.lang.NoClassDefFoundError: org/dom4j/Element
The JCA jar should (when working) convert the XML to an updated format, but that is no matter to you :)
So it comes down to this, for some reason java cannot find the Element or properly load it. I tried many variations and combinations on the classpath and java_home, as well as giving a -cp argument when running the jar file.
A side question here: I couldn't find a good explaination of the difference between NoClassFoundError and NoClassDefFoundError, anyone can put it in clear words ?
Any reply is much appreciated,
Sincerely,
Dieter

Moeriki wrote:
Thanks to your tips I found a way to do it.
$ java -cp JCA.jar:dom4j-1.6.1.jar:jaxen.jar com.bgc.ecm.jca.xml.XmlConverter
That does the trick!
Thanks a lot for your help,
DieterYes, it does, as was suggested.
masijade. wrote:
@OP either modify the [manifest file|http://java.sun.com/docs/books/tutorial/deployment/jar/manifestindex.html] properly, or add your jar to the classpath and designate the main class on the command line.Edit: And, properly modifying the manifest, meant, of course, also properly setting the classpath in the manifest file.
BIJ001 wrote:
You can define the classpath inside the jar (and include the dependencies),
or invoke without the -jar option wiht only classpath and explicitly giving the starting class.

Similar Messages

  • CLASSPATH on Solaris 2.6

    I've been on Linux too long.
    Can someone tell me how to set PATH and CLASSPATH on Solaris
    I tried appending to the current path:
    PATH= $PATH:/usr/java/bin
    and I get the error message "Variable Syntax"
    It was not appended to the current path.
    Same in CLASSPATH
    THX

    Depends on what shell you're using. If you're in csh, for example, you should be using "setenv" instead of the syntax you just listed.

  • Setting up Classpath on Solaris - URGENT

    Hi
    I am try to setup the Classpath on my solaris box. Here is what i am doing
    "CLASSPATH=/usr/tomcat/common/lib/jse.jar" (file exists on this folder)
    "export CLASSPATH"
    If i say "set" I can see Classpath=..... on the set list
    if i compile the code like this
    "javac -classpath jse.jar:. Example1.java"
    my java code not able to get the class files inside the jse.jar.
    Any Ideas?
    TIA
    -SN

    Where is the sample file in relation to the current directory where you execute this command? Where is the jse.jar? Is the Sample.java class in a package?
    No one can help you without those pieces of information nor will you be able to get it to work without adjusting your command to them.

  • How do you set classpath on solaris ?

    where am i suppose to set my classpath (.login or .cshrc) ?
    are you suppose to set the path to the bin location or the lib location where the rt.jar file is or the .class.zip files are?
    i have version 1.1.6 on solaris and have tried the following but it's not working .
    setenv CLASSPATH /pkg/java/usr/lib/

    This may be helpful. You can use install anywhere which is a free download and it will set the cp for you automatically.

  • Setting classpath in solaris

    Hi,
    I m new to solaris. I m not gettin how to set the class path in environment variables. Writing the class path every time before compilation & execution making me bore. & can I set anything like doskey(used in windows) in Solaris.
    thanks & regards
    chandu

    Typically you set the path by modifying a file that is read by the command shell on startup.
    Which file to modify depends on the shell that you use. On most shells you can find out the name of the shell by giving the command "echo $SHELL". Once you know the name of the command shell, check its man page by giving the command "man shellname", for example "man bash" or "man tcsh". Have a look at the section called "FILES" near the end of the manual page --- it will list files that are read at login, logout, etcetera. Then you put the command to set the path in one of the login or startup files.
    There is no "doskey" for Unix because the shells are more advanced than the infamous "DOS prompt." They have the functionality provided by "doskey" built into them.

  • Setting Classpath in linux

    Hi !! Can anyone help me in setting classpath in linux to run servlets/? I tried using this command..but didnt work
    export CLASSPATH="$CLASSPATH:/usr/share/tomcat5/server/lib/servlets-common.jar"
    Thanks
    Nive

    in ur autoexec.bat file write the following
    set PATH=C:\jdk1.5.0_04\bin;%PATH%
    set JAVA_HOME=C:\jdk1.5.0_04
    set
    CLASSPATH=.;C:\jakarta-tomcat-5.5.9\common\lib\servlet
    -api.jar;C:\jakarta-tomcat-5.5.9\common\lib\jsp-api.ja
    r;C:\Servlets+JSP;..;..\..;C:\jakarta-struts-1.2.4\lib
    \struts.jarThis response is meaningless. Principally because the OP specifically mentioned the use of LINUX. Not Windows.
    I've taken the advice of other forum users by avoiding a system level classpath variable. I define the classpath each time I compile and run. Working on Linux I tend to use command line argument files ( http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html#commandlineargfile ) which eliminates the need to redefine the classpath each time I compile or run my classes and apps. But others may do things differently.
    Here is a website you might want to check out which pertains to setting the classpath on Solaris and Linux.
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html

  • Setting selectableRange in DataChooser 

    problem in setting selectableRange, 1st selected date is
    unselected after selecting another date, i dont know the reason
    why it is happening and in this array
    arrSelectedDates selected dates are adding properly but
    dateRanges its showing wrong data.
    1st selected value is disappearing and adding last selected
    date 2 times @ 0th position (index) and @last position.
    Can anyone tell me whats wrong in my code, and i want to to
    deselect when i click on selectedDate and remove from
    arrSelectedDates
    and
    dateRanges, check the code in debug mode.
    main.mxml
    [code]
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:ns2="myComponents.*">
    <ns2:CalendarDemo width="214" height="228">
    </ns2:CalendarDemo>
    </mx:Application>
    [/code]
    CalendarDemo.mxml
    [code]
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="192" height="198">
    <mx:Script>
    <![CDATA[
    import mx.formatters.DateFormatter;
    private var dateRanges:Array = [];
    private var arrSelectedDates:Array = new Array();
    private function SetSelectableRange():void
    var startDate:Date = new Date();
    dcHoliday.selectableRange = {rangeStart:new Date(startDate),
    rangeEnd:new Date((startDate.fullYear+1), startDate.month,
    startDate.date)};
    private function dcHolidayChange():void
    if(dcHoliday.selectedDate != null)
    var selDate:Date = new Date( dcHoliday.selectedDate );
    var sDateObject:Object = { rangeStart:selDate,
    rangeEnd:selDate };
    dateRanges.push( sDateObject );
    dcHoliday.selectedRanges = dateRanges;
    var tempDate:String = myDateFormat(
    dcHoliday.selectedDate,"YYYY-MM-DD" );
    if(arrSelectedDates.length == 0)
    arrSelectedDates.push(tempDate);
    else
    var cnt:int = 0;
    for(var i:int = 0; i < arrSelectedDates.length; i++)
    if( arrSelectedDates
    == tempDate)
    cnt = cnt + 1;
    if(cnt <= 0)
    arrSelectedDates.push(tempDate);
    private function
    myDateFormat(date:Date,strDateFormat:String):String
    var fDate:String;
    var mydf:DateFormatter = new DateFormatter();
    mydf.formatString = strDateFormat;
    return fDate = mydf.format(date);
    ]]>
    </mx:Script>
    <mx:DateChooser id="dcHoliday" x="10" y="10"
    cornerRadius="2" visible="true"
    change="dcHolidayChange();"
    creationComplete="SetSelectableRange();"/>
    </mx:Canvas>
    [/code]
    Thanks in advance

    in ur autoexec.bat file write the following
    set PATH=C:\jdk1.5.0_04\bin;%PATH%
    set JAVA_HOME=C:\jdk1.5.0_04
    set
    CLASSPATH=.;C:\jakarta-tomcat-5.5.9\common\lib\servlet
    -api.jar;C:\jakarta-tomcat-5.5.9\common\lib\jsp-api.ja
    r;C:\Servlets+JSP;..;..\..;C:\jakarta-struts-1.2.4\lib
    \struts.jarThis response is meaningless. Principally because the OP specifically mentioned the use of LINUX. Not Windows.
    I've taken the advice of other forum users by avoiding a system level classpath variable. I define the classpath each time I compile and run. Working on Linux I tend to use command line argument files ( http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html#commandlineargfile ) which eliminates the need to redefine the classpath each time I compile or run my classes and apps. But others may do things differently.
    Here is a website you might want to check out which pertains to setting the classpath on Solaris and Linux.
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/classpath.html

  • WLS 6.1 SP2, Struts doesn't get initialized

    ** Sorry to repost it again, I am still baffled by this.
    Hi,
    We have recently upgraded our Weblogic Server from 6.1(no service pack) to
    6.1 SP2. Now the problem is when I access a simple jsp page in my web
    application,
    I get this nasty error:
    <Feb 20, 2002 9:10:24 AM SGT> <Error> <HTTP>
    <[WebAppServletContext(5743047,sme,/sme)] Root cause of Servl
    javax.servlet.jsp.JspException: Cannot find ActionMappings or
    ActionFormBeans collection
    at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:781)
    at
    org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
    at jsp_servlet._security.__login._jspService(__login.java:132)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :304)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I didn't change any of the configuration files that were working well with
    the previous version of WLS. In fact even classpath also I didn't modify.
    This problem is seen on Windows as well as Solaris env. Yesterday I played
    with classpath in Solaris env. and kept the "struts.jar" as the fist in
    classpath. It worked and I got an idea to remove it and see if it doesn't
    work. It didn't work as expected, but didn't work even if I put it back form
    then on.
    What I can see from the console is that, the initialization of the Strtus is
    not happening When the server is started(Cannot see those mappings in the
    console).
    Has any of you guys had the same problem and if yes, pl. let me know your
    fix for it.
    Thanks & Regards
    Vijay

    Do you use by any chance jaxb jar from sun? If yes I opened a case with sun regarding
    a collision of classes: org.xml.sax.HandlerBase. Both jaxb and xerces (packaged
    in weblogic.jar) provide this class and the behaviour is totally similar to what
    you're describing.
    Stefan
    "Vijay" <[email protected]> wrote:
    ** Sorry to repost it again, I am still baffled by this.
    Hi,
    We have recently upgraded our Weblogic Server from 6.1(no service pack)
    to
    6.1 SP2. Now the problem is when I access a simple jsp page in my web
    application,
    I get this nasty error:
    <Feb 20, 2002 9:10:24 AM SGT> <Error> <HTTP>
    <[WebAppServletContext(5743047,sme,/sme)] Root cause of Servl
    javax.servlet.jsp.JspException: Cannot find ActionMappings or
    ActionFormBeans collection
    at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:781)
    at
    org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
    at jsp_servlet._security.__login._jspService(__login.java:132)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :304)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    I didn't change any of the configuration files that were working well
    with
    the previous version of WLS. In fact even classpath also I didn't modify.
    This problem is seen on Windows as well as Solaris env. Yesterday I
    played
    with classpath in Solaris env. and kept the "struts.jar" as the fist
    in
    classpath. It worked and I got an idea to remove it and see if it doesn't
    work. It didn't work as expected, but didn't work even if I put it back
    form
    then on.
    What I can see from the console is that, the initialization of the Strtus
    is
    not happening When the server is started(Cannot see those mappings in
    the
    console).
    Has any of you guys had the same problem and if yes, pl. let me know
    your
    fix for it.
    Thanks & Regards
    Vijay

  • WLS 6.1 SP2, problem starting Struts

    Hi,
              We have recently upgraded our Weblogic Server from 6.1(no service pack) to
              6.1 SP2. Now the problem is when I access a jsp page in my web application,
              I get this nasty error:
              <Feb 20, 2002 9:10:24 AM SGT> <Error> <HTTP>
              <[WebAppServletContext(5743047,sme,/sme)] Root cause of Servl
              javax.servlet.jsp.JspException: Cannot find ActionMappings or
              ActionFormBeans collection
              at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:781)
              at
              org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
              at jsp_servlet._security.__login._jspService(__login.java:132)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :265)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :304)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :200)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:2495)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2204)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              I didn't change any of the configuration files that were working well with
              the previous version of WLS. In fact even classpath also I didn't modify.
              This problem is seen on Windows as well as Solaris env. Yesterday I played
              with classpath in Solaris env. and kept the "struts.jar" as the fist in
              classpath. It worked and I got an idea to remove it and see if it doesn't
              work. It didn't work as expected, but didn't work even if I put it back form
              then on.
              Has any of you guys had the same problem and if yes, pl. let me know your
              fix for it.
              Thanks & Regards
              Vijay
              

    Hi,
              We have recently upgraded our Weblogic Server from 6.1(no service pack) to
              6.1 SP2. Now the problem is when I access a jsp page in my web application,
              I get this nasty error:
              <Feb 20, 2002 9:10:24 AM SGT> <Error> <HTTP>
              <[WebAppServletContext(5743047,sme,/sme)] Root cause of Servl
              javax.servlet.jsp.JspException: Cannot find ActionMappings or
              ActionFormBeans collection
              at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:781)
              at
              org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
              at jsp_servlet._security.__login._jspService(__login.java:132)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :265)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :304)
              at
              weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
              :200)
              at
              weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
              ntext.java:2495)
              at
              weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
              :2204)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              >
              I didn't change any of the configuration files that were working well with
              the previous version of WLS. In fact even classpath also I didn't modify.
              This problem is seen on Windows as well as Solaris env. Yesterday I played
              with classpath in Solaris env. and kept the "struts.jar" as the fist in
              classpath. It worked and I got an idea to remove it and see if it doesn't
              work. It didn't work as expected, but didn't work even if I put it back form
              then on.
              Has any of you guys had the same problem and if yes, pl. let me know your
              fix for it.
              Thanks & Regards
              Vijay
              

  • Setenv

    I am trying to set the classpath in Solaris. When I type setenv CLASSPATH .:/opt/logs i get the response: ksh: setenv: not found
    Does anyone know how to set the classpath in Solaris?

    I think ksh only uses
    name=val
    so try
    CLASSPATH=.:/opt/logs
    I am trying to set the classpath in Solaris. When I
    type setenv CLASSPATH .:/opt/logs i get the response:
    ksh: setenv: not found
    Does anyone know how to set the classpath in Solaris?

  • Classpath troubles in Solaris 8

    Hi, I'm trying to run my application build on JWSDP1.2 on Solaris 8. I've installed the JWSDP and J2SDK and they work fine. But now I'm stuck with the classpath.
    I use (something like :) the following start script:
    HME="/export/home/NAME"
    JAX="$HME/jwdsp1.2/jaxb/lib"
    JWS="$HME/jwsdp1.2/jwsdp-shared/lib"
    CLSPATH="../:.:$JAR/jaxb-api.jar:$JAR/jaxb-impl.jar:$JAR/jaxb-libs.jar:$JWS/relaxngDatatype.jar:$JWS/namespace.jar"
    java -classpath $CLSPATH -Jar Manager.Jar
    When I run this script in 'HME/Manager' I get the message:
    NoClassDefFoundError: javax/xml/bind/JAXBException
    that class resides in jaxb-api.jar!
    Who can tell me what I've done wrong? I've checked the paths a dozen of times and tried relative as well as absolute paths. I even tried the directory to which /export/home is 'mounted'.
    The application runs fine on Windows XP using the same classpath and jar(name)s...
    Thanks in advance

    Hi!
    In your classpath... aren't you using $JAR instead of $JAX ??
    In the line:
    CLSPATH="../:.:$JAR/jaxb-api.jar:$JAR/jaxb-impl.jar:$JAR/jaxb-libs.jar:$JWS/relaxngDatatype.jar:$JWS/namespace.jar"

  • Java classpath limitation in solaris 8?

    Hi,
    I'd like to find out if there is a limitation on the classpath length in solaris 8. We've noticed that upon keeping the length under 1000 characters, we ar able to run programs. Is there a workaround for this ? Thanx!

    Hi!
    In your classpath... aren't you using $JAR instead of $JAX ??
    In the line:
    CLSPATH="../:.:$JAR/jaxb-api.jar:$JAR/jaxb-impl.jar:$JAR/jaxb-libs.jar:$JWS/relaxngDatatype.jar:$JWS/namespace.jar"

  • Classpath setup on Solaris

    Hi Expert,
    I'm new to install iAS to Solaris. On NT, the classpath can be set/modify
    thru "Kregedit" under key \SOFTWARE\iPlanet\Application
    Server\6.0\Java\classpath. What's the equivalent entry for Solaris?
    Thanks,
    Keith Cheng

    classpath variable in kjs script under $IAS_ROOT/ias/bin
    regards
    Han-Dat
    Keith Cheng wrote:
    >
    Hi Expert,
    I'm new to install iAS to Solaris. On NT, the classpath can be set/modify
    thru "Kregedit" under key \SOFTWARE\iPlanet\Application
    Server\6.0\Java\classpath. What's the equivalent entry for Solaris?
    Thanks,
    Keith Cheng--
    Senior Consultant / Instructor
    iPlanet Professional Services - ANZ
    iPlanet e-commerce Solutions
    - A Sun|Netscape Alliance
    Sun Microsystems Australia Pty Ltd

  • Attempting to deploy an application on iAS 6.0 sp3 on solaris using the iASDT; CLASSPATH and GUID question.

    When I attempted to use iasdeploy deploymodule, it copied the file to <iAS install>/ias/JAR directory. But if I try and jar tvf test.war, the jar throws an exception. It looks like the file gets corrupted. Any suggestions?
    So a began to use the iASDT tool to assemble and deploy a webapp (war) on solaris. Everytime I add a jar it says that there are external dependencies. I think thier may be some type of name collision on the CLASSPATH. I am attempting to include:
    jaxp.jar, xerces.jar, log4j.jar, jaxp.jar, jaas.jar, and some other jars. I think the classes in these files may be on the CLASSPATH already. Is there a way to see the classpath of the server? I have looked in the registry under ApplicationServer/6.0/...but there doesn't seem to be a java entry. I looked inside the kjs script and that really doesn't indicate anything either. I saw the directories /opt/iplanet/ias6/ias/classes/java and /opt/iplanet/ias6/ias/java/jars contain jar files. Are these on the classpath? Is there any documentation of the origins and versions of things that are on the classpath (xerces.jar, xalan.jar, ldapjdk.jar, etc.)
    Additionally, I thought all I really needed was to get a guid to put it into the ias DD xml files, but when I launch ./kguidgen I get the following response:
    guidgen: Could not get arp for <hostname>
    guidgen: Could not get arp for <hostname>
    Several attempts to create GUID failed
    Any ideas on this one I am stumped?

    Hi,
    Please correct me if I'm wrong in understanding your problem. You have a test.war file and you are trying to add a .jar file to it and deploy the application (using command line & GUI tool), and this is where you have a trouble of external dependencies. So you think that this is a problem of GUID, so you are trying to obtain a GUID number manually, but the utility throws "Could not get arp..." error.
    If this is the problem, then let us check first, if the application server is registered using the iASAT. Next, please give a try of deploying the .jar file initally & try to access it, then, undeploy the .jar file and deploy the .war file and access it. Next, remove the .war file and try to build a .ear file using both the .war & .ear files. Please let me know if this helps for me to investigate further on this.
    Regards
    Raj

  • Solaris: OC4J: 9.0.2.0.0 or 9.0.3.0.0

    I'm a bit puzzled as to versioning of oc4j running applications created with Jdeveloper RC2 / BI Beans RC2 .
    I downloaded a file called oc4j_extended.zip (of 25. March).
    I would have thought this to be the latest distro of oc4j.
    When I invoke the oc4j.jar, I receive a message like this:
    "Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized"
    I see other people are running version 9.0.3.0.0, and most Jdeveloper references are for this version as well.
    Is there a later version (for Solaris) that I need to download/install?
    If so, where can it be found?
    Or am I fine running with the one I have?
    (Reason for asking is that I am running into problems that could possibly be related to versioning.)
    Jens

    Thanks for quick response, I am located in Norway, 6 hours in front of the US, so days can easily be "wasted" waiting for you guys. Maybe we'll manage to squeeze in 2 answers today ;-)
    Here are the answers to your question:
    myhost% java -version -jar oc4j.jar
    java version "1.3.1_01"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
    Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)
    myhost% java -jar oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    myhost% java -jar ./oc4j.jar -version
    Oracle9iAS (9.0.2.0.0) Containers for J2EE
    This is a bit complicated, but here's a quick resume of what I did:
    * Install Oracle 9.0.1.0.0, including the http-server.
    * Patch to 9.0.1.2.0
    * download oc4j_extended, unzip to a new $ORACLE_HOME/oc4j
    * Source the following file:
    myhost% more java131.sh
    setenv PATH /usr/j2se/bin:/u01/app/oracle/product/901/bin:/bin:/usr/bin:/usr/cc
    /bin:/etc:/opt/bin:/usr/ucb:.:/usr/openwin/bin:/usr/openwin/lib
    setenv CLASS_PATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/p
    oduct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    setenv CLASSPATH /usr/j2se/lib:/u01/app/oracle/jre/1.1.8/lib:/u01/app/oracle/pr
    duct/901/jlib:/u01/app/oracle/product/901/wmt/jlib
    alias java="/usr/j2se/bin/java"
    myhost%
    * Check that the right java verson is running:
    myhost% which java
    /usr/j2se/bin/java
    myhost%
    * start the oc4j server with :
    java -Xmx256m -Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB -Dorg.omg.COR
    BA.ORBSingletonClass=com.inprise.vbroker.orb.ORB -jar oc4j.jar
    And it reports back v. 9.0.2.0.0
    So what am I doing wrong?
    Any input will be appreciated.
    Jens

Maybe you are looking for

  • My DVD plays on my Mac and new BluRay player, but not on my TV

    I burned a DVD with three mp4 movies. The movies play fine in QuickTime, and the DVD plays without a problem on my Mac. It also plays correctly on a newer BluRay player. However, when I try to play the DVD on an older DVD player (about 3 years old),

  • How can I locate my stolen iPhone?

    I had not installed any tracking software on my phone, I dont know how to track it, Police complaint is useless. Is there any way I can track its GPS location

  • 4506 Calalyst Console no longer works, switch functions ok

    I came in this morning to work and it seems that the entire office was working at a snails pace (the 4506 that runs the office is in a Flat network config, only 40 devices all in the same domain). Everything runs at Gigabit or 100mbit speeds. It felt

  • Can I upgrade my RAM more than apple recommends?

    I have a MacBook Pro 13 inch (late 2011) that has 2 2gb ram installed. i want to upgrade my ram to speed up my computer and apple says the computer can only take up to 2 4bg sticks, while other websites say it can take 2 8gb sticks and use the full 1

  • Unable to create Context3D on Android 5.0 when using latest Air 15 SDK

    I have updated my Nexus 5 to the latest developer preview of Lollipop, and I can no longer run our game. The same code worked find in the prev. developer version of Android L. The code I can't get to work is: stage.stage3Ds[0].addEventListener(Event.