Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP!

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43614
interpreted = N
texte = When the WebDNA engine starts up, it attempts to load the java libs. This is so that it can later create an instance of the java virtual machine for use by the [object] context. If this initialization fails, you will get the 'Java not initialized' error. I've forwarded this post to our UNIX engineer who should be able to help with the initialization problem. I agree that the docs should include more information about this powerful yet rarely used context.> -----Original Message----- > From: WebCatalog Talk > [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > Of Sage Hobbs > Sent: Thursday, September 19, 2002 4:08 PM > To: WebCatalog Talk > Subject: Re: Has ANYONE gotten the [object] context to work with Java > (OSX) ??? HELP! > > > I've restarted about a dozen times since then. I'm > wondering what > WebCat expects for the Java Library path and Class Path. > System paths? > Paths relative from someplace? The path to the Java Home or to the > /bin folder? What's up with the message about Java not being > initialized? I can run Java from the command line with no > problems. I > can specify the classpath to java and run my application with no > problem. I cannot, however, get WebCat to run Java. > I sure wish the docs where better on this. I couldn't > even get Smith > Micro to help...we can only help you if you're having problems with > installing webcatalog. Sure maybe it's a usage problem, but > since the > docs are so bad I don't even know if it works. > > > On Thursday, September 19, 2002, at 05:48 PM, Scott Anderson wrote: > > > Did you restart the WebDNA process after changing the > JavaLibraryPath > > pref? > > > > > >> -----Original Message----- > >> From: WebCatalog Talk > >> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > >> Of Sage Hobbs > >> Sent: Thursday, September 19, 2002 3:28 PM > >> To: WebCatalog Talk > >> Subject: Has ANYONE gotten the [object] context to work with > >> Java (OSX) > >> ??? HELP! > >> > >> > >> The documentation on this context is horrible! > >> > >> I keep getting the message Error: Java is not initialized. > >> > >> Here's how I'm trying to use it: > >> [object > >> objname=URLGetter&type=1&classPath=/usr/local/ > >> &call=readFromUrl¶m1=test¶m1type=text] > >> > >> I'm using the following in WebCat Prefs: > >> JavaLibraryPath > >> /System/Library/Frameworks/JavaVM.framework/Home/bin/ > >> (also tried without /bin) > >> JavaClassPath /usr/local/ > >> > >> I have a file called URLGetter.class in /usr/local. It > >> works. I can > >> call the main function from command line which calls the function > >> readFromUrl(). I'm basically replicating the TCPConnect/TCPGet > >> functionality with Java to compare speeds. > >> > >> I've tried using a relative classPath, but no dice. > >> > >> WHAT AM I MISSING HERE??? > >> > >> > >> ----------------------- > >> Sage Hobbs > >> shobbs@nwaonline.net > >> Internet Administrator, The Morning News > >> > >> > >> ------------------------------------------------------------- > >> This message is sent to you because you are subscribed to > >> the mailing list . > >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to > >> > >> Web Archive of this list is at: http://search.smithmicro.com/ > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://search.smithmicro.com/ > > > > > > > > ----------------------- > Sage Hobbs > shobbs@nwaonline.net > Internet Administrator, The Morning News > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Sage Hobbs 2002)
  2. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Scott Anderson 2002)
  3. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Sage Hobbs 2002)
  4. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Le Pham 2002)
  5. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Scott Anderson 2002)
  6. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Sage Hobbs 2002)
  7. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Sage Hobbs 2002)
  8. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Scott Anderson 2002)
  9. Re: Has ANYONE gotten the [object] context to work with Java(OSX) ??? HELP! (Dan Strong 2002)
When the WebDNA engine starts up, it attempts to load the java libs. This is so that it can later create an instance of the java virtual machine for use by the [object] context. If this initialization fails, you will get the 'Java not initialized' error. I've forwarded this post to our UNIX engineer who should be able to help with the initialization problem. I agree that the docs should include more information about this powerful yet rarely used context.> -----Original Message----- > From: WebCatalog Talk > [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > Of Sage Hobbs > Sent: Thursday, September 19, 2002 4:08 PM > To: WebCatalog Talk > Subject: Re: Has ANYONE gotten the [object] context to work with Java > (OSX) ??? HELP! > > > I've restarted about a dozen times since then. I'm > wondering what > WebCat expects for the Java Library path and Class Path. > System paths? > Paths relative from someplace? The path to the Java Home or to the > /bin folder? What's up with the message about Java not being > initialized? I can run Java from the command line with no > problems. I > can specify the classpath to java and run my application with no > problem. I cannot, however, get WebCat to run Java. > I sure wish the docs where better on this. I couldn't > even get Smith > Micro to help...we can only help you if you're having problems with > installing webcatalog. Sure maybe it's a usage problem, but > since the > docs are so bad I don't even know if it works. > > > On Thursday, September 19, 2002, at 05:48 PM, Scott Anderson wrote: > > > Did you restart the WebDNA process after changing the > JavaLibraryPath > > pref? > > > > > >> -----Original Message----- > >> From: WebCatalog Talk > >> [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf > >> Of Sage Hobbs > >> Sent: Thursday, September 19, 2002 3:28 PM > >> To: WebCatalog Talk > >> Subject: Has ANYONE gotten the [object] context to work with > >> Java (OSX) > >> ??? HELP! > >> > >> > >> The documentation on this context is horrible! > >> > >> I keep getting the message Error: Java is not initialized. > >> > >> Here's how I'm trying to use it: > >> [object > >> objname=URLGetter&type=1&classPath=/usr/local/ > >> &call=readFromUrl¶m1=test¶m1type=text] > >> > >> I'm using the following in WebCat Prefs: > >> JavaLibraryPath > >> /System/Library/Frameworks/JavaVM.framework/Home/bin/ > >> (also tried without /bin) > >> JavaClassPath /usr/local/ > >> > >> I have a file called URLGetter.class in /usr/local. It > >> works. I can > >> call the main function from command line which calls the function > >> readFromUrl(). I'm basically replicating the TCPConnect/TCPGet > >> functionality with Java to compare speeds. > >> > >> I've tried using a relative classPath, but no dice. > >> > >> WHAT AM I MISSING HERE??? > >> > >> > >> ----------------------- > >> Sage Hobbs > >> shobbs@nwaonline.net > >> Internet Administrator, The Morning News > >> > >> > >> ------------------------------------------------------------- > >> This message is sent to you because you are subscribed to > >> the mailing list . > >> To unsubscribe, E-mail to: > >> To switch to the DIGEST mode, E-mail to > >> > >> Web Archive of this list is at: http://search.smithmicro.com/ > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to > > > > Web Archive of this list is at: http://search.smithmicro.com/ > > > > > > > > ----------------------- > Sage Hobbs > shobbs@nwaonline.net > Internet Administrator, The Morning News > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > > Web Archive of this list is at: http://search.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Scott Anderson

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

RE: ShowNext Command (1997) SiteEdit NewFile.html ? (1997) PROBLEMS WITH WEBCAT LINUX (2000) PCS Frames (1997) ReturnRaw context (1997) Problem with updating 2.1b7 -> 2.1.1 (1998) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) IE problems persist (2004) Text limits in NT version? (1997) [WebDNA] Hmmm ... (2008) WebCommerce: Folder organization ? (1997) [OT] "Hacker Safe" (2007) Navigator 4.0 & tables (1997) Search wbrk (repost) (2001) Shopping Cart Problem (1998) showif errors (1998) ConverChars (1999) Re[2]: 2nd WebCatalog2 Feature Request (1996) Help! Missing [showif] or [hideif] (2000) Press Release hit the NewsWire!!! (1997)