[JBoss JIRA] Created: (JBIDE-7093) [Web Service wizard] Error creating web service top down
by Brian Fitzpatrick (JIRA)
[Web Service wizard] Error creating web service top down
--------------------------------------------------------
Key: JBIDE-7093
URL: https://jira.jboss.org/browse/JBIDE-7093
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.0.1.GA
Reporter: Brian Fitzpatrick
Assignee: Feng Qian
Attachments: BuscarExpedientePorPkWS.wsdl, jbosstools-diagnostics-20100917171023.zip
The steps the customer describes are: -
Hi,
I need to create a web service implementation from a given WSDL (attached). So, I created a dynamic web project and when using the create web service wizard using JBossWS, in the second step (after pressing 'next' twice) I got the following error:
Failed to generate implementation class
org.eclipse.core.runtime.CoreException: Failed to Generate Web Service
code, please check the log for more details
at
org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.getCompilationUnitForInterface(ImplementationClassCreationCommand.java:447)
at
org.jboss.tools.ws.creation.core.commands.ImplementationClassCreationCommand.generateImplClass(ImplementationClassCreationCommand.java:133)
Darran tried both JBoss Enterprise AS 4.3.0CP06 & 5.0.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-9053) seam-registration examle from wolf test repo is incorrectly deployed
by Libor Zoubek (JIRA)
seam-registration examle from wolf test repo is incorrectly deployed
---------------------------------------------------------------------
Key: JBIDE-9053
URL: https://issues.jboss.org/browse/JBIDE-9053
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: maven
Affects Versions: 3.3.0.M1
Environment: JBossTools 3.3.0 M1 on top of indigo 3.7 M6a, org.eclipse.m2e.core (0.13.0.201103291237), org.maven.ide.eclipse.wtp (0.13.0.201103231111)
Reporter: Libor Zoubek
Assignee: Fred Bricon
Fix For: 3.3.0.M2
I am testing wolf repository (maven repo of EAP 5.1). There are several example projects. These examples depend on maven artifacts shipped by wolf repo. There is a problem with example called webapp-seam-registration. This example can be built and deployed using maven CLI (mvn install jboss:deploy). But .. when I import it into JBoss Tools using 'Import existing maven project' and then deploy it on EAP 5.1 I get deployment errors. I was comparing the deoplyed EARs and found out, that the problem is, that component.xml (contained in registration-web project) is not deployed/added to archive.
When deploying using mvn jboss:deploy components.xml gets into registration-ear.ear/jboss-seam-registration.war/WEB-INF
but when deploying by JBossTools components.xml is missing there.
I am not sure if it is a bug in tooling or bad configuraion in pom. I'll attach example project together with settings.xml for easy configuration.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-9606) Null pointer exception when creating Top down Web Service
by Jaroslav Jankovič (JIRA)
Null pointer exception when creating Top down Web Service
---------------------------------------------------------
Key: JBIDE-9606
URL: https://issues.jboss.org/browse/JBIDE-9606
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.3.0.M3
Reporter: Jaroslav Jankovič
Assignee: Brian Fitzpatrick
Fix For: 3.3.0.M3
Attachments: nullpointer.png
There is a problem when creating top down web service from wsdl file. After selection wsdl file and click on Finish button, null pointer exception is thrown. If Next button and after that Finish Button is clicked, Web service is created properly. However Web Service should be created properly from main dialog too.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-9496) [regression] - Exported files don't honor the module assembly settings
by Fred Bricon (JIRA)
[regression] - Exported files don't honor the module assembly settings
----------------------------------------------------------------------
Key: JBIDE-9496
URL: https://issues.jboss.org/browse/JBIDE-9496
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Environment: Vista, eclipse 3.5.1, JBT 3.1.CR1
Reporter: Fred Bricon
Assignee: Rob Stryker
I'm investigating ways to implement SAR support in m2eclipse (for selfish motivations I agree). See https://issues.sonatype.org/browse/MNGECLIPSE-1984.
A SAR project would need to export dependencies in a lib folder, inside the archive.
During my investigation, I tried to use the JBT 3.1.CR1 module assembly page, which would, from my understanding, allow me to reach the desired effect.
So I've created sample maven-less projects :
-sarproject : has a dependency to JUNIT_HOME\junit.jar in the module assembly page. The resulting org.eclipse.wst.common.component contains :
{noformat}
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="sarproject">
<wb-resource deploy-path="/" source-path="/src"/>
<dependent-module archiveName="junit.jar" deploy-path="/" handle="module:/classpath/var/JUNIT_HOME/junit.jar">
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>
</project-modules>
{noformat}
-earproject : needed so sarproject can be a Module project (which totally sucks). I've manually tweaked org.eclipse.wst.common.component so sarproject will have the .sar extension when deployed. Here is the end result :
{noformat}
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="earproject">
<wb-resource deploy-path="/" source-path="/EarContent"/>
<dependent-module archiveName="sarproject.sar" deploy-path="/" handle="module:/resource/sarproject/sarproject">
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>
</project-modules>
{noformat}
Now, when exporting earproject.ear, there's no junit.jar to be found in sarproject.sar (not expected) nor in the ear (expected).
When using export module on sarproject, the resulting file doesn't contain junit.jar either.
This looks like a bug I've opened at eclipse's bugzilla for Connector projects : https://bugs.eclipse.org/bugs/show_bug.cgi?id=298735
The module assembly page looks very promising in theory, as it would allow support for any kind of archives (sar, har ...)
but from what I understand it's only usable for ear and war projects.
This bug should probably be opened at eclipse.org or is totally a duplicate of #298735 (you tell me),
but I think the module assembly page should not be visible on unsupported projects.
regards,
Fred Bricon
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years
[JBoss JIRA] Created: (JBIDE-7309) Testing a direct-to-source mapping errors out
by Brian Fitzpatrick (JIRA)
Testing a direct-to-source mapping errors out
----------------------------------------------
Key: JBIDE-7309
URL: https://jira.jboss.org/browse/JBIDE-7309
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.2.0.Beta2
Reporter: Brian Fitzpatrick
Assignee: Tom Fennelly
Fix For: 3.2.0.Beta2
While playing with some ideas, I tried using the Smooks Run Configuration for testing a XML-to-XML mapping. And I don't think I've done anything too wacky, but I'm getting some interesting results when I try to test the configuration.
Any ideas? I'll attach the config, input, and output XML files...
Oct 11, 2010 12:22:58 PM freemarker.log.JDK14LoggerFactory$JDK14Logger error
SEVERE:
Error on line 4, column 15 in free-marker-template
Expecting a string, date or number here, Expression .vars["PERIODIC_TABLE"]["ATOM/NAME"] is instead a freemarker.ext.dom.NodeListModel
The problematic instruction:
----------
==> ${.vars["PERIODIC_TABLE"]["ATOM/NAME"]} [on line 4, column 13 in free-marker-template]
----------
Java backtrace for programmers:
----------
freemarker.core.NonStringException: Error on line 4, column 15 in free-marker-template
Expecting a string, date or number here, Expression .vars["PERIODIC_TABLE"]["ATOM/NAME"] is instead a freemarker.ext.dom.NodeListModel
at freemarker.core.Expression.getStringValue(Expression.java:126)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:232)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:356)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:349)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.visitAfter(FreeMarkerTemplateProcessor.java:327)
at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:389)
at org.milyn.delivery.sax.SAXHandler.endElement(SAXHandler.java:204)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:57)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:75)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61)
at org.milyn.Smooks._filter(Smooks.java:519)
at org.milyn.Smooks.filterSource(Smooks.java:488)
at org.milyn.Smooks.filterSource(Smooks.java:462)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:81)
Exception in thread "main" org.milyn.SmooksException: Failed to filter source.
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61)
at org.milyn.Smooks._filter(Smooks.java:519)
at org.milyn.Smooks.filterSource(Smooks.java:488)
at org.milyn.Smooks.filterSource(Smooks.java:462)
at org.jboss.tools.smooks.launch.SmooksLauncher.main(SmooksLauncher.java:81)
Caused by: org.milyn.SmooksException: Failed to apply FreeMarker template to fragment 'PERIODIC_TABLE'. Resource: Target Profile: [[org.milyn.profile.profile#default_profile]], Selector: [#document], Selector Namespace URI: [null], Resource: [<?xml version="1.0" encoding="UTF-8"?>
<html>
<section>
<h1>${.vars["PERIODIC_TABLE"]["ATOM/NAME"]}</h1>
<p>${.vars["PERIODIC_TABLE"]["ATOM/SYMBOL"]}</p>
<p>${.vars["PERIODIC_TABLE"]["ATOM/ATOMIC_NUMBER"]}</p>
<p>${.vars["PERIODIC_TABLE"]["ATOM/ATOMIC_WEIGHT"]}</p>
</section>
</html>], Num Params: [4]
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:359)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:349)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.visitAfter(FreeMarkerTemplateProcessor.java:327)
at org.milyn.delivery.sax.SAXHandler.visitAfter(SAXHandler.java:389)
at org.milyn.delivery.sax.SAXHandler.endElement(SAXHandler.java:204)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.milyn.delivery.sax.SAXParser.parse(SAXParser.java:57)
at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:75)
... 5 more
Caused by: freemarker.core.NonStringException: Error on line 4, column 15 in free-marker-template
Expecting a string, date or number here, Expression .vars["PERIODIC_TABLE"]["ATOM/NAME"] is instead a freemarker.ext.dom.NodeListModel
at freemarker.core.Expression.getStringValue(Expression.java:126)
at freemarker.core.Expression.getStringValue(Expression.java:93)
at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.MixedContent.accept(MixedContent.java:92)
at freemarker.core.Environment.visit(Environment.java:208)
at freemarker.core.Environment.process(Environment.java:188)
at freemarker.template.Template.process(Template.java:232)
at org.milyn.templating.freemarker.FreeMarkerTemplateProcessor.applyTemplate(FreeMarkerTemplateProcessor.java:356)
... 19 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years