Re: WO not able to find itself?
Re: WO not able to find itself?
- Subject: Re: WO not able to find itself?
- From: Ismael Perdido <email@hidden>
- Date: Mon, 10 Oct 2005 16:15:10 +0200 (CEST)
Oh my, I don't see WOBootstrap.jar in there. Running
the build script again I don't see any errors for
boostrap in particular but I am getting:
org.objectstyle.woenvironment.env.WOBuildPropertiesNotFoundException:
Could not
find wobuild.properties. Run the buildfile:
woproperties.xml first.
This file location is specified in my properties.xml
(used by build.xml) as follows:
<property name="wobuild.properties"
value="wobuild.properties"/>
<property
file="${user.home}/Library/${wobuild.properties}"/>
and the wobuild.properties is there. The project then
builds and installs... What else could I be missing?
Ismael
--- email@hidden escribió:
> Ismael,
>
> the Apple classloader is in the WOBootstrap.jar
> inside your WOA folder.
> WOStart is a third-party tool. I do not know how to
> configure that.
>
> I still wonder why you don't use the the provided
> launch script.
>
> Pierre
>
> Ismael Perdido <email@hidden> wrote on
> 10/10/2005 02:58:06 PM:
>
> > Pierre,
> >
> > Thanks for your reply. Actually, using
> wostart.jar
> > gives the same error:
> >
> > C:\DisneyTravel\dist\TravelDWIBC.woa>java -Xdebug
> > -Xnoagent -Djava.compiler=NONE
> >
>
-Xrunjdwp:transport=dt_socket,server=y,address=4001,suspend=n
> > -jar wostart.jar
> > -config ijones -DebugFilePath
> > C:\Logs\WebObjects\TravelDW\Debug.log -ErrorLogFil
> > ePath C:\Logs\WebObjects\TravelDW\Error.log
> > -TAPLogPath C:\Logs\Webobjects\Trave
> > lDW\TAP.log -SSILogPath + -WOPort 10001
> > -EOAdaptorDebugEnabled NO -WOAutoOpenInB
> > rowser YES -WOStatsPassword passmein
> > -defaultDebugLevel DEBUGGING -WOIncludeComm
> > entsInResponse YES -EAILogPath
> > C:\Logs\WebObjects\TravelDW\EAI.log -EAIInstanceN
> > ame "172.16.62.92:10000"
> > -WOAllowsConcurrentRequestHandling YES
> > Found patch com.webobjects.appserver._CookieParser
> > Found patch
> >
>
com.webobjects.appserver.xml._private.MER_MappingModel
> > Found patch
> > com.webobjects.appserver.xml.MERWOXMLDecoder
> > Found patch
> > com.webobjects.appserver.xml.MERWOXMLMappingCoder
> > Found patch
> com.webobjects.appserver.xml.MERWOXMLCoder
> > Exception in thread "main"
> > java.lang.NoClassDefFoundError:
> com/webobjects/appser
> > ver/WOApplication
> > at
> java.lang.ClassLoader.defineClass0(Native
> > Method)
> > at
> java.lang.ClassLoader.defineClass(Unknown
> > Source)
> > at
> >
> java.security.SecureClassLoader.defineClass(Unknown
> > Source)
> > at
> java.net.URLClassLoader.defineClass(Unknown
> > Source)
> > at
> java.net.URLClassLoader.access$100(Unknown
> > Source)
> > at java.net.URLClassLoader$1.run(Unknown
> > Source)
> > at
> > java.security.AccessController.doPrivileged(Native
> > Method)
> > at
> java.net.URLClassLoader.findClass(Unknown
> > Source)
> > at java.lang.ClassLoader.loadClass(Unknown
> > Source)
> > at java.lang.ClassLoader.loadClass(Unknown
> > Source)
> > at WOStart.loadClass(WOStart.java:206)
> > at
> WOStart.invokeApplication(WOStart.java:518)
> > at WOStart.main(WOStart.java:226)
> >
> > Regards,
> >
> > Ismael
> >
> > --- email@hidden escribió:
> >
> > > Hi!
> > >
> > > Why are you trying to launch the application by
> > > hand? You should rather
> > > use the launch script which takes care of
> setting
> > > the correct classpath.
> > >
> > > cd C:\DisneyTravel\dist\TravelDWIBC.woa
> > > TravelDWIBC.cmd
> > >
> > > (Actually, WebObjects uses a custom class loader
> to
> > > handle the classpath.
> > > The launch script sets the classpath to point to
> the
> > > JAR file containing
> > > this class loader.)
> > >
> > > Pierre
> > >
> > >
> >
>
webobjects-dev-bounces+pierre.bernard=email@hidden
> > > wrote on
> > > 10/09/2005 08:06:05 PM:
> > >
> > > > Hi All,
> > > >
> > > > I seem to be having some sort of classpath
> problem
> > > > starting my application. Running the
> following:
> > > >
> > > > C:\DisneyTravel\dist\TravelDWIBC.woa>java
> > > > -DWORootDirectory="C:\Apple"
> > > >
> -DWOLocalRootDirectory="C:\Apple\Local\Library"
> > > > -DWOUserDirectory=
> > > > "C:\DisneyTravel\dist\TravelDWIBC.woa"
> -classpath
> > > > "C:\DisneyTravel\dist\TravelDW
> > > >
> IBC.woa\Contents\Resources\Java\traveldwibc.jar"
> > > > woapps.wdwibc.Application
> > > >
> > > > Gives me the error:
> > > >
> > > > Exception in thread "main"
> > > > java.lang.NoClassDefFoundError:
> > > com/webobjects/appser
> > > > ver/WOApplication
> > > > at
> > > java.lang.ClassLoader.defineClass0(Native
> > > > Method)
> > > > at
> > > java.lang.ClassLoader.defineClass(Unknown
> > > > Source)
> > > > at
> > > >
> > >
> java.security.SecureClassLoader.defineClass(Unknown
> > > > Source)
> > > > at
> > > java.net.URLClassLoader.defineClass(Unknown
> > > > Source)
> > > > at
> > > java.net.URLClassLoader.access$100(Unknown
> > > > Source)
> > > > at
> java.net.URLClassLoader$1.run(Unknown
> > > > Source)
> > > > at
> > > >
> java.security.AccessController.doPrivileged(Native
> > > > Method)
> > > > at
> > > java.net.URLClassLoader.findClass(Unknown
> > > > Source)
> > > > at
> java.lang.ClassLoader.loadClass(Unknown
> > > > Source)
> > > > at
> > > >
> sun.misc.Launcher$AppClassLoader.loadClass(Unknown
> > > > Source)
> > > > at
> java.lang.ClassLoader.loadClass(Unknown
> > > > Source)
> > > > at
> > > >
> java.lang.ClassLoader.loadClassInternal(Unknown
> > > > Source)
> > > >
> > > > What am I missing? Using WO5.2.3, J2RE1.4.2,
> on
> > > > WinXP.
> > > >
> > > > Thanks,
> > > >
> > > > Ismael Jones
> > > > email@hidden
> > > >
> > > >
> > > >
> > > >
> > > > ______________________________________________
>
> > > > Renovamos el Correo Yahoo!
> > > > Nuevos servicios, más seguridad
>
=== message truncated ===
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden