jboss

jboss-commons.jar file deployment issue

Hello all, I have a jboss deployment issue with one of the jboss-commons.jar file. If I include this jar file as part of my war file, I get datasource creation isssue, if I don't it deploys fine but fails at code which uses it, i absolutly need this file, any help would be greatly appreciated. I know this file is part of jboss root/lib ...

AJP configuration in JBoss 4.2.2 is not binding to the correct port

I am looking into a strange problem where a JBoss 4.2.2 server is not binding to the correct AJP port. We have configured it to bind to 8009, but it is binding to 18129. After attaching the debugger, I can see that for some reason, org.jboss.services.binding.XSLTFileDelegate is generating a temp file with this in it. The XSLTFileDelegat...

[WebappClassLoader] Illegal access (Quartz with JBoss)

Hi, I am running a scheduled job in a web application which sometimes (could notreproduce it ) results in the following exception: [WebappClassLoader] Illegal access: this web application instance has been stopped already. Could not load org.quartz.StatefulJob. The eventual following stack trace is caused by an error thrown for deb...

Is it safe to upgrade Jboss 4.0.5 quartz jars to Quartz 1.8.3 ?

Hi I would like to upgrade the quartz version from 1.5.3 which is on the jboss to the currently latest 1.8.3. Testing it by replacing the old jar with the new and it's dependencies Jboss started just fine and I was even able to execute a scheduled job. Should I be aware of any backward compatibility issues? Thanks ...

Deployed war in JBoss via cargo-maven2-plugin not accessible via JBoss AS Admin console

I'm deploying a war to a remote JBoss 5.1.0 using the following POM config <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0.2</version> <configuration> <container> <containerId>jboss51x</containerId> <type>...

Check if data sent from Flex to Java server is zipped or not

Hello, I want to analyse if the XML I send from my client Flex to my Java using remoteObject is compressed or not. for this, I'm using Wireshark, but it can't get packets in the localhost (windows vista) how can I do that ? ...

How to access remote EJB 2.1 bean on JBoss 4.x from outside container

I've got a session bean, defined in an ejb-jar.xml and jboss.xml. It's defined with an ejb-name, remote and home interface and an implementation. When I fire up JBoss and view the JNDI tree the home interface seems to be there under the JNDI name of the ejb-name (I've tried defining jndi-name and local-jndi-name in the ejb-jar.xml with ...

How to 'activate' SLF4J logging in JBoss6 AS

Given: JBoss 6 Application Server M3 $ ls -la $JBOSS_HOME/common/lib/slf4j-* -rwx------+ common/lib/slf4j-api.jar -rwx------+ common/lib/slf4j-jboss-logmanager.jar I believe that the above libs provide the bridge between SLF4J and the JBoss Logging system. My Web application relies on SLF4J for logging. Though, I don't package any ...

Ant publisher properties in JBoss Runtime on Eclipse

Hi, I am using JBoss 4.2 Runtime on Eclipse Helios. As you know it uses the build file (jboss323.xml) that comes with the plugin. However I want to change the way this build file behaves for a particular project (for example: override its WAR building process, say add a filter to exclude certain files). But I don't want to edit jboss323...

How to create own server profile in JBoss AS 5 and 6

I am using JBoss AS 5 + 6 as an application server, however only as a simple EJB3/Web container with ear and war deployment but without special capabilities such as clustering, ejb2 or hornetq. JBoss AS provides server profiles for different uses but I did not find any documentation on how to create my own or customize an existing prof...

SLF4J logger.debug() does not get logged in JBoss 6

Context: JBoss Application Server 6 I am relying on slf4j-jboss-logmanager.jar to bind slf4j to the JBoss log manager. All logger.info() output is correctly logged. However, logger.debug() output never appears in the log stream. Even though jboss-logging.xml has set the level to DEBUG for the CONSOLE logger... <console-handler n...

Seam - EJB3 in Web Module/WAR?

I'm writing an application using Seam 2.2.x which will be deployed on JBoss 5.1. I have an EJB module with all of the business logic en EJB's. However, I'd also like to have statless session EJBs in the web module to act as action classes. Is this possible? Do I need to perform any additional configuration to get this working? I hav...

Quartz Scheduler not stopping after shutdown

Hi I'm using the currently latest quartz 1.8.3 on jboss 4.0.5. The quartz jobs are persistent and saved into a local database. When I call the shutdown or standby method on the executing quartz scheduler object jobs still continue to execute by the scheduler, only that the jobs state is empty and the execution fails. I would expect (a...

How to provide an anonymous access to EJB3 session bean?

I would like to provide an anonymous access to EJB3 Session Bean. So that independently of other beans (secure they or not) I could access my bean simply with: InitialContext ctx = new InitialContext(props); MyBean myBean = (MyBean) ctx.lookup("MyBean"); without any LoginContext and security handlers. Is it possible? I imagine that s...

JBoss - java.rmi.ConnectIOException: error during JRMP connection establishment;

I'm new in windows environment and I wonder why my JBoss AS didn't start. I use following command to start my server : run.bat -b 0.0.0.0 -c default The Exception is: 2010-08-04 00:14:18,109 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.remoting:protocol=rmi,service=...

Commons logging output ignores jboss logging config in jboss 6

On both M3 and M4 releases of JBoss 6, all redirected commons-logging outputs seem to ignore logger level configuration in jboss-logging.xml. For example, I get TRACE and DEBUG output from org.apache.commons.httpclient and com.ocpsoft.pretty, even if I set up logger levels in jboss-logging.xml to put those packages to ERROR. jboss-logg...

JBoss database connection pool auto-commit behavior

We are using JBoss 4 and Oracle with a JNDI datasource configured via JBoss datasource XML file. Recently realized that all connections acquired from the datasource by default has the auto-commit property set to true. However, we rely on Oracle stored procedures and want to control the commits within the stored procedures. We use plain...

JBoss 4.2.2 nodes start to cluster then suspect each other

Hi, I have a website running with JBoss 4.2.2 on an existing Red Hat server. I'm setting up a second server so as to have a clustered pair (which will then be load-balanced). However, I can't get them to cluster successfully. The existing server starts up JBoss with: run.sh -c default -b 0.0.0.0 (I know the 'default' configuration d...

Why isn't this EJBQL query validated by JBoss 5?

Hello, I am migrating an existing application from Weblogic server 9 to JBoss 5. My problem is with a query that has a character condition in the WHERE clause, like this one: SELECT DISTINCT OBJECT(myObject) FROM MyObject myObject WHERE myObject.myAttribute = 'F' ... which I believe was working with WLS now leads to an aborted dep...

How to start and stop ejbs from outside jboss

hi all, i am developing java ee 5 app based on jboss4.2.3, one of project milestones is to create web-admin tool to stop or restart ejb modules of the application any idea how to achieve this ?, i appreciate if some one recommend a short developer guide for jboss ...