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"

Similar Messages

  • Trouble installing Solaris 10(x86) u4 8/07 on a new Dell OptiPlex 755

    Hello All,
    I'm having trouble installing Solaris 10(x86) u4 8/07 on a new Dell OptiPlex 755.
    I have also tried installing opensolaris 9/07 Express Dev snv_70b with the same issue.
    I tried disabling all unnecessary hardware in the BIOS as well.
    After GNU GRUB loads and I select Solaris install after about 20 dots.... I get:
    WARNING: /pci@0,0/pci1028,211@1d, 7
    No SOF interrupts have been received
    this USB EHCI host controller is unusable
    Hardware:
    Dell OptiPlex 755 Small Form Factor, Pentium Dual Core, E2160/1.8GHz1M,800FSB,1GB ram.
    I am only installing Solaris 10 - no other OS will be on the HD.
    Is there any hope for getting SolX installed on this machine or should I return this hardware and by a different model? I have to build 2 pc's with SolX for development boxs.
    Thank you in Advance,
    -M

    Hi Experts,
    I have multiple optiplex 755 Systems and facing the same problem.
    I am not able to install Solaris either 8/07 or Exress 9/07.
    can anybody answer with useful and working solution, on how to solve it, I mean 1. How to get Solaris 9/07 or 8/07 Installed on an Optiplex 755 system
        (basically one with PC1/2 missing for keyboard and Mouse)I am a genuinely concerned guy, so please don't mind the rudeness in this question.
    regards-
    _Jagsir                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 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

  • Advanced classpath troubles :(

    I've tried the general programming thread, searched my #ss off on the internet. A lot of people have (experienced) the same problem as I do now. but believe me NOBODY ever replied to every cry for help. I've seen posts dated from 1999 till now (2003, doh) but noone ever gives a concrete answer. So PLEASE try and help me, and so many others!
    What is my problem:
    I'm trying to run a Java application on Solaris 9 (to which I'm relatively new) this application uses some jars of the JWSDP1.2 packages. When I try to run my application, Java does not seem able to find the jar containing javax/xml/bind/JAXBException according to the message (slashes included)
    I use a script to start my application like this
    [prompt] ./runmgr/
    The script is:
    HME="/export/home/me"
    JAX="$HME/jwsdp1.2/jaxb.lib"
    JWS="$HME/jwsdp1.2.jwsdp-shared/lib"
    JAVA="$HME/j2sdk1.4.2/jre/bin"
    CLASSPATH="./:$JAX/jaxb-api.jar:$JAX/jaxb-libs.jar:$JAX/jaxb-impl.jar:$JWS/namespace.jar:$JWS/relaxngDatatype.jar"
    export CLASSPATH
    $JAVA/java -jar -verbose -classpath $CLASSPATH $HME/Manager/Manager.jar com.response.timber.manager.Manager -c
    # Yes I've tried : java -jar -classpath $CLASSPATH Manager.jar -c
    Some info:
    - I'm logged in as root (I shouldn't, I know)
    - there's no CLASSPATH var already available in the terminal
    - I use a terminal from within X
    - Error message: Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    Yes, I've:
    - checked the paths over and over
    - used absolute and relative pathnames in every possible combination
    - tried environment variables and script variables
    - tried it with and without 'export'ing the classpath
    - tried to run it with the jars in the same dir as the application
    - checked if the/a jar(s) in the classpath contains javax.xml.bind.JABXException.
    The solution will probably simple, but as I feel stupid already, it doesn't matter anymore :) Please help me out...

    I will cover some of the basics, here. Sorry if you already have done so.
    Which jar file is supposed to contain javax/xml/bind/JAXBException.class?
    Is that jar file uncorrupted?
    You have a lot of dependent environment variables in your launch script. Are they being expanded correctly. Is the resultant path to said jar file correct?

  • Trouble with Solaris 10 install on SunBlade 100 using Media CDs from Sun

    Hello World,
    My SunBlade 100 was not reading various burned Solaris 10 media, so I purchased the media kit from Sun. The installation is successful up until the point where it asks for CD2. I didn't even hear the drive spin when I clicked "Next" after inserting CD2.
    I know it is not the CD drive since it obviously works for CD1. It is also not an intermittent problem with the CD drive because CD1 works each time I run the install. I also don't think it is the media since CD2 went right from the factory envelope to my CD drive.
    So:
    1. Has anyone encountered something like this?
    2. Can I resume the installation from the command line?
    Many Thanks,
    Greg

    Actually ...
    Yes, it can be the optical drive.
    Those factory shipped drives in the SB100's were prone to spontaneously failing, one minute to the next.
    Additionally the CD's are actually written differently, whether they are the bootable ones in the set versus the non-bootable CDs in the set.
    Data track layouts are different.
    The optical drive could commonly have difficulty reading every disk you ever insert into it.
    Borrow a replacement drive from a PeeCee.
    Jumper it the same as the current drive and just use it.
    If that works, then go buy a replacement.
    Optical read-only drives are laughably cheap.
    Optical read/write DVD drives are inexpensive, as well.

  • Help!  Having Trouble Installing Solaris 10 on a SPARC machine

    Hi All,
    I recently found a new job, and one of the requirements is I learn Solaris 10. I have successfully loaded the most recent x86 version on a laptop, but.....
    My workplace has a sun blade 2500 (several actually) and I am trying to load the newest Solaris 10 SPARC version that I just downloaded. I downloaded it on my PC (Windows vista, yech), unpacked the ISO using winzip, and burned the files to a DVD. When I put that newly burned DVD into the sunblade 2500, I press stop-a, then type "boot cdrom", and after the reboot, I get a message saying
    Bad magic number in disk label
    Can't open disk label package
    Can't open boot device
    {0} ok
    So for some reason my burned DVD is giving me a "bad magic number" error - and its not just one machine, all the machines I tried to load it on said the same thing.
    Fortunately, a co-worker that recently left the company had Solaris 10 burned to a set of CDs (5 plus the language CD) and that installed well (albeit version 08/07 of Solaris 10).
    So I am at the point where I can probably figure out how to upgrade the machine, but it bothers me that I couldnt successfully download the ISO from sun, unpack the contents, burn said contents to a DVD (using Windows), then take that DVD and install SPARC Solaris 10 on a sun blade 2500. I know that at some point I wont have the crutch of those CDs. Does anyone know what I was doing wrong? Is there a certain way you have to burn the DVD, or use a certain package to unpack the ISO for the SPARC version?
    Thanks,
    Brent

    Hi,
    Make sure that write your DVD at 8X speed.
    Also Refer thread:
    http://www.motherboardpoint.com/bad-magic-number-disk-label-t146549.html
    Regards,
    X A H E E R

  • Trouble installing Solaris 8 from cd.

    Hi,
    I am trying to install solaris 8 from cd using remote connection. first the pc got hung and now it gave this error message.
    WARNING: /pci@1f,4000/scsi@2/sd@6,0 (sd21):
    Error for Command: read(10) Error Level: Retryable
    Requested Block: 69440 Error Block: 1035200
    Vendor: TOSHIBA Serial Number: 12/12/97
    Sense Key: Media Error
    ASC: 0x15 (random positioning error), ASCQ: 0x0, FRU: 0x0
    Segmentation Fault
    ERROR: The Solaris Distribution, :a does not exist
    Exiting to shell.
    i have tried many times and by changing many env setting but am still not able to install. anybody know what to do.
    i am a novice in this.
    Regards
    Aparna

    Not to put too fine a point on it, but please look at the error message next time. It says right there in the error message that the CD/DVD drive is detecting a media error.
    Recreate the Solaris 8 CDs on the slowest speed possible for the CD writer. I've run into this situation far too often where CDs were created in the fastest write mode, which older drives are often not capable of reading. I have had 100% successs when creating the Solaris CDs at 4x .
    If you are still getting a media error, chances are that your CD/DVD drive is either breaking/broken or it does not like the brand of media that you used.

  • Classpath trouble

    ok. I had a ShoppingCart working perfect when it was in one directory. Now, I move it to a different one, and errors arise. I've tried modifying the classpath but nothing works.
    // old app directory
    c:\jakarta-tomcat-4.0.3\webapps\ROOT\WEB-INF\classes\cart (this works here)
    // new app directory
    c:\jakarta-tomcat-4.0.3\webapps\ROOT\WEB-INF\classes\vdatabase\cart
    // errors
    c:\jakarta-tomcat-4.0.3\webapps\ROOT\WEB-INF\classes\cartC:\jakarta-tomcat-4.0.3\webapps\ROOT\WEB-INF\classes\vdatabase\cart>ja
    vac AddToShoppingCartServlet.java
    AddToShoppingCartServlet.java:18: cannot resolve symbol
    symbol : class Item
    location: class vdatabase.cart.AddToShoppingCartServlet
    Item item = new Item(productCode, description, price, quantity);
    ^
    ^
    AddToShoppingCartServlet.java:22: cannot resolve symbol
    symbol : class ShoppingCart
    location: class vdatabase.cart.AddToShoppingCartServlet
    ShoppingCart cart = (ShoppingCart) session.getAttribute("Shopping
    Cart");
    ^
    This is basically saying all the different ajoining classes aren't being found.
    the only thing i did was switch the package to package vdatabase.cart;
    // classpath
    c:\jakarta-tomcat-4.0.3\webapps\ROOT\WEB-INF\classes\vdatabase\cart;
    (note: i removed cart and vdatabase, does not work)
    thanks in advance

    yes. I changed the package names in all files, but only about 3 of the 8 will eight will compile w/out giving the errors shown above.

  • Trouble installing Solaris 10 on Ultra 5!

    Got this free U5 and just today I received a keyboard and mouse I had bought on eBay. So I went ahead and tried to install and didn't even know how to boot from CD (I am totally new to Sun hardware). So after googling a bit I have gotten as far as the point where after booting from CD and filling out all the necessary information like hostname locale etc,I select the standard disk layout without preserving data (thinking that this way a brand new drive layout will be created) and every time it seems like the installation begins but then upon reboot the system says that "the file loaded does not appear to be executable" and it just hangs at the ok prompt.
    This workstation has 256 RAM and the cpu is a 360IIi,Openboot 3.25 and an IDE disk 8.4 Gb in size.
    I am stumped at this point since I am actually pretty good when it comes to Windows and OS X but this hardware/software is totally new to me and at this point I need some concrete steps to resolve this and get it installed. Any help will be greatly appreciated!
    Message was edited by:
    kansukee

    Thank you,jenny. So it works the same way as OS X,then. Now I am again attempting to install and so far I have specified host name,ip addres and default route,set it to no kerberos,no remote services enabled,country,locale etc also have been set. I specified the default install;then it went into initializing system,loaded media and after a while I get the license screen,I select to install entire distribution after which I am presented with a screen asking me to identify the disk where I wish to install.
    There is only one disk that I see ( c0t0d0) and if I press F4 to customize I am given the choice of selecting a boot device as follows :
    Original boot disk:
    [  ] c0t0d0s0
    [  ] c0t0d0s1
    [  ] c0t0d0s2
    [  ] c0t0d0s3
    [  ] c0t0d0s4
    [  ] c0t0d0s5
    [  ] c0t0d0s6
    [  ] c0t0d0s7
    [ x ] Any of the above
    I think this is where I am getting stuck.I sthere anything I need to do specifically at this point?I am going to leave the machine sitting at this screen for the time being. Thank you all for your help...
    After a few minutes it rebooted all by itself and showed a scrolling screen fulls of errors and it seemed to have something about a memory DIMM_could this be bad memory after all???
    Message was edited by:
    kansukee

  • Having trouble on Solaris 9 getting networking

    I just installed and I cant get networking up and running. I need to simply have the box use dhcp to get its networking info.
    I've learned that i can create a dhcp.<interface name> but I dont know what the interface name is. How do you find that out? I've seen on newsgroups some people use le0, others hme0, etc, but none of these seem to work with me if i do a ifconfig. ifconfig just says the interfaces dont work.
    When I do ifconfig -a it only shows lo0 and no other interfaces, does that mean that it doesn't even see my ethernet card?
    Seems like it should be pretty easy to set up networking, I must be missing something simple.
    Thanks for any help,
    Marshall

    OK, the easiest way to make sure the card is recognized is to press the ESC key during the boot process and start the DCA. When it scans the bus it will list the devices. If it lists your card as "ethernet controller" then you do not have the driver available. If you know what the card is post the name and I'll help you track down the driver. If it does list the card - "Intel Pro 10/100" - the driver is available. Continue the boot process. Then run sys-unconfig. It will walk you thru the card settings and then automatically create the necessary files. Once you select DHCP for the card, the rest is gravy! When the boot options screen appears enter b -r. When the system comes up it will be ready to go...verify with ifconfig -a.
    Let me know where you stand....
    Lee

  • Networking troubles with ABIT BP6 board and Solaris 8

    Hi, Im trying to install the Solaris 8 software on my ABIT BP6 board with a Compaq NetFlex3 10TX NIC. This is a SMP board (dual celeron) but is not on the HCL (the NIC is).
    The installation gives no problems at all (except for a memory conflict between memory devices), and SunOS works pretty well except for networking... using ifconfig -a shows me the networking interface and the loopback interface but I can't ping outside of the Solaris machine (or ping to the Solaris machine from an other machine).
    I know that the board is not on the HCL but I had no networking troubles with Solaris 8 early access.
    After instalation of the software and the reboot, I get the status as below:
    >
    configuring IPv4 interfaces: cnft0.
    Hostname: MILLIWAYS
    Configuring /dev and /devices
    Configuring the /dev directory (compatibility devices)
    The system is coming up. Please wait.
    checking ufs filesystems
    /dev/rdsk/c0d0s7: is clean.
    All devices are configured...
    Configuring network interface addresses: cnft0.
    RPC: Timed out
    Starting IPv4 routing deamon.
    starting rpc services: rpcbind done.
    Setting netmask of cnft0 to 255.255.255.0
    <
    As you can see I get a time out while configuring the NIC. I tried a lot of different things (and some bad ones like using the device driver disk of the EA version with the cd's of the final version but no luck there...)
    Anyone with the same problems or any help?
    Thanx, Marcel

    Hi maeck,
    I'm sorry that my message is off the topic. Could you help me with a problem that I have with Abit BP6 + Solaris 8 combo?
    I'm encountering error message on console screen during booting/reboot/shutting down like "APIC error interrupt on CPU 0. Status=2" where CPU can be 0 or 1, status can be 0, 2, 4 or 6.
    If I let my dual Celeron400 run at 400MHz, the frequency of errors is few and far between. Though it still happens. If I overclock them to 558MHz like I udually do, it will show at least 4 times during a booting process. I've tried MPS 1.1 and 1.4 settings. I've also tried turning off all cache, delayed transaction, passive release settings.
    In addition, the overclocked system tends to lock up while it runs flawless in Windows 2000 Professional and Redhat 6.1. Do you have any similar experience?
    My system config:
    Abit BP6 motherboard
    400 MHz CPU X 2
    GlobalWin FEP32 X 2
    128M SDRAM
    Creative Labs 3DBlaster TNT2
    13GB Maxtor DiamondPlus 6800
    Acer 10x DVD drive

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

  • Solaris 11 11/11 Dell r515

    Hello,
    I'm having trouble installing Solaris 11.0. I have tried installing from live and text. They both go through just fine but when I reboot and disconnect the DVD drive so it boots from hard disk and it just tells me No Boot Device Available. This happens even if I explicitly tell the server to boot from hard disk. When installing 11.1 it worked fine but since 11.1 has an iscsi issue we need to use 11.0. This is a brand new Dell r515. I even went through the 3 hour format process on the drive. What am I missing? Anyone ever seen this?
    thanks!

    I have tried installing on 2 x86 machines now and had the same issue as the original post - i used whole disk to eliminate any of my own mistakes when partitioning. The 2 machines have very different hardware.
    I have just installed in VirtualBox - on first try i received an error regarding hardware virtualization which i had to switch on in the BIOS.
    Is that only relavent when installing in a virtual environment?
    Anybody with ideas?

  • Solaris 10 Netscape, Java , (Javascript) JSObject  Issue.

    Hi all,
    I am migrating the source code from solaris 8 wtih CC compiler 4.2 to solaris 10 cc compiler 5.7 on x86 Machine. Most of Problems i got solution from C++ forum so i almost through. But while building one directory that contains some java Applets i got issues:-
    1. Since its using
    import netscape.javascript.JSObject; so it was not getting this JSObject on the latest Solaris 10 Machine. what i did i copied the /outils/netscape/solaris/java_301on solaris 10 Machine from solaris 7 Machine. then i build it again. every thing got build successfully and generated Input.class file but again it gave me following message
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    then i tried with -Xlint option and it again bounce me some errors.
    So question here is that on Solaris 10 is there any thing else that i can use for Java Script i.e JSObject if there is no netscape i.e whats the default browser mozillla or netscape. and why java_301 is used and what will happend if i try something else other than java_301. as it was using
    -classpath = /outils/netscape/solaris/java_301
    while doing javac compiling. and other thing i see is
    -classpath /usr/java/lib/classes.zip
    but when i see version of java on solaris 10 there is no classes.zip. whats the use of this.??
    and when i used -Xlint it bounce error with classes.zip not found.

    This forum is about using Sun C++. Your question is about Java. You are more likely to get a helpful answer in java forum.
    Try the java forum:
    http://forum.sun.com/forum.jspa?forumID=8

Maybe you are looking for