move from using EO_PK_TABLE to OpenBase plugin
move from using EO_PK_TABLE to OpenBase plugin
- Subject: move from using EO_PK_TABLE to OpenBase plugin
- From: "Shelley Eitzen" <email@hidden>
- Date: Thu, 26 Jun 2008 17:13:56 +0930 (CST)
- Importance: Normal
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/Library/Java
/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
/Library/WebObjects/Extensions/axis-ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/commons-discovery.jar
/Library/WebObjects/Extensions/commons-logging.jar
/Library/WebObjects/Extensions/jaxrpc.jar
/Library/WebObjects/Extensions/log4j-1.2.8.jar
/Library/WebObjects/Extensions/pd4ml.jar
/Library/WebObjects/Extensions/ReportMill7.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/ss_css2.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/
[2008-06-26 16:57:11 CST] <main> Initialized : er.extensions.ERXExtensions
[2008-06-26 16:57:13 CST] <main> Initialized : er.plot.ERPlot
[2008-06-26 16:57:13 CST] <main> Initialized : er.ajax.Ajax
[2008-06-26 16:57:13 CST] <main> WOMaxIOBufferSize=8196
[2008-06-26 16:57:13 CST] <main> WOWorkerThreadCountMin=16
[2008-06-26 16:57:13 CST] <main> WOSocketMonitorSleepTime=50
[2008-06-26 16:57:13 CST] <main> WODirectConnectEnabled=true
[2008-06-26 16:57:13 CST] <main> WOIncludeCommentsInResponse=true
[2008-06-26 16:57:13 CST] <main> WOWorkerThreadCount=8
[2008-06-26 16:57:13 CST] <main>
WOAdaptorURL=http://localhost/cgi-bin/WebObjects
[2008-06-26 16:57:13 CST] <main> WOPlatform=MacOS
[2008-06-26 16:57:13 CST] <main> WODebuggingEnabled=true
[2008-06-26 16:57:13 CST] <main> WOEnvClassPath=
[2008-06-26 16:57:13 CST] <main> WOListenQueueSize=128
[2008-06-26 16:57:13 CST] <main> WOMissingResourceSearchEnabled=true
[2008-06-26 16:57:13 CST] <main> WOSessionStoreClassName=WOServerSessionStore
[2008-06-26 16:57:13 CST] <main> WOContextClassName=WOContext
[2008-06-26 16:57:13 CST] <main> WOCachingEnabled=false
[2008-06-26 16:57:13 CST] <main> WOApplicationClass=Application
[2008-06-26 16:57:13 CST] <main> WOAcceptMalformedCookies=false
[2008-06-26 16:57:13 CST] <main> NSProjectSearchPath=("..")
[2008-06-26 16:57:13 CST] <main> WOMonitorEnabled=false
[2008-06-26 16:57:13 CST] <main> WOAllowRapidTurnaround=true
[2008-06-26 16:57:13 CST] <main> WORootDirectory=/System
[2008-06-26 16:57:13 CST] <main> WOLocalRootDirectory=
[2008-06-26 16:57:13 CST] <main> WOGenerateWSDL=true
[2008-06-26 16:57:13 CST] <main> WOWorkerThreadCountMax=256
[2008-06-26 16:57:13 CST] <main> WOAllowsConcurrentRequestHandling=false
[2008-06-26 16:57:13 CST] <main> WOAdaptor=WODefaultAdaptor
[2008-06-26 16:57:13 CST] <main> WOSessionTimeOut=3600
[2008-06-26 16:57:13 CST] <main> WOMaxSocketIdleTime=180000
[2008-06-26 16:57:13 CST] <main> WODefaultUndoStackLimit=10
[2008-06-26 16:57:13 CST] <main> WOAutoOpenClientApplication=true
[2008-06-26 16:57:13 CST] <main> WOAutoOpenInBrowser=true
[2008-06-26 16:57:13 CST] <main> WOApplicationBaseURL=/WebObjects
[2008-06-26 16:57:13 CST] <main> WOMaxHeaders=200
[2008-06-26 16:57:13 CST] <main> WOLifebeatEnabled=true
[2008-06-26 16:57:13 CST] <main> WOAllowsCacheControlHeader=true
[2008-06-26 16:57:13 CST] <main> WOSMTPHost=mail.taylorau.com
[2008-06-26 16:57:13 CST] <main> WOFrameworksBaseURL=/WebObjects/Frameworks
[2008-06-26 16:57:13 CST] <main> WOStatisticsStoreSessionMax=50
[2008-06-26 16:57:13 CST] <main> WOAdditionalAdaptors=()
[2008-06-26 16:57:13 CST] <main> WOLifebeatDestinationPort=1085
[2008-06-26 16:57:13 CST] <main> WOPort=12345
[2008-06-26 16:57:13 CST] <main> WOLifebeatInterval=30
[2008-06-26 16:57:13 CST] <main> WOSocketCacheSize=100
[2008-06-26 16:57:13 CST] <main>
WOUserDirectory=/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development
[2008-06-26 16:57:13 CST] <main> WODisplayExceptionPages=true
[2008-06-26 16:57:13 CST] <main> com.webobjects.pid = 13469
[2008-06-26 16:57:13 CST] <main> ------------------------
[2008-06-26 16:57:13 CST] <main> Created adaptor of class WODefaultAdaptor
on port 12345 and address charon/192.168.1.53 with WOWorkerThread minimum
of 16 and maximum of 256
[2008-06-26 16:57:13 CST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2008-06-26 16:57:15 CST] <main> Application project found: Will locate
resources in '/Users/shelleyeitzen/projects/advisered.net/AMSJava' rather
than
'/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development/AMSJava.woa'
.
[2008-06-26 16:57:19 CST] <main> *** The application has found the
following opened, development-mode Xcode projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='AMSJava';
bundlePath='/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development/AMSJava.woa';
projectPath='/Users/shelleyeitzen/projects/advisered.net/AMSJava'>)
[2008-06-26 16:57:21 CST] <main> Application project found: Will locate
resources in '/Users/shelleyeitzen/projects/advisered.net/AMSJava' rather
than
'/Users/shelleyeitzen/projects/advisered.net/AMSJava/build/Development/AMSJava.woa'
.
[2008-06-26 16:57:21 CST] <main> Creating LifebeatThread now with: AMSJava
12345 charon/192.168.1.53 1085 30000
[2008-06-26 16:57:21 CST] <main> 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]
Classpath:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar:WOBootstrap.jar
[2008-06-26 16:57:21 CST] <main> java.lang.RuntimeException: ERXExtensions
have not been initialized. Please report the classpath and the rest of the
bundles to the Wonder mailing list:
Remaining frameworks: [OpenBasePKPlugIn]
Classpath:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Classes/.compatibility/14compatibility.jar:WOBootstrap.jar
at er.extensions.ERXApplication.<init>(ERXApplication.java:703)
at Application.<init>(Application.java:156)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at er.extensions.ERXApplication.main(ERXApplication.java:398)
at Application.main(Application.java:14)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
AMSJava has exited with status 1.
_______________________________________________
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