• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WO 5.4 Linux Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO 5.4 Linux Deployment


  • Subject: Re: WO 5.4 Linux Deployment
  • From: Aleksey Novicov <email@hidden>
  • Date: Thu, 3 Apr 2008 08:54:27 -0700

It does seem benign. I'm wondering if anyone knows how (javax.naming.NameNotFoundException: Name jdbc is not bound in this Context) might be suppressed.

Thanks,
Aleksey

This does not cause any problems ... It's an obnoxious error that  
isn't really an error.  It's been a couple months since I tracked down  
what exactly was going on, but I _believe_ it's trying to lookup the  
jdbc datasource in your tomcat server config, and if it's not there,  
it displays this warning.  You can safely ignore it.

ms

On Apr 2, 2008, at 5:14 PM, Jeff Smith wrote:

FWIW, I'm getting the "java name not found in context" as well and I  
haven't figure out a way around getting the messages either  
including specifying my data source in the web.xml.  Doesn't seem to  
hurt anything but it does clog up the log file.

On Apr 2, 2008, at 10:34 AM, Aleksey Novicov wrote:

Yes, I will post what I've learned on the WO wiki as soon as I  
think I have everything worked out.

Aleksey

On Apr 2, 2008, at 2:05 AM, Andrew Lindesay wrote:

Hello Aleksey;

It would be really great if you could write-up your experiences an  
tips in the WO wiki for others to read about.

http://wiki.objectstyle.org/confluence/display/WO/Home

4. For the static resources to be served correctly via port 80 of  
the Apache web server (as opposed to Tomcat's port 8080), I had  
to install the Tomcat-Apache plugin, mod_jk.

Actually Apache 2.2 has AJP support built-in as well as a neat  
little balancer web app to monitor the deploy.  I have some  
unrelated, but possibly helpful notes on the Apache 2.2 setup for  
this in this document;

http://homepage.mac.com/andrewlindesay/le/manuals/lewostuff/LEWOStuffOverview.pdf

See 9.5 and 9.6.  I find the Apache 2.2 balancer setup much more  
elegant than mod_jk.

5. In the Tomcat log file (catalina.out), I keep getting an  
exception (below) related to JDBC but everything runs fine  
regardless (I'm using MySQL). Tomcat seems to have it's own data  
source mechanism

I think I read something about that in an old mailing list post.   
I think you need to give the data source the same name as the  
model or something -- perhaps somebody can clarify?

cheers.

___
Andrew Lindesay
www.lindesay.co.nz

 _______________________________________________
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

  • Follow-Ups:
    • Re: WO 5.4 Linux Deployment
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: The sky is falling! The world is ending! WebObjects is Dead!
  • Next by Date: Re: The sky is falling! The world is ending! WebObjects is Dead!
  • Previous by thread: Re: WO 5.4 Linux Deployment
  • Next by thread: Re: WO 5.4 Linux Deployment
  • Index(es):
    • Date
    • Thread