jboss,terminology,projects , what does it mean by upstream projects in JBOSS?

what does it mean by upstream projects in JBOSS?


Tag: jboss,terminology,projects

JBOSS developer site lists several projects as upstream projects. There are more than 90 projects and it does not look like JBOSS created them(Camel,Cxf,tomcat etc....)

what does this term mean?


According JBoss page:

Upstream Projects

JBoss redefined the application server back in 2002 when it broke apart the monolithic designs of the past with its modular architecture. Since then we’ve continued to find new ways to challenge convention and redefine Enterprise Java through community-driven projects. Community projects represent the latest technologies for use in cutting-edge applications and offer best-effort, community support.

Basically the upstream projects represents the Open Source version of Enterprise products.


RHQ - upstream open source project of JBoss Opetation Network.
JBoss Tools - upstream open source project of Red Hat JBoss Developer Studio.

Other Enterprise projects are a combination of Open Source projects, like Red Hat JBoss BPM Suite (Drools Expert, Drools Guvnor, Drools Fusion, jBPM, OptaPlanner). And some enterprise products can include Open Source products not "created by JBoss" like Red Hat JBoss A-MQ where core messaging is provided by Apache ActiveMQ.


JBOSS 7.1.1 server hangs during the compilation of jasper reports

My developer server is JBOSS AS 7.1.1 final and I have an app where I make dynamically an jasper report based on some arguments with these basic operations(download, compile, export to pdf, encode to base64, display on screen). The thing is that on my JBOSS it works perfectly, but when...

Array dimension terminology

When talking about an n-dimensional array in C#, are the dimensions left to right, or right to left? That is: new int[0,1,2,3,4] or new int[4,3,2,1,0] For clarification, I'm talking about how you would describe each index, not how to access arrays....

Sync jboss modules and jbossdatahome between devs

We're using local jboss 7 instances (maven jboss plugin) with custom modules for local development. Each dev can work on multiple projects. For each project, each dev needs to have the proper jboss modules and jbossdatahome folder. Each dev needs the same path to these folders, as they are hard...

How to load properties files dynamically when using servlet with war file?

I'm using JBoss AS 7. How can I use properties files which I download everytime(with translations) from an external folder? I'm deploying the servlet as a .WAR file and I want to use these properties files from a random temp folder from the disk. How do I that ? The...

Adding an item to a HornetQ queue from a servlet

I have a project that gets built as a war file and deployed to a JBOSS server. The JBOSS server's standalone-full-ha.xml file is configured to create several queues. The war file uses Spring to register a class to listen to these queues, and process the messages it gets. The application...

Refactoring some legacy camel code, is this code unnecessary or am I missing something?

I'm refactoring some apache camel legacy code in a JBoss Fuse instance and I've run into some code that I'm not sure what it's purpose is for. <when condition> <loadBalance id="someVar"> <failover roundRobin="true" maximumFailoverAttempts="3" /> <to uri="fabric:FABRICENDPOINT" /> </loadBalance> </when> I haven't used Fabric's load balancer before but from what...

In a JavaEE stateless session bean, why is the SessionContext responsible for rolling transactions back and not the EntityManager?

To me (someone who is new to JavaEE development), I would think that a container managed EntityManager would be responsible for rolling back failed transactions and not a SessionContext instance. Suppose the following scenario... @Stateless public class MySessionBean implements MySessionBeanRemoteInterface { @PersistenceContext(unitName="MYPu") private EntityManager em; @Resource private SessionContext sctx; @Override...

Spring Security Kerberos chained with basic

I have a hopefully quick question about Spring Security. I am looking for a solution to integrate security into our application which provides SSO but HTTP basic as well. One of the automated pieces of our system can only support basic authentication and we are pretty locked into it. Currently...

Error while deploying ear in JBoss AS7

I am migrating EJB application from OC4j to JBoss AS7, I am able to deploy ear on JBoss, however i am getting one New missing/unsatisfied dependencies error in console, console log is mentioned below: 17:30:38,055 INFO [org.jboss.as.ejb3] (MSC service thread 1-3) JBAS014211: No jndi bindings will be created for EJB...

Spring - configure Jboss Intros for xml with java config?

I'm in the process of writing a spring web app and want to convert my objects to xml without annotations. I know with xml config you can do this: <bean id="jaxb2Marshaller" class="software.bytepushers.userprofile.models.JaxbIntroductionsMarshaller"> <property name="classesToBeBound"> <list> <value>software.bytepushers.userprofile.models.Person</value> <value>software.bytepushers.userprofile.models.WebServiceResponse</value> </list> </property> <property...

Each SLF4J log message contains a nested message

I use JBoss 5.2 and whenever I log something, slf4j outputs a nested log message, e.g. private final static Logger logger = LoggerFactory.getLogger(MyClass.class); ... logger.info("FOOBAR") will result in the log message: 2015-06-11 09:54:37,154 INFO [STDOUT] (quartzScheduler_Worker-1) 09:54:37,154 INFO [MyClass] FOOBAR The inner message is the correct one, why does the...

Wildfly - “Connector 'netty' not found on the main configuration file”

I've added a connection factory at the standalone-full file of Wildfly: <jms-connection-factories> <connection-factory name="K19Factory"> <connectors> <connector-ref connector-name="netty"/> </connectors> <entries> <entry name="K19Factory"/> <entry name="java:jboss/exported/jms/K19Factory"/> </entries> </connection-factory> ... </jms-connection-factories> And I have the following code to use it: Properties props = new Properties();...

RESTful services on Jboss 7 not responding

I got some application in which i try to expose some RESTful webservices. Unfortunately I'm stuck. Project builds and deploys fine but i just cannot access my services using GET requests. My war looks alike: war. war |--index.html |--WEB-INF |--web.xml |--classes |--classes here.. I got empty web.xml: <web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"...

JBPM 4.4 vs JBPM 6.2

I am planning to use advance version of JBPM i.e. JBPM 6.2. Currently my project is using JBPM 4.4 but there are issues with JBPM4 DB tables which are accessed internally by JBPM API. I need inputs regarding this udgradation activity: Since existing workflows will be continue to use. So...

Wildfly server:Partial Content and Range Requests

Is there a way for wildfly server support http range header? We are requesting file for server with http get and http header "Range: bytes 200-400" The files that served from apache tomcat server responds http status code 206 and partial file content but wildfly server responds same request with...

Why is a static method considered a method?

I am writing an explanation for some code for a course, and have been accidentally using the words method and function interchangeably. I decided to go back over and fix the wording, but ran into a hole in my understanding. From what I understand, a subroutine is a function if...

How to deploy WildFly datasource with Arquillian?

I tried to deploy my datasource as follows: @Deployment(name = "test", order=2) static WebArchive createDeployment() { ShrinkWrap.createFromZipFile(WebArchive, new File("target/test.war")).addAsWebInfResource(new File("src/test/resources/test-DS.xml"), "test-DS.xml") } but it seems that my datasource is ignored, I see no info about deployment in jboss console. Is there any other possibility to deploy datasource with arquillian? @Deployment(name...

Cannot enable a .war in JBoss AS 7.1

I have a problem while enabling the .war project in JBoss AS, here is the log from standalone/log/server.txt 18:57:51,727 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "booking-war.war" 18:58:15,025 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."booking-war.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."booking-war.war".PARSE: Failed to process...

Valid “protocols” for HornetQ

I have some code like this for connecting to HornetQ. Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jboss.naming.remote.client.InitialContextFactory"); properties.put(Context.PROVIDER_URL, "remote://"); properties.put(Context.SECURITY_PRINCIPAL, "user"); properties.put(Context.SECURITY_CREDENTIALS, "pwd"); ConnectionFactory connectionFactory = null; Destination destination = null; try { Context context = new InitialContext(properties); I inherited this, and am trying to get a...

Is it OK to call a programming language a software? [closed]

Can I call Java or 'C' a software? For example, is the following statement correct: 'Python is a software'.

Getting R6034 error when starting Eclipse for Java EE Developers

I use Windows 7 64-bit, Java 8. I'm getting the following error: and the following screen is left behind after the process is manually terminated: I believe it started happening right after I installed a plugin from JBoss Tools - xulrunner.site - ­ Update Site that was supposed to help...

How To find a WebSocket from a REST bean

I have a javascript client that connects to a server via websockets and sends data via ajax to a server. Once the server finished processing the data, I want to send a message via the websocket to the client. Problem is: How do I find the WebSocket from the REST...

@Resource datasource breaking DB connection

I recently wrote a class, in my web application, for parsing a huge XML file and feed a db table with its content. My application is running on Wildfly9, and uses JPA with Hibernate provider to handle a MySQL DB. The AS configuration is pretty standard, I just added my...

How to get JBoss 7.1.3 to use my $JAVA_HOME environment varaible?

I'm using Mac 10.9.5 with JBoss 7.1.3.Final. I am launching JBoss through the termianl (bash shell), like so Daves-MacBook-Pro:core davea$ cd $JBOSS_HOME/bin Daves-MacBook-Pro:bin davea$ sudo sh standalone.sh Within the shell, I can see that $JAVA_HOME is defined ... Daves-MacBook-Pro:bin davea$ echo $JAVA_HOME /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home However, JBoss is not picking up this...

“Destroying connection that could not be successfully matched”

I have an application that seems to work fine, but if I browse the log files I see a lot of these kind of errors: 2015-06-04 08:23:55,656 WARN [org.jboss.resource.connectionmanager.InternalManagedConnectionPool] [DA366C7824A976BA8D1121A6E9A4F1C1.Node23] Destroying connection that could not be successfully matched: org.jboss.resource.[email protected]5d115719[state=NORMAL [email protected] handles=0 lastUse=1433398630770 permit=false trackByTx=false...

How to set external folders in classpath through command line while starting wildfly server

I want to set external folders in classpath through command line while starting wildfly server. Unable to set it through -p standalone.sh -p path of folder ...

Connecting remote JBoss-eap-6.2 to pass message in java

Code runs without any problem up to creating connection factory but it cannot create topic connection. When creating topic connection it throws following exception.(My code is for creating publisher and subscriber) Here is the terminal output I received, Jun 03, 2015 10:51:55 AM org.xnio.Xnio <clinit> INFO: XNIO Version 3.0.7.GA-redhat-1 Jun...

org.apache.catalina.realm.RealmBase.java file located in Jboss EAP 6.3

I tried to run simple Web APP in JBoss EAP 6.3 and from the log and I saw DEBUG [org.apache.catalina.realm] (http-/ User data constraint has no restrictions This logging message is from org.apache.catalina.realm.RealmBase.java I would like to know, where does this file located in EAP 6.3? Which jar file? I...

Restricting access to particular URL for sesame server deployed on JBoss (WildFly 8.2)

I have a sesame server running deployed in a WildFly 8.2.0 final container. How can I restrict access to some particular URLs? I know I have to edit some XML files (deployment descriptor and some other files) but I don't know which files and where to find them....

WildFly 8.2 does not start project while Jboss 7.1 do

My project originally developed under Jboss but if start it on WildFly there is only message in browser: "Not Found" and any errors. Is there something what I missed? web.xml mapping <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> index.jsp <jsp:forward page="./faces/index.xhtml" /> So it works on Jboss but does't on WildFly....

Set system properties in standalone-full.xml in wildfly 8.2

I have added system-properties tag in standalone-full.xml but its not working in standalone mode. But if I add the same tag in domain.xml its working for domain mode. <?xml version='1.0' encoding='UTF-8'?> <server xmlns="urn:jboss:domain:2.2"> <extensions> .... </extensions> <system-properties> <property name="java.util.Arrays.useLegacyMergeSort" value="true"/> </system-properties> </server> In this article https://docs.jboss.org/author/display/WFLY8/General+configuration+concepts Its written...

I am trying to run a war file in jboss using resteasy services but not able to do so

I am trying to run a rest easy web services on my jboss eap 6.0 server my jboss server is up and running but when I am trying to copy my war file in deployment folder of jboss it is throughing an ModuleClassLoader exception....please help me finding the solution for...

How to load config.properties file in a Seam Application using web.xml context-param

I have a seam web application in which I have to include a security module for integrated authentication. I can see that the module isn't based on seam application because it uses a spring-like notation. As the module works defining a listener and a properties file in the web.xml I...

Failed to execute goal on project. Unable to find POM in project

I am trying to build an application having following dependency. <properties> <version.jboss.as>7.5.0.Final-redhat-21</version.jboss.as> </properties> <dependencies> <dependency> <groupId>org.jboss.as</groupId> <artifactId>jboss-as-jms-client-bom</artifactId> <version>${version.jboss.as}</version> <type>pom</type> </dependency> </dependencies> This is an example which i found on Red Hat Site -...

Write a Java Program to connect to HornetQ Messaging Service in Jboss EAP 6.3?

I am using Jboss EAP 6.3 and need to use Messaging facility. I have worked in Jboss 4x, where we can make connection easily using following code: public static final String PROVIDER_URL = "jnp://localhost:5445"; public static final String JNP_INTERFACES = "org.jboss.naming:org.jnp.interfaces"; public static final String INITIAL_CONTEXT_FACTORY = "org.jnp.interfaces.NamingContextFactory"; private static...

Error when configuring MariaDB driver on Wildfly server

I am trying to configure a MariaDB datasource on Wildfly. This seems like it should be a simple operation, but I can't seem to get the datasource module to load properly. I have added the maria-java-client-1.1.8.jar archive and a module.xml file to the wildfly-8.2.0.Final/modules/com/mariadb/main directory. The module.xml file is as...

java.lang.AbstractMethodError: org.jboss.arquillian.config.descriptor.impl.EngineDefImpl.getDeploymentExportExploded()Ljava/lang/Boolean;

When I try to deploy my artifact during integration test I'm getting this error. @RunWith(ArquillianSputnik) class WebServiceTest extends Specification { @Deployment static WebArchive createDeployment() { ShrinkWrap.createFromZipFile(WebArchive.class, new File("target/project.war")) } } where arquillian.xml is: <arquillian xmlns="http://jboss.org/schema/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/schema/arquillian...

Does JBoss 7.x Support J2EE 5.0 and EJB 2.0?

I have an application build on J2EE EJB 2.0 deployed on JBoss 5.1.0. I want to migrate that application to JBoss 7. Does JBoss 7.x Support J2EE 5.0 and EJB 2.0? If Yes, then how to Migrate Jboss 5.1.0 to JBoss 7.x?

How to configure WildFly 8.2 to use AccessLogHandler

I have found that there is a handler io.undertow.server.handlers.accesslog.AccessLogHandler that can log http access. However I am not able to configure it so it will produce any log messages. Here is a code snippet from my standalone.xml: <filter class-name="io.undertow.server.handlers.accesslog.AccessLogHandler" name="access-log-handler" module="io.undertow.core"> <param name="formatString" value="common"/> <param name="accessLogReceiver" value="io.undertow.server.handlers.accesslog.JBossLoggingAccessLogReceiver"/>...

Deploye two wars with different domain name but same context-path in same jboss-4.0.3

I've two web application wars STORE_ABC.war and STORE_DEF.war and single JBoss server running on my machine. I want to deploye both war with same context path in my jboss as follows. http://localhost:8080/home For STORE_ABC.war http://testsite1:8080/home For STORE_DEF.war jboss-web.xml for STORE_ABC.war and STORE_DEF.war <jboss-web> <context-root>/</context-root> </jboss-web> How could I achieve above...

How to set HttpServletResponse on Jboss EAP 6.2?

I have a simple method where I need to change the contentType to "text/plain" but when I am using Jboss EAP 6.2 it is ignored and the returned value is "application/json. @RestController @RequestMapping("/upload") public class UploadController { ... @RequestMapping(method = RequestMethod.POST) public Result foo(MultipartFile arquivo, HttpServletResponse response) { response.setContentType("text/plain"); return...

Spring Integration with RESTEasy

In our existing integration, we are planning to replace Queue ( the entry point to our integration processing) with RESTEasy services. We are processing the HTTP requests as below: 1) Asynchronous HTTP Request Processing for GET 2) Asynchronous Job Service for POST I understand that spring integration provides and for...

What is a “foreign application” in Android? [closed]

At http://developer.android.com/guide/components/intents-filters.html I read: A PendingIntent object is a wrapper around an Intent object. The primary purpose of a PendingIntent is to grant permission to a foreign application to use the contained Intent as if it were executed from your app's own process. I might make some guesses, but what...

setMessageDrivenContext is not invoked

I am using EJB 2.0 without annotation. I have a ejb-jar.xml like: <?xml version="1.0"?> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"> <ejb-jar> <enterprise-beans> <message-driven> <ejb-name>XMLEventQueueBean00</ejb-name> <ejb-class>com.test.XMLEventRequestService</ejb-class> <transaction-type>Bean</transaction-type>...

Configure specific SFSB stateful-timeout in standalone.xml (JBOSS)

For my JEE 3.1 application I have a SFSB for which I have set a specific timeout. I need to have easy access to this value to allow it to be easily configurable. First I had the annotation in my SFSB class: @StatefulTimeout(value = 2, unit = TimeUnit.HOURS) This works...

Does Bluemix include a JBoss runtime?

How can I create a JBoss runtime on Bluemix? The JBoss buildpack for Cloud Foundry does not support all features. The current buildpack is focused on running web applications in the servlet container and nothing further. Are there more docs on this and any updates on the plans going forward,...

Javamail ClassCastException when sending multipart messages

I am getting the following exception when attempting to send a multipart message: java.lang.ClassCastException: com.sun.xml.internal.ws.encoding.StringDataContentHandler cannot be cast to javax.activation.DataContentHandler at javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:609) at javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:563) at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:625) at...

Wildfly Kafka clients module javax/management/JMException not found

I'm try to create Kafka clients module for Wildfly. Here is module.xml: <?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.0" name="org.apache.kafka.clients"> <resources> <resource-root path="kafka-clients-"/> <resource-root path="lz4-1.2.0.jar"/> <resource-root path="snappy-java-"/> </resources> <dependencies> <module name="org.slf4j"/> </dependencies> </module> Wildfly (8.2.0-Final) gives this error on boot:...

JBoss REST WS application doesn't work when deployed as WAR file but works when expanded to a folder

I am deploying an application on JBoss server (EAP-6.4.0, JBoss Web/7.5.7.Final-redhat-1). I get a very strange behavior. Let's say the application is called Engine.war. The application implements a REST Web service server. When I deploy the application by copying the WAR file to c:\EAP-6.4.0\standalone\deployments\Engine.war file, it is successfully deployed, but...

Right way to configure the log in Wildfly 8.2

I have confusion in setting up the log in Wildfly-8.2.0. Initially I had used my own logging system, with log4j.xml built into the WAR file, all worked very well. But, when I make any changes to the log configuration I need to redeploy the app to make the changes effect....