Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Henrique Prange
Hi Elizabeth, You don't need to build it. The latest version of Houdah framework is available in WOCommunity repository [1]. Configure the Maven settings as described in this guide [2], and add the following dependency to the pom.xml: dependency groupIdcom.houdah/groupId

Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Elizabeth Lynch
Hi Henrique Thanks for getting back to me. I already had the .m2 settings.xml file present as per your instructions, so I therefore simply deleted my own com.houdah directory from the repository, and added the dependency to my project's pom file. On doing mvn clean package, the Houdah

Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Henrique Prange
Hi Elizabeth, Looks like a problem with version ranges. Your repository metadata is probably corrupted. You have two options: 1) Go to the ~/.m2/repository/com/webobjects/* directories and delete every maven-metadata* files. 2) Add the Houdah dependency with the exclusion configuration as

Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Henrique Prange
Hi Elizabeth, Looks like a problem with version ranges. Your repository metadata is probably corrupted. You have two options: 1) Go to the ~/.m2/repository/com/webobjects/* directories and delete every maven-metadata* files. 2) Add the Houdah dependency with the exclusion configuration as

WebObjects connecting to SQLServer

2011-06-27 Thread Calven Eggert
Hi, All I've modified a JavaApplication that connects to an Oracle database to also get records from a MSSQLServer database. I've added my additional model and I can't seem to connect to the MSSQLServer database. I've searched the archives and I can't find the basic information needed to

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Chuck Hill
Hi Calven, Are you trying to connect to both at the same time from the same instance? Or are these two different apps? How do you set the Oracle connection dictionary? If you are using Wonder or GVC stuff, this will get set on this line: modelGroup.addModelWithPathURL(msaiqModelURL); due to

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Calven Eggert
both connections in the same application. Not using Wonder. Will look at forceConnectionWIthModel. On 2011-06-27, at 3:35 PM, Chuck Hill wrote: Hi Calven, Are you trying to connect to both at the same time from the same instance? Or are these two different apps? How do you set the

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Chuck Hill
On 2011-06-27, at 12:45 PM, Calven Eggert wrote: both connections in the same application. Not using Wonder. Are you using anything, or just your own code?If the answer is just my own code, let me suggest leveraging something else. You don't have to drink all of the kool-aid to use

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Calven Eggert
I use my own code. Oracle connection info is in the eomodel. the MSSQL model only has one entity and yes, it's unique. (FYI, the purpose of the app is to export records from MSQSL and import into Oracle) (Of course the cop-out is to have the records in the single table in the MSSQL database

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Chuck Hill
On 2011-06-27, at 12:53 PM, Calven Eggert wrote: I use my own code. Oracle connection info is in the eomodel. Then you should be able to do the exact same thing in the MSSQL model. You won't need any code at all. It just works. It is not flexible, but it does just work. the MSSQL

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Chuck Hill
Valuable clues below... On Jun 27, 2011, at 12:53 PM, Calven Eggert wrote: In the eomodel: URL=jdbc:microsoft:sqlserver://x.x.x.x:1433; Should be jdbc:sqlserver://host.com:1433;databaseName=YOUR_DB_NAME User=user Password= Password Driver=com.microsoft.jdbc.sqlserver.SQLServerDriver

Re: WebObjects connecting to SQLServer

2011-06-27 Thread Calven Eggert
you did it again Chuck! it works now! THANKS! damn computer. it should have known that I had the driver name wrong. :-) On 2011-06-27, at 4:05 PM, Chuck Hill wrote: Valuable clues below... On Jun 27, 2011, at 12:53 PM, Calven Eggert wrote: In the eomodel:

state of apns?

2011-06-27 Thread Jesse Tayler
regarding iphone push notifications (APNS) I see some folks are using http://code.google.com/p/javapns/ and a few implementations are floating around. one or two persons have indicated they might share or submit frameworks to WOnder - but I don't see anything quite yet? is it a good time to

Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Elizabeth Lynch
Hi Henrique If I use the exclusion, then maven builds the package ok, but when I run with jetty:run-war I get an exception: Caused by: java.lang.ClassCastException: com.webobjects.foundation.NSLog$Log4JLogger cannot be cast to com.webobjects.foundation.NSLog$PrintStreamLogger at

Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Henrique Prange
Hi Elizabeth, On 27/06/2011, at 18:54, Elizabeth Lynch wrote: Hi Henrique If I use the exclusion, then maven builds the package ok, but when I run with jetty:run-war I get an exception: Caused by: java.lang.ClassCastException: com.webobjects.foundation.NSLog$Log4JLogger cannot be

Re: Maven newbie - problem with building and including the Houdah frameworks in my project

2011-06-27 Thread Henrique Prange
Hi Elizabeth, Sorry for answering in a hurry. I was leaving the office. If you take a look at the NSLog javadoc, you will find methods to change the out, err and debug loggers. Sent from my iPhone On 27/06/2011, at 20:19, Henrique Prange hpra...@gmail.com wrote: Hi Elizabeth, On

Re: WebObjects connecting to SQLServer

2011-06-27 Thread David Avendasora
On Jun 27, 2011, at 4:11 PM, Calven Eggert wrote: you did it again Chuck! it works now! THANKS! damn computer. it should have known that I had the driver name wrong. :-) Don't beat yourself up over that. MS changed the structure of the driver packages between versions of the JDBC