[JBoss Tools] - Re: jboss-packaging-maven-plugin jboss-sar + m2e + JBT = NPE
by chmanosh
chmanosh [https://community.jboss.org/people/chmanosh] created the discussion
"Re: jboss-packaging-maven-plugin jboss-sar + m2e + JBT = NPE"
To view the discussion, visit: https://community.jboss.org/message/761482#761482
--------------------------------------------------------------
Hi,
I also have the same issue, I could not use maven SAR project inside eclipse (Tried Helios, indigo and even Juno with latest jboss tools dev build). Infact I have to close SAR project in order to add any other web/esb projects to JBoss EAP. Has this ever been resolved?
I am also attaching the maven code to recreate the issue. One thing I observed is maven jboss packaging m2e plugin is not generating the eclipse files correctly for SAR. Contents of the "org.eclipse.wst.common.component", in .setting folder, is missing an attribute 'handle'(in this case it should be handle="module:/resource/test-common/test-common"). With out the "handle" attribute, i could not open "deployment Assembly" page in properties (right click on sar project -> properties -> Deployment Assembly). Once I have the handle defined i could open Deployment Assembly page and can add SAR project shows up in the list to add to the server.
Here is the
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="test-sar">
<wb-resource deploy-path="/" source-path="/src/main/resources"/>
<wb-resource deploy-path="/" source-path="/src/main/java"/>
<wb-resource deploy-path="/" source-path="/src/test/java"/>
<dependent-module archiveName="test-common-1.0-SNAPSHOT.jar" deploy-path="/lib">
<dependency-type>uses</dependency-type>
</dependent-module>
<property name="java-output-path" value="target/classes"/>
</wb-module>
</project-modules>
Can someone please take a look into it. Please let me know if you need any more details.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/761482#761482]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[jBPM] - Problem in sending html content as part of email body.
by azam shaik
azam shaik [https://community.jboss.org/people/s.azambasha] created the discussion
"Problem in sending html content as part of email body."
To view the discussion, visit: https://community.jboss.org/message/760906#760906
--------------------------------------------------------------
Hi,
I am new to jbpm,
*My requirement is to send an email with html hiper link as part of the mail body.*
I was able to send mail with some text...
When I try to write simple html content (<html><body><b>I am bold</b></body></html>) as part of the email body in Guvnor webdesigner, while saving the process, designer is throwing below error.
org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'html' not found. (inputStream://dummyUriWithValidSuffix.x
ml, 35, 93)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
at org.jbpm.designer.web.profile.impl.JbpmProfileImpl.getDefinitions(JbpmProfileImpl.java:273)
at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:252)
at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doPost(UUIDBasedRepositoryServlet.java:147)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'html' not found. (inputStream://dummyUriWithValidSuffi
x.xml, 35, 93)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeature(XMLHandler.java:1991)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeature(XMLHandler.java:1955)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1899)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:1023)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:1001)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:712)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(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.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:181)
... 22 more
22 Sep, 2012 1:11:30 AM org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2 parseModel
SEVERE: null
java.lang.NullPointerException
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshallDefinitions(Bpmn2JsonMarshaller.java:204)
at org.jbpm.designer.bpmn2.impl.Bpmn2JsonMarshaller.marshall(Bpmn2JsonMarshaller.java:160)
at org.jbpm.designer.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:252)
at org.jbpm.designer.web.server.UUIDBasedRepositoryServlet.doPost(UUIDBasedRepositoryServlet.java:147)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
*Is there any other way to send html content as part of the mail body?*
*
*
Can anyone suggent me...Thanks in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/760906#760906]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months
[JBoss Tools] - Debugger Stopped Working
by Stephen Seltzer
Stephen Seltzer [https://community.jboss.org/people/steve_np] created the discussion
"Debugger Stopped Working"
To view the discussion, visit: https://community.jboss.org/message/722161#722161
--------------------------------------------------------------
To start, my system is:
Windows 7 (64bit)
Eclipse Indigo (Build id: 20110916-0149)
JBossASTools (Version: 2.3.0.v20111213-1423-H61-M5)
JBoss AS 7.1
I have had this configuration up and running for over a month. Suddenly starting yesterday I have been unable to start up my system in debug. I have made no significant changes to my system (save for the installation of TOAD but it was still working for a while after that was installed). It will start fine in run mode and it starts in < 10 seconds. When I start using the debugger, it takes > 1:30 and then fails in the end. The last couple of lines from server.log are:
10:11:11,188 INFO [org.jboss.web] (MSC service thread 1-2) JBAS018210: Registering web context: /speed2
10:11:11,207 DEBUG [org.apache.jasper.servlet.JspServlet] (MSC service thread 1-3) JspServlet.destroy()
10:11:11,214 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/speed2]] (MSC service thread 1-3) Stopping filters
10:11:11,220 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/speed2]] (MSC service thread 1-3) Stopping filter 'com.newpig.speed2.filters.NoCacheFilter'
10:11:11,227 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/speed2]] (MSC service thread 1-3) Stopping filter 'MyFacesExtensionsFilter'
10:11:11,238 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/speed2]] (MSC service thread 1-3) Stopping filter 'noCacheFilter'
10:11:11,244 DEBUG [org.apache.catalina.session.ManagerBase] (MSC service thread 1-3) Unloading persisted sessions
10:11:11,250 DEBUG [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Sending application stop events
10:11:11,255 FINE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread 1-3) ConfigureListener.contextDestroyed(null)
10:11:11,271 DEBUG [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Processing standard container shutdown
10:11:11,277 DEBUG [org.apache.catalina.startup.ContextConfig] (MSC service thread 1-3) ContextConfig: Processing STOP
10:11:11,291 DEBUG [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) resetContext null
10:11:11,296 DEBUG [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Stopping complete
10:11:13,150 ERROR [org.jboss.as] (MSC service thread 1-7) JBAS015875: JBoss AS 7.1.0.Final "Thunder" started (with errors) in 93195ms - Started 407 of 481 services (1 services failed or missing dependencies, 72 services are passive or on-demand)
10:11:16,251 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015877: Stopped deployment speed2.war in 34435ms
I have attached a zip containing server.log files from starting with a plain run and starting in debug to show the success/failure. Also, I bumped my logging up to DEBUG to give a little more information.
Any assistance getting my debugging back on line sure would be appreciated!
Steve
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/722161#722161]
Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
13 years, 6 months