jboss

Install Jboss application server on win vista

Hi all, I want to install Jboss app server 4.2.2. I've downloaded .zip installation from their website and here is what I get when I extract the zip file like in the picture below : I've used their tutorial guide to try to install it but I can't get it working .. http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/I...

Recovering HyperSQL Database

We are using JBoss 4.0.3 SP1 using Hypersonic as its internal storage engine (timers, queues, etc.) The database is no longer accessible (most likely data corruption) giving error; Caused by: org.hsqldb.HsqlException: old version database must be shutdown. Is there a way or command to shutdown the database to recover the data (~150MB) ...

message driven bean - notification when deployed?

is it possible to get notified inside the bean (mdb in this case) that its deployment procedure has just finished? ...

EJB Spec Violation

I created an EJB 2 named EvenementBean for test. I then deleted it. and whenever trying to deploy my .ear project now, I get these errors : WARN [verifier] EJB sepc violation: Bean: Evenement Section: 22.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterpri...

Jboss: Where can I find out/download the source of the jar jboss-deployers-vfs-spi.jar?

While upgrading a webapp which is written for jboss 4.x to jboss 5.x, I got the following exception: Caused by: java.lang.RuntimeException: work.ejb3 module listed in application.xml is not a recognized deployment, .ear: work.ear at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:277) ... 25 more ...

What's the biggest website served by JBoss?

My "normal" development is based on java (1.6), a database (db2, oracle, mysql) and an application server (JBoss). I wonder if there is a limit of concurrent users that I can handle with this configuration. I think running a site like google.com would'nt be possible this way. But where is the limit? If things get bigger, do I have to...

How can I install one Web Application in two context roots in JBoss 4?

My goal is to install only one WAR file but to use test or production settings (for example to point to different databases) depending on the context root. mydomain.com/MyWebApp will use production settings mydomain.com/MyWebAppTEST will use test settings Internally the application then should check if the context name ends with TEST...

Seam auto login using credentials

Hi guys, I succesfully created a project using seam credentials for authentication, but right now some requirements has change (as usual) and i need authenticate the user automatic. See example bellow: user call the page: http://server%3Aport/project/index.jsp?parameter=xyz. This page has to call a seam component and get the parameter ...

Webservice Read Timeout

All, I am calling a web service deployed on jboss using java annotations (javax.jws.web*) exposing a single method. In my web.xml I have the following code appended before the end of the webapp <session-config> <session-timeout>0</session-timeout> </session-config> I am wanting to the web service to wait and receive a response but...

What is the purpose of the NetBeans 6 'Server Resources' Folder?

In a new JBoss Web Application or EJB project in NetBeans, the 'Server Resources' folder contains two files: jboss-ds.xml jboss4-netbeans-destinations-service.xml However these files are not included in the generated application JAR file. What is the purpose of these files? jboss-ds.xml looks like this: <?xml version="1.0" encodin...

Multiple services on same JBoss server?

We're developing a few new services that will run on JBoss and will be accessible by REST API-s. These will be Java apps bundled into EAR files. Is it a good practice to deploy these services to the same JBoss server? This would simplify dev, deployment and testing. Not sure if there are any big drawbacks. Would there be limited...

jsf application as portlet into Jboss portal

Hello I have been trying to integrate a simple jsf application into jboss portal, I can create instance tabs on the portal but when i click on the instance tab, i get javax.portlet.faces.BridgeException: javax.portlet.faces.BridgeException: Error processing render lifecycle javax.faces.FacesException: java.lang.IllegalStateException:...

JPA+Hibernate: Change of createNativeQuery() + getResultList() behaviour?

What I am going to describe is a bit of legacy code. So there is a lot of stuff I cannot touch/change. This pseudo-code runs well the in Jboss 4.0.3, big_messy_sql = "select t1.f1 as somealias, t2.f2 as somehthingelse from obj1 t1, obj2 t2 where crazy_conditions...."; Query query = entityManager.createNativeQuery(big_messy_sql); L...

Ignore jar signing in a web service?

Hello, We have some legacy JAR files from a vendor that were previously distributed as an applet, but we'd now like to simplify as a web service. While the code works when I run it natively within my Eclipse IDE, it fails when I attempt to call it from a web service client after exporting it as a WAR and deploying it on JBoss (5.0.1). ...

JBoss Authentication Question(s)

I have a three-part question related to JBoss 5 Authentication (in the Web/EJB containers): Is there a way to propogate an identity other than the username that was specified during login? For example, using the DatabaseServerLoginModule, I want to authenticate the user with a username/password but return the user's id, and not usernam...

Cannot access resources defined in EAR from the outside classes (JBoss 5.1)

I have a resource file located in WAR file stored inside of EAR. The location is, to be precise: myApp-web.ear/myApp.war/WEB-INF/classes/file.properties. I'm trying to access this file from another class located in JAR file (not within the main EAR). This is how I'm trying to access the file: SomeClass.class.getResourceAsStream("/WEB...

Incremental deployment with JBoss

Can I have incremental deployment with JBoss AS? Currently, the only reasons I pay for a MyEclipse license is their "Smart Deployment" feature where if I make a small correction to a JSF page, I don't have to redeploy the whole app, but instead my IDE syncs the change. Why isn't there something similar to NetBeans??? ...

Does JBoss cache class files?

I'm wrestling with a strange problem: When I make a change to a POJO or Seam Component in my localhost JBoss instance, restart it, and load the page, the change is visible. However, on our server, running the same version of JBoss, when I stop the instance, delete the WAR file, upload the latest version, and restart JBoss, it won't show ...

What is the cause and how to fix 503 errors with this in Apache error_log: "Broken pipe: ajp_ilink_send(): send failed"

I'm having intermittent problems with a servlet running on JBoss, with Apache forwarding it all requests via mod_proxy_ajp.so. Sometimes, for REST requests, I get 503 errors from Apache. When this happens, the Apache error_log has this in it: [Mon Oct 12 09:10:19 2009] [error] (32)Broken pipe: ajp_ilink_send(): send failed [Mon Oct 12 ...

How do I programmatically obtain the version in JBoss AS 5.1?

Does anyone know how to programmatically obtain the server version number under JBossAS 5.1? JBossAS 4.2 had org.jboss.Version, with getMajor() and getMinor() methods, but this doesn't seem to exist in 5.1. ...