Re: move from using EO_PK_TABLE to OpenBase plugin

2008-06-26 Thread Shelley Eitzen


Thanks, but still no go.

I have completed Amedeo suggestion, but still I get the same fatal exception.
[2008-06-27 09:08:35 CST]  A fatal exception occurred: ERXExtensions
have not been initialized. Please report the classpath and the rest of the
bundles to the Wonder mailing list:
Remaining frameworks: [OpenBasePKPlugIn]

As soon as I add the openbase framework to the application, the app no
longer runs.

Shelley



>Hello,

>if you have put

>plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn
in your model,

>then you should NOT add
JDBCPlugIn
.setPlugInNameForSubprotocol
("com.webobjects.jdbcadaptor.OpenBasePKPlugIn" in the Application
constructor
(remove the unnecessary imports too)

>Hope this helps

>Regards
>Amedeo


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Re: move from using EO_PK_TABLE to OpenBase plugin

2008-06-26 Thread Amedeo Mantica

Hello,

if you have put

plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn
in your model,

then you should NOT add
JDBCPlugIn
.setPlugInNameForSubprotocol
("com.webobjects.jdbcadaptor.OpenBasePKPlugIn" in the Application  
constructor

(remove the unnecessary imports too)

Hope this helps

Regards
Amedeo


On 26/giu/08, at 09:43, Shelley Eitzen wrote:



HI All,

Webobjects 5.3
Xcode 2.2
Openbase 10
Project Wonder last updated approx April.

I am trying to move from using EO_PK_TABLE to using OpenbasePKPlugin

I have:

1) added the OpenbasePKPlugin framework to the application
2) added the following to the adapter settings in the model
Driver: com.openbase.jdbc.ObDriver
Plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn
3) added the following to the Application constructor
JDBCPlugIn 
.setPlugInNameForSubprotocol 
("com.webobjects.jdbcadaptor.OpenBasePKPlugIn",

"openbase");
4) added the following to the application class
import com.webobjects.jdbcadaptor.*;
import com.openbase.jdbc.ObDriver.*;

The application now does not start and gives the following error  
message.

A fatal exception occurred: ERXExtensions have not been initialized.
Please report the classpath and the rest of the bundles to the Wonder
mailing list:
Remaining frameworks: [OpenBasePKPlugIn]


Any suggestions?


The full run log:

[Session started at 2008-06-26 16:57:09 +0930.]
Reading MacOSClassPath.txt ...
Launching AMSJava.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
-DWOLocalRootDirectory=""
-DWOUserDirectory="/Users/shelleyeitzen/projects/advisered.net/ 
AMSJava/build/Development"
-DWOEnvClassPath="" -DWOApplicationClass=Application - 
DWOPlatform=MacOS
-Dcom.webobjects.pid=13469 -Djava.vm.pid=$$ -Xms100m -Xmx700m - 
classpath

WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 12345
-databaseURL jdbc:openbase://localhost/Education1
-er.extensions.ERXRaiseOnMissingEditingContextDelegate NO - 
fontDirectory

/Library/Fonts/ OpenBase10DLSFix Yes -ignoreWebPDF Yes
appRoot is
/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/ 
Development/AMSJava.woa/Contents

Loading
/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/ 
Development/AMSJava.woa/Contents/MacOS/MacOSClassPath.txt

Generated classpath:
 /Users/shelleyeitzen/projects/advisered.net/AMSJava/build/ 
Development/AMSJava.woa/Contents/Resources/Java/AMSJava.jar
 /Library/Frameworks/ERExtensions.framework/Resources/Java/ 
ERExtensions.jar

 /Library/Frameworks/ERExtensions.framework/Resources/Java/src.jar
 /System/Library/Frameworks/JavaEOProject.framework/Resources/Java/ 
javaeoproject.jar
 /System/Library/Frameworks/JavaWOExtensions.framework/Resources/ 
Java/JavaWOExtensions.jar
 /System/Library/Frameworks/JavaXML.framework/Resources/Java/ 
javaxml.jar
 /System/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/ 
javadirecttoweb.jar
 /System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/ 
javajdbcadaptor.jar
 /System/Library/Frameworks/JavaEOControl.framework/Resources/Java/ 
javaeocontrol.jar
 /System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/ 
javaeoaccess.jar
 /System/Library/Frameworks/JavaFoundation.framework/Resources/Java/ 
javafoundation.jar
 /System/Library/Frameworks/JavaDTWGeneration.framework/Resources/ 
Java/javadtwgeneration.jar
 /System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/ 
javawebobjects.jar

 /Library/Frameworks/ERPlot.framework/Resources/Java/ERPlot.jar
 /Library/Frameworks/ERPlot.framework/Resources/Java/jcommon-0.9.6.jar
 /Library/Frameworks/ERPlot.framework/Resources/Java/ 
jfreechart-0.9.21.jar

 /Library/Frameworks/ERPlot.framework/Resources/Java/src.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/ 
erxservletadaptor.jar

 /Library/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/slf4j- 
api-1.5.0.jar
 /Library/Frameworks/ERJars.framework/Resources/Java/slf4j- 
log4j12-1.5.0.jar

 /Library/Frameworks/ERJars.framework/Resources/Java/src.jar
 /Library/Frameworks/WOExamplesHarness.framework/Resources/Java/ 
WOExamplesHarness.jar
 /Library/Frameworks/TWButils.1.1/TWButils.framework/Resources/Java/ 
twbutils.jar
 /Library/Frameworks/RDMultipleDatePerspective.framework/Resources/ 
Java/rdmultipledateperspective.jar

 /Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar
 /Library/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar
 /Library/Frameworks/Ajax.framework/Resources/Java/src.jar
 /Library/Frameworks/ExcelGenerator.framework/Resources/Java/ 
ExcelGenerator.jar
 /Library/Frameworks/ExcelGenerator.framework/Resources/Java/ 
poi-3.0.1-FINAL-20070705.jar

 /Library/Frameworks/ExcelGenerator.framework/

move from using EO_PK_TABLE to OpenBase plugin

2008-06-26 Thread Shelley Eitzen

HI All,

Webobjects 5.3
Xcode 2.2
Openbase 10
Project Wonder last updated approx April.

I am trying to move from using EO_PK_TABLE to using OpenbasePKPlugin

I have:

1) added the OpenbasePKPlugin framework to the application
2) added the following to the adapter settings in the model
Driver: com.openbase.jdbc.ObDriver
Plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn
3) added the following to the Application constructor
JDBCPlugIn.setPlugInNameForSubprotocol("com.webobjects.jdbcadaptor.OpenBasePKPlugIn",
"openbase");
4) added the following to the application class
import com.webobjects.jdbcadaptor.*;
import com.openbase.jdbc.ObDriver.*;

The application now does not start and gives the following error message.
A fatal exception occurred: ERXExtensions have not been initialized.
Please report the classpath and the rest of the bundles to the Wonder
mailing list:
Remaining frameworks: [OpenBasePKPlugIn]


Any suggestions?


The full run log:

[Session started at 2008-06-26 16:57:09 +0930.]
Reading MacOSClassPath.txt ...
Launching AMSJava.woa ...
java -XX:NewSize=2m -Xmx64m -Xms32m -DWORootDirectory="/System"
-DWOLocalRootDirectory=""
-DWOUserDirectory="/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development"
-DWOEnvClassPath="" -DWOApplicationClass=Application -DWOPlatform=MacOS
-Dcom.webobjects.pid=13469 -Djava.vm.pid=$$ -Xms100m -Xmx700m -classpath
WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap -WOPort 12345
-databaseURL jdbc:openbase://localhost/Education1  
-er.extensions.ERXRaiseOnMissingEditingContextDelegate NO -fontDirectory
/Library/Fonts/ OpenBase10DLSFix Yes -ignoreWebPDF Yes
appRoot is
/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development/AMSJava.woa/Contents
Loading
/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development/AMSJava.woa/Contents/MacOS/MacOSClassPath.txt
Generated classpath:
  
/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development/AMSJava.woa/Contents/Resources/Java/AMSJava.jar
  /Library/Frameworks/ERExtensions.framework/Resources/Java/ERExtensions.jar
  /Library/Frameworks/ERExtensions.framework/Resources/Java/src.jar
  
/System/Library/Frameworks/JavaEOProject.framework/Resources/Java/javaeoproject.jar
  
/System/Library/Frameworks/JavaWOExtensions.framework/Resources/Java/JavaWOExtensions.jar
  /System/Library/Frameworks/JavaXML.framework/Resources/Java/javaxml.jar
  
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/Java/javadirecttoweb.jar
  
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/Java/javajdbcadaptor.jar
  
/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/javaeocontrol.jar
  
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/javaeoaccess.jar
  
/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/javafoundation.jar
  
/System/Library/Frameworks/JavaDTWGeneration.framework/Resources/Java/javadtwgeneration.jar
  
/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/javawebobjects.jar
  /Library/Frameworks/ERPlot.framework/Resources/Java/ERPlot.jar
  /Library/Frameworks/ERPlot.framework/Resources/Java/jcommon-0.9.6.jar
  /Library/Frameworks/ERPlot.framework/Resources/Java/jfreechart-0.9.21.jar
  /Library/Frameworks/ERPlot.framework/Resources/Java/src.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/ERJars.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/erxservletadaptor.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/erxwo54.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/icu4j-3_8_1.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/junit.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/log4j-1.2.14.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/slf4j-api-1.5.0.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/slf4j-log4j12-1.5.0.jar
  /Library/Frameworks/ERJars.framework/Resources/Java/src.jar
  
/Library/Frameworks/WOExamplesHarness.framework/Resources/Java/WOExamplesHarness.jar
  
/Library/Frameworks/TWButils.1.1/TWButils.framework/Resources/Java/twbutils.jar
  
/Library/Frameworks/RDMultipleDatePerspective.framework/Resources/Java/rdmultipledateperspective.jar
  /Library/Frameworks/Ajax.framework/Resources/Java/Ajax.jar
  /Library/Frameworks/Ajax.framework/Resources/Java/jabsorb-1.2.2.jar
  /Library/Frameworks/Ajax.framework/Resources/Java/src.jar
  /Library/Frameworks/ExcelGenerator.framework/Resources/Java/ExcelGenerator.jar
  
/Library/Frameworks/ExcelGenerator.framework/Resources/Java/poi-3.0.1-FINAL-20070705.jar
  /Library/Frameworks/ExcelGenerator.framework/Resources/Java/src.jar
  
/Library/Frameworks/CertificateGenerator.framework/Resources/Java/CertificateGenerator.jar
  
/Library/Frameworks/CertificateGenerator.framework/Resources/Java/itext-1.4.2.jar
  
/Library/Frameworks/OpenBasePKPlugIn.framework/Resources/Java/openbasepkplugin.jar
  /Users/shelleyeitzen/Library/Java
  /Library/Java/
  /System/Library/Java/
  /Network/Libra

Re: move from using EO_PK_TABLE to OpenBase plugin

2008-06-25 Thread Gordon Belray

Hi Shelley,

add this to your application constructor

JDBCPlugIn.setPlugInNameForSubprotocol 
("com.webobjects.jdbcadaptor.OpenBasePKPlugIn", "openbase");


and in your model's adaptor settings add this:

Driver: com.openbase.jdbc.ObDriver

Plugin: com.webobjects.jdbcadaptor.OpenBasePKPlugIn

That should do it.
Gordon

On 25-Jun-08, at 3:28 AM, Shelley Eitzen wrote:


Hi All,

WebObjects 5.3
XCode 2.x
Openbase 10.x

We currently have an application which utilises the EO_PK_TABLE in  
generating primary keys.


We need to use the Openbase method of generating primary keys.

Can anyone please tell me how to change this?


Thanks in Advance
Shelley

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/gordon.belray% 
40utoronto.ca


This email sent to [EMAIL PROTECTED]


Gordon Belray
Information Architect and Imaging System Manager
Information Technology Services Robarts Library
416.946.8617cell: 416.427.7007
[EMAIL PROTECTED]


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: move from using EO_PK_TABLE to OpenBase plugin

2008-06-25 Thread Andrew Lindesay

Hello Shelly;

You need to include the following framework in your project / build  
product;


OpenBasePKPlugin.framework

Then you need to add this bit of code to your Application's constructor;

	 
JDBCPlugIn 
.setPlugInNameForSubprotocol 
("com.webobjects.jdbcadaptor.OpenBasePKPlugIn", "openbase");


cheers.

We currently have an application which utilises the EO_PK_TABLE in  
generating primary keys.

We need to use the Openbase method of generating primary keys.
Can anyone please tell me how to change this?


___
Andrew Lindesay
www.lindesay.co.nz

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


move from using EO_PK_TABLE to OpenBase plugin

2008-06-25 Thread Shelley Eitzen

Hi All,

WebObjects 5.3
XCode 2.x
Openbase 10.x

We currently have an application which utilises the EO_PK_TABLE in 
generating primary keys.


We need to use the Openbase method of generating primary keys.

Can anyone please tell me how to change this?


Thanks in Advance
Shelley

___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]