[jboss-user] [EJB 3.0 Users] - Re: unidirectional and bidirectional relationship

2009-12-10 Thread amira88
Wolfgang Knauf wrote : Hi, | | what is an oaw project ;-)? | | I assume that this is a project type in eclipse which is provided by some plugin? | | The add to server works only for EJB projects, EAR projects and Dynamic Web Projects. Maybe you can convert the oaw project to one

[jboss-user] [EJB 3.0 Users] - Re: unidirectional and bidirectional relationship

2009-12-10 Thread amira88
Hi Sir, in my classes i have a manytomany relationshipm between 2 entities (Student and course) so should i create an interface Studentcourse that contain the definition of functions , a class StudentcourseUniBean that implements this interface and also all functions and a client class

[jboss-user] [EJB 3.0 Users] - Re: unidirectional and bidirectional relationship

2009-12-09 Thread amira88
Wolfgang Knauf wrote : Hi, | | assume that you have a relation Person has many addresses with two entities Person and Address. | | If you declare a bidirectional relationship, your code can navigate from Person to Address, and from Adress to Person. | | With a unidirectional

[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

2009-12-08 Thread amira88
Wolfgang Knauf wrote : Hi, | | you should take a look at the warnings which appear on deploy: | anonymous wrote : 1) | | 06:09:25,956 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean HotelTestBean, will create some | | | | 2) | |

[jboss-user] [EJB 3.0 Users] - unidirectional and bidirectional relationship

2009-12-08 Thread amira88
Hi everybody, What's the difference between unidirectional relationship and bidirectional relationship!! Best Regards View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4269671#4269671 Reply to the post :

[jboss-user] [Beginner's Corner] - Re: jBoss starting error:Unable to register deployment mbean

2009-12-07 Thread amira88
PeterJ wrote : Try this: change two lines in the *-ds.xml file that you copied: | | 1) Give it a different jndi-name value | 2) Give it a different database name value (change 'localDB' in connection-url to something else) | | You will probably have to change your code to reference

[jboss-user] [Beginner's Corner] - jBoss starting error:Unable to register deployment mbean jbo

2009-12-06 Thread amira88
hi, When i depoly an ejb3 application but when i run the server i get this errors ; | | | 04:26:04,115 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.jbosssessionbeanmetad...@2ee02d8b{booktestbean} | 04:26:04,121 WARN

[jboss-user] [JNDI and Naming] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-12-06 Thread amira88
jaikiran wrote : Yes an exploded jar file should be fine. I don't see a reason why the metadata is not created for this jar. Please create a JIRA in EJBTHREE project here https://jira.jboss.org/jira/browse/EJBTHREE and assign it to me. Also, if possible please attach the small application which

[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

2009-12-05 Thread amira88
Wolfgang Knauf wrote : hi, | | see http://www.jboss.org/community/wiki/EJB3relationships and search for your error message cannot simultaneously fetch multiple bags. | | Hope this helps | | wolflfgang Hi Mr Knauf, I still have this error when i start the server: | 04:26:00,264

[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

2009-12-05 Thread amira88
I have this warn too: 1) 06:09:25,956 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean HotelTestBean, will create some 2) 06:09:27,485 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname:

[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

2009-12-05 Thread amira88
Hi Mr knauf: I fixed all the server starting problem but when i run the ClientA i get this error and i can't understand it: [CODE] 08:08:44,525 DEBUG TimedSocketFactory:87 - createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0

[jboss-user] [JBoss Messaging Users] - Re: Destination COnfiguration issue with Jboss 5 and Messagi

2009-12-05 Thread amira88
PeterJ wrote : Yashendra, it would help if you told us exactly what you did. | | Also, see if this helps: http://www.jboss.org/index.html?module=bbop=viewtopicp=4224936#4224936 | | The instructions that abdujaparov and I posted are for switching DefaultDS to use a MySQL database, but

[jboss-user] [Installation, Configuration Deployment] - Error installing to Start: name=persistence.unit:unitName=#

2009-12-04 Thread amira88
Hi, I am trying to deploy an EJB3 on jBoss 5.0.0.GA and I am receiving this message error: | 02:59:52,044 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#sample state=Create | javax.persistence.PersistenceException: [PersistenceUnit: sample]

[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

2009-12-04 Thread amira88
Sorry i meant persistence.xml and not persistence.properties Stress effect !! i still have the problem HLLL View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268936#4268936 Reply to the post :

[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR

2009-12-04 Thread amira88
Wolfgang Knauf wrote : Hi, | | in my Properties snippet, there is one thing you have to replace with your own config: the j2ee.clientName should be declared in your jboss-client.xml file. | But you don't need this line if you don't want to use the ENC for lookup. | | What do you mean

[jboss-user] [Installation, Configuration Deployment] - Re: Error installing to Start: name=persistence.unit:unitNa

2009-12-04 Thread amira88
Wolfgang Knauf wrote : Hi, | | see http://www.jboss.org/community/wiki/EJB3relationships and search for your error message cannot simultaneously fetch multiple bags. | | Hope this helps | | WolfgangtHANK U MR KNAUF: all this error disappeared but when i run the client class i have

[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR

2009-12-03 Thread amira88
Hi Mr wolfgang, i'm just using u property code: Properties props = new Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.setProperty(Context.URL_PKG_PREFIXES, org.jboss.naming.client);

[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR

2009-12-03 Thread amira88
Wolfgang Knauf wrote : Hi, | | Do you have a jndi.properties file? If not, you have to provide some properites to InitialContext: | Properties props = new Properties(); | | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); |

[jboss-user] [EJB 3.0 Users] - NotBound ERRoR

2009-12-02 Thread amira88
Hi EveryBody, after running the client i have this error and i can't find a solution:I'm running the client in another java project which contain the jindi.properties and log4j.properties. My HotelTestBean.java and HotelTestBeanLocal.java and HotelTestBeanRemote.java are in another ejb

[jboss-user] [EJB] - Re: JNDI Lookup error after deploying EJB3 jar as a part of

2009-12-02 Thread amira88
Hi , Please i have the same problem but i don't have this ear file what ihave to do Thank's a lot View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268467#4268467 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268467

[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR

2009-12-02 Thread amira88
Hi Mr Knauf, I'm so sorry for late reply i was at university! yes i have the jndi.properties: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces java.naming.provider.url=localhost:1099 HotelTestBean.RemoteJNDIName=

[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR

2009-12-02 Thread amira88
Hi Sir, after a reaserch i wanna tell you that my appl is an EjB jar , so everything is correct as u said it to me! so what is the problem should i install another jboss server Thank you in advance View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268633#4268633

[jboss-user] [Beginner's Corner] - Re: Error with jboss start

2009-11-28 Thread amira88
Thank u so much sir i'll try it now View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267888#4267888 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267888 ___ jboss-user mailing list

[jboss-user] [Beginner's Corner] - Re: jboss and wtp

2009-11-28 Thread amira88
it's a question sir View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267889#4267889 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267889 ___ jboss-user mailing list

[jboss-user] [Beginner's Corner] - Re: Error with jboss start

2009-11-28 Thread amira88
THANK U *1 Sir it's All resolved by ur link View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267891#4267891 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267891

[jboss-user] [Beginner's Corner] - Re: jboss and wtp

2009-11-28 Thread amira88
Thank u sir . View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267902#4267902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267902 ___ jboss-user mailing list

[jboss-user] [Beginner's Corner] - Error with jboss start

2009-11-27 Thread amira88
Hi, i wanna create my tables from ejb3 entities by using jboss:but when i start the jboss server it show me his errors; 14:33:44,041 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/Bdejb3.jar/ state=Not Installed mode=Manual

[jboss-user] [Beginner's Corner] - Re: Error with jboss start

2009-11-27 Thread amira88
This is my persistence.xml; persistence-unit name=myapp org.hibernate.ejb.HibernatePersistence jta-data-sourcejava:/DefaultDS/jta-data-source property name=hibernate.dialect value=org.hibernate.dialect.HSQLDialect/

[jboss-user] [Beginner's Corner] - jboss and wtp

2009-11-27 Thread amira88
Hi, if we wanna use jboss we must have wtp installed thank u View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267863#4267863 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267863

[jboss-user] [Beginner's Corner] - jboss installation

2009-11-18 Thread amira88
hallo everybody, i try to install jboss 4.0.5,but i could not. from 8 hours i downloaded the ems-installer-1.2.0.CR1.jar­­ and jboss.4.0.5.GA (ZIP folder) but nothing is happen!! please help. thank you so much View the original post :

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hello Mr Peter, now i execute the (jems-installer-1.2.0.CR1 ) jar :a graphical installer and an error is always appearing (java.io.filenotfound exception) in the end of installation. searching for a solution take me 8 hour sir. so after downloading the 5.0 version what i have to do after

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hi Mr Peter, i unzipped the zip file us you said after that i put this commande in dos shell: cd c:\unzipped file\bin chmod a+x *.sh but an error is generated chmod commande do not exist. is it write what i did sir thank you sir View the original post :

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hi sir , sorry for the mistake is it right what i did sir thank you View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266392#4266392 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266392

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
i tried .\run.sh command but a window appeared: windows can not open this file run.sh u should choose a program to do it: use web service or use installed program View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266393#4266393 Reply to the post :

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
sorry sir bad luck Error:no server jvm at c:\progrmfiles\java\jre1.6.0-07\bin\server\jvm.dll View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266398#4266398 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4266398

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
Hi mr peter, every thing is good now : i Opened a browser, and entered the url: http://localhost:8080. and i-m seeing the home page. is it the final step. jboss is installed now if its not what i have to do thank you so much sir ,this is only because of you thank you another time View the

[jboss-user] [Beginner's Corner] - Re: jboss installation

2009-11-18 Thread amira88
thank u *1000 mr peter but where i have to put the code %JAVA% -server -version 21 | findstr /I hotspot nul if not errorlevel == 1 ( set JAVA_OPTS=%JAVA_OPTS% -server ) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266416#4266416 Reply to