OpenEJBConfiguration.xml No such file or directory
OpenEJBConfiguration.xml No such file or directory
- Subject: OpenEJBConfiguration.xml No such file or directory
- From: Sergiy Temnikov <email@hidden>
- Date: Thu, 25 Sep 2003 18:08:26 -0700
Hi,
I'm trying to build and run the "Authors" tutorial from WebObjects "Web
Applications" manual. I created everything that's necessary and I can
compile everything just fine in the Project Builder. However, when try
to run the app from the Project Builder I get this error;
FATAL [main] (org.openejb.util.Logger:942) - OpenEJB has encountered a
fatal error and cannot be started: Assembler failed to initialize.
org.openejb.OpenEJBException: Problem creating the OpenEjbConfiguration
structure from file Contents/Resources/OpenEJBConfiguration.xml:
/Projects/WebObjTest/Customers/build/Customers.woa/Contents/Resources/
OpenEJBConfiguration.xml (No such file or directory)
at
org.openejb.alt.assembler.classic.xml.DomOpenEjbConfigurationFactory.get
OpenEjbConfiguration(DomOpenEjbConfigurationFactory.java:145)
at org.openejb.alt.assembler.classic.Assembler.init(Assembler.java:163)
at org.openejb.OpenEJB.init(OpenEJB.java:218)
at
org.openejb.corba.core.ContainerSystem.initialize(ContainerSystem.java:7
9)
at org.openejb.corba.Server.initialize(Server.java:123)
at
com.webobjects.openejbActivation.OpenORB.initialize(OpenORB.java:122)
at com.webobjects.openejbActivation.Init.initializeEJB(Init.java:105)
at com.webobjects.openejbActivation.Init.<clinit>(Init.java:9)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
com.webobjects.foundation._NSUtilities._classWithPartialName(_NSUtilitie
s.java:285)
at
com.webobjects.foundation._NSUtilities.classWithName(_NSUtilities.java:2
69)
at
com.webobjects.foundation.NSBundle.initPrincipalClass(NSBundle.java:2044
)
at
com.webobjects.foundation.NSBundle.InitPrincipalClasses(NSBundle.java:57
6)
at com.webobjects.foundation.NSBundle.<clinit>(NSBundle.java:310)
at
com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOPr
operties.java:180)
at
com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:500
2)
at
com.webobjects.appserver.WOApplication.<init>(WOApplication.java:483)
at Application.<init>(Application.java:19)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:306)
at java.lang.Class.newInstance(Class.java:259)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:296)
at Application.main(Application.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
Root cause:
java.io.FileNotFoundException:
/Projects/WebObjTest/Customers/build/Customers.woa/Contents/Resources/
OpenEJBConfiguration.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.ja
va:69)
at
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnec
tion.java:156)
at java.net.URL.openStream(URL.java:960)
at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.jav
a:807)
at
org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityMan
ager.java:753)
at
org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocument
ScannerImpl.java:260)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:4
99)
at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:5
81)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:191)
at
....
and exception stack trace goes on and on and on ....
As far as I understand, OpenEJBConfiguration.xml file should be
generated automatically. Any ideas why this file is not there after I
successfully build the project?
I'm running Mac OS X 10.2.6 with WebObjects 5.2. Java 1.4.1 ( without
update 1) is installed.
Help is much appreciated, thanks.
-Sergiy
------------------------------------------
Sergiy Temnikov - Software Engineer
4D, Inc. - http://www.4d.com/
4th Dimension 2003 - The Application Hub
Simplifying Application Integration!
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.