jboss

Jboss logging issue

I'm Working as deployer and server administrator. We use Jboss 4.0x AS to deploy our applications. The issue I'm facing is, Whenever we redeploy/restart the server, server.log is getting created but after sometime the logging goes off. Yes it is not at all updating the server.log file. Due to this, we could not trace the other critica...

JspC in jboss 4.2 distribution

Where can I find the org.apache.jasper.JspC class in the JBoss 4.2 distribution (exactly a 4.2.2.GA one)? Thanks Claudio ...

Stand - alone application with JBoss or Tomcat

Hallo, I have a more specific question about deploying a Java-application. I have created a Java application, it is a WAR file and can be installed on any Java application server. This works perfect. Now for users who do not have Java experience I want to package somehow my application together with the application server and distribut...

URL to know JSX RPC web services deployed on JBOSS 4.2.3

How can we know the services of type JAX-RPC, deployed on JBOSS server. Is there any url just like http://localhost:8080/jbossws/services which lists JAX-WS type services? ...

How to deploy EJB on server?

Hi, I am learning EJB3 from last few days. I have many questions regarding EJB, application servers and deployment of EJB. To start with, I have created one simple helloworld stateless session bean but I don't know how to deploy it on server. It has single bean class, bean interface and one servlet client. I have used eclipse to deve...

Strange jboss console error

Hello everyone, I'm creating additional module to already multi-module maven project. And for this one I want everything to be like in other modules(meaning dependencies) just to test hello world, then I'll go do some more complex stuff. And it does print hello world as it should when deployed onto jboss server, but I get some strange e...

avaStatic factory pattern with EJB3/JBoss

I'm fairly new to EJBs and full blown application servers like JBoss, having written and worked with special purpose standalone Java applications for most of my career, with limited use of JEE. I'm wondering about the best way to adapt a commonly used design pattern to EJB3 and JBoss: the static factory pattern. In fact this is Item #1 i...

Java Classpath Issues with Webservices(CXF) and Jboss

I am using CXF(which autogenerates my webservices in my pom.xml from my wsdl) with JBoss(eclipse ide), and I am having some trouble accessing the webservice from my web application. I found this resource: http://blog.progs.be/?p=92 but I am having a really hard time using WSDL_LOCATION = cl.getResource( "my/progam/pack/wsdl/myService.ws...

Different versions of JBoss on the same host

I have JBoss 4 installed on my PC to directory C:\JBoss4 And environment variable JBOSS_HOME set to this directory: JBOSS_HOME=C:\JBoss4 I need to install JBoss 5.1 on the same PC. I installed it into C:\JBoss51 In order to start JBoss 5.1 on the same host where JBoss 4 was already started, I need to redefine properties jboss.home...

Java Webservice java.lang.ClassCastException: org.apache.cxf.jaxws.ServiceImpl

I am using Maven, CXF 2.2.7, JBoss 4.2.3 and JRE 1.5 Updated I have a Webservice that I can see on the server by using the URL myURL/myService?wsdl I am trying to develop a web app to ping that webservice by calling this in my bean: MyWebService webservice = new MyWebService(); However, it dies and throws the following error, which i...

General Drools Question

For the last few months my company has been using a product from a company called Informatica (previously AgentLogic) called RulePoint. This product has proven itself very easy to use with a well-developed and easy-to-use SDK for customization. The way we use the product for CEP is fairly trivial, we have 2 sources which we monitor for o...

JBoss 5.1 binds to host address while run in vserver with -b <guest address>

Hello, while starting JBoss 5.1.0.GA in virtual server machine on Debian (linux-VServer technology) I get the following error: ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=Create mode=Manual requiredState=Install...

Hibernate not using schema and catalog name in id generation with strategy increment

Hi, I am using the hibernate increment strategy to create my IDs on my entities. @GenericGenerator(name="increment-strategy", strategy="increment") @Id @GeneratedValue(generator="increment=strategy") @Column(name="HDR_ID", unique=true, nullable=false) public int getHdrId(){ return this.hdrId; } The entity has the following table...

JBoss Application Server Log Configuration

Hi, Is there any configuration for JBoss Application Server's Log configuration where in the logs get deleted automatically if the log size exceeds some threshold or if it is older than a certain date ? ...

Rolling File appender usage

What is a rollingfile appender ? I want my jboss to delete logs either exceeding a maximum size or exceeding a certain date. People on this forum have suggested me to use rollingfile appender. How do I configure it in jboss-log4j.xml file ? ...

Configuring Rolling File Appender

Hi, My jboss application server log file named jboss-log4j.xml has the following configuration for the rolling file appender <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender"> <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/> <param name="File" value="${jboss.server.log.dir}/server.log"/> ...

In JBoss, how do I make my war start after my sar?

Within my service I have an mbean which is accessed by my war file. How do I ensure that the war file is deployed and started after the service? ...

Unable to create more then one gadget in GateIn portal

Repost from: Jboss GateIn Discussion. Please refer that post for screenshots. Here what happens when I try to create 2 gadgets: I press "Create a new gadget" Leave content as is and press "Save". As the result gadget gets name "CHANGME" and there is no way to change it. Press "Create a new gadget" and change title to "hello2 ...." Pre...

JBoss: Authentication caches wrong login credentials

I am using JBoss AS 4.2.3 JBossSeam 2.1 My Problem is that I can login/logout with different users as long as I do not enter a wrong password for one user. If this happens it is not possible to authenticate any user. Authentication always fails. If I delete the browser cookies everything works fine. I have tried to set DefaultCacheTim...

java.lang.ClassCastException: $Proxy99 cannot be cast

Hi, I am using JBoss4.2.2 and java6. The deployed ear's name is apa.ear In a servlet I have the following code line: placeBid = (PlaceBid) context.lookup("apa/" + PlaceBid.class.getSimpleName() + "/remote"); I have a generated jboss-app.xml like this: <jboss-app> <loader-repository>apa:app=ejb3</loader-repository> </jboss-app>...