jboss

WebServices load balancing using Oracle WebCache ?

Hi all, I am using JBoss 5.1.0.GA on Red Hat Linux 4. We have only webservices deployed on this application server as .war files (servlets only, no stateful applications present). As a part of our architecture change for improving scalability, we are planning to have multiple JBoss servers running (may or may not be on different IP's an...

Configure the mail-service.xml in JBoss with a Gmail account

I want to configure my mail-service.xml to send emails from my Gmail account. I have made a configuration, but it doesn't work <?xml version="1.0" encoding="UTF-8"?> <server> <mbean code="org.jboss.mail.MailService" name="jboss:service=Mail"> <attribute name="JNDIName">java:/Mail</attribute> <attribute name="User">***...

JbossTextMessage Unicode convert failed in Linux

Hello, I'm trying to upload a xml (UTF-8) file and post it on a Jboss MQ. When reading the file from the listener UTF-8 characters are not correctly formatted ONLY in the Jboss (jboss-5.1.0.GA-3) instance running on Linux. For an instance: BORÅS is converted to BOR¿S at Linux jboss instance. When I copy and configure the same jboss ...

Where in jBoss when using SSL and JAAS are the Cache-Control and Pragma HTTP headers set?

Implemented JAAS and SSL on jBoss 4.2.2 and found the issue with being unable to download .pdf's. after some poking around I found references to the Pragma: No-cache and Cache-Control: no-cache headers, and why that prevents IE from downloading .pdf's and related items. Fine, I stuffed Cache-control, private and Pragma, "" in the header...

Why is jboss seeing an empty List<Object> from Coldfusion webservice that returns an array of structs?

I have a coldfusion 8 webservice that returns an array <cffunction access="remote" name="testMethod" returntype="array"> <cfset myArray = ArrayNew(1)> <cfset myArray[1] = "Steve"> <cfreturn myArray/> </cffunction> I am using jboss 5.1 GA community with Jbossws 3.2.2.GA consuming the service. The stubs are being built with ...

"javax.ejb.NoSuchEJBException: Could not find stateful bean: "

Hello All, I'm struggling futher in my adventure with Jboss and EJB 3.0. I joined Spring 3.0 with EJB. I have 3 modules - web module with Spring controllers, ejb module with my EJB beans and spring mogule with other classes like dao or some helpers. All in the ear. So, in my Spring Controller I have the following code: @Controller publ...

Socket Communication - StreamCorruptedException(Jboss Remoting)

Hi All, I am using EJB3 as the client socket and the server socket is a normal java class. My Application server is Sun GlassfishV2. I would like to communicate from the EJBBean(Client) to the server using Jboss Remoting. If I use transport protocol "sslsocket" in the InvokerLocator class means its working fine. But If I use the transpo...

How to solve the jboss + oracle problem: "the network adapter could not stablish the connection"?

Hello I'm using Oracle 10.2.0.4 server and we are testing Java Application Servers in order to chose the most appropriate for our needs. So far we managed to get OpenEJB and GlassFish working, but not JBoss. We have a simple fat Java client connecting to a simple EJB 3.0 (stateless session bean), which in turn, tries to perform a simpl...

How i get the scheduler Jobs in J2ee server

Hi, i'm trying to get current Executing Job with the method scheduler.getCurrentlyExecutingJobs(); but i really don't know how should be used. i'm using jboss 4.2 and quartz 1.6 ...

upload.parseRequest(request) returns empty list in commons.fileUpload

I am using org.apache.commons.fileUpload.FileItem and other related classes for uploading files from local machine to server (Although for the current testing both the machines are same). I am having .jsp file as UI and servlet to handle the upload. Now when the request reaches statement List items = upload.parseRequest(request); i...

How to update Http Request and send it to another web server

Following is our environment setup: IIS 7 receives Http (.jsp) request from client (browser). It blindly redirects it to JBoss using ISAPI_Redirect.dll. Now we are trying to modify this setup in such a way that before IIS7/ISAPI_redirect sends it to JBoss, we need to modify posted form data using Http module. This http module is normal...

seam test fails when running with @Depends

I have a MDB marked with @Depends making it dependent on my war, when I deploy the application to the server it works ok, but when I try to run my tests the test fails...seams because of some wrong config...any hints to solve this? I guess that the embeded jboss handels this in some diferent way? I use: seam 2.2.1 jboss 5.1 testNG the ...

is there a jboss parent maven project for the 6.x release?

im trying to get familiar with the new JBoss 6 and having a really tough time piecing together all the different sub-projects that comprise it. basically what i want is to compose the list of maven artifacts that form jboss 6 (6.0.0.M4, to be specific), so i could add them as runtime dependencies to my demo project - that way it would be...

Is it safe to set java.io.tmpdir to <INSTANCE>/tmp in JBoss

Hi We have multiple instances of JBoss 5.1.0 running on the same physical server, using multiple instances of the same VM: <JBOSS_HOME>/server/instance1 <JBOSS_HOME>/server/instance2 with the appropriate configuration to avoid port clashes etc. For each instance there is the tmp folder: <JBOSS_HOME>/server/instance1/tmp <JBOSS_HOME...

Advantage of RESTEasy over Apache CXF ?

I have Restful web-service implemented using Apache CXF. Since I am going to use JBoss for deployment, I am thinking of moving to RESTEasy as it provides better JBoss integration. What are the advantages of RESTEasy over Apache cxf apart from better server integration? ...

HTTPS configuration in Jboss

I am using JBoss 4.2. And I'd like a certain URL pattern to be visited through HTTPS. I used self-certificated keystore file,and the problem is: once the HTTPS url is visited, all others urls in the site are all go through HTTPS, what's the problem? updated: I found out the problem. I used relative path to references to the resources, s...

How to enable maven to deploy the ear to the app. server automatically

Hi all, I am using maven2 with a struts-hibernate jee project and developing with myEclipse. When I run a maven build, clean&install, it generates myProject.ear under the myProject_ear\target folder as usual. However, I have to copy this ear file from that folder to the ..jboss-4.2.2.GA_2\server\default\deploy folder in order to deploy...

How to avoid java.lang.OutOfMemoryError: PermGen space in Netbeans

Hey, I am developing on Web Application in Netbeans6.8 and Using Jboss server to Deploy my application. I am able to run the project properly but after some time i get tgis error java.lang.OutOfMemoryError: PermGen space : after that i have to restart my JBoss server. Some time i need to restart my Netbeans IDE Can any one tell me t...

MEMBER OF in EJB-QL 3 doesn't work

Hi, I would like to retrieve many 'Access' which have one 'Role' in common. It's the Named Querie SELECT access FROM Access AS access WHERE :role MEMBER OF access.listRole The Access Entity public class Access implements Serializable { @Id @GeneratedValue(strategy=GenerationType.AUTO) private Long id; private String...

HSQL DB Conflicts with JBoss

I would like to use a custom version of the HSQL DB in an application that I am deploying in JBoss. However, JBoss already contains an HSQLDB.jar. The JBoss jar is being resolved by my application instead of the custom jar in my ear. How can I use a different version of HSQL in my web application from the one that JBoss uses interna...