jboss

Running JBoss 4.2.3 and JBoss 5.1 on the same server

I want to run JBoss 4.2.3 and JBoss 5.1 on the same server, but not simultaneously. I just need to be able to switch back and forth between the two for testing, so I don't need to change ports or anything like that. My problem is the JBOSS_HOME environment variable. When I set up a /soft/JBoss-4.2.3.GA directory and a /soft/JBoss-5.1.0.G...

JBoss 4.2.3 EAR and Apache 2.2 virtual hosts with jk_mod serving blank white page

I have an EAR file I am trying to deploy alongside various WAR deployments on JBoss 4.2.3 The individual standalone WAR deployments are all working fine and are just a copy of the same application that is contained inside the EAR but the EAR deployment and it's included WAR(s) does not work correctly. I am receiving a blank white page ...

Coldfusion logging reroute to Log4J

I’m currently using Coldfusion 8.01 in a J2EE environment (jBoss), and looking to clean up what's written to the logs. Currently Coldfusion logs everything to STDOUT instead of using a proper logger like commons or log4j. Has anyone managed to change this? Maybe there are some hidden properties you can set or a log4j.properties hiding so...

ColdFusion 8 as WAR on JBoss 4.2.3 WEB-INF/flex-config.xml error

I have done this by the book multiple times and have also tried using someone else's WAR to deploy, but I keep getting the same error. I am running JBoss 4.2.3 and have tried this on multiple installations (of 4.2.3) I have verified that the supposed missing file file exists. 1.) 19:19:15,853 INFO [ContextLoader] Root WebApplicationCon...

How do I start JBoss on a privileged port?

How do I start JBoss on a privileged port? I want to use port 80 instead of port 8080 (or alternatively, port 443 instead of port 8443). I can change the appropriate configuration files (jboss-web.deployer/server.xml) to change the port that is used, but then I cannot start the server because these are privileged ports. I could run JB...

JBoss Seam - ViewExpiredException

Hi, I currently have a web application which acts as a Portal. Users log onto the Portal and are shown a list of services. To view a service, an iframe is populated in the same page pointing to the URL of the service. All applications are Seam 2.1.1GA on JBoss 4.2.2GA AS. If a user loads up Service A, interacts with it, then switches ...

How can you force recompilation of jsps in JBoss 4.2?

I hit on this nasty behavior on JBoss 4.2 in QA, and I want to nip it in the bud before we go into production and find some other corner case. A jsp calles a method that had the following signature: public void methodName(String arg) This was changed to: public void methodName(String arg, Object... args) A pre-existing JSP calle...

Does anyone have experience using Teiid? Is it as good as it claims?

Recently I have been reading a bit about Teiid: Teiid is a data virtualization system that allows applications to use data from multiple, heterogenous data stores. Teiid is comprised of tools, components and services for creating and executing bi-directional data services. Through abstraction and federation, data is accessed ...

jboss hot deployment problems with hibernate

I have the following problem. When I deploy my ear file to server\default\deploy folder of JBOSS the first time, things seem to work fine. But then, with JBOSS still running, if I delete and recopy the ear file again, my unit tests fail with the exception listed below. It's like it loses the Hibernate mappings for the entities during th...

Seam 2.1 issue: losing theme

I'm developing a web application with Seam but suddenly the theme has stopped working. I've reverted the latest changes and it doesn't solve it. I've even reinstalled the JBoss (5.1) server but it doesn't fix it either. I see no error in the logs, just the css theme is not being shown (although it's there in the server), no css errors i...

jboss 4.2.3 + IIS help

I'm trying to deploy a WAR file under Windows Server 2003 but I'm unable to get it working. I've worked through a couple tutorials, but my issue is that I'm trying to use different ports. Jboss is running on port 9001 and the IIS site is using port 8090 for TCP. Basically, I should be using ajp workers and isapi_redirect.dll to redire...

Hot deploy on JBoss - how do I make JBoss "see" the change?

I am developing a Java EE application that I deploy over and over again on a local JBoss installation during development. I want to speed up the build by hot deploying my application straight into [JBOSS]/server/default/deploy/myApp It seems to work - but there also seems to be a somewhat arbitrary delay between the hard deploy and when...

Intermitent problem with Struts 1.2.8 HTML taglib and JBoss

I have a legacy Struts 1.2.8 application that I'm maintaining and porting from Oracle Application Server (OAS) 10g to JBoss 4.2.3. I have a JSP that uses the Struts HTML tag library. The JSP page is backed by EJBs. The user enters an item number and the page displays the details of the item (e.g. item from a product catalog). On the ...

Porting Jboss/Seam App to newer versions

Hi, I have a Web App running using SEAM 2.0.2 on JBoss 4.2. When I tried to run it using Seam 2.1 and JBoss 5, all sorts of problems arised. Is there a porting guide available for this scenario that you're aware of ? Thanks. ...

Controlling Jboss rollback after Hibernate exception

HI All, I am trying to save name, address, email information using Hibernate...sometimes there is an exception thrown by Hibernate, this causes JBoss to rollback the full transaction! I do not want this to happen, if there is a Hibernate exception while saving email... then I just want the email bit to rollback not the entire, name, add...

Configuring one ear to call remote ejb3 on another ear in JBoss

I am new to EJB3 and am missing something when it comes to accessing a @Remote @Stateless bean deployed as an ejb module inside an ear file. I want to access a remote bean in lima.ear from soup.ear. Here is what I am doing now (somewhat abbreviated): //deployed under lima.ear @Remote @Stateless public interface LimaBean { String s...

Authentication of a C# client with Windows Integrated Authentication over JBoss on Linux server (using WS protocol)

I have a very complex architecture and I need some clarifications about the Windows Integrated Authentications and its capability. I have fat C# client that needs to call an EJB3 in JBoss (on Linux) via WS. This is very easy to implement, but when I have to design the client authentication here is the problem. I don't want that my WS wi...

Annotations through Applications in Seam

I want to split up my project in diffrent modules so i can just swap them out if needed. Atm i just Jboss Developer Studio. So i want my templates , login etc to be in 1 module/Application Then i want to be able to access thease annotations and beans in another application. Is this possible to do ? Or is this seperation of modules ...

Encoding problems in Linux & MySQL

I have developed my Java/EE program in Windows machine and everything worked perfectly in Windows, but when I installed my WAR to Jboss in Linux machine I have encoding issues with MySQL when I import csv-files. Csv files are encoded as ISO-8859-1 and file I import is encoded as ISO-8859-1. MySQL doesn't seem to get Strings encoded as UT...

How to load repository path and axis2.xml using ConfigurationContext in web application?

When I use absolute path (example below) in web application for the repository location and axis2.xml, it works fine but if I change it to relative path it does not. Example: ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem("C:/myproject/repository" , "C:/myproject/conf/axis2.xml" ); How c...