jboss5.x

How to disable Tomcat in JBOSS5?

Hi How can we disable tomcat that is in the JBoss5, Because I am running a Tomcat separately. Thanks ...

Runtime Exceptions in EJB3 thrown as EJBTransactionRollbackException

I recently migrated from JBoss4.x using ejb3 to JBoss5.x using ejb3. When a runtime exception like NullPointerException is thrown, instead of the exception bubbling up so I can handle it via try-catch, I get an EJBTransactionRolledBackException instead which terminates the transaction without allowing me a chance to handle the error gra...

jboss 5.1 cannot startup after deployment migrate from 4.0.3sp1

i am trying to migrate deployment from 4.0.3sp1 to 5.1, i just copied the file under /opt/jboss/server to jboss 5.1 directory. firstly it prompt failed to access server/conf/bootstrap.xml, etc, i copied them from /opt/jboss/server/default/conf/*.xml, then it come to the error: 14:27:19,785 ERROR [ScopedProfileServiceController] Error ...

Log4j Logging with JBOSS5

Hello everyone, I am using log4j as logging framework in my application and JBOSS 5 as Application server. I have created a log4j.properties file in the src folder of the application. That's how my log4j.properties looks like: #Default log level to ERROR. Other levels are INFO and DEBUG. log4j.rootLogger=INFO, ROOT log4j.appender.ROOT...

Any good resource on JBoss5.1 class loading

I'm debugging a thorny CL-related problem and need a better understanding of how classloading works in JBoss 5.1. Yes, I read http://community.jboss.org/wiki/JBossClassLoaderIntroduction and http://community.jboss.org/wiki/JBossClassLoaderOverviewandGoals; they are useful to start with, but are not very precise in their description. The...

Redirect to specific page after login

In JEE security, if a user tries to access a secured resource, they are redirected to the login page. After successful login they are redirected to previously requested secure resource. Is it possible to redirect the user to a specific page, in my case application entry page? Something equivalent to Spring Security's default-target-url...

Creating XA DataSource to DB2 on JBoss

I trying to configure an XA DB2 DataSource, xa-datasource (based on http://community.jboss.org/wiki/SetUpADB2Datasource) using com.ibm.db2.jcc.DB2XADataSource class (local-tx-datasource works using the com.ibm.db2.jcc.DB2Driver). The target server is DB2 Connect V9.7 Actual xa-datasource config: <xa-datasource> <jndi-name>jdbc/DB2S...

Getting Permgen space error on running Jboss 5.1.0 as a service on WIndows machine.

How to solve the above issue ? ...

jboss5 class loader problem with spring and hibernate trying to parse applicationContext.xml

I am using Jboss5 and I'm trying to utilize Hibernate and Spring to load in a spring dao. I'm getting an exception which seems to point to an incompatibility in jars but I'm not quite sure what is going on. I've done quite a bit of searching and I can't seem to find something specific to this besides change JBOSS versions. I am wanting t...

Remote restart from Jboss 5.1.0

How to do remote restart from JBoss 5.1.0? This is possible only using the JMX interface? Thanks ...

How do I configure a JDBC data source in JBoss AS 5.1.0.GA?

Could somebody point me at or post an example of configuring a data source for JBoss 5.1.0.GA? I am getting the following error when I try to hook up a data source to my web application in JBoss 5.1.0.GA using JNDI. startup failed due to previous errors java.lang.RuntimeException: mapped-name is required for jdbc/jos of deployment j...

Possible to upgrade jboss 5.1 jpa1 to jpa 2

Is it possible to upgrade Hibernate/JPA that is shipped with JBoss 5.1 to use JPA 2.0? I am interested in making use of the OrderColumn. I am unable to upgrade JBoss to the latest version - 6 ...

jmsexception FAILED TO INVOKE

I have developed a prototype of a message based scalable client-server architecture. Environment Setup Ubuntu 10.04 1 LTS java 1.6.0_22 JBoss AS 5.1.0 GA JBoss Messaging 1.4.3 GA Two queues (Q1 and Q2) 1 MDBs and 1 Message consumer for each queue, MDB pool size is set to 20. XMLRPC Client and server Eclipse Helios XMLRPC forms a int...

Jboss 5 class loading issues

I have a jar file (Jar1) with some classes in it. There is also a lib folder in Jar1 which has another jar(base.jar) --Jar 1 --classes --lib -- base.jar with classes within it. I have Jar1 in the server deploy folder in jboss. When I try to access any class in base.jar, I get a Class Not Found. This is with jboss 5. Any ide...

jboss 5.1 does not work after redirect from HTTP to HTTPS connection

the jboss server does not work if redirect to HTTPS url(port 8443), and here is WAR package web.xml configuration: <security-constraint> <web-resource-collection> <web-resource-name>HtmlAdaptor</web-resource-name> <description>Security for all users</description> <url-pattern>/all/*</url-pattern> <http-method>GET</http-m...