My team is about to build a new product and we are using JBoss as the application server. There are other book posts on stackoverflow, but I couldn't find one ... |
As a .NET developer I'm asking whether JBoss alternatives exist to be "more suitable for .NET development" as an enterprise application platform.
Please do not make any suggestions, such as "make JBoss ... |
I've been doing "plain old java objects" programming for 10 years now, with Swing and JDBC, and I consider myself pretty good at it. But I start a new job ... |
I am wondering how the JBoss ExceptionSorter classes are able to check for database errors.
The application (the EJB or persistence framework) is holding the reference to the database Connection, so SQLExceptions ... |
One thing I've run into a few times is a service class (like a JBoss service) that has gotten overly large due to helper inner classes. I've yet to find a ... |
Say I have a simple j2EE ear:
foo.ear
- foo.war
I would like to deploy the same ear twice so I rename the ear:
bar.ear
- foo.war
The META-INF\application.xml file looks like this:
<application>
<module>
...
|
How I can configure Jboss 5 to support EJB2?
I'm testing the new release of jboss (5) and need to deploy my old EJB2
|
|
I have a web application (.war) that contains some static files (e.g. MS word documents). When I try to download these files, JBoss automatically sets some HTTP-headers in the response. Is ... |
Is there a way to get Invocation Statistics using twiddle command line tool
I tried
twiddle.sh get "jboss.j2ee:jndiName=jaas/foo/bar/MyBean,service=EJB" InvokeStats
but I get java.io.NotSerializableException: org.jboss.invocation.InvocationStatistics.
Is jboss web-console the only way to collect ... |
I have the IMS Connector RAR file. Placed it inside JBOSS_INSTALL/server/default/deploy directory. Created a ims-ds.xml file and also placed in the same location. It appears as if it is deploying with ... |
I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up options to my JBoss start up script to get a heap dump when we get an out ... |
I would like to run Atlassian Clover in a production environment (I don't have an issue with overhead ). Does anyone have experience with this, or can you ... |
I thought this would be a JBoss FAQ, but I can't find it.
I'd like to run JBoss 4 and JBoss 5 at the same time. I manually changed all the ... |
Can anyone suggest any books/blogs/URLs to start learning about JBoss?
I'd like to get an overview of the architecture and get a good understanding of what JBoss can do for me and ... |
I have a fairly typical JavaEE application, composed using EJB3, seam components, spring beans and JSF, all packaged into several jar and war files inside an ear file. Naturally for JavaEE, ... |
I have been using Weblogic as my company used it. Now I want to try JBoss as an alternative. I'm using Eclipse with MyEclipse 7.1 plugin. I downloaded and unzipped JBoss ... |
I am relitively new to Apache Ivy and am trying to move an existing dev project to using Ivy for dependency management. The last dependency I have to configure is ... |
Any of you guys have enabled SSI (ServerSide Includes) in JBoss? I guess it should be not difficult as it is built on top of a Tomcat instance.
|
I just installed JBoss and tried to run it from Eclipse. When I first tried to run it I got an error stating that ports 8080 and 1098 are already being ... |
I writing a dynamic HTML parsers functionality.
I will want to modify existing parsers and also would want to add more parsers (I expect parsers will be modified as sites a ... |
My boss is worried that our NFS file system will not be happy with the jboss run java process calling getFD().sync on the files we are writing.
We have noticed that ... |
I have a web app on JBoss 4.2.3 and I'd like it to send email. I could do something like:
try {
Properties props = System.getProperties();
props.put("mail.transport.protocol", "smtp" );
props.put("mail.smtp.starttls.enable","false" );
props.put("mail.smtp.host","smtp.somehost.com");
props.put("mail.smtp.auth", "true" );
Authenticator auth = ...
|
Can somebody please explain all the steps involved in setting up ATG development environment for use with JBoss AS.
My requirement is simple, I need to develop and deploy a simple J2EE ... |
I’m developing application with JBoss AS 5 with a special configuration according to my needs (Web container, ejb3 and JMS)
IDE: My Eclipse 6.5
Hardware: Apple macbook 2.3Ghz, 2Gb ram
MyEclipse hot deploy works ... |
I don't have any knowledge of Java platform and I wonder which tools (and methodologies) could be used to help developing maintainable code written in Java.
I know one can use:
- Agile methodology ...
|
I'm working on an older j2ee project. It runs on JBoss. It deploys various ears and wars. It also requires many jar files in the $JBOSS_HOME/server/default/lib directory. Should ... |
I am trying to download JBoss Developer Studio 2.0 GA, but the best I can find on the SourceForge Downloads page is JBossIDE 2.0.0.Beta2. Is there a ... |
I have a class in a WAR that I know prints some System.err.println output - where will this output end up?
Any help appreciated, thanks.
|
I need to restart JBoss from my script?
I tried to call
jboss-5.1.0.GA\bin\shutdown.sh
and then
jboss-5.1.0.GA\bin\run.sh
But unfortunately shutdown.sh works asynchronously.
Is it possible to restart JBoss from shell script?
|
We would like to make a list of users available in a portlet similar to the admin version of the UsersPortlet, but for those that aren't admins. This list would be ... |
Can anyone provide me with a tutorial on how to use JUnitEE with JBoss-IDE ?
thanks.
|
My "normal" development is based on java (1.6), a database (db2, oracle, mysql) and an application server (JBoss).
I wonder if there is a limit of concurrent users that I can handle ... |
We need to use jasper reports in web application under JBoss on AIX.
Today we get a problem when we tried to add xml-apis to WEB-INF/lib - JBoss did not start at ... |
I have Jboss 5 installed/configured. I would like the ability to have Jboss auto start when my VM boots up. I see in my Jboss bin directory I have ... |
Seems like a dumb question but I'm confused by this and haven't been able to figure it out.
My Jboss app server (4.2.2) running on my dev machine (ubuntu 810) is using ... |
After upgrading from JBoss 4 to JBoss 5, I've noticed the most annoying regression. It truncates the trailing equal sign ('=') of a base64 cookie value.
It took me so much time ... |
I'm trying to call send a message to a JBoss MQ queue but it seems the queue is not bounded.
I use the following code to send the message :
Properties properties = ...
|
I have an application that runs in JBoss. I have an incoming web service request that will update an ArrayList. I want to poll this list from another class every ... |
I want to implement SSO with SAML tokens in JBossAS.
The scenario is as follows.
- I have 2 applications app1 and app2 running on 2 JBoss instances.
- Login into app1 and enter username ...
|
Today one person told to me that "J2EE programmers do not write to files". Why can I not write to files from within a J2EE container (for example from JBoss)? What ... |
JBoss Web 2.1.3 in JBoss 5.1.0 has some fixes that I need on a production server running JBoss Web 2.1.2 in JBoss 5.0.1.
I don't want to upgrade to JBoss 5.1.0 ... |
I have a noobish question. Probably a silly one.
I have a static html page; that I want to deploy with my existing app on jboss.
I put my static page xyz.html ... |
I've a problem with JBoss 3.2.6. When I try to launch it, I get this error.
09:19:22,449 ERROR [StatefulSessionContainer] Starting failed jboss.j2ee:jndiName=TypicalBean,service=EJB
java.rmi.ServerException: Could not bind home; nested exception is:
... |
I did find a Jboss Commonj Service on sourceforge, but that appears to be for JBoss 4x.
Any pointers would be great..
|
Jboss 4.0.4 GA
Apache 2.2
|
I get this message :
javax.xml.parsers.FactoryConfigurationError:
Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImp
but i can't seem to solve the problem. I have googled, but can't find any good solutions.
Does anyone have an idea ... |
I m new to Jboss, but I have multiple web applications each using spring-hibernate and other open source libraries and portlets, so basically now each war file includes those jar files. ... |
Has anybody ever had issues with a Java application that uses Jacob to call WMI queries, with that application being deployed to JBoss? JBoss locks up around the WMI calls with ... |
I try to define environment entries in JBoss 5.1 and added following to the server/default/deploy/jbossweb.sar/context.xml file:
<Environment type="java.lang.String" name="name" value="value" />
Following error occurs on startup:
2010-01-26 14:50:08,383 ERROR
[org.jboss.web.tomcat.service.deployers.JBossContextConfig]
... |
How does timeout in jboss works? How does a web-app knows when to re-direct to a login page?
Just to clarify!
-I know how to configure timeout on jboss. My question is, how ... |
Can anyone tell me why following exception comes?
java.rmi.ServerException: RuntimeException; nested exception is:
java.lang.IllegalStateException: Cannot obtain inMethodFlag for: getPrimaryKey
How to avoid it?
Thanks in advance.
|
I'm having an issue with jboss server. when i run jboss server, it stops responding( no fixed time, so cannot predict when will it stop responding after start) after that it ... |
The last time I did any serious Java coding was back around the turn of the century. In the mean time I've been doing a lot of other stuff, most recently ... |
What is the best way to deliberately delay a response from the JBoss server?
I would like to implement a delayed login functionality, where if a username has been used in ... |
I'm a little confused about JBOSS and running it under different JDKs. For example, let's say I'm running JBOSS 5.1, and before starting it I set my JAVA_HOME to point ... |
I am trying to reproduce java.lang.OutOfMemoryException in Jboss4, which one of our client got, presumably by running the J2EE applications over days/weeks.
I am trying to find a way for the webapp ... |
Dears
I am new to java and jboss
I tried these commands on my Centos5.4 final machine
where I can find the .JKS and .dat files ?
keytool -export -keystore myhost-keystore.dat -alias myhost -storetype JKS ...
|
Does anyone know a JBoss equivalent to Apache's unescapeHTML(String) function?
|
|
I'm migrating my apps from WebSphere to JBoss. I would like to know if JBoss 4.2.3 GA supports JDK 1.4.2.
Many thanks in advance.
|
I added following file
deployers\jbossweb.deployer\server.xml
<Connector compression="force"
compressionMinSize="512"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,image/png,text/css,text/javascript">
</Connector>
But fiddler shows that jboss does not compress responses.
How ... |
In JBoss 4.2.3 the System property 'user.dir' is defined to be
<JBoss-root>/bin
when I ran the same application on JBoss 5.1 I noticed that it cannot find the System property user.dir
why there ... |
In a jboss service I need to mock some inner class (not EJB) with JMockit. Just for tests I've created inner class ToBeMocked and another one Mock. While deploying to jboss ... |
We have switched to JBoss 6 to make it possible to use a wider range of Java EE technologies. We chose JBoss because of its small memory footprint compared to other ... |
I installed JBoss AS on xx.xx.12.48.
I launched ./bin/run.sh -b xx.xx.12.48.
The JMX web console indicates everything is OK.
On xx.xx.12.49, I installed Hyperic (latest).
I installed Hyperic agent on xx.xx.12.48
I can see ... |
Can anyone point me in the direction of some documentation (or provide the information here) about the following tables, created by JBoss 5.1.0 when it starts up?
I know what they are ... |
When running my WebService Client with "wsrunclient" I get the following:
Applications/jboss-5.1.0.GA/bin/wsrunclient.sh -verbose -cp output Client
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/activation.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/jaxb-api.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/jbossws-native-jaxrpc.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/jbossws-native-jaxws-ext.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/jbossws-native-jaxws.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/jbossws-native-saaj.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/resolver.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/serializer.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/stax-api.jar]
[Opened /Users/peter/Applications/jboss-5.1.0.GA/lib/endorsed/xalan.jar]
[Opened /Users/peter/Applica |
I am trying to understand what does JBoss AS can bring into the project, comparing to standalone architecture?
My model application is a solid thing, starting, running and stopping as a whole ... |
I use Jboss-Maven-Plugin by 1.4 version. I look JBoss Maven Plugin Usage Example,And I pom.xml is
<plugin>
<groupId>org.codehaus.mojo</groupId>
...
|
I have a jboss service. I try to load a class from different jar file, it always gives in BEA jdk1.5. It works fine sun jdk1.6. Any clue? I have a ... |
We had the problem when the CPU util on a single core machine went to 100 %. The number of users is 8-10 on a server hosted at the ISP end. ... |
I am migrating a Weblogic 9 application to JBoss 5.1, and bumped into the following problem:
A session ejb manages CMP 2.1 entities. Those are inserted at the time of the call ... |
I am using org.apache.commons.fileUpload.FileItem and other related classes for uploading files from local machine to server (Although for the current testing both the machines are same).
I am having .jsp file ... |
I would like to use a custom version of the HSQL DB in an application that I am deploying in JBoss. However, JBoss already contains an HSQLDB.jar. The JBoss ... |
I'm using JBoss 5.1.0.GA, I notticed the tmp folder at: server/default/tmp is mora than 1GB big.
Can I safely delete all the files in it?
|
How can I get the source code for Arjuna/JBossTM that matches my JBoss version?
More specifically, is there a way to reliably identify the version of a library that is distributed with ... |
|
I have placed a .MSI-file in the folder C:\JBoss\server\default\deploy\install.war on my web server which is running Jboss. The idea is that web page visitors should be able to download the file ... |
I am trying to set up a JBoss Cluster with Apache Load Balancing. Basically I have followed the guide from here. No problem faced. The only issue I have ... |
Is anyone able to definitely say whether the milestone releases of JBoss 6 (M1 through M4) are stable platforms to build on, or rather beta releases?
|
ClassCastException for WrappedConnection in Jboss
Hi
I am using STRUCT IN my program
While using the connection from JNDI lookup, i m getting java.lang.ClassCastException: org.jboss.resource.adapter.jdbc.WrappedConnection
PLEASE HELP OUT
|
Calling the JBoss command line tool Twiddle, located in *$JBOSS_HOME\bin directory*, can give us the port number on which JBoss is listening for HTTP requests (see Q2366489). ... |
At a high level, what does JBoss 5's shutdown do? What might go wrong if I just kill the java process instead of gracefully shutting down JBoss?
A graceful JBoss 5 ... |
As I understand it, JBoss* monitors a variety of file types in /deploy and performs certain actions when the file changes. For example, JBoss will redeploy an EAR when its ... |
In JBoss 5, there is the mbean
jboss.system:type=ServerInfo
Which has the properties ActiveThreadCount and ActiveThreadGroupCount.
Does anyone know if there are maximum values for either or both of these properties, and if there are, ... |
Trying to open a file it states it cannot be found, due to a charset mismatch, when file names have accents.
I work using UTF-8 on a linux system (/etc/locales sets UTF-8 ... |
How can I implement a timer on JBoss 4.2.2 in a vendor independent way.
Requirements:
- trigger logic in a defined interval
- start the timer at startup
- no dependencies to JBoss specific libraries / functionality
- do not ...
|
i mean i just want to upgrade jboss application server from 4.0.3sp1 to 5.1, i have downloaded jboss-5.1.0.GA.zip, but i have not found any procedures from internet, is there any official ... |
Can I dump a properties file somewhere in one of the JBoss 6 directories, and pick it up from the classpath?
Or even better, does anybody know the mechanism behind a configuration ... |
What can JBoss EAP do that JBoss ESP cannot? or vice verse?
Is it correct to say JBoss EAP is a subset of JBoss ESP? Meaning JBoss ESP has all the ... |
We have this in config.xml, which loads OK in JBoss 4.2.2.GA
<import resource="classpath*:/META-INF/apollo/babel-*-beans.xml"/>
However in JBoss 5.1.0.GA, it does not load (as I am aware things are stricter)
Offending resource: ServletContext resource [/WEB-INF/config/catalog-config.xml];
nested ...
|
I am trying to connect to MQ Series from Jboss Server. Can anyone tell me what are the steps should I follow?
Breaking my head for nearly a week !!!
|
I have hosted an application in a machine running Red Hat Enterprise Linux 5. I started the jBoss AS using the command.
./run.sh -b 0.0.0.0
and
./run.sh -Djboss.bind.address=<<server_address>>
and
./run.sh --host=<<ipaddress>>
but using any of ... |
We're using Jboss, but we are really only using its JMS stuff. So, is there a way that I can trim down what's loaded when Jboss starts?
|
I created a Timer with a TimerVO that implements Serializable as the timer's info and added to TimeService. The TimerVO simply holds the id of ... |
I am starting the jboss_3.2.7 with the linux user jbs using jboss with RUNASIS option, but it is not working while the entire system[linux] restart. Which is starting the jboss as ... |
I would like to add the patch to a JBoss 5.1.0 GA installation in order to do some tests.
My question : How can I add this patch? Couldn't find ... |
In Jboss 5.1 the Profile Service does what the Deployment Service was doing in Jboss 4.x.In Jboss 4.x I was using the Deployment Service to create a datasource "on-the-fly" and I ... |
I am looking for a single sign on framework in java which supports Weblogic 10.3 and Jboss 4.2.2 and 5.1. JOSSO supports weblogic and jboss both but I am having lot ... |
The question:
Is there some way to "connect" to a running JVM and change system properties (given by -Dproperty=value) without stopping the JVM and without having programmed a way of doing it?
Now, ... |