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 17:43:39 +0200 (CEST)
Just building with ant from the command line.
OK, interestingly my wobuild.propertes was empty...
refilled the properties which fixed the
WOBuildPropertiesNotFoundException BUT still same
error loading the application. Here is my
CLSSPATH.TXT (project jar is traveldwibc.jar):
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass == woapps.wdwibc.Application
APPROOT/Config/
APPROOT\Resources\Java\
APPROOT\Frameworks\DTReservation.framework\Resources\Java\dtreservation.jar
APPROOT\Frameworks\DisneyStats.framework\Resources\Java\disneystats.jar
APPROOT\Frameworks\NetServices.framework\Resources\Java\netservices.jar
APPROOT\Frameworks\TransactionServices.framework\Resources\Java\transactionservices.jar
APPROOT\Frameworks\TravelCommon.framework\Resources\Java\travelcommon.jar
APPROOT\Frameworks\TravelModel.framework\Resources\Java\travelmodel.jar
APPROOT\Frameworks\TravelWebObjects.framework\Resources\Java\travelwebobjects.jar
APPROOT\Resources\Java\WOUnitTest.jar
APPROOT\Resources\Java\aaapartner.jar
APPROOT\Resources\Java\activation.jar
APPROOT\Resources\Java\classes12.jar
APPROOT\Resources\Java\collections.jar
APPROOT\Resources\Java\com.ibm.mq.jar
APPROOT\Resources\Java\com.ibm.mqjms.jar
APPROOT\Resources\Java\connector.jar
APPROOT\Resources\Java\daeclient.jar
APPROOT\Resources\Java\daemessages.jar
APPROOT\Resources\Java\dclfoundation.jar
APPROOT\Resources\Java\disney_jaxb.jar
APPROOT\Resources\Java\dlsclient.jar
APPROOT\Resources\Java\dom4j-full.jar
APPROOT\Resources\Java\imap.jar
APPROOT\Resources\Java\ip3client.jar
APPROOT\Resources\Java\jakarta-commons-lang-2.0.jar
APPROOT\Resources\Java\jakarta-commons-logging.jar
APPROOT\Resources\Java\jakarta-commons-threadpool.jar
APPROOT\Resources\Java\javax.jms.jar
APPROOT\Resources\Java\jax-qname.jar
APPROOT\Resources\Java\jaxb\jaxb-api.jar
APPROOT\Resources\Java\jaxb\jaxb-impl.jar
APPROOT\Resources\Java\jaxb\jaxb-libs.jar
APPROOT\Resources\Java\jaxb\jaxb-xjc.jar
APPROOT\Resources\Java\jaxp\endorsed\xalan.jar
APPROOT\Resources\Java\jaxp\endorsed\xercesImpl.jar
APPROOT\Resources\Java\jaxp\jaxp-api.jar
APPROOT\Resources\Java\jbossall-client.jar
APPROOT\Resources\Java\jce-jdk13-114.jar
APPROOT\Resources\Java\jce1_2-do.jar
APPROOT\Resources\Java\jce_bouncycastle_sun.jar
APPROOT\Resources\Java\jta.jar
APPROOT\Resources\Java\junit.jar
APPROOT\Resources\Java\lib\GLUE-STD.jar
APPROOT\Resources\Java\lib\jcert.jar
APPROOT\Resources\Java\lib\jnet.jar
APPROOT\Resources\Java\lib\jsse.jar
APPROOT\Resources\Java\lib\servlet.jar
APPROOT\Resources\Java\log4j.jar
APPROOT\Resources\Java\mail.jar
APPROOT\Resources\Java\mailapi.jar
APPROOT\Resources\Java\namespace.jar
APPROOT\Resources\Java\nls_charset12.jar
APPROOT\Resources\Java\otamessages.jar
APPROOT\Resources\Java\pop3.jar
APPROOT\Resources\Java\relaxngDatatype.jar
APPROOT\Resources\Java\smtp.jar
APPROOT\Resources\Java\traveldwibc.jar
APPROOT\Resources\Java\wdweaimessages.jar
APPROOT\Resources\Java\xsdlib.jar
--- email@hidden escribió:
> Ismael,
>
> are you using Eclipse with WOLips? There should be
> an option in the WOLips
> preferences to regenerate the properties file.
>
> This is the contents of my wobuild.properties file
> (generated by an
> outdated version of WOLips):
>
> #This file stores the wo specific properties
> #Fri May 02 10:22:32 CEST 2003
> wo.dir.root=D:/Apple
> wo.dir.user.home.library.frameworks=C:/Documents and
>
> Settings/bernard.OFFICE.002/Local/Library/Frameworks
> wo.woroot=D:/Apple
> wo.dir.local=D:/Apple/Local
> wo.wosystemroot=D:/Apple
> wo.dir.user.home.library=C:/Documents and
> Settings/bernard.OFFICE.002/Local/Library
> wo.dir.library=D:/Apple/Library
> wo.dir.local.library=D:/Apple/Local/Library
>
wo.dir.library.frameworks=D:/Apple/Library/Frameworks
>
wo.dir.local.library.frameworks=D:/Apple/Local/Library/Frameworks
> wo.wolocalroot=D:/Apple/Local
> wo.dir.system=D:/Apple
>
> Are you compiling from the command line or within
> Eclipse?
>
> What does your WOA/Resources/Windows/CLASSPATH.txt
> file look like? This is
> the file read by WOBootstrap.
>
> Pierre
>
> Ismael Perdido <email@hidden> wrote on
> 10/10/2005 03:36:44 PM:
>
> > Pierre,
> >
> > 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.)
> > > > >
>
=== 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