[JBoss-user] [EJB 3.0] - FetchType.LAZY

2006-01-13 Thread danjourno
I have an entity called commission that has a property of supplier with the 
reference to this object set up as below

  | @ManyToOne(fetch=FetchType.LAZY)
  | @JoinColumn(nullable=false, name=supplier_id)
  | public Supplier getSupplier() {
  | return supplier;
  | }

I also have a Stateless session bean called PersistenceManager that as you 
probably guessed manages all the persistence operations for my entity beans.

Then I have another sesison bean that uses this PersistenceManager to retrieve 
an instance of the Commission object.

when I try to get the supplier object attached to this Commission object with

commission.getSupplier();

I get the following..

org.hibernate.LazyInitializationException: could not initialize proxy - no 
Session

Any ideas as to why I cannot get an attached entity that has a fetch type of 
LAZY?

Regards
Dan

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3917328#3917328

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3917328


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: composite PK/FK

2006-01-02 Thread danjourno
i forgot to add referencedColumName to the JoinColumn Annotation when defining 
the foreign composite key relationship.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915149#3915149

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915149


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: composite PK/FK

2006-01-01 Thread danjourno
yep.. I finally sorted this one out.

I'll post the code for my files for a reference as this is a slightly different 
example to the one in the wiki.

I've included the location class which shows how the composite foreign key is 
referenced.

@Entity
  | @Table(name=country)
  | public class Country  implements Serializable {
  | 
  | java.lang.String countryCode1;
  | 
  | java.lang.String countryCode2;
  | 
  | java.lang.String shortName;
  | 
  | java.lang.String longName;
  | 
  | java.lang.String countryCode3;
  | 
  | java.util.ListCountryRegion countryRegions;
  | 
  | @Id
  | @Column(name=country_code_1)
  | public java.lang.String getCountryCode1() {
  | return countryCode1;
  | }
  | 
  | public void setCountryCode1(java.lang.String countryCode1) {
  | this.countryCode1 = countryCode1;
  | }
  | 
  | @Column(name=country_code_2)
  | public java.lang.String getCountryCode2() {
  | return countryCode2;
  | }
  | 
  | 
  | public void setCountryCode2(java.lang.String countryCode2) {
  | this.countryCode2 = countryCode2;
  | }
  | 
  | @Column(name=country_code_3)
  | public java.lang.String getCountryCode3() {
  | return countryCode3;
  | }
  | 
  | public void setCountryCode3(java.lang.String countryCode3) {
  | this.countryCode3 = countryCode3;
  | }
  | 
  | @Column(name=long_name)
  | public java.lang.String getLongName() {
  | return longName;
  | }
  | 
  | public void setLongName(java.lang.String longName) {
  | this.longName = longName;
  | }
  | 
  | @Column(name=short_name)
  | public java.lang.String getShortName() {
  | return shortName;
  | }
  | 
  | public void setShortName(java.lang.String shortName) {
  | this.shortName = shortName;
  | }
  | 
  | 
  | 
  | @OneToMany(mappedBy=country)
  | public java.util.ListCountryRegion getCountryRegions() {
  | return countryRegions;
  | }
  | 
  | public void setCountryRegions(java.util.ListCountryRegion 
countryRegions) {
  | this.countryRegions = countryRegions;
  | }
  | 
  | 
  | 
  | }
  | 

@Entity
  | @Table(name = country_region)
  | public class CountryRegion implements Serializable {
  | 
  | java.lang.String name;
  | 
  | java.lang.String description;
  | 
  | CountryRegionPK pk;
  | 
  | Country country;
  | 
  | java.util.ListLocation locations;
  | 
  | java.util.ListCompany companies;
  | 
  | public CountryRegion() {
  | }
  | 
  | // mapping of table columns to PK fields
  | // note that the length had to be set so that PK size didn't exceed 
MySQLs 1024 byte max
  | @EmbeddedId
  | @AttributeOverrides({
  |  @AttributeOverride(name = regionCode, column = @Column(name = 
region_code, length=3)),
  |  @AttributeOverride(name = countryCode1, column = 
@Column(name=country_code_1, length=2))
  |})
  | public CountryRegionPK getPk() {
  | return pk;
  | }
  | 
  | public void setPk(CountryRegionPK pk) {
  | this.pk = pk;
  | }
  | 
  | @Column(name = description)
  | public java.lang.String getDescription() {
  | return description;
  | }
  | 
  | public void setDescription(java.lang.String description) {
  | this.description = description;
  | }
  | 
  | @Column(name = name)
  | public java.lang.String getName() {
  | return name;
  | }
  | 
  | public void setName(java.lang.String name) {
  | this.name = name;
  | }
  | 
  | // must use insertable=false and updateable=false when referencing 
country_code_1 for the second time.
  | @ManyToOne(fetch=FetchType.EAGER)
  | @JoinColumn(name=country_code_1, insertable=false, updatable=false)
  | public Country getCountry() {
  | return country;
  | }
  | 
  | public void setCountry(Country country) {
  | this.country = country;
  | }
  | 
  | @OneToMany(fetch=FetchType.LAZY,mappedBy=countryRegion)
  | public java.util.ListCompany getCompanies() {
  | return companies;
  | }
  | 
  | public void setCompanies(java.util.ListCompany companies) {
  | this.companies = companies;
  | }
  | 
  | @OneToMany(fetch=FetchType.LAZY,mappedBy=countryRegion)
  | public java.util.ListLocation getLocations() {
  | return locations;
  | }
  | 
  | public void setLocations(java.util.ListLocation locations) {
  | this.locations = locations;
  | }
  | 
  | }


  | @Embeddable
  | public class CountryRegionPK implements java.io.Serializable{
  | 
  | 
  | 
  | private String countryCode1;
  |private String regionCode;
  | 
  |

[JBoss-user] [JBoss Eclipse IDE (users)] - build and deploy script.

2005-12-30 Thread danjourno
I have two projects one that references the other. So when I make any 
changes... I have to build the first one... package it.. build the second.. run 
xdoclet.. package it.. and then deploy.

My question is... is there any way i can write a script that will do all of the 
above so I only have to run one thing?


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914983#3914983

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914983


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - CascadeType.ALL

2005-12-29 Thread danjourno
I'm looking for some clarification on the CascadeType.ALL option when defining 
relationships between entities.

Example: the Company  entity has a property that is of Contact entity type. 
I am now creating a new Company instance and add a new Contact instance to it 
with 

  | Company company = new Company()
  | company.setName(ACME PTY LTD);
  | company.setAddress(123 Test St);
  | Contact contact = new Contact();
  | contact.setName(Daniel);
  | contact.setTitle(Mr);
  | ..
  | company.setContact(contact);
i now want to persist my new company instance...
Given the fact that I have used CascadeType.ALL when defining the relationship 
between the contact and the company entity, I am assuming that all I need to do 
to persist is.

  | em.persist(company);
  | 

however.. this does not work and I am having to persist each object seperately 
as below..

  | em.persist(contact);
  | em.persist(company);
  | 

Is my understanding of the CascadeType.ALL option wrong? Or is my code just not 
behaving as it should?

Regards
Daniel

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914700#3914700

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914700


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: composite PK/FK

2005-12-29 Thread danjourno
Thanks Bill,

I'll give that a go an let you know of the results.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914854#3914854

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914854


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: CascadeType.ALL

2005-12-29 Thread danjourno
ahh!  That makes sense. so simple!
Thanks for that.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914860#3914860

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914860


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: composite PK/FK

2005-12-29 Thread danjourno
I've just set things up the way you have suggested.

My PK class now has a String value referring to the country_code_1 rather than 
the actual country object.
@Embeddable
  | public class CountryRegionPK implements java.io.Serializable{
  | ...
  | 
  |public String getCountryCode1() {...}
  | 
  |public void setCountryCode1(String countryCode1) { }

@Entity
  | @Table(name = country_region)
  | public class CountryRegion implements Serializable {
  | 
  | @EmbeddedId
  | @AttributeOverrides({
  |  @AttributeOverride(name = regionCode, column = @Column(name = 
region_code)),
  |  @AttributeOverride(name = countryCode1, column = 
@Column(name=country_code_1))
  |})
  | 

However I am still getting the error below. I'm guessing that it is due to my 
Location table relationship. see bottom.

org.hibernate.AnnotationException: A Foreign key refering CountryRegion has the 
wrong number of column. should be 2


  | @Entity
  | @Table(name=location)
  | public class Location implements Serializable{
  | ...
  | @ManyToOne
  | @JoinColumns ( [EMAIL PROTECTED](nullable=false, name=region_code), 
@JoinColumn(nullable=false, name=country_code_1)})
  | public CountryRegion getCountryRegion() {
  | return countryRegion;
  | }
  | 


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914881#3914881

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914881


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - composite PK/FK

2005-12-28 Thread danjourno
I am trying to build a entity structure where I have a country table that uses 
ISO 3166 country codes as their PK, and a region table which also uses ISO3166 
codes as a composite PK. For example.. a record in the country_region table 
that refers to New South Wales in Australia will have a primary key of:

country_code_1 = AU (FK value for country table)
region_code = NS


So in summary I have a CountryRegion table that has a many(regions) to 
one(country) relationship with a Country table. The key for the CountryRegion 
table is a composite of the country code and the region code. 

I have referred to the wiki for this but am still a bit stuck on how to make 
this work.

I'll paste my code below.. If anyone could please look over an give me pointers 
as to where I'm going wrong I would be very grateful.

I have a Country entity, a CountryRegion entity, and an embeddable PK object 
called CountryRegion


The CountryRegion entity:

  | import java.io.Serializable;
  | import javax.persistence.EmbeddedId;
  | import javax.persistence.Entity;
  | 
  | import javax.persistence.*;
  | 
  | //import java.util.List;
  | 
  | @Entity
  | @Table(name = country_region)
  | public class CountryRegion implements Serializable {
  | 
  | java.lang.String name;
  | 
  | java.lang.String description;
  | 
  | CountryRegionPK pk;
  | 
  | public CountryRegion() {
  | }
  | 
  | @EmbeddedId
  | @AttributeOverrides({
  |  @AttributeOverride(name = regionCode, column = @Column(name = 
region_code)),
  |  @AttributeOverride(name = country, column = 
@Column(name=country_code_1))
  |})
  | public CountryRegionPK getPk() {
  | return pk;
  | }
  | 
  | public void setPk(CountryRegionPK pk) {
  | this.pk = pk;
  | }
  | 
  | @Column(name = description)
  | public java.lang.String getDescription() {
  | return description;
  | }
  | 
  | public void setDescription(java.lang.String description) {
  | this.description = description;
  | }
  | 
  | @Column(name = name)
  | public java.lang.String getName() {
  | return name;
  | }
  | 
  | public void setName(java.lang.String name) {
  | this.name = name;
  | }
  | 
  | }
  | 

The Country entity:


  | import java.io.Serializable;
  | 
  | import javax.persistence.*;
  | 
  | @Entity
  | @Table(name=country)
  | public class Country  implements Serializable {
  | 
  | java.lang.String countryCode1;
  | 
  | java.util.ListLocation locations;
  | 
  | java.util.ListCountryRegion countryRegion;
  | 
  | @Id
  | @Column(name=country_code_1)
  | public java.lang.String getCountryCode1() {
  | return countryCode1;
  | }
  | 
  | public void setCountryCode1(java.lang.String countryCode1) {
  | this.countryCode1 = countryCode1;
  | }
  | 
  | 
  | @OneToMany(fetch=FetchType.LAZY,mappedBy=country)
  | public java.util.ListLocation getLocations() {
  | return locations;
  | }
  | 
  | public void setLocations(java.util.ListLocation locations) {
  | this.locations = locations;
  | }
  | 
  | @OneToMany(fetch=FetchType.LAZY,mappedBy=country)
  | public java.util.ListCountryRegion getCountryRegion() {
  | return countryRegion;
  | }
  | 
  | public void setCountryRegion(java.util.ListCountryRegion 
countryRegion) {
  | this.countryRegion = countryRegion;
  | }
  | 
  | 
  | 
  | 
  | }
  | 

The Embedded primary key object:



  | 
  | import javax.persistence.Embeddable;
  | 
  | 
  | @Embeddable
  | public class CountryRegionPK implements java.io.Serializable{
  | 
  | 
  | 
  | private Country country;
  |private String regionCode;
  | 
  |public CountryRegionPK() {
  | super();
  | // TODO Auto-generated constructor stub
  | }
  | 
  |public CountryRegionPK(String regionCode, Country country)
  |{
  |   this.regionCode = regionCode;
  |   this.country = country;
  |}
  | 
  |public Country getCountry()
  |{
  |   return country;
  |}
  | 
  |public void setCountry(Country country)
  |{
  |   this.country = country;
  |}
  | 
  |public String getRegionCode()
  |{
  |   return regionCode;
  |}
  | 
  |public void setRegionCode(String regionCode)
  |{
  |   this.regionCode = regionCode;
  |}
  | 
  |public int hashCode()
  |{
  |   return (int) country.hashCode() + regionCode.hashCode();
  |}
  | 
  |public boolean equals(Object obj)
  |{
  |   if (obj == this) return true;
  |   if (!(obj instanceof CountryRegionPK)) return false;
  |   if (obj == null) return false;
  |   CountryRegionPK pk = (CountryRegionPK) obj;
  |   return pk.country.equals(country)  

[JBoss-user] [EJB 3.0] - TransientObjectException: object references an unsaved trans

2005-12-26 Thread danjourno
TransientObjectException: object references an unsaved transient instance - 
save the transient instance before flushing: package.path.Contact

I have a persistence object Affiliate that has a child object Contact.

This is shown in my contact object as   

@OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.ALL, mappedBy=contact)
  | public java.util.ListAffiliate getAffiliate() {
  | return affiliate;
  | }

I am populating a contact object and attaching to the affiliate object and 
trying to persist by running

em.persist(affiliate);

it compiles and deploys fine.. but when i run it i get the above error.

Any ideas what this might be? or how i can solve it?

Regards
Dan

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3914330#3914330

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3914330


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Generating WSDL on the fly in JBoss-WS

2005-12-15 Thread danjourno
Hi pdog,

Can you tell me which tutorial you used?

Thanks
Dan

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913041#3913041

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913041


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Entity Manager Question.

2005-12-14 Thread danjourno
I have a database relationship of two objects. The tables/objects are Company 
and Contact. 

Company has a foreign key relationship with Contact. Therefore Contact has a 
company property. This field is required, or not nullable.

What I am trying to do is create a contact from scratch, populate the company 
property with a new company (minus the @Id primary key fields) and submit them 
to the entity manager.. Hoping that it will create new records in each table 
and build the relationship between the two.

is this possibly by using em.persist(contact); ? Or do I need to persist them 
both individually and create the relationship manually?

Thanks
Dan

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912801#3912801

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3912801


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - ejb3 deployment problems.

2005-12-06 Thread danjourno
I have just completed creating my par file with pojos and mapping annotations 
etc.

I am now trying to deploy the par file and am getting strange errors relating 
to java.util.List.

I was getting another strange error earlier that had something to do with 
collection not supported yet since then i have simplified my code to try and 
figure out what is going wrong.

below is the current error, if anyone knows what it could be referring to.

19:21:17,771 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
MyEjb3Entity.entity.persistance.SupplierLocation
19:21:17,771 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
MyEjb3Entity.entity.persistance.SupplierProduct
19:21:17,787 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
MyEjb3Entity.entity.persistance.Product
19:21:19,787 WARN  [ServiceController] Problem creating service 
jboss.j2ee:service=EJB3,module=MyEjb3Entity.par
org.hibernate.AnnotationException: Unable to find entity java.util.List
at 
org.hibernate.cfg.AnnotationBinder.bindFkSecondPass(AnnotationBinder.java:1636)
at org.hibernate.cfg.FkSecondPass.doSecondPass(FkSecondPass.java:32)
at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:214)
at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:988)
at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:607)
at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:75)
at 
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:473)
at 
org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:202)
at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:78)
at 
org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253)
at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230)
at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:245)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:228)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943)
at $Proxy0.create(Unknown Source)
at org.jboss.system.ServiceController.create(ServiceController.java:341)
at org.jboss.system.ServiceController.create(ServiceController.java:284)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy10.create(Unknown Source)
at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:208)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
at $Proxy11.create(Unknown Source)
at 

[JBoss-user] [EJB 3.0] - Re: ejb3 deployment problems.

2005-12-06 Thread danjourno
I didn't want to post my code because there is alot of it. 
However, i think i have have solved the problem. And yes you were right.. i had 
incorrectly set my annotation relationships.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910898#3910898

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910898


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: EJB3.0 and Jboss IDE

2005-12-05 Thread danjourno
cool, thanks. :D

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910649#3910649

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910649


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user