jboss

jboss5 deploying webservice

Trying the example from the below link http://www.codeproject.com/KB/java/webservice-for-jboss.aspx Getting this exception Caused by: java.lang.NoSuchMethodError: org.jboss.wsf.spi.deployment.DeploymentA spectManager.deploy(Lorg/jboss/wsf/spi/deployment/Deployment;)V Any help is appreciated The full Stack Trace is as below 14:01:57,4...

What is the easiest way to wrap a Stored Procedure in a Web Service?

We have a Legacy system that contains a number of stored procedures that we'd like to expose to other applications as web services. We are building the web services with JBoss. The stored procedures can run from Oracle, DB2 or MS SQL Server databases. JDeveloper has a wizard to generate the stubs and deploy to an ear file that would ru...

Where is the servlet jar file on JBoss 5.0.1?

Hi All: I'm trying to set up my build file to be run for deployment on JBossAS 5.0.1, and I need to find the servlet jar file that I should use for the build.. All of the web pages I've looked at seem to indicate that the file is javax.servlet.jar and it should be in the C:\< install dir >\server\default\lib directory. I'm looking in th...

Create a single jbossall-client.jar bundle in JBoss 5.0.x?

Since JBoss 5.0.0, jbossall-client.jar only contains a manifest that points to all the jars in the client directory. Is there any way to create a jbossall-client.jar that contains all of these classes instead of having to put the 70 or so individual jars on the classpath? ...

How to forward to j_security_check?

I'm using form based authentication (JBOSS/JAAS) but my form is sending the data to my Servlet so I can perform some checks before trying to login. Now I need to forward to j_security_check but what I tried didn't work (404 error)... How can I redirect/forward to the j_security_check (please note the application is running over https /...

Is it a possible to invalidate an individual session in JBoss through JMX?

We are tracking down some memory issues in our application and we have visibility into the size of our sessions where the problem seems to be. It is only affecting certain sessions where they seem to balloon out of control and we'd like to have the ability to invalidate those sessions more-or-less 'by hand' to reclaim that memory . Is ...

jboss url decoding

Hi, We have a servlet hosted on jboss which works on HttpServletRequest. But sometimes we receieve requests that do not get decoded by jboss, and when we do getQueryParam on HttpServletRequest, we get null. The jboss access log shows the url in encoded form. Normally, when everything works smooth, url is shown decoded in access log. e.g...

JBoss Configuration

I have been tasked with setting up a server for running JBoss presumably the latest version. I was wondering if anyone had any recommendations for setting up the disk partitions for a Linux (Red Hat) system? Currently they are running the lab with everything on one partition, and I would like to avoid that going into production. Specif...

Is Red Hat's JBOSS a fork of the code you get from JBOSS.org?

Does anyone know if Red Hat has forked the code you download from JBOSS.org? I'm guessing that the answer is "yes", but I'd like to confirm it. I can't pin it down at the Red Hat site, and jboss.org giving me an HTTP 502 right now for some reason. I know that Red Hat owns JBOSS. Does that mean that the code they sell in JBOSS Develo...

Hibernate no longer an independent product

What happened to Hibernate.org? I get redirected to jboss.org and then once on that site I can not find it. Does this mean that hibernate is no longer an independent project - it is now a component of jboss. ...

Axis 2 java2wsdl creates different wsdl than JBoss shows in the ?wsdl URL

I'm refactoring the way the client code for a bottom-up web service is built. The existing build creates the Java client code by using a deployment of the web service on JBoss 4.2 and executing the Axis 2 AntCodegenTask against http://devserver.url?wsdl. This method fails if the development server is down or has outdated wsdl. (Crusie...

Hibernate status

Does anyone know what's going on with Hibernate? For a few days hibernate.org was redirecting to "jboss.org," but for the past 2-3 days it's just showing a jboss.org maintenance screen. I realize Hibernate has always been associated with JBoss, so I'm not asking about that, but I use Hibernate in multiple projects, and I use the online...

How do I set an <env-entry/> in JBoss as part of the server context?

I want to configure connections to a JCR repository at the application server level JBoss and retrieve those settings from within my web application using JNDI. I managed to configure the JCR repository using a typical data source. Can somebody tell me how to configure the username and password settings? Or point me to some samples? I m...

Where to put DTD and schema files

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, we have many XML files as part of the application. Some of these XML files are validated using DTD (seam) and some using schema. As most files where...

How to collect logs in jboss related to a single request?

Hi! I am developing a Java EE web application that is run under JBoss. I want to do the following: When a user sends an http request (by opening a page or through AJAX) all the logs that are related to this request are collected and then saved into the database. By related I mean that they are being logged during the process of handlin...

How to set username and password in JBoss

Unfortunately their Wiki is down for maintenance and the web is not being helpful. How do I add a new user to JBoss so I can login. In Tomcat you change the tomcat-users.xml file. There seems to be a similarly located and titled file called login-config.xml in the config folder of jboss. Is it something to do with this file or somethi...

File download servlet behaving differently with IE on clustered server

I have a servlet that sends a file by setting the HTTP Content-Type to "application/zip", the Content-Disposition to "attachment" and writing it on the response's OutputStream; it behaves correctly when deployed on my local application server, making the browser show the popup to choose wheter or not to download the file. However, when ...

quickstart jboss (or tomcat) + beans tutorial

I'm a little daunted by the endless myriad options in Eclipse for starting a Java EE project that would run on jboss. I know what I'm doing once I have an environment that's configured, but was hoping someone could point me to a step by step tutorial on how to go from writing my first class to actually having jboss pick it up on startup...

Get the entity previous version in Hibernate Envers

I have an entity loaded by Hibernate (via EntityManager) User u = em.load(User.class, id) This class is auditaded by Hibernate Envers. I want to load the previous version of this class. How can I do it? Thanks ...

HEAD GET decoded requests

Hi, We run a service on jboss. Sometimes we receive requests that have params completely decoded. Below is the apache access log entries. Look at the redirect_url params in following urls. For such urls to work the params need to be encoded. Urls that we post are encoded. Either somebody is explictly decoding stuff before it reaches us,...