[JBoss Tools (users)] - Red Hat Developer Studio Issues - JBoss View unavailable
by cbeels
I just did a clean install of Red Hat Developer Studio and I'm getting the same sort of problem I did when I installed Eclipse 3.3 from WTP all-in-one. Certain features (Spring IDE, JBoss Server View) just don't show up. The JBoss Server View is not present in Views under Servers, nor under the Preferences tab.
The error from the log I think is most likely responsible (guessing) is
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Missing whitespace before SYSTEM literal URI.
at org.eclipse.xsd.util.XSDResourceImpl.getDocument(XSDResourceImpl.java:344)
at org.eclipse.xsd.util.XSDResourceImpl.getDocument(XSDResourceImpl.java:372)
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:680)
at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:784)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094)
at org.eclipse.wst.xsd.contentmodel.internal.util.XSDSchemaLocatorImpl.locateSchema(XSDSchemaLocatorImpl.java:56)
I've put the whole log up at http://petitepalate.com/help/log.txt
Thanks in advance for your help.
Chris
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076506#4076506
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076506
18Â years, 8Â months
[JBoss Seam] - Re: Embedded EJB Testing Woes
by hsoldier
Hi Mike
your problem is that you are missing a JDBC data source bound in JNDI as "java:/ICTRCoreDatasource"
You will need a data source definition XML file (*-ds.xml) defined and deployed in to $JBOSS_SERVER/server//deploy directory.
The following is an example:
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE datasources
| PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
| "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd">
| <datasources>
| <local-tx-datasource>
| <jndi-name>ICTRCoreDatasource</jndi-name>
| <connection-url>
| jdbc:mysql://de01.gcrc.umn.edu/mwkohout_ictrcore
| </connection-url>
| <driver-class>com.mysql.jdbc.Driver</driver-class>
| <transaction-isolation>
| TRANSACTION_READ_COMMITTED
| </transaction-isolation>
| <user-name>mwkohout</user-name>
| <password>password</password>
| <min-pool-size>10</min-pool-size>
| <max-pool-size>10</max-pool-size>
| <exception-sorter-class-name>
| org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
| </exception-sorter-class-name>
| <metadata>
| <type-mapping>mySQL</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
|
As far as I know, with JBoss Seam 2.0.0.BETA1 and AS 4.2.0.GA, you no longer need the jboss-beans.xml file. My application does certainly work without one (both in TestNG/Embedded and real deployments).
Hope this helps.
Regards:
Peter
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076501#4076501
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076501
18Â years, 8Â months