[JBoss Tools] New message: "Re: Smooks editor does not work in JBossTools 3.1 RC2"
by Peter Swartwout
User development,
A new message was posted in the thread "Smooks editor does not work in JBossTools 3.1 RC2":
http://community.jboss.org/message/529748#529748
Author : Peter Swartwout
Profile : http://community.jboss.org/people/spincycle
Message:
--------------------------------------------------------------
Is there a workaround? I'm having this issue when trying to create Hibernate mapping files via wizard. I have Eclipse 3.5.2 and updated JBoss Tools 3.1 "All JBoss Tools" from http://download.jboss.org/jbosstools/updates/development.
Thanks very much!
Message: Unhandled event loop exception
java.lang.NullPointerException
at org.hibernate.eclipse.jdt.ui.wizards.TypeVisitor.visit(ConfigurationActor.java:458)
at org.eclipse.jdt.core.dom.ArrayType.accept0(ArrayType.java:139)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.hibernate.eclipse.jdt.ui.wizards.ProcessEntityInfo.createProperty(ConfigurationActor.java:400)
at org.hibernate.eclipse.jdt.ui.wizards.ProcessEntityInfo.createProperty(ConfigurationActor.java:395)
at org.hibernate.eclipse.jdt.ui.wizards.ProcessEntityInfo.visit(ConfigurationActor.java:347)
at org.eclipse.jdt.core.dom.FieldDeclaration.accept0(FieldDeclaration.java:279)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2551)
at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2480)
at org.hibernate.eclipse.jdt.ui.wizards.ConfigurationActor.createConfiguration(ConfigurationActor.java:144)
at org.hibernate.eclipse.jdt.ui.wizards.ConfigurationActor.createConfigurations(ConfigurationActor.java:125)
at org.hibernate.eclipse.jdt.ui.wizards.NewHibernateMappingFileWizard.createConfigurations(NewHibernateMappingFileWizard.java:530)
at org.hibernate.eclipse.jdt.ui.wizards.NewHibernateMappingFileWizard.getPlaces2Gen(NewHibernateMappingFileWizard.java:287)
at org.hibernate.eclipse.jdt.ui.wizards.NewHibernateMappingFileWizard.performFinish(NewHibernateMappingFileWizard.java:362)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529748#529748
16 years, 1 month
[JBoss Tools] Document updated/added: "JbtMetawidgetSupport "
by Richard Kennard
User development,
The document "JbtMetawidgetSupport ", was updated Mar 3, 2010
by Richard Kennard.
To view the document, visit:
http://community.jboss.org/docs/DOC-14240#cf
Document:
--------------------------------------------------------------
h1. JBoss Tools Metawidget Support
This page is an attempt to collect together ideas and proposals for what http://metawidget.org support may look like within JBoss Tools.
h2. metawidget.xml
Metawidget can (optionally) be configured with an external XML file, typically named metawidget.xml. For more details see http://metawidget.org/doc/reference/en/html/ch01.html#section-introductio....
*XML Schemas*
This XML format is similar to the Seam components.xml format, in that it uses XML namespaces to both identify Java packages and allow XML schema validation. The XML schemas for all Metawidget components are automatically generated at http://metawidget.org/xsd. For example http://metawidget.org/xsd/org.metawidget.jsp.tagext.html.layout-1.0.xsd.
JBoss Tools could help metawidget.xml construction by being aware of all XML schemas in http://metawidget.org/xsd.
*ConfigReader*
Metawidget processes metawidget.xml using a ConfigReader class. This is lightweight, and it may be possible to run it in addition to XML schema validation to detect such errors as, say, class or package name incorrectly specified.
ConfigReader also does some sanity checks of its own, such as checking whether certain classes implement .equals and .hashCode, and it may to nice to alert the user of these at development time rather than application startup time.
h2. Annotations
Metawidget supports a lot of third-party annotations, but also supplies some of its own. These could be discovered and autocompleted by the UI. Details at http://metawidget.org/doc/api/index.html.
h2. TLDs
Metawidget includes TLDs for all tags, detailed here http://metawidget.org/doc/taglib/index.html
--------------------------------------------------------------
16 years, 1 month
[JBoss Messaging] New message: "where are jboss <mbean> contents defined?"
by Rebecca Powell Powell
User development,
A new message was posted in the thread "where are jboss <mbean> contents defined?":
http://community.jboss.org/message/529739#529739
Author : Rebecca Powell Powell
Profile : http://community.jboss.org/people/aemcat
Message:
--------------------------------------------------------------
Can anyone point me to documentation specifying all the jboss mbean, and what the valid 'depends' and 'attributes' are?
I've been looking but can't find anything.
For example, what else could be in the TopicService mbean besides the below?
What are all the possible attributes? Are there other depends attributes?
I.E. If I didn't already have a sample for this or other mbeans, or was wondering if anything is missing, how could I know how to construct the mbean?
<
mbean code=+"org.jboss.jms.server.destination.TopicService"+
name=+"jboss.messaging.destination:service=Topic,name=MyTopic"+
xmbean-dd=+"xmdesc/Topic-xmbean.xml"+>
<depends optional-attribute-name=+"ServerPeer"+>jboss.messaging:service=ServerPeer</depends>
<depends>jboss.messaging:service=PostOffice</depends>
<attribute name=+"SecurityConfig"+>
<security>
<role name=+"guest"+ read=+"true"+ write=+"true"+/>
<role name=+"publisher"+ read=+"true"+ write=+"true"+ create=+"false"+/>
<role name=+"durpublisher"+ read=+"true"+ write=+"true"+ create=+"true"+/>
</security>
</attribute>
</mbean>
Thank you!
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529739#529739
16 years, 1 month
[JBoss Messaging] New message: "Sending message to JBOSS queue from WebSphere"
by Hitesh Patel
User development,
A new message was posted in the thread "Sending message to JBOSS queue from WebSphere":
http://community.jboss.org/message/529717#529717
Author : Hitesh Patel
Profile : http://community.jboss.org/people/sunil_patel
Message:
--------------------------------------------------------------
Hello
I am trying to send a message to JBOSS (soa-p.5.0.0) queue from WebSphere 6. I followed these steps:
1. Create a queue in JBOSS.
2. Create a JMS providers (JBoss Messaging Provider) in WebSphere.
3. Created a Queue connection factories.
4. Created a queue with external jndi name same as provided in step 1.
5. Wrote a servlet to test this. It has similar code as SendJMSMessage in HelloWorld quickstarts.
It is throwing
javax.jms.IllegalStateException: Isn't an XASession
at org.jboss.jms.client.JBossSession.getSession(JBossSession.java:381)
Does anyone have an idea what I am doing wrong?
Thanks
Hitesh
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/529717#529717
16 years, 1 month