jboss

JBOSS hanging on org.apache.jk.common.JkInputStream.receive() - IOException reading the http request inputstream

I have a problem that causes all threads in JBOSS to block while reading the input stream. It does not happen predictably and the system can run for days (or longer) before it starts to suffer. The problem looks similar to question 1624159 but I have yet to try setting -Dhttp.keepAlive=false as recommended in the answer because I wondere...

How to run jboss 4.2.3 in the debug mode? <EOM>

How to run jboss 4.2.3 in the debug mode? thanx ...

sql server 2005:how to connect to sql server 2005 on platform jboss 3.0?

i have deployed my application on jboss 3.I have restored a database back up of sql server 2000 on sql server 2005.then i have downloaded the jr file jdbc connection to sql server 2005.My connection string setting is as below. <datasources> <local-tx-datasource> <jndi-name>SLBDataSource</jndi-name> <connection-url>jdbc:sqlserver:...

Drools 5.0, How can i get the my application objects in the drl file

Hi, I am new to Drools 5.0 , now i am struck in one issue actually in my project all Domain objects in different project, My rule project does not has any Java Classes. So i make project reference to that my domain Object Project. But still i am not able to access the objects in drl If any one know from where i need to change the object ...

JBoss JMS Remote Queue ????

Hey All, I want to send messages to remote queue ? what steps should i do i cant find any documentation about that ? anyone can help ?? ? ...

What's a good strategy for automatically incorporating self-signed certs into my truststore in Java?

We've built a JEE app in JBoss that exposes web services to external consumers. We want to secure these services so that we know who is making the web service invocations. We have a registration process that requires the consumers to upload their public key so that we can add it to our truststore. However it is currently a manual proc...

setting global process variable in jbpm 4.2 process definition

I want to set a variables in a process definition for JBPM4 As these variables will be set for all process instances with the same values ...

Stateless session bean result caching ?

We're running a Stateless Session Bean to retrieve some data from various locations. What's the best way to achieve caching for this SLSB ? Using interceptors ? Using JBossCache ? We're using JBoss 5.0.1. ...

How to debug a connection failure between Jboss and eclipse debugger.

I have setup eclipse to attach to a local JVM. But when I try to do the same for a machine over the network I get "connection timed out exception". How do I go about debugging this issue? I tried: lsof -i :8787 on the remote machine, and it appears that a java process is in fact listening on that port. What else could be wrong and h...

bounce multiple servers using ant

Hi All, This is restart target code which is defined in build.xml target name="restart" propertycopy name="remote.host" from="deploy.${target.env}.host.${remote.id}" propertycopy name="remote.port" from="deploy.${target.env}.port.${remote.id}" sshexec trust="true" host="${remote.host}" port="${remote.port}" username="${scm.us...

Improving JBoss 5 slow startup

We upgraded from JBoss 4 (and JDK 5) to JBoss 5 (and JDK 6). The problem is that the start time has gone from 1.5 minutes (on JBoss 4) to more than 4 minutes. 18:53:35,444 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 3m:9s:262ms It seems like the component that is ta...

Static pages in Jboss

Hi. I have a noobish question. Probably a silly one. I have a static html page; that I want to deploy with my existing app on jboss. I put my static page xyz.html in my xyz-app.war folder in jboss. I restarted the jboss and tried to hit http://localhost:8080/xyz-app/xyz.html it doesn't come up as the control goes to Ruby Routes cont...

Can't set serviceName and endpointName on an EndpointReference

I need to add ServiceName and PortName information on a W3CEndpointReference, but even if I add those to the W3CEndpointReferenceBuilder, this information won't show on the resulting EPR. This is preventing me from successfully creating a proxy to consume the service, getting the following error when I call epr.getPort(InterfaceClass.cl...

How to get SessionContext in JBOSS

I tried several ways in the session bean, like: @Resource private SessionContext ctx; OR private SessionContext ctx; @Resource private void setSessionContext(SessionContext ctx) { this.sctx = ctx; } OR InitialContext ic = new InitialContext(); SessionContext ctx = (SessionContext) ic.lookup("java:comp/env/sessionContext"); No...

Mono under Jboss

I would just like to know if it is possible to run MONO APS.NET MVC under JBOSS? And if so how can I achieve this? thx ...

Cannot start JBoss 5 with memory setting -Xmx768M

We have PC with Windows with 2048 RAM. We try to use next memory settings for JBoss: -Xms256M -Xmx768M -XX:MaxPermSize=256M But it cannot start: Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. JBoss starts only if we change -Xmx768M to -Xmx5...

JBoss 5 cluster as JMS server durable problem

Hi! I have an pair of JBoss 5.1 servers clustered together to act as an fault-tolerant JMS server. I configured them to use MySQL datastore (with clustering setting enabled in mysql-persistence-service.xml), I created an topic mbean in destinations-service.xml by defining: <mbean code="org.jboss.jms.server.destination.TopicService"...

Problem during JBoss Launch

Hi folks, I've a problem with JBoss 3.2.6. When I try to launch it, I get this error. 09:19:22,449 ERROR [StatefulSessionContainer] Starting failed jboss.j2ee:jndiName=TypicalBean,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException: Network is unreachable [Root excep...

How can I change a config file variable using ant build?

I'm using Jboss 4/5 and have some .war .properties files with default configuration settings I want to update these settings using information from the windows xp environment variables. ${env} in ant ...

jboss 4.2.2 worker thread initialization failure

im having jboss as server and java as client. there are some 200 client will access server daily. this error coming every now and then on jboss log. any one tell me some idea. ERROR [org.jboss.remoting.transport.socket.ServerThread] Worker thread initialization failure java.net.SocketTimeoutException: Read timed out at java.net.Sock...