xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hamilton, Brenda" <Brenda.Hamil...@turner.com>
Subject RE: getting started
Date Mon, 03 May 2004 14:49:48 GMT
[sigh...]  Still no joy.

I've included my path, classpath and trial run.  I then executed the script you mentioned
and included that and the trial run afterwards.  No difference.  I'm really puzzled.  I would
prefer to use XMLBeans as we use BEA's appserver.  But if I can't get this working soon, I'll
have to look into Sun's JAXB implementation.

Thanks everyone for your assistance.
Brenda Hamilton

C:\xmlbeans-1.0.2\schemas\easypo>echo %PATH%
C:\Oracle\Ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\Tcl\bin;C:\WINNT\sy
stem32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\ATI Technologies\ATI Con
trol Panel;C:\Program Files\Common Files\Adaptec Shared\System;C:\ant-1.5.4\bin;
C:\j2sdk1.4.2_04\bin;C:\xmlbeans-1.0.2\bin

C:\xmlbeans-1.0.2\schemas\easypo>echo %CLASSPATH%
C:\ant-1.5.4\lib\ant.jar;C:\ant-1.5.4\lib\optional.jar;C:\ant-1.5.4\lib\xercesIm
p.jar;C:\ant-1.5.4\lib\xml-apis.jar;C:\BEA\weblogic700\server\lib\weblogic.jar;C
:\drools-2.0-b13\lib\antlr-2.7.2.jar;C:\drools-2.0-b13\lib\bsh.1.2b7.jar;C:\droo
ls-2.0-b13\lib\commons-logging-1.0.3.jar;C:\drools-2.0-b13\lib\drools-base-2.0-b
eta-13.jar;C:\drools-2.0-b13\lib\drools-core-2.0-beta-13.jar;C:\drools-2.0-b13\l
ib\drools-groovy-2.0-beta-13.jar;C:\drools-2.0-b13\lib\drools-io-2.0-beta-13.jar
;C:\drools-2.0-b13\lib\drools-java-2.0-beta-13.jar;C:\drools-2.0-b13\lib\drools-
jsr94-2.0-beta-13.jar;C:\drools-2.0-b13\lib\drools-python-2.0-beta-13.jar;C:\dro
ols-2.0-b13\lib\drools-smf-2.0-beta-13.jar;C:\drools-2.0-b13\lib\groovy-1.0-alph
a-2.jar;C:\drools-2.0-b13\lib\jaas-1.0.jar;C:\drools-2.0-b13\lib\jca-1.0.jar;C:\
drools-2.0-b13\lib\jsr94-1.0.jar;C:\drools-2.0-b13\lib\jython-20020827-no-oro.ja
r;C:\xmlbeans-1.0.2\lib\xbean.jar;C:\xmlbeans-1.0.2\lib%\jaxen-1.1-beta-2.jar

C:\xmlbeans-1.0.2\schemas\easypo>dir C:\xmlbeans-1.0.2\lib\xbean.jar
 Volume in drive C is CDrive
 Volume Serial Number is DC63-FDC7

 Directory of C:\xmlbeans-1.0.2\lib

04/20/2004  04:27p           1,854,768 xbean.jar
               1 File(s)      1,854,768 bytes
               0 Dir(s)  24,496,936,448 bytes free

C:\xmlbeans-1.0.2\schemas\easypo>dir
 Volume in drive C is CDrive
 Volume Serial Number is DC63-FDC7

 Directory of C:\xmlbeans-1.0.2\schemas\easypo

05/03/2004  10:41a      <DIR>          .
05/03/2004  10:41a      <DIR>          ..
04/20/2004  04:27p               2,174 easypo.xsd
04/20/2004  04:27p               1,007 easypo.xsdconfig
05/03/2004  10:41a                   0 echo
05/03/2004  10:41a                   0 path
               4 File(s)          3,181 bytes
               2 Dir(s)  24,496,932,864 bytes free

C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo.xsd
Exception in thread "main" java.lang.NoClassDefFoundError: easypo/xsd
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo
Exception in thread "main" java.lang.NoClassDefFoundError: easypo
C:\xmlbeans-1.0.2\schemas\easypo>C:\xml-xmlbeans\v1\xbeanenv.cmd

C:\xmlbeans-1.0.2\schemas\easypo>SET XMLBEANS_HOME=C:\xml-xmlbeans\v1\.

C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo
Exception in thread "main" java.lang.NoClassDefFoundError: easypo
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo.xsd
Exception in thread "main" java.lang.NoClassDefFoundError: easypo/xsd
C:\xmlbeans-1.0.2\schemas\easypo>

-----Original Message-----
From: Saha, Sanjeev [mailto:SSaha@asce.org]
Sent: Friday, April 30, 2004 8:32 PM
To: xmlbeans-user@xml.apache.org
Cc: Brenda.Hamilton@turner.com
Subject: RE: getting started


Howdy Brenda,

I second Jacob's approach and would suggest going ahead and executing the xbeanenv.cmd script.
I was experiencing similar issues as you had mentioned under Windows Xp with jdk 1.4.2_01-b06.

Needless to say, xbeanenv.cmd did the trick :o)

-Sanjeev


-----Original Message-----
From:	Jacob Danner [mailto:jacobd@bea.com]
Sent:	Fri 4/30/2004 3:20 PM
To:	xmlbeans-user@xml.apache.org; Brenda.Hamilton@turner.com
Cc:	
Subject:	RE: getting started
it looks like you need to add xbean.jar to your classpath. This is easily done by setting
the XMLBEANS_HOME environment variable, (execute xbeanenv.cmd)
If this is still occuring after trying this, please send classpath information.
-----Original Message-----
From: Hamilton, Brenda [mailto:Brenda.Hamilton@turner.com]
Sent: Friday, April 30, 2004 11:55 AM
To: 'xmlbeans-user@xml.apache.org'
Subject: RE: getting started



Well, I installed JDK 1.4.2 but I'm still getting errors.  I'm using a Win2K machine.  I've
checked and double checked my environment.  I don't see anything wrong.  Here's the results
I'm getting.  First command is just checking the jvm.  The 2nd is checking the I get a usage
from the scomp.cmd.  The 3rd and 4th commands are trying to run the easypo example.

No joy.  Any comments, questions or suggestions would be appreciated. :) 

thanks, 
Brenda 

C:\xmlbeans-1.0.2\schemas\easypo>java -version 
java version "1.4.2_04" 
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05) 
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode) 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd 
Usage: java [-options] class [args...] 
           (to execute a class) 
   or  java [-options] -jar jarfile [args...] 
           (to execute a jar file) 

where options include: 
    -client       to select the "client" VM 
    -server       to select the "server" VM 
    -hotspot      is a synonym for the "client" VM  [deprecated] 
                  The default VM is client. 

    -cp <class search path of directories and zip/jar files> 
    -classpath <class search path of directories and zip/jar files> 
                  A ; separated list of directories, JAR archives, 
                  and ZIP archives to search for class files. 
    -D<name>=<value> 
                  set a system property 
    -verbose[:class|gc|jni] 
                  enable verbose output 
    -version      print product version and exit 
    -showversion  print product version and continue 
    -? -help      print this help message 
    -X            print help on non-standard options 
    -ea[:<packagename>...|:<classname>] 
    -enableassertions[:<packagename>...|:<classname>] 
                  enable assertions 
    -da[:<packagename>...|:<classname>] 
    -disableassertions[:<packagename>...|:<classname>] 
                  disable assertions 
    -esa | -enablesystemassertions 
                  enable system assertions 
    -dsa | -disablesystemassertions 
                  disable system assertions 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo.xsd 
Exception in thread "main" java.lang.NoClassDefFoundError: easypo/xsd 
C:\xmlbeans-1.0.2\schemas\easypo>scomp.cmd easypo 
Exception in thread "main" java.lang.NoClassDefFoundError: easypo 



-----Original Message----- 
From: Dutta Satadip [ mailto:s-dutta@sbcglobal.net] 
Sent: Thursday, April 29, 2004 9:50 PM 
To: xmlbeans-user@xml.apache.org 
Subject: Re: getting started 


Hello Brenda, 
The support for JDK 1.3.1 is still being worked on 
AFAIK. So currently it will work with JDK 1.4.X. 

However the problem you are describing seems like your 
paths are not set correctly. 


With Regards 
Dutta:) 



--- "Hamilton, Brenda" <Brenda.Hamilton@turner.com> 
wrote: 
> I read that backwards support for java 1.3.1 was 
> being considered.  Has that been added yet?  I'm 
> currently running 1.3.1. 
>  
> I just downloaded xmlbeans and setup the java_home 
> and xmlbeans_home variables and updated my path. 
> This is what I get when trying: 
> C:\xmlbeans-1.0.2\schemas>scomp easypo 
> Exception in thread "main" 
> java.lang.NoClassDefFoundError: easypo 
>  
> If it's just a problem with the jvm version, I'll 
> download and install 1.4.x, though I'd prefer to 
> stay one 1.3.1. 
>  
> thanks, 
> Brenda 
> 



- --------------------------------------------------------------------- 
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org 
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org 
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/ 







- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

Mime
View raw message