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 ...
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...
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 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?
...
Is session replication configurable in JBoss?
How and where to do it?
...
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
...
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 ...
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...
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...
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...
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?
...
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...
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...
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...
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 = ...
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...
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...
Is there a way to compress/uncompress JSON sent from an app server to a jqGrid client?
Our app server is Java/JBoss.
...
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...
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 ...