jboss

Why it is not possible to set several attributes by one call in twiddle?

Or it is possible? ...

How to change web service URL in JBoss 5.1

Environment: Windows 2003 JBoss 5.1 Code: @WebService @Stateless @SOAPBinding(style = Style.RPC) public class MyWebService { public String sayHello() { return "Hello"; } } wsdl is deployed in: http://localhost:8080/ear-project-ejb-project/MyWebService?wsdl I would like to define another path for this webservice, something like: htt...

JSF Custom EL function works only on the first load of the page.

I created a ( JSP-based) custom EL function to use in the rendered tag. The function will return a boolean to decide if a page component needs to be rendered on a page or not. I import it onto the jsp page using <%@ taglib uri = "/WEB-INF/mine.tld" prefix = "g" %>. Everything works perfect on the first load of the jsp page. Once a but...

j2ee: I have a problem regarding jboss server

I am using jboss 4.2 server and oracle xe both have same port ie 8080 so I want to change my jBoss port for run our application please tell me how to change port in jboss. I know how to change port in tomcat but I didnot find in jboss. ...

spring classloader isolation problem on jboss

Hi, i have two ears deployed on jboss with proper classloaders isolation settings. When seam bean call spring beans which make some queries on database everything works fine, but when spring quartz job bean is invoked and execute tries to execute database queries then there is a problem because spring tries too use hibernate jar from ot...

How to auto create a JMS topic/queue on JBoss in a portable and per-application way?

It's simple: I have an MDB and an EJB that sends messages to a topic (or queue). JBoss complains that the topic is not bound to the JNDI context. I want to have the topic/queue to be automatically created at best, or at least to have a standard way to define it, per application (say, in ejb-jar/META-INF) this question and this blogpost...

Eager / auto loading of EJB / load EJB on startup (on JBoss)

EJBs seem to be loaded lazily - whenever accessed. However, I want to initialize them eagerly - i.e. whenever the container starts-up. How is this achieved (in JBoss in particular) This topic gives some hints, but isn't quite satisfactory. ...

UniversalConnectionPoolManagerMBean already registered.

I have two web applications. Both of yhem use oracle.ucp.UniversalConnectionPool. When I deploy these applications on JBoss I get following exception: java.sql.SQLException: Unable to start the Universal Connection Pool: java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: ...

Ejb 2.0 deployment issues on Jboss 5.1

I am deploying an ear application on Jboss 5.1.0. and i facing some issues. I had two ears one i had copied to deploy folder and the other in deploy-hasingleton. The ear which is in deploy-hasingleton is throwing some errors.when i serached in google i came to know that there is some issue with EJB 2.x on jboss 5.1.i was not able to fi...

Web.xml: Are url-pattern tags relative to each other?

<servlet-mapping> <servlet-name>myName</servlet-name> <url-pattern>/aName</url-pattern> </servlet-mapping> <security-constraint> <web-resource-collection> ... <url-pattern> /* </url-pattern> </web-res...

UTF GET parameter codification problem in JSP (JBoss 2.0.1)

I´m trying to take a string from a GET or POST parameter in JSP with some accents in UTF-8: <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <% request.setCharacterEncoding("UTF-8"); String value = request.getParameter("q"); out.print(value+" | aáa"); %> The codification of the hardcoded string is co...

Message driven bean not responding until client method is complete

Hi, I have a MDB deployed on Jboss 4.2.2 and a client on the same server that produces messages and expects a reply from the MDB via a temporary queue created before the message is sent. When I run the client, I see that it creates the message, puts it in the queue and waits for the reply (no problem so far) ... but when I check in the...

Is it possible to use the Spring MVC on JBoss App server?

Hi. Is it possible to use Spring MVC on JBoss App server? If so, how? Used the Spring MVC with Tomcat Apache server, but now i have to move my project to a JBoss app server. But i'm getting an error, and i'm not sure why. It seems like i can't use my classes. 125 ERROR [Engine] StandardWrapperValve[project]: Servlet.service() for ser...

get 502 bad gateway error when calling a webservice

Hello to all, In my SEAM web application running under JBOSS-AS 4.2.3 there is a plain SOAP message call to a webservice, using SOAPConnection.call(). The call ends up with a org.jboss.remoting.CannotConnectException: Can not connect http client invoker. Invalid HTTP server response [502] - Bad Gateway. Running the same code outside th...

What causes this org.hibernate.MappingException?

I'm trying to configure an ejb3 sample application, it's entities where mapped to postgres now I want the app run on Jboss4.3 and Informix using JPA. If the DDL creation <property name="hibernate.hbm2ddl.auto" value="create"/> is active this error appears > WARN [ServiceController] Problem > starting service > persistence.units:ear=we...

FileNotFoundException, although the XML file should be deployed

Hi, I've got problems starting my WAR application on a local JBoss. After two other EARs are deployed and the TomcatDeployer begins deploying the WAR, I'm getting the following error message: 2010-04-28 10:01:56,605 ERROR [org.jboss.ejb.plugins.LogInterceptor] [] [main] EJBException in method: public abstract at.sozvers.stp.zpv.ejb....

JBoss Developer Studio exploaded SAR/EAR/WAR deployment

I am new to JBoss DS and I could not figur out is how to make a folder from my project deployable, exploded SAR in my case. If I create a new server in the JBoss server view / JBoss AS perspective and select a SAR and make it a deployable then the SAR file can be deployed on the JBoss server. Another approch that I have tryed is to ma...

Deploying java class files without restarting JBoss

Hi, I would like to know if its possible to deploy java class files without restarting JBoss server. I am using jboss v4.2.2. Also, when I try to deploy jsp files, it works fine and server picks up the changes almost instantly. Thanks a lot in advance :) ...

How do I fix this JBoss EJB client authentication issue?

I have an EJB deployed under JBoss (we're moving a project to it from Weblogic), I can get an EJBHome reference to the EJB via a JNDI lookup. The login-config.xml application-policy contains several login modules (I don't know if these are ANDs or ORs?) - org.jboss.security.spi.BaseCertLoginModule, LdapLoginModule, RoleMappingLoginModul...

Does Jboss 4.2.3.GA support JDK 1.4.2?

I'm migrating my apps from WebSphere to JBoss. I would like to know if JBoss 4.2.3 GA supports JDK 1.4.2. Many thanks in advance. ...