[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-18 Thread jaikiran
Thanks, i could reproduce this with this EAR. There's some issue with the 
injection probably related to https://jira.jboss.org/jira/browse/EJBTHREE-1289 
which causes that exception when an ejb-jar.xml file is present in the ejb jar 
file. So the workaround is to remove the ejb-jar.xml file from your 
jcompany_jsf_modelo.jar ejb jar and deploy the application. I guess that 
deleting that xml file should be OK for you since it does not contain anything 
except the display name:


  | 
  | jcompany_jsf_modelo
  | 
  |  

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183025#4183025

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread rogerio.baldini
Hi,

I post my simplifyed ear to help you help me.

http://rapidshare.com/files/155032504/jcompany_jsf_ear.ear.html

Thanks.
Rogerio.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183005#4183005

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183005
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread rogerio.baldini
It's only one ear called jcompany_jsf_ear.ear generated by maven.


  | jar -tf jcompany_jsf_ear.ear
  | 
  | 
  | META-INF/
  | META-INF/MANIFEST.MF
  | asm-1.5.3.jar
  | asm-attrs-1.5.3.jar
  | aspectwerkz-2.0.jar
  | cglib-2.1_3.jar
  | commons-beanutils-1.7.0.jar
  | commons-collections-3.2.jar
  | commons-digester-1.7.jar
  | commons-lang-2.1.jar
  | commons-logging-1.0.4.jar
  | commons-logging-api-1.0.4.jar
  | dom4j-1.6.1.jar
  | ejb3-persistence-3.1.jar
  | hibernate-annotations-plc-3.2.0.jar
  | hibernate-entitymanager-3.2.0.jar
  | hibernate-plc-3.2.5.1-GA.jar
  | jboss-archive-browsing-5.0.0alpha.jar
  | jcompany_comuns-5.1.3-SNAPSHOT.jar
  | jcompany_doc-5.1.3-SNAPSHOT.jar
  | jcompany_jsf.war
  | jcompany_jsf_comuns.jar
  | jcompany_jsf_modelo.jar
  | jcompany_modelo-5.1.3-SNAPSHOT.jar
  | log4j-1.2.13.jar
  | META-INF/application.xml
  | META-INF/jboss-app.xml
  | META-INF/sun-application.xml
  | xml-apis-1.0.b2.jar
  | META-INF/maven/
  | META-INF/maven/powerlogic.app/
  | META-INF/maven/powerlogic.app/jcompany_jsf_ear/
  | META-INF/maven/powerlogic.app/jcompany_jsf_ear/pom.xml
  | META-INF/maven/powerlogic.app/jcompany_jsf_ear/pom.properties
  | 


application.xml


  | 
  | 
  | 
  | jcompany_jsf_ear
  | jcompany_jsf_ear
  | 
  |   jcompany_modelo-5.1.3-SNAPSHOT.jar
  | 
  | 
  | jcompany_jsf_modelo.jar
  | 
  | 
  | jcompany_jsf_comuns.jar
  | 
  | 
  |   jcompany_comuns-5.1.3-SNAPSHOT.jar
  | 
  | 
  |   commons-beanutils-1.7.0.jar
  | 
  | 
  | 
  | jcompany_jsf.war
  | jcompany_jsf
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182944#4182944

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182944
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread jaikiran
Could you please let us know your packaging of the application? Do you have one 
EAR or more than one EAR? And what does each one contain? And what is the 
contents of application.xml? And post the output of:

jar -tf myapp.ear 

Where myapp.ear is your ear filename (if you are deploying as a jar and not an 
ear then post the output of myapp.jar).


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182938#4182938

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread rogerio.baldini
This could help...
https://jira.jboss.org/jira/browse/EJBTHREE-1434

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182925#4182925

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread rogerio.baldini

  | @Remote
  | public interface IPlcDAORemote extends IPlcDAO {
  | 
  | }
  | 
  | 
  | @Local
  | public interface IPlcDAO {
  | ...
  | }
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182910#4182910

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182910
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread jaikiran
Can you post the code of IPlcDAO and IPlcDAORemote including the annotations on 
them? And while posting the logs or xml content or code, remember to wrap it in 
a code block using the Code button in the message editor window and please hit 
the Preview button to make sure your post is correctly formatted. That will 
make it easier to understand the code.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182909#4182909

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182909
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread rogerio.baldini
Thanks a lot for your time.
I will try to explain better my organization.

I have a BO (EJB) where is injected a DAO (EJB) and this DAO has a injection of 
PersistenceContext.

@Stateless(name="PlcBaseBO", mappedName="PlcBaseBO")
@TransactionManagement(TransactionManagementType.CONTAINER)
public class PlcBaseBO extends PlcBaseBC implements IPlcBO, IPlcBORemote {
 @EJB(name="PlcBaseJpaDAO") IPlcDAO plcDAO;
...  
}   


@Stateless(name="PlcBaseJpaDAO", mappedName="PlcBaseJpaDAO")
@TransactionManagement(TransactionManagementType.CONTAINER)
public class PlcBaseJpaDAO extends PlcBaseDAO implements IPlcDAO, IPlcDAORemote 
{
 @PersistenceContext protected EntityManager em;

}


I see in debug mode that the problem is occurring in  
Ejb3JBoss5Deployment(Ejb3Deployment).getEjbJndiName(Class) 
when it's trying to 
deploymentScope.getEjbContainer(businessIntf, relativePath);
with parameters:
interface com.powerlogic.jcompany.persistencia.IPlcDAO
jcompany_modelo-5.1.3-SNAPSHOT.jar

And an important thing: this ear is working fine in Glassfish.

Thanks again.
Rogerio.





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182905#4182905

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182905
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread jaikiran
anonymous wrote : I am trying to inject it in another EJB

Please post that exact code. And how have you packaged the EJBs? Please provide 
more details about the application


While posting the logs or xml content or code, remember to wrap it in a code 
block using the Code button in the message editor window and please hit the 
Preview button to make sure your post is correctly formatted

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182894#4182894

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182894
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread rogerio.baldini
I am trying to inject it in another EJB, but I don't know if it makes any sense 
in this context, because there is an explicity error in this line.

I am trying to debug jboss source code and I discovered that container variable 
is null. I don't know why.

I am using Java 6 and jBoss 5.0.0 RC2.

Thanks a lot.

Rogerio.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182893#4182893

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182893
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2008-10-17 Thread jaikiran
Is this the only EJB code that you have? Do you have any other place where you 
are trying to inject the bean? And which version of JBoss and Java are you 
using?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182884#4182884

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182884
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: deployment problem:--- MBeans waiting for other MBeans -

2006-09-28 Thread suelze81
Did you already find a solution?
I got the same error message, and i really don't know what to do.
Thank you for any reply.

Sylvia

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975003#3975003

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975003
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Deployment problem

2006-07-17 Thread PeterJ
Which line of your code generated the exception?

Is this line a typo: em.persist(em);  (should read em.persist(tm);)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958515#3958515

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958515
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user