[JBoss Tools (users)] - Re: JBoss Tools/App Server/Eclipse/Java versions. Getting t
by max.andersen@jboss.com
"JGF1" wrote : Hi folks.
|
| I'm interested in learning more about Hibernate and JBoss Tools.
| I'm in the process of reading Christian & Gavins excellent Java Persistence with Hibernate and trying to set up JBoss Tools in Eclipse..
|
| In the past I've installed Eclipse Europa edition file:
| eclipse-jee-europa-winter-win32.zip
|
| Eclipse Platform
| Version: 3.3.2
| Build id: M20080221-1800
|
| and JBoss 4.2.2GA.
|
| Selecting JBoss 4.2 in Eclipse never seemed to work....
|
| I don't know if there is something about the Java version I used that was causing problems, but I could never get Eclipse to detect either JBoss Server (or Glassfish)
| Menu navigation in Eclipse:
|
| | Window->
| | Preferences->
| | Server->
| | Installed Runtimes->
| | Search
| |
| See here:
| http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg22851.html
|
This has to do with how WTP works (no jboss tools involved).
I actually never used the search functionallity i in WTP and that also explains why we haven't implmented it ...we should. Please report that in jboss tools jira.
Anyhow - the way how this is done is File > New > Server, select JBoss, a division of Red Hat (the WTP ones are very bare-boned) - and point it to your install.
anonymous wrote :
| Since posting this time I've installed a couple of JRE's too to test applets in browsers, but never heard back from Eclipse forums..
| Java -version now yields:
|
| | java version "1.6.0_05"
| | Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
| | Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
| |
|
JBossTools will work on JDK 6, but JBoss AS does not support JDK 6 yet ( most things work though...just be warned ;)
anonymous wrote :
| Now I come on to JBoss Tools.
| I was looking at Hibernate Compatibility matrix here:
| http://www.hibernate.org/6.html
| It indicates that the latest release of Hibernate Core 3.2.6 GA requires 3.2.0 of Tools (rather confusingly labelled, because this relates to Hibernate Tools, not JBoss Tools)..
|
eeh there is no *requirement* for 3.2.6 GA to use 3.2.0 of tools. It is a *compatibliity* matrix and the rest of JBoss Tools i s irrelevant.
anonymous wrote :
| Now when I pointed Eclipse to:
| http://download.jboss.org/jbosstools/updates/stable/
| it downloads JBoss Tools 2.0.1.GA..
| If you look here:
| http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=24...
| you see 2.0.1GA contains Hibernate Tools 3.2.1
| Now this release is "ahead of the curve" with respect to what Hibernate Core 3.2.6GA says it needs. Is this ok? Is backward compatibility assured?
|
we don't introduce weird breakage in point releases.
anonymous wrote : Only I don't see a more recent version of Hibernate Core!
(For the folks at Hibernate. It would be a good idea to let us 'newbies' know about all these things and if you scroll down under download tab over at SourceForge you can find the contents of JBoss Tools & versions/archives, sort of like a manifest). I spent ages trying to find this stuff out..
I don't understand why you did not just download JBoss Tools or simply Hibernate tools if it is just hibernate tools you are interested in it ?
anonymous wrote :
| If you look at (JBoss Tools 2.0.0GA) version here:
| http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=24...
| This does have corresponding version for Hibernate Core..
| So why does Eclipse update url given above not point to a 2.0.0GA version instead of 2.0.1GA so everything is synchronised?
|
Why should our update site point to an *old* version ?
Why not take the latest GA from http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=24... ? why are you focused on 2.0.0.GA ?
anonymous wrote :
| Some guidance on what I need to do to properly set Hibernate Eclipse Java and JBoss AS and JBoss Tools all working in conjunction would be most appreciated.
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151371#4151371
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151371
18 years, 2 months
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, because the message was forwarded more than the maximum allowed times. This could indicate a mail loop.
drey(a)technodom.kz
18 years, 2 months
[JBoss Tools (users)] - JBoss Tools/App Server/Eclipse/Java versions. Getting thing
by JGF1
Hi folks.
I'm interested in learning more about Hibernate and JBoss Tools.
I'm in the process of reading Christian & Gavins excellent Java Persistence with Hibernate and trying to set up JBoss Tools in Eclipse..
In the past I've installed Eclipse Europa edition file:
eclipse-jee-europa-winter-win32.zip
Eclipse Platform
Version: 3.3.2
Build id: M20080221-1800
and JBoss 4.2.2GA.
Selecting JBoss 4.2 in Eclipse never seemed to work....
I don't know if there is something about the Java version I used that was causing problems, but I could never get Eclipse to detect either JBoss Server (or Glassfish)
Menu navigation in Eclipse:
| Window->
| Preferences->
| Server->
| Installed Runtimes->
| Search
|
See here:
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg22851.html
Initial install of Java came from file:
java_app_platform_sdk-5_04-windows.exe
Since posting this time I've installed a couple of JRE's too to test applets in browsers, but never heard back from Eclipse forums..
Java -version now yields:
| java version "1.6.0_05"
| Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
| Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
|
Now I come on to JBoss Tools.
I was looking at Hibernate Compatibility matrix here:
http://www.hibernate.org/6.html
It indicates that the latest release of Hibernate Core 3.2.6 GA requires 3.2.0 of Tools (rather confusingly labelled, because this relates to Hibernate Tools, not JBoss Tools)..
Now when I pointed Eclipse to:
http://download.jboss.org/jbosstools/updates/stable/
it downloads JBoss Tools 2.0.1.GA..
If you look here:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=24...
you see 2.0.1GA contains Hibernate Tools 3.2.1
Now this release is "ahead of the curve" with respect to what Hibernate Core 3.2.6GA says it needs. Is this ok? Is backward compatibility assured?
Only I don't see a more recent version of Hibernate Core!
(For the folks at Hibernate. It would be a good idea to let us 'newbies' know about all these things and if you scroll down under download tab over at SourceForge you can find the contents of JBoss Tools & versions/archives, sort of like a manifest). I spent ages trying to find this stuff out..
If you look at (JBoss Tools 2.0.0GA) version here:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=24...
This does have corresponding version for Hibernate Core..
So why does Eclipse update url given above not point to a 2.0.0GA version instead of 2.0.1GA so everything is synchronised?
Some guidance on what I need to do to properly set Hibernate Eclipse Java and JBoss AS and JBoss Tools all working in conjunction would be most appreciated.
Many thanks in advance.
Jeremy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151368#4151368
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151368
18 years, 2 months
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, because the message was forwarded more than the maximum allowed times. This could indicate a mail loop.
kamaliyev.renat(a)technodom.kz
18 years, 2 months
[Microcontainer] - Re: Get at Kernel from Unmanaged Object
by ALRubinger
"alesj" wrote : "ALRubinger" wrote :
| | 1) Decorator Pattern for anything wishing to leverage MC
| |
| I'm bad with names, if you can illustrate what this would do?
I use the term loosely for any wrapper object which adds behaviour to an existing implementation, just as you'd proposed. But Wikipedia defines it as a Runtime introduction, analogous (in final result anyway) to a Mixin in AOP (load- or instrument-time).
http://en.wikipedia.org/wiki/Decorator_pattern
"alesj" wrote : "ALRubinger" wrote :
| | 2) Kernel is transparent, but available, to anything in the process
| |
| All MC core objects are services inside MC's Controller, so they can be easily injected.
| But that means your POJOs are MC aware, not really a light decision to take.
| But if that's AS5 building block, then it should be a np.
| http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133488
Hm, that does introduce an API dependency which in a perfect universe should be avoided. Problem is, not all of our code is or can be an MC Bean itself.
Users of EJB3 have the same problem for unmanaged objects - they can't inject @Resource or @EJB, so they've gotta do a JNDI lookup.
For AS5, we're already dependent upon MC for the Deployment API, and we'll probably continue this trend for Standalone/Embedded spins. Plus MC is a perfect project anyway, right? So let's get married.
S,
ALR
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151364#4151364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151364
18 years, 2 months
[JBoss Messaging] - Intermittent issue where messages stuck on clustered queue
by yongz
Hi,
jboss-4.2.2.GA / jboss-messaging-1.4.0.SP3 / jboss-remoting-2.2.2.SP4
I have a jboss cluser with 3 nodes:
1. Each nodes has a clustered queue.
2. Each node sends messages to its local partial queue of this clustered queue using ConnectionFactory.
3. I am trying to use one listener that listens on this clustered queue.
My first attempt is to use one connection to create a receiver on the clustered queue, but it fails to receive messages on other nodes, and some messages stuck on their local partial queue. Then here is my second implementations of this listener:
1) Create 3 connections/sessions using ClusteredConnectionFactory, so it supposes to be round-robin and creates one connection to each node.
2) Create one receiver with msg selector on each session using:
session.createReceiver(_replyQueue, selector.toString());
Then add these 3 receivers into a list.
3) When the listener needs to retrieve a message, it goes through this receiver list:
for(QueueReceiver receiver : replyQueueReceivers) {
Message msg = receiver.receiveNoWait();
if(msg != null && msg instanceof ObjectMessage) {
ObjectMessage objMsg = (ObjectMessage) msg;
return objMsg;
}
}
This approach works in most cases. However, sometime I found the listener fails to retrieve messages that are in the queue. From jmx console, I can see there is one message in the queue, and there is one consumer(which is the listener) on the queue, but it appears the message stuck in the queue and listener fails to retrieve it.
Any ideas? Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151363#4151363
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151363
18 years, 2 months