Re: Frameworks on Windows
Re: Frameworks on Windows
- Subject: Re: Frameworks on Windows
- From: Owen McKerrow <email@hidden>
- Date: Fri, 17 Dec 2004 10:22:20 +1100
Heres the contents of the CLASSPATH.txt file :
# JVM == java
# JVMOptions ==
# JDB == jdb
# JDBOptions ==
# ApplicationClass == Application
APPROOT\Resources\Java\ccc.jar
WOROOT\Library\Frameworks\JavaFoundation.framework\Resources\Java\javafo
undation.jar
WOROOT\Library\Frameworks\JavaEOControl.framework\Resources\Java\javaeoc
ontrol.jar
WOROOT\Library\Frameworks\JavaEOAccess.framework\Resources\Java\javaeoac
cess.jar
WOROOT\Library\Frameworks\JavaWebObjects.framework\Resources\Java\javawe
bobjects.jar
WOROOT\Library\Frameworks\JavaWOExtensions.framework\Resources\Java\Java
WOExtensions.jar
WOROOT\Library\Frameworks\JavaXML.framework\Resources\Java\javaxml.jar
LOCALROOT\Library\Frameworks\OpenBasePKPlugIn.framework\Resources\Java\O
penBasePKPlugIn.jar
WOROOT\Library\Frameworks\JavaJDBCAdaptor.framework\Resources\Java\javaj
dbcadaptor.jar
LOCALROOT\Library\Frameworks\OMFramework.framework\Resources\Java\omfram
ework.jar
LOCALROOT\Library\Frameworks\boo.framework\Resources\Java\boo.jar
HOMEROOT\Library\Java
LOCALROOT\Library\Java
WOROOT\Library\Java
\Network\Library\Java
WOROOT\Library\Frameworks\JavaVM.framework\Classes\classes.jar
WOROOT\Library\Frameworks\JavaVM.framework\Classes\ui.jar
So in other-words its in C:\Apple\Local\Library\Frameworks assuming
LOCALROOT is C:\Apple\Local
So where is LOCALROOT defined on a Windows box ?
Ohh and here is the contents from the Apps log file :
[2004-12-17 10:19:40 EST] <main> Creating LifebeatThread now with:
CCCTest 2001 emlabxptestbed/130.130.72.249 1085 30000
Welcome to CCCTest!
The SMTPHost for this app is smtp.uow.edu.au
App Path is :
http://libcccserv.library.uow.edu.au/scripts/WebObjects.exe/ccc.woa/
[2004-12-17 10:19:40 EST] <main> The URL for webserver connect is:
http://emlabxptestbed/cgi-bin/WebObjects.exe/CCCTest.woa/-2001
[2004-12-17 10:19:40 EST] <main> Waiting for requests...
[2004-12-17 10:19:46 EST] <WorkerThread1>
<com.webobjects.appserver._private.WOComponentRequestHandler>:
Exception occurred while handling request:
java.lang.NullPointerException
On 17/12/2004, at 5:28 AM, Chuck Hill wrote:
I switch back and forth between OS X and Win2K all the time, I've
never had a problem with this. Mind you, I may have built something
into our build process and forgotten about it. We have a lot of stuff
going on in those Ant scripts.
My first guess is that the WO config on the Windows server is wrong.
Assuming a default setup, the framework would go in
c:\Apple\Local\Library\Frameworks. What are the contents of the
CLSSPATH.TXT file under the Windows folder in the application? i.e
AppName.woa/Contents/Windows/CLSSPATH.TXT
Chuck
On Dec 15, 2004, at 9:00 PM, Owen McKerrow wrote:
Hi All,
Im currently having problems getting my Frameworks to work under
windows. I have framework called boo, which has 1 WOComponent which
simply has BOO on the page. Its a partial component. I then build the
framework and put a copy into /Library/Frameworks. In my project I
then include this framework and drag and drop the boo page from the
framework into my main page. This works fine on both Mac OS X (
development and deployment modes ) as well as Solaris, but for the
life of me I can't get the boo to show when I deploy to a windows
box, XP or Win 2000. In fact if I include a component from a frame
work ( even one as simple as Boo ) and I go to that page I a get a
Null Pointer Exception. Don't ask me form where cause thats all the
info it gives me.
So what Im wondering is have I placed the framework in the right
place.
Where are you meant to place Frameworks on a Windows box that you are
using for deployment ?
Thanks
Owen
'The test of a first-rate intelligence is the ability to hold two
opposed ideas in the mind at the same time and still be able to
function.'
-F.Scott Fitzgerald,
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
"As of tomorrow, employees will only be able to access the building
using individual security cards. Pictures will be taken next Wednesday
employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
_______________________________________________
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