jboss

Jboss returns no content-type for MSI

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 by visiting http://example.com/install/file.msi. Now, if a user goes to to this URL with his web browser, instead of getting a "Do you want to ...

JBoss and Apache Load Balancing

Hi there, 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 would be, how do I access my own application? From the guide, it didnt mention how do I mount my own application. Here's my environment setup: Windows XP JBoss AS 5.0 Apac...

Apache error "Parent: child process exited with status 3221225477 -- Restarting." No PHP or MySQL

Hi, I'm running Apache 2.2.14 on Windows Server 2003, without PHP or MySQL, basically to proxy as a web server for a Java web app. Every few hours or so Apache restarts with a message [notice] Parent: child process exited with status 3221225477 -- Restarting. This (or very similar) issue seems to be most common for Apache/PHP/MySQL comb...

Is JBoss 6M4 stable or beta quality?

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? ...

How often session replication happens in JBoss Clustering?

Is session replication configurable in JBoss? How and where to do it? ...

ClassCastException for WrappedConnection in Jboss

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 ...

GlassFish deployment Invalid content was found starting with element 'url-pattern'

I am trying to deploy my war to GlassFish (works fine in JBoss). GlassFish fails to deploy with this message. [#|2010-09-23T15:49:00.609-0400|SEVERE|glassfish3.0.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=24;_ThreadName=Thread-1;|DPL8015: Invalid Deployment Descriptors in Deployment descriptor ...

Hibernate exception handling or "Cascading HibernateExceptions 'Current transaction not in progress' requiring server restart"

In the Hibernate reference manual section 11.2.3 it is stated that 'If the Session throws an exception ... rollback the database transaction, call Session.close() and Discard the Session instance'. Do you have any experience or knowledge about what could be the consequences of not following this must? How is this must affected by us usin...

Why does JBoss JMX console not show descriptions of Spring-defined MBeans?

I have a Spring bean that is exposed via JMX using Spring annotations, but the parameter names remain blank and the operation and parameter descriptions don't show up. Can this be fixed without resorting to tedious XML definition files? I implemented this closely following a blog post. Here's my simplified code: import org.springframew...

What is the easiest application server to implement with Java-based clients?

Intro We have a project to design and implement this semester. For our project, we chose to create an inventory system that uses Android phones for clients. More information on that portion of the project. The Problem The next problem that we have run into is that we are to design some kind of intermediary server that authenticates u...

Jersey @Provider not recognized

We are using a Jersey JAXBContext resolver implementation using @Provider. It appears that Jersey is not recognizing the @Provider class - the code is never being executed. Is there a reason that Jersey/JBoss isn't properly identifying the class? ...

Classloading notes with quartz server in jboss 4.2.3

Hi i'm configure my quartz server on jboss to make it the access to other classes in a ear, setting in the quartz-service.xml that depends of the other .ear. The server deployed works fine but when the job it's work throws an excepcion of "No classloaders found" and it's rare because the quartz starts after my ear. I don't if i need anot...

is it possible to use class.forname to load a class that exists within a module wired up with Spring?

I have two maven modules and a need for class A in module 1 to load class B in module 2 using class.forname. this works very well and I can call the right methods on class B no problem at all. module 1 is wired up using spring and I'd like to wire module 2 up in the same way for consistency. I tried this and compiled it up no issue. b...

Obtain the $JBOSS_HOME/bin value in JBoss 4.2.x

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). That's smashing :) However, we can't rely on the fact that the system administrator has set the JBOSS_HOME path variable, and it would be useful to know if we can...

org.jboss.ws.WSException: Target endpoint address not set

This is my first attempt at a simple web service, running in JBoss 4.3. I wrote a simple service that greets a user. I used wsdl2java to generate a client for it. Then I packaged the generated client in a war, along with a jsp page using the following code to access the client: HelloService service = new HelloService(); Hello client = ...

Setting Manager sessionIdLength attribute in context.xml doesn't seem to work for JBoss 5.1.0

I edited JBOSS_HOME/server/all/deploy/jbossweb.sar/context.xml to be the following, but session id cookie values are still only 24 characters in length: <Context cookies="true" crossContext="true"> <Manager pathname="" sessionIdLength="40"/> <InstanceListener>org.jboss.web.tomcat.security.RunAsListener</InstanceLis...

java and jboss, with SQL server. Mulitple insert statements in a native query using entitymanager, not working; but does work in sql

String myQuery1 = "insert into mytable(mycol) values(myval) \ngo"; String myQuery2 = "insert into mytable(mycol) values(myval2) \ngo"; String myQuery = myQuery1 + myQuery2; Query query = myEntityManager.createNativeQuery(myQuery); List<?> insertResultList = queryInsertDefaults.getResultList(); using the eclpise debugger I can see th...

Compress JSON using jqGrid

Is there a way to compress/uncompress JSON sent from an app server to a jqGrid client? Our app server is Java/JBoss. ...

jboss web application deploying but not found

Ok, trying to get a War deployed to JBoss 4.0.4.CR2 (no I can't upgrade) and I get no exceptions during startup, but whenever I try to access the application I get a 404. I've checked every log and I don't find any exceptions. Below is my web.xml file: <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun...

What does the JBoss 5 shutdown do?

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 shutdown takes about 6 minutes for my application, which is pretty big and has 305 EJBs. JBoss seems to pause for a long time just before unbinding the EJB LocalHomes from ...