Board index » jbuilder » EJB module is not displayed anymore

EJB module is not displayed anymore


2003-12-29 01:51:22 AM
jbuilder9
Hello,
I use Jbuilder Enterprise 9.0.125. I can't see anymore my ejb module
"tp3" in the left of the display. I only see the sources for the entity
bean I have written in this ejb module. However a tp3.ejbgrpx exists in
the directory of the project.
I need it to use the ejb designer.
How can I display it? Why do I have this problem? Is it a bug or have I
made a mistake?
Here is the content of the ejbgrpx file :
<?xml version="1.0" encoding="UTF-8"?>
<descriptors>
<ejb-jar.xml extralocation=""
timestamp="1072624232805"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<display-name>Compte</display-name>
<ejb-name>Compte</ejb-name>
<local-home>tp3.CompteHome</local-home>
<local>tp3.Compte</local>
<ejb-class>tp3.CompteBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>tp3.ComptePK</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Compte</abstract-schema-name>
<cmp-field>
<field-name>compteNum</field-name>
</cmp-field>
<cmp-field>
<field-name>solde</field-name>
</cmp-field>
<cmp-field>
<field-name>nom</field-name>
</cmp-field>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Compte</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
]]></ejb-jar.xml>
<ejb-borland.xml extralocation=""
timestamp="1072624232805"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Borland Software Corporation//DTD
Enterprise JavaBeans 2.0//EN"
"www.borland.com/devsupport/appserver/dtds/ejb-jar_2_0-borland.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>Compte</ejb-name>
<bean-local-home-name>Compte</bean-local-home-name>
<cmp2-info>
<cmp-field>
<field-name>compteNum</field-name>
<column-name>COMPTE_NUM</column-name>
</cmp-field>
<cmp-field>
<field-name>solde</field-name>
<column-name>SOLDE</column-name>
</cmp-field>
<cmp-field>
<field-name>nom</field-name>
<column-name>NOM</column-name>
</cmp-field>
<table-name>COMPTE</table-name>
</cmp2-info>
<property>
<prop-name>ejb-designer-id</prop-name>
<prop-type>String</prop-type>
<prop-value>Compte</prop-value>
</property>
</entity>
</enterprise-beans>
<table-properties>
<table-name>COMPTE</table-name>
<column-properties>
<column-name>COMPTE_NUM</column-name>
</column-properties>
<column-properties>
<column-name>SOLDE</column-name>
</column-properties>
<column-properties>
<column-name>NOM</column-name>
</column-properties>
<property>
<prop-name>datasource</prop-name>
<prop-type>String</prop-type>
<prop-value>serial://datasources/Comptes</prop-value>
</property>
</table-properties>
<assembly-descriptor />
</ejb-jar>
]]></ejb-borland.xml>
<ejb-modeler-schema.xml extralocation=""
timestamp="1072623866939"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<schema-root-node name="SourcesDonnées" node-type="0" status="0">
<schema-connection-node name="Comptes" node-type="4" status="0"
catalog="null-object" connection-type="0" data-source-name="null-object"
driver="null-object" file="null-object" password="null-object"
sql-schema="null-object" url="null-object" use-data-source="false"
username="null-object" all-schemas="false" all-views="false">
<schema-table-node name="COMPTE" node-type="1" status="0"
catalog="null-object" ref="" sql-schema="null-object">
<schema-column-node name="COMPTE_NUM" node-type="2" status="0"
col-default="null-object" is-nullable="" java-sql-type="4" ordinal="-1"
precision="30" scale="-1" vendor-type-name="INTEGER"
is-primary-key="true" />
<schema-column-node name="SOLDE" node-type="2" status="0"
col-default="null-object" is-nullable="" java-sql-type="2" ordinal="-1"
precision="30" scale="2" vendor-type-name="VARCHAR"
is-primary-key="false" />
<schema-column-node name="NOM" node-type="2" status="0"
col-default="null-object" is-nullable="" java-sql-type="12" ordinal="-1"
precision="30" scale="-1" vendor-type-name="VARCHAR"
is-primary-key="false" />
</schema-table-node>
</schema-connection-node>
</schema-root-node>
]]></ejb-modeler-schema.xml>
<ejb-modeler-layout.xml extralocation=""
timestamp="1072624232805"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<layout>
<view>
<name>Default</name>
<ejb>
<name>Compte</name>
<x>25</x>
<y>25</y>
<width>130</width>
<height>186</height>
</ejb>
</view>
</layout>
]]></ejb-modeler-layout.xml>
<jboss.xml extralocation="" timestamp="1072624232916"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN"
"www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
<jboss>
<enterprise-beans>
<entity>
<ejb-name>Compte</ejb-name>
<local-jndi-name>Compte</local-jndi-name>
</entity>
</enterprise-beans>
</jboss>
]]></jboss.xml>
<jbosscmp-jdbc.xml extralocation=""
timestamp="1072624232916"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
"www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
<jbosscmp-jdbc>
<enterprise-beans>
<entity>
<ejb-name>Compte</ejb-name>
<table-name>COMPTE</table-name>
<cmp-field>
<field-name>compteNum</field-name>
<column-name>COMPTE_NUM</column-name>
</cmp-field>
<cmp-field>
<field-name>solde</field-name>
<column-name>SOLDE</column-name>
</cmp-field>
<cmp-field>
<field-name>nom</field-name>
<column-name>NOM</column-name>
</cmp-field>
</entity>
</enterprise-beans>
</jbosscmp-jdbc>
]]></jbosscmp-jdbc.xml>
</descriptors>
-------------------------
And the jpx file of the project :
<?xml version="1.0" encoding="UTF-8"?>
<!--JBuilder XML Project-->
<project>
<property category="javaFormatting" name="packageThreshold" value="0"/>
<property category="runtime" name="DefaultConfiguration" value="-1"/>
<property category="runtime.0" name="BuildTargetOnRun"
value="com.borland.jbuilder.build.ProjectBuilder$ProjectBuildAction;make"/>
<property category="runtime.0" name="ConfigurationName" value="Serveur"/>
<property category="runtime.0" name="RunnableType"
value="com.borland.jbuilder.runtime.ServerRunner"/>
<property category="runtime.0" name="appserver.parameters" value="-c
default"/>
<property category="runtime.0" name="appserver.servername"
value="JBossApplicationServer"/>
<property category="runtime.0" name="appserver.vmparameters"
value="-ms64m -mx64m -Dprogram.name=run.bat"/>
<property category="runtime.0" name="server.arguments" value="-c
default"/>
<property category="runtime.0"
name="server.disableServerClassTracing" value="0"/>
<property category="runtime.0" name="server.instance.name"
value="JBossApplicationServer"/>
<property category="runtime.0" name="server.name"
value="JBossApplicationServer 3x"/>
<property category="runtime.0" name="server.vmparameters"
value="-ms64m -mx64m -Dprogram.name=run.bat"/>
<property category="serverservices" name="disabled.services"
value="connector;jdatastore;sqlj"/>
<property category="serverservices" name="single.server.name"
value="JBossApplicationServer 3x"/>
<property category="sys" name="AuthorLabel" value="@author"/>
<property category="sys" name="BackupPath" value="bak"/>
<property category="sys" name="Checkstable" value="1"/>
<property category="sys" name="Company" value=""/>
<property category="sys" name="CompanyLabel" value="Soci\u00e9t\u00e9
:"/>
<property category="sys" name="Copyright" value="Copyright (c) 2003"/>
<property category="sys" name="CopyrightLabel" value="Copyright :"/>
<property category="sys" name="DefaultPath" value="src"/>
<property category="sys" name="Description" value=""/>
<property category="sys" name="DescriptionLabel" value="Description :"/>
<property category="sys" name="DocPath" value="doc"/>
<property category="sys" name="ExcludeClassEnabled" value="0"/>
<property category="sys" name="IncludeTestPath" value="1"/>
<property category="sys" name="InstanceVisibility" value="2"/>
<property category="sys" name="JDK" value="java version 1.4.1_02-b06"/>
<property category="sys" name="JvmVersion" value="1.2"/>
<property category="sys" name="LastTag" value="0"/>
<property category="sys" name="Libraries"
value="JBossApplicationServer 3x Client"/>
<property category="sys" name="Makestable" value="0"/>
<property category="sys" name="OutPath" value="classes"/>
<property category="sys" name="SourcePath" value="src;test"/>
<property category="sys" name="TestPath" value="test"/>
<property category="sys" name="Title" value=""/>
<property category="sys" name="TitleLabel" value="Titre :"/>
<property category="sys" name="Version" value="1.0"/>
<property category="sys" name="VersionLabel" value="@version"/>
<property category="sys" name="WorkingDirectory" value="."/>
<property category="team" name="ignorePath.0"
value="JBossApplicationServer"/>
<file path="jndi-definitions.xml"/>
</project>
----------------------------
Thanks in advance for your answer.
Richard
 
 

Re:EJB module is not displayed anymore

check that your ejbgrpx file is part of thep roject if it is not just add it
as file.
Doychin
"Richard" < XXXX@XXXXX.COM >wrote in message
Quote
Hello,

I use Jbuilder Enterprise 9.0.125. I can't see anymore my ejb module
"tp3" in the left of the display. I only see the sources for the entity
bean I have written in this ejb module. However a tp3.ejbgrpx exists in
the directory of the project.

I need it to use the ejb designer.

How can I display it? Why do I have this problem? Is it a bug or have I
made a mistake?

Here is the content of the ejbgrpx file :
<?xml version="1.0" encoding="UTF-8"?>
<descriptors>
<ejb-jar.xml extralocation=""
timestamp="1072624232805"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN" "java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<display-name>Compte</display-name>
<ejb-name>Compte</ejb-name>
<local-home>tp3.CompteHome</local-home>
<local>tp3.Compte</local>
<ejb-class>tp3.CompteBean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>tp3.ComptePK</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Compte</abstract-schema-name>
<cmp-field>
<field-name>compteNum</field-name>
</cmp-field>
<cmp-field>
<field-name>solde</field-name>
</cmp-field>
<cmp-field>
<field-name>nom</field-name>
</cmp-field>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>Compte</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
]]></ejb-jar.xml>
<ejb-borland.xml extralocation=""
timestamp="1072624232805"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Borland Software Corporation//DTD
Enterprise JavaBeans 2.0//EN"

"www.borland.com/devsupport/appserver/dtds/ejb-jar_2_0-borland.dtd">
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>Compte</ejb-name>
<bean-local-home-name>Compte</bean-local-home-name>
<cmp2-info>
<cmp-field>
<field-name>compteNum</field-name>
<column-name>COMPTE_NUM</column-name>
</cmp-field>
<cmp-field>
<field-name>solde</field-name>
<column-name>SOLDE</column-name>
</cmp-field>
<cmp-field>
<field-name>nom</field-name>
<column-name>NOM</column-name>
</cmp-field>
<table-name>COMPTE</table-name>
</cmp2-info>
<property>
<prop-name>ejb-designer-id</prop-name>
<prop-type>String</prop-type>
<prop-value>Compte</prop-value>
</property>
</entity>
</enterprise-beans>
<table-properties>
<table-name>COMPTE</table-name>
<column-properties>
<column-name>COMPTE_NUM</column-name>
</column-properties>
<column-properties>
<column-name>SOLDE</column-name>
</column-properties>
<column-properties>
<column-name>NOM</column-name>
</column-properties>
<property>
<prop-name>datasource</prop-name>
<prop-type>String</prop-type>
<prop-value>serial://datasources/Comptes</prop-value>
</property>
</table-properties>
<assembly-descriptor />
</ejb-jar>
]]></ejb-borland.xml>
<ejb-modeler-schema.xml extralocation=""
timestamp="1072623866939"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<schema-root-node name="SourcesDonnées" node-type="0" status="0">
<schema-connection-node name="Comptes" node-type="4" status="0"
catalog="null-object" connection-type="0" data-source-name="null-object"
driver="null-object" file="null-object" password="null-object"
sql-schema="null-object" url="null-object" use-data-source="false"
username="null-object" all-schemas="false" all-views="false">
<schema-table-node name="COMPTE" node-type="1" status="0"
catalog="null-object" ref="" sql-schema="null-object">
<schema-column-node name="COMPTE_NUM" node-type="2" status="0"
col-default="null-object" is-nullable="" java-sql-type="4" ordinal="-1"
precision="30" scale="-1" vendor-type-name="INTEGER"
is-primary-key="true" />
<schema-column-node name="SOLDE" node-type="2" status="0"
col-default="null-object" is-nullable="" java-sql-type="2" ordinal="-1"
precision="30" scale="2" vendor-type-name="VARCHAR"
is-primary-key="false" />
<schema-column-node name="NOM" node-type="2" status="0"
col-default="null-object" is-nullable="" java-sql-type="12" ordinal="-1"
precision="30" scale="-1" vendor-type-name="VARCHAR"
is-primary-key="false" />
</schema-table-node>
</schema-connection-node>
</schema-root-node>
]]></ejb-modeler-schema.xml>
<ejb-modeler-layout.xml extralocation=""
timestamp="1072624232805"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<layout>
<view>
<name>Default</name>
<ejb>
<name>Compte</name>
<x>25</x>
<y>25</y>
<width>130</width>
<height>186</height>
</ejb>
</view>
</layout>
]]></ejb-modeler-layout.xml>
<jboss.xml extralocation="" timestamp="1072624232916"><![CDATA[<?xml
version="1.0" encoding="UTF-8"?>
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN"
"www.jboss.org/j2ee/dtd/jboss_3_2.dtd">
<jboss>
<enterprise-beans>
<entity>
<ejb-name>Compte</ejb-name>
<local-jndi-name>Compte</local-jndi-name>
</entity>
</enterprise-beans>
</jboss>
]]></jboss.xml>
<jbosscmp-jdbc.xml extralocation=""
timestamp="1072624232916"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
"www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
<jbosscmp-jdbc>
<enterprise-beans>
<entity>
<ejb-name>Compte</ejb-name>
<table-name>COMPTE</table-name>
<cmp-field>
<field-name>compteNum</field-name>
<column-name>COMPTE_NUM</column-name>
</cmp-field>
<cmp-field>
<field-name>solde</field-name>
<column-name>SOLDE</column-name>
</cmp-field>
<cmp-field>
<field-name>nom</field-name>
<column-name>NOM</column-name>
</cmp-field>
</entity>
</enterprise-beans>
</jbosscmp-jdbc>
]]></jbosscmp-jdbc.xml>
</descriptors>
-------------------------

And the jpx file of the project :

<?xml version="1.0" encoding="UTF-8"?>
<!--JBuilder XML Project-->
<project>
<property category="javaFormatting" name="packageThreshold" value="0"/>
<property category="runtime" name="DefaultConfiguration" value="-1"/>
<property category="runtime.0" name="BuildTargetOnRun"

value="com.borland.jbuilder.build.ProjectBuilder$ProjectBuildAction;make"/>
<property category="runtime.0" name="ConfigurationName"
value="Serveur"/>
<property category="runtime.0" name="RunnableType"
value="com.borland.jbuilder.runtime.ServerRunner"/>
<property category="runtime.0" name="appserver.parameters" value="-c
default"/>
<property category="runtime.0" name="appserver.servername"
value="JBossApplicationServer"/>
<property category="runtime.0" name="appserver.vmparameters"
value="-ms64m -mx64m -Dprogram.name=run.bat"/>
<property category="runtime.0" name="server.arguments" value="-c
default"/>
<property category="runtime.0"
name="server.disableServerClassTracing" value="0"/>
<property category="runtime.0" name="server.instance.name"
value="JBossApplicationServer"/>
<property category="runtime.0" name="server.name"
value="JBossApplicationServer 3x"/>
<property category="runtime.0" name="server.vmparameters"
value="-ms64m -mx64m -Dprogram.name=run.bat"/>
<property category="serverservices" name="disabled.services"
value="connector;jdatastore;sqlj"/>
<property category="serverservices" name="single.server.name"
value="JBossApplicationServer 3x"/>
<property category="sys" name="AuthorLabel" value="@author"/>
<property category="sys" name="BackupPath" value="bak"/>
<property category="sys" name="Checkstable" value="1"/>
<property category="sys" name="Company" value=""/>
<property category="sys" name="CompanyLabel" value="Soci\u00e9t\u00e9
:"/>
<property category="sys" name="Copyright" value="Copyright (c) 2003"/>
<property category="sys" name="CopyrightLabel" value="Copyright :"/>
<property category="sys" name="DefaultPath" value="src"/>
<property category="sys" name="Description" value=""/>
<property category="sys" name="DescriptionLabel" value="Description
:"/>
<property category="sys" name="DocPath" value="doc"/>
<property category="sys" name="ExcludeClassEnabled" value="0"/>
<property category="sys" name="IncludeTestPath" value="1"/>
<property category="sys" name="InstanceVisibility" value="2"/>
<property category="sys" name="JDK" value="java version 1.4.1_02-b06"/>
<property category="sys" name="JvmVersion" value="1.2"/>
<property category="sys" name="LastTag" value="0"/>
<property category="sys" name="Libraries"
value="JBossApplicationServer 3x Client"/>
<property category="sys" name="Makestable" value="0"/>
<property category="sys" name="OutPath" value="classes"/>
<property category="sys" name="SourcePath" value="src;test"/>
<property category="sys" name="TestPath" value="test"/>
<property category="sys" name="Title" value=""/>
<property category="sys" name="TitleLabel" value="Titre :"/>
<property category="sys" name="Version" value="1.0"/>
<property category="sys" name="VersionLabel" value="@version"/>
<property category="sys" name="WorkingDirectory" value="."/>
<property category="team" name="ignorePath.0"
value="JBossApplicationServer"/>
<file path="jndi-definitions.xml"/>
</project>
----------------------------

Thanks in advance for your answer.

Richard