Re: SQL-Database Clustering and Loadbalancing with Geronimo
Hi Rudi, I'm not sure if this is exactly what you're looking for, but we have some documentation on 'WADI Application Distribution Infrastructure': http://cwiki.apache.org/GMOxDOC21/wadi-clustering-support.html which might prove to be a good place to start for your solution. Also, I've seen references on the list to a third party called "Terracotta" at http://www.terracotta.org/ which provides some scalable solutions you can work with AG on. -Joseph Leong On Fri, May 16, 2008 at 5:38 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 'Hi, > > Iam Designing a Database WebApplikation Projekt, based on Geronimo. > > There am some eustions: > > Wich type of EJB should i use)? (no CMP or Hibernate Stuff here, doesnt > matter for me) > My Database ist Postgres 8.3, what can i do for making Ladbalancing and > Scaleability? > >
Re: Remote EJB Connect - Initial Context, host unknown Exception
I did some exploring into the source code of openejb 2.1 and stripped away the offending code: final String serverURL = "ejbd://127.0.0.1:4201"; final URL url = new URL("http://"+serverURL); final InetAddress inet = InetAddress.getByName(url.getHost()); Now, if I catch the exception it, it throws a similar exception openejb reported: java.net.UnknownHostException: ejbd: ejbd at java.net.InetAddress.getAllByName0(InetAddress.java:1145) at java.net.InetAddress.getAllByName(InetAddress.java:1072) at java.net.InetAddress.getAllByName(InetAddress.java:1008) at java.net.InetAddress.getByName(InetAddress.java:958) Its adding http + ejb for connection strings resulting in a url of: "http://ejbd://127.0.0.1:4201";. First question, is this an invalid URL? The URL class does not throw an error on creating this URL. The method url.getHost() returns "ejbd". Next, I took the code snippet and removed the "http://"; and tried this code: final String serverURL = "ejbd://127.0.0.1:4201"; final URL url = new URL(serverURL); But I get an exception on the second line of: java.net.MalformedURLException: unknown protocol: ejbd at java.net.URL.(URL.java:574) at java.net.URL. (URL.java:464) at java.net.URL. (URL.java:413) Any suggestions? -- View this message in context: http://www.nabble.com/Remote-EJB-Connect---Initial-Context%2C-host-unknown-Exception-tp17280392s134p17317520.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.