jboss

Jboss Logging isssue

our application is deployed on jboos As 4.0x, we face some issues in jboss logging.. whenever the server is restarted, jboss stops logging , and there is no update in server.log. After that it is not updating the log file. then we do touch cmd on log4j.xml, so that it creates the log files again. Please help me in fixing the issue w...

How to use JAAS form auth and force the redirect after login always to Index?

I'm using JBoss 4.2.3 and JAAS authentication by Form. Currently if I try to access any of my protected pages, the login page appears and then I'm redirected to the page I wanted to see. What I want is that after the login, the user is always redirected to index.jsp. Currently I only found this solution: http://roneiv.wordpress.com/...

Which is better: JNP or Corba?

Hello. I've try with EJB 3.0 and swing client and i've tried with glassfish and jboss as application server when i did use glassfish, the comunication is via corba. when i did use jboss, the comunication is via JNP. in my tests the JNP was faster than corba who has some like this?, and who could tell me which is better: JNP or Corba?...

What is the most simple way to execute java class every 30 seconds

I've been reading about java/spring/hibernate and worked trough a "dummy" examples so I told my friend to recommend something a bit harder for me, and now I'm stuck.. here is the simplest class I could think of package spring.com.practice; public class Pitcher { private String shout; public String getShout() { return ...

JMS template credentials default value

Hello everyone I'm trying to work with jboss messaging, does anyone knows the default value for these java.naming.security.principal and java.naming.security.credentials or how can I set them? <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate"> <property name="environment"> <props> <prop key="jav...

How to fix this java.lang.LinkageError?

I am trying to configure a custom layout class to Log4J as described in my previous post. The class uses java.util.regex.Matcher to identify potential credit card numbers in log messages. It works perfectly in unit tests, also in a minimal web app containing a single servlet. However when I try to deploy it with our app in JBoss, I get t...

Error starting jboss server

I've just finished re-installing my OS, and as always install and test standard tools which I use, and now I get this error like never before when I tried to start Jboss 5 from eclipse, its quite big exeption : 3:53:10,693 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described java.lang.I...

How to change webservice url endpoint ?

I generated a web-service client using JBoss utils (JAX-WS compatible) using Eclipse 'web service client from a wsdl'. So, the only thing I provided was a url to a web-service WSDL. Now, the web service provider tells me to change the "url of client endpoint application access" of the web-service. What is it and how to change it? ...

Jboss logging issue

How to check whether all the jboss services are running or not in unix ? ...

JMS messaging implementation

I've been struggling with this "simple" task for more expirienced people, I'm stuck for 2 days now need help. I've changed things arround like zillion times now, finally I stumbled upon this spring JMS tutorial. What I want to do, Send a message and receive it. I've been also reading this book chapter 8 on messaging. It really nicely ex...

EntityQuery restrictions in JBoss Seam

Is it possible to create restriction clauses for the Seam EntityQuery, that are ORed instead of always being ANDed together? ...

Jboss logging issue

Our application is deployed on JBoss As 4.0x and we face some issues with JBoss logging. Whenever the server is restarted, JBoss stops logging, and there is no update in server.log. After that it is not updating the log file. Then we do touch cmd on log4j.xml, so that it creates the log files again. Please help me in fixing the issue we ...

How to bind an ip AND ports to subdomains using JBoss (Or Apache Tomcat)

Hi! This is my problem: I have a JBoss server (Running an existing app) and a Apache Tomcat (Running an app created by me) server running on the same server with different ports. I have two subdomain names which i have routed to the IP of the server. What i need to do is to bind the subdomain names to the IP, but with different ports....

Is it possible to change folder where JBoss 5.1 writes its boot traces?

By default JBoss 5.1 writes boot traces to $JBOSS_HOME/server/default/log folder. Is it possible to change location for boot traces? Boot traces - traces in file boot.log. ...

WEB-INF/lib jars not found in JBoss 4.0.2 war deploy

I have a simple web application (one jsp and one servlet) file that I've copied into jboss-4.0.2/server/default/deploy folder and it has successfully hot deployed as I can access the jsp page. However, when I invoke the servlet, I am getting a java.lan.NoClassDefFoundError. I suspect that the jars under the WEB-INF/lib directory within ...

Limiting JMS Destination Instances

Is it possible to limit the number of JMS receiver instances to a single instance? I.e. only process a single message from a queue at any one time? The reason I ask is because I have a fairly intensive render type process to run for each message (potentially many thousands). I'd like to limit the execution of this code to a single insta...

Lookup of remote interface is not getting recognised in JBoss

The following code is used by IPMBaseBean.class for accessing remote interface . Object obj = iniCtx.lookup("java:/comp/env/ejb/ODIControllerSessionEJB"); In jboss-web.xml jndi-name is refered as below <ejb-ref-name>ejb/ODIControllerSessionEJB</ejb-ref-name> <jndi-name>jnp://vwhq5275.whq.ual.com:6200/ODIControllerSessionEJB</jndi-na...

JBoss Tomcat issue: "[engine] standardhost[localhost]: MAPPING configuration error for request URI" and "No context configured to process this request"

Hi I am trying to run a system deployed on a linux machine - built over jboss. I have ran jboss services but it is constantly giving these two errors: When I try to open home page: http://localhost/ - it gives following errors: "[engine] standardhost[localhost]: MAPPING configuration error for request URI" and "No context configured t...

What does Siebel Error SBL-BPR-00176 mean?

My webapp talks to Siebel just fine in one test environment, but in another we are getting the following error message: <Exception> <Major No.>256</Major No.> <Minor No.>6750384</Minor No.> <Message> The workflow/task engine cannot determine a next step while executing process definition 'Dynamic Pricing Pro...

run jsf application with myeclipse and jboss server

I develop simple jsf login application,that use icefaces component but, when I tries to run it in jboss server I got following error. Can't find TLD for location [http://java.sun.com/jsf/core]. JAR containing the TLD may not be in the classpath Can't find TLD for location [http://java.sun.com/jsf/html]. JAR containing th...