Has anybody got any ideas about why this won't work. It's really frustrating!!!
G:\orion>java -jar orion.jar
Auto-unpacking G:\3.0\rel\guid-factory.ear...
done.
Auto-unpacking G:\3.0\rel\guid-factory\guid-factory-web.war...
done.
Auto-deploying guid-factory (Assembly had been
updated)...
Auto-deploying guid-factory-ejb.jar (No previous
deployment found)... Error compiling file:/G:/3.0/rel/guid-
factory/guid-factory-ejb.jar: No direct database
fields for primary key: bean GUID Factory Bean
Orion/1.2.9 initialized
Here's what my ejb-jar.xml file looks like
<ejb-jar>
<description></description>
<enterprise-beans>
<entity>
<description>This bean implements a GUID factory</description>
<display-name>GUID Factory Bean</display-name>
<ejb-name>com.canlink.components.base.GUIDFactoryBean</ejb-name>
<home>com.canlink.components.base.GUIDFactoryHome</home>
<remote>com.canlink.components.base.GUIDFactory</remote>
<ejb-class>com.canlink.components.base.GUIDFactoryBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>com.canlink.components.base.GUIDFactoryPK</prim-key-class>
<reentrant>False</reentrant>
<cmp-field><field-name>iFactory_ID</field-name></cmp-field>
<cmp-field><field-name>city</field-name></cmp-field>
<primkey-field>name</primkey-field>-->
</entity>
</enterprise-beans>
<assembly-descriptor>
<security-role>
<description>Users</description>
<role-name>users</role-name>
</security-role>
</assembly-descriptor>
</ejb-jar>
Here's what my application.xml file looks like
<application>
<display-name>SMP3 GUID Factory</display-name>
<module>
<ejb>guid-factory-ejb.jar</ejb>
</module>
<module>
<web>
<web-uri>guid-factory-web.war</web-uri>
<context-root>/guid-factory-web</context-root>
</web>
</module>
</application>
Here's what my web.xml file looks like
<web-app>
<!-- A friendly name for this
web application, this name can be used in
visual
development environments, for instance -->
<display-name>GUID Factory Bean</display-name>
<!-- A human-readable description of this web application -->
<description>Entity Bean that
provides GUID </description>
<!-- The file(s) to show when
no file is specified, i.e. only the directory
is
specified. -->
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<!-- A JNDI binding from "ejb/AddressBook"
to the address book bean. This
is
the name we will use in our JSP pages. -->
<ejb-ref>
<ejb-ref-name>com/canlink/components/base/GUIDFactoryBean</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>com.canlink.components.base.GUIDFactoryHome</home>
<remote>com.canlink.components.base.GUIDFactory</remote>
</ejb-ref>
<security-role>
<description>Users</description>
<role-name>users</role-name>
</security-role>
</web-app>
Thanks for any help!!!