jboss

How do you migrate an ASP.net Application to Jboss environment?

What procedure should I will follow? Any step-by-step instructions would be very helpful. ...

RESTEasy client works stand-alone but fails within Tomcat

I have with me the client interface for a web service that was built using JBoss/RESTeasy. The web service calls work fine when they are invoked from a stand-alone app, but as soon as I put them into a webapp running in a Tomcat container (on the same machine), they start behaving weirdly. Some of the calls return empty results while som...

what i need on my server to support java webprojects ?

I'm beginner in java and i want to have a VPS what i need to install on my server to support java projects i think only JVM 6.0 JBOSS MYSQL are Enough any one can help me about the softwares and the version i must install on my linux server, and how can i install them? ...

can i have more than one java application server on one server ?

is it possible to install more than one java application server on one server or VPS ? i want to install JBOSS , TOMCAT , WEBLOGIC and my be more. how this is possible and what the benefits and disadvantages ?! ...

Error while booting Jboss 5.0.1. Can anybody help?

Hi @all, i'm experiencing some problems while JBOSS 5.0.1 is booting. These are the error messages i receive: 10:54:55,655 WARN [HDScanner] Failed to process changes org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS MISSING DEPENDENCIES: De...

Encode query string parameters in url with URL Rewriting using rewrite.properties file

Hello all, I just stucked with this problem. I am having 2 parameters in query string and i want to encode them using URL rewriting using RewriteRule and RewriteCond in rewrite.properties file. I wrote following in rewrite.properties but its not working: RewriteCond %{QUERY_STRING} ^param1=(.*)&param2=(.*)$ RewriteRule ^/abc/def?(.*)$...

jboss mysql connection validation

Hi, when I put <check-valid-connection-sql>select 1</check-valid-connection-sql> in jboss datasourse config I get this exception: java.lang.IllegalArgumentException: id to load is required for loading org.hibernate.event.LoadEvent.<init>(LoadEvent.java:74) org.hibernate.event.LoadEvent.<init>(LoadEvent.java:56) org.hibernate.impl.S...

How to connect JMS queues from JBOSS 4 and 5?

I have a server on which a Jboss 4.2.2 and a Jboss 5.1.0 runs. The problem is that a 3rd party is not able to upgrade its application to Jboss 5.1.0 in the near future, for us it is a simple matter. Unfortunately we need to send and receive some JMS messages from the third party app running on Jboss 4.2.2. What is the easiest way to ena...

Code hook before EntityManager is initialized in JBoss AS 6

Hi *, I'm looking for a callback facility that allows me to execute some code before an EntityManager is started in JBoss 6. More specifically, I would like to process a Liquibase changelog, before the EntityManager is initialized. Any hints greatly appreciated! J. ...

What to do with common jars in EAR for JBoss?

We have 2 web applications. And we are going to move them to EAR file. Is it possible to move common jars from these two web applications to some separate directory in EAR? ...

How to deploy EAR into web configuration in JBoss?

We use "web" configuration of JBoss. Now we deploy war files only. But we are going to deploy ear to JBoss. As far as I can see it is impossible to deploy ear on web configuration because there is no ear deployer in web configuration. Will it be enough just to copy file default\deployers\ear-deployer-jboss-beans.xml to web\deployers dire...

modifying Jboss classpath

I have a jar file named "xyz.jar" that have the file "abc.xml" and I have one more file with same name "abc.xml" not bundled with "xyz.jar" . I would like to have the JBoss to see the "abc.xml" which isnt bundled with "xyz.jar" in the first place before it sees the one that is bundled with "xyz.jar". The reason is , the file "abc.xml" th...

JBoss and RedHat

JBoss is community driven so it is completely free? and JBoss itself works within kernel space or user space ...

How do I configure SonicMQ in JBoss 5.1?

Trying to setup SonicMQ as the primary messaging provider in my JBoss 5.1.0GA server. The resources available for this are horribly outdated (This wiki article on JBoss is 3 years old, and references a broken link from Sonic's parent company, thus providing incomplete instructions for an outdated version of JBoss (4.x)). I need to use ...

Error while accessing a ServicePOJO in JBOSS 5.0.1

I have a Webapplication with EJBs and ServicePOJOs. When i try to access one of those POJOS, i get the following error: java.lang.NullPointerException at com.sonydadc.MyAPP.pa.server.PA_Bean.getServername(PA_Bean.java:539) at org.apache.jsp.templates.start_jsp._jspService(start_jsp.java:104) at org.apache.jasper.runtime.HttpJspBase.s...

Hibernate Second Level Cache EhCache library mismatch?

I'm using Hibernate 3.5.0, JBoss AS 6 and Liquibase 1.9.5. I wanted to activate EhCache Hibernate second-level caching as follows: The first thing I do, is adding a new dependency to the pom.xml: <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-ehcache</artifactId> <version>3.5....

JBoss AS 5.1: Overriding context parameters when deploying a Servlet webapp

Is there any way to OVERRIDE a webapp's context parameters (already defined inside its WEB-INF/web.xml with default values) when the webapp.WAR is being deployed to the JBoss AS 5.1? Apache Tomcat has a nice feature whereby if a webapp WAR file is being deployed using the Tomcat Manager, you have the option of supplying an XML configura...

What would be the preferrable way to deploy a grails 1.3.1 based war onto jboss 4.0.5 GA - to avoid errors

I've added the jboss-web.xml file to WEB-INF per http://www.grails.org/FAQand i'm still getting this error: 2010-09-02 12:31:57,920 ERROR [STDERR] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. 2010-09-02 12:31:57,920 ERROR [STDERR] log4j:ERROR The ...

Jboss Deployment and Java Heap Issues

My application was running fine without issues but from last week I am getting one error during jboss start. I have used almost all work around to solve this problem but could not make it. I am using following options: JBOSS_HOME="/usr/jboss-5.1.0.GA" JAVA_OPTS="-Xms256m -Xmx850m -XX:MaxPermSize=512m" Log file: 2010-09-03 00:53:35,5...

JBOSS cannot find Security Manger Service

All of a sudden , the login page of my web application wouldn't open. This is what the log shows. 2010-09-03 12:33:43,283 DEBUG [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Obtaining SecurityManagerService failed:: java.lang.ClassCastException: org.jnp.interfaces.NamingContext at org.jboss.web.tomcat.security.Securit...