[jboss-user] [Installation, Configuration Deployment] - Re: Maven 2 repository issues

2007-02-27 Thread jactor
Thanx for the repository link. When you add a dependency to the pom.xml, the dependencies will be loaded to your local repository. My problem is to find some jar files: jbossall-client.1.0 jboss-ejb.3x jboss-annotations-ejb.3.0 Help! View the original post :

[jboss-user] [Installation, Configuration Deployment] - Re: Maven 2 repository issues

2007-02-27 Thread jactor
I have allready installed them at the local repository, but want to find the jar files from a remote repository. This will enable me to get the latest version if something is updated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4023214#4023214 Reply to the

[jboss-user] [Installation, Configuration Deployment] - Maven 2 repository issues

2006-12-12 Thread jactor
Hi! I am refactoring an applications which was build and deployed using Apache Ant into a build by Maven 2 and am having troubles finding 3 jar files in the maven repository (http://repo1.maven.org/maven2/). Help me in stating the correct jar files which should be used. The jar files,

[jboss-user] [Installation, Configuration Deployment] - Deploy a service archive using maven

2006-12-07 Thread jactor
I am deploying a service archive (SAR) with ant (building the archive as a jar file and using the extention sar instead of jar) without troubles, but it is difficult when I now want to package the archive with maven 2. In the pom.xml: ... | packagingsar/packaging | ... The console: ...

[jboss-user] [EJB 3.0] - Re: Deployment dependencies...

2006-11-19 Thread jactor
Thanx for the reply! I am sorry to say that I have not modified this thread after discovering the problem. I had a typo in my xml and am frustrated over not noticing this earlier. Your suggestion is good. My ant-task is simular to your fix, so this has never been an issue. I did not know you

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBossRollbackException

2006-11-07 Thread jactor
A strange situation! I have persisted an entity bean, but when I try to read (READ) the entity back with a query object given by the entity manager, a rollback exception is thrown... ...my questions: why? and what can I do to avoid this? The exception: |

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: JBossRollbackException

2006-11-07 Thread jactor
After a lot of searching I found a bug in one of my constructors which will cause my code to fail. It should not be used as the entity manager is not to use other constructors than a no argument one, but Because of the bug in the first place, I have never come around to bug test the rest

[jboss-user] [Management, JMX/JBoss] - Re: Multiple depends

2006-09-28 Thread jactor
Thanx a billion!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3974797#3974797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3974797 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - Re: Deployment dependencies...

2006-09-28 Thread jactor
please describe how you have packaged your application. Are things in an EAR? If not, what is in which jars? As I mentioned earlier: anonymous wrote : I am creating a jar including all the beans except the MBean. I am creating a sar including the MBean and the jar created earlier. Both of

[jboss-user] [Management, JMX/JBoss] - Re: Multiple depends

2006-09-27 Thread jactor
Thanx for this solution! I will try it on my beans. I am using jboss-4.0.4.GA as well so I hope this will fix my problem!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3974421#3974421 Reply to the post :

[jboss-user] [Management, JMX/JBoss] - Re: Multiple depends

2006-09-27 Thread jactor
I am sorry. It seemed like the solution, but the MBean are still started... My jboss-service.xml: server | mbean code=concept.jmx.Checker name=concept:jmx=concept.jmx.Checker | /mbean | depends-list | depends |

[jboss-user] [EJB 3.0] - Deployment dependencies...

2006-09-27 Thread jactor
I am having trouble deploying a session bean and three entity beans. I use jboss-4.0.4.GA. This is part of another issue (http://www.jboss.org/index.html?module=bbop=viewtopict=91339) which troubles me. I get this is my log: anonymous wrote : --- MBeans waiting for other MBeans --- |

[jboss-user] [EJB 3.0] - Re: Deployment dependencies...

2006-09-27 Thread jactor
I thought I found the solution... I am one step closer, but now this is the case:anonymous wrote : --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:service=EJB3,module=concept.jar | State: FAILED | Reason: java.lang.RuntimeException: Field protected

[jboss-user] [EJB 3.0] - Re: Deployment dependencies...

2006-09-27 Thread jactor
I discovered the solution for this deployment. The unitName in the annotation is no longer working and must be declared as name... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3974476#3974476 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Deployment dependencies...

2006-09-27 Thread jactor
... and my frustration is growing... I restarted the server and then experienced another error: anonymous wrote : --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:module=concept.jar,uid=31374579,service=EJB3 | State: FAILED | Reason: java.lang.RuntimeException:

[jboss-user] [Installation, Configuration Deployment] - Deployment issues...

2006-09-27 Thread jactor
I have used the installer (patch 1) to setup a configuration of JBoss which use 'all' and 'ejb3'. That is to say that I first setup jboss with the 'all' configuration and then setup jboss with the 'ejb3' confiiguration. I use the same configuration name for both setups. I hope this is the

[jboss-user] [Management, JMX/JBoss] - Re: Multiple depends

2006-09-26 Thread jactor
I discovered that when I restart the server and I have the MBean in the deploy folder, the MBean gets deployd right away without waiting for any depends to be deployed. What am I doing wrong? Here is the jboss-service.xml: ?xml version=1.0 encoding=UTF-8? | | server | mbean

[jboss-user] [Management, JMX/JBoss] - Multiple depends

2006-09-25 Thread jactor
I am trying to develop a service which is using a stateless session bean (EJB3). So I am dependent of this bean, but this bean is dependent on a persistence unit which seems to be deployed. ObjectName: jboss.j2ee:jar=concept.jar,name=EntityServiceBean,service=EJB3 | State: NOTYETINSTALLED

[jboss-user] [Management, JMX/JBoss] - Re: Multiple depends

2006-09-25 Thread jactor
... I had a typo... anonymous wrote : this bean is dependent on a persistence unit which seems NOT to be deployed. | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3973851#3973851 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Detached entity passed to persist

2006-09-22 Thread jactor
Please help me this so I can avoid the big head ache... After a variety of debugging, this is the case: | ... | B b = a.getB(); | long id = saveOrUpdate(b); // Autoboxing. Originally an instance of Long | entityManager.flush(); | b.setId(id);

[jboss-user] [EJB 3.0] - Detached entity passed to persist

2006-09-19 Thread jactor
Hi! I receive an error when I try to persist an entity bean. I have a bean (A) which relates to another bean (B). This relation is annotated as @ManyToOne(cascade = CascadeType.ALL) and @JoinColumn(nullable = false) The enity bean (B) has only one property beside the autogenerated id (Long)

[jboss-user] [EJB 3.0] - Persisting

2006-07-21 Thread jactor
I am trying to develop a entity which extends another entity and which use the annotation @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS), but this only provides an exception as the sub class does not have an @Id annotated: org.hibernate.MappingException: Cannot use identity column key

[jboss-user] [EJB 3.0] - Re: Persisting

2006-07-21 Thread jactor
I had the idea that @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) would give a new table with every field from the sub classes and mother class in this table. I searched the final draft on persistence after this notation but I came up with no suitable instances found. Is this

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Persisting

2006-07-21 Thread jactor
I recently put this in the EJB forum and later discovered that this is where it should be: I am trying to develop a entity which extends another entity and which use the annotation @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS), but this only provides an exception as the sub class

[jboss-user] [Remoting] - RMI

2006-07-21 Thread jactor
I am working with an old application which use RMI and am looking for a simple way to tunnel RMI over secure HTTP to avoid any hassle with firewalls. Is there an easy way to do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3959847#3959847 Reply to the

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Persisting

2006-07-21 Thread jactor
I discovered the annotation @MappedSuperClass which does exactly what I intend to achieve. However; there is a new situation with this. I now have a class (@MappedSuperClass) called MappedClass which an @Entity called Entity extends. I now want to extend Entity with another @Entity called

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Persisting

2006-07-21 Thread jactor
Bug searching and testing of the @MappedSuperClass ensures me that it works as I hoped. I am sorry for using thread space for such errors when my frustration growed after reading x documents. The compiler error (which was indeed strange) was my own fault (who else). In my source I used extend

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-19 Thread jactor
Anyone. Please help! And where does all the logging go? On the 4.0.3, Hibernate logged a lot when persitent beans where deployed and some other components where logging quite a bit when EJBs where deployed, but know I only get this: | 2006-07-19 09:18:03,347 INFO

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-19 Thread jactor
I found the reason for the non-deployment, and I know hope to get some tips on how to fix it. According to the trailblazer: anonymous wrote : All the EJB 3.0 libraries and server-wide configuration files are located in the [server_installation]/server/default/deploy directory... | * The

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-19 Thread jactor
anonymous wrote : EJB 3.0 RC6 already comes with JBoss 4.0.4CR2 Where do I download 4.0.4RC2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3959061#3959061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3959061

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-19 Thread jactor
anonymous wrote : Important Note for JBoss 4.0.4 CR2+: You have to use the installer to install EJB 3.0 support in your server. The ZIP installation file of the server does not provide EJB3 support. Is the JBoss 4.0.4 GA a releace which is later than CR2? If so; how do you provide EJB3 support

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-19 Thread jactor
I have been going through lots of documents on EJB3 and discovered that EJB3 has evolved quite a bit since the 4.0.3SP1 release. I still need to know how to get jboss 4.0.4.GA to run with EJB3 embedded. How? Since the implementation of EJB3 has changed, where can I dowload the latest jar files

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-18 Thread jactor
Thanx! After looking a bit on the trailblazer, it confirmed your story. But still... What am I doing wrong... The trailblazer: anonymous wrote : To deploy the entity beans in an application, you can just package their class files in a JAR file. The EJB 3.0 specification also requires a

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-18 Thread jactor
JBoss is giving the reply that it is starting the J2EE application if you deploy them within an ear, but I am unable to use them with an ejb (previously deployed in a ejb3-archive) and the exception is NameNotFoundException: 'bean' not bound. I suspect this is because JBoss is trying to deploy

[jboss-user] [Installation, Configuration Deployment] - Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-17 Thread jactor
I was running an application on jboss-4.0.3SP1 and there was no errors. I am trying to deploy the same application on jboss 4.0.4, but it wont deploy: | [EMAIL PROTECTED] { url=file:/C:/APPS/jboss-4.0.4.GA/server/all/deploy/concept.par } | deployer: null | status: null | state:

[jboss-user] [Installation, Configuration Deployment] - Re: Converting from jboss 4.0.3 to 4.0.4... Deploy

2006-07-17 Thread jactor
The second error is my own wrong doing... I forgot to remove some old configuration from the build script. But the first deployment-waiting is still a mysteri... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3958493#3958493 Reply to the post :