• Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse Maven deployment in JBoss 4.2.3.GA java.lang.IncompatibleClassChangeError  RSS feed

 
stathis dariskos
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to deploy a maven, hibernate project in jboss 4.2.3.GA.

I get this:

java.lang.IncompatibleClassChangeError: Class org.jnp.server.NamingServer does not implement the requested interface org.jnp.interfaces.Naming
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(Unknown Source)
at com.sun.faces.config.WebConfiguration.processJndiEntries(WebConfiguration.java:532)
at com.sun.faces.config.WebConfiguration.<init>(WebConfiguration.java:105)
at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:158)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.

..........

which results to this:

rg.jboss.deployment.DeploymentException: URL file:/C:/Users/Stathis/jboss-4.2.3.GA/server/default/tmp/deploy/tmp2618684701584568727HOLReportingTest-1-exp.war/ deployment failed
at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:386)
at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
............

Could be something wrong in my `pom.xml`..

How come the same `.war` file when deployed in `JBoss 7` gives this:

19:48:11,046 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
19:48:11,060 INFO [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsystem
19:48:11,072 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
19:48:11,076 INFO [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
19:48:11,157 INFO [org.jboss.as.security] (MSC service thread 1-4) JBAS013100: Current PicketBox version=4.0.7.Final
19:48:11,372 INFO [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
19:48:11,403 INFO [org.jboss.as.mail.extension] (MSC service thread 1-4) JBAS015400: Bound mail session [java:jboss/mail/Default]
19:48:11,494 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-6) JBoss Web Services - Stack CXF Server 4.0.2.GA
19:48:11,510 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
19:48:12,071 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Stathis\jboss-as-7.1.1.Final\standalone\deployments
19:48:12,162 INFO [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /127.0.0.1:9999
19:48:12,188 INFO [org.jboss.as.remoting] (MSC service thread 1-5) JBAS017100: Listening on /127.0.0.1:4447
19:48:12,236 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
19:48:12,392 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
19:48:12,432 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "HOLReportingTest-HOLReportingTest.war"
19:48:13,839 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-5) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
19:48:13,986 INFO [org.jboss.web] (MSC service thread 1-5) JBAS018210: Registering web context: /HOLReportingTest-HOLReportingTest
19:48:13,995 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015951: Admin console listening on
19:48:13,998 INFO [org.jboss.as] (MSC service thread 1-5) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 5814ms - Started 173 of 250 services (76 services are passive or on-demand)
19:48:14,064 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "HOLReportingTest-HOLReportingTest.war"
19:50:42,203 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) JBossOSGi Framework Core - 1.1.8.Final
19:50:42,321 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: system.bundle:0.0.0
19:50:42,813 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-2) Install bundle: javax.transaction.api:0.0.0
19:50:43,031 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-5) Install bundle: jboss-osgi-logging:1.0.0
19:50:43,054 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-1) Install bundle: org.apache.felix.configadmin:1.2.8
19:50:43,285 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-6) Install bundle: org.apache.felix.log:1.0.0
19:50:43,315 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-7) Install bundle: jboss-as-osgi-configadmin:7.1.1.Final
19:50:43,300 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-4) Install bundle: jbosgi-http-api:1.0.5
19:50:43,452 INFO [org.jboss.osgi.framework.internal.BundleManager] (MSC service thread 1-8) Install bundle: osgi.enterprise:4.2.0.201003190513
19:50:43,697 INFO [org.jboss.osgi.framework.internal.StartLevelPlugin] (MSC service thread 1-4) Starting bundles for start level: 1
19:50:43,706 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: jbosgi-http-api:1.0.5
19:50:43,711 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: osgi.enterprise:4.2.0.201003190513
19:50:43,726 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: jboss-as-osgi-configadmin:7.1.1.Final
19:50:43,745 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: jboss-osgi-logging:1.0.0
19:50:43,773 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: org.apache.felix.log:1.0.0
19:50:43,778 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: javax.transaction.api:0.0.0
19:50:43,806 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-4) Bundle started: org.apache.felix.configadmin:1.2.8
19:50:43,813 INFO [org.jboss.osgi.framework.internal.FrameworkActive] (MSC service thread 1-4) OSGi Framework started
19:52:10,155 WARN [org.jboss.remoting.remote] (Remoting "stathis-pc" read-1) JBREM000205: Failed to accept a connection: java.nio.channels.ClosedChannelException
19:52:10,177 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) Pausing Coyote HTTP/1.1 on http--127.0.0.1-8080
19:52:10,180 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-5) Stopping Coyote HTTP/1.1 on http--127.0.0.1-8080
19:52:10,168 ERROR [stderr] (vfs-shutdown) Exception in thread "vfs-shutdown" java.lang.NullPointerException

19:52:10,186 ERROR [stderr] (vfs-shutdown) at org.jboss.vfs.TempFileProvider$DeleteTask.run(TempFileProvider.java:151)

19:52:10,188 ERROR [stderr] (vfs-shutdown) at org.jboss.vfs.TempFileProvider.close(TempFileProvider.java:132)

19:52:10,190 ERROR [stderr] (vfs-shutdown) at org.jboss.osgi.vfs30.VirtualFileAdaptor30$2.run(VirtualFileAdaptor30.java:94)

19:52:10,195 INFO [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Container org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/] has not been started
19:52:10,157 INFO [org.jboss.as.controller] (MSC service thread 1-1) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.server.controller.management.security_realm.ApplicationRealm.properties_authentication (missing) dependents: [service jboss.server.controller.management.security_realm.ApplicationRealm]

19:52:10,194 WARN [org.jboss.remoting.remote] (Remoting "stathis-pc:MANAGEMENT" read-1) JBREM000205: Failed to accept a connection: java.nio.channels.ClosedChannelException
19:52:10,262 INFO [org.jboss.osgi.framework.internal.HostBundleState] (MSC service thread 1-1) Bundle stopped: jbosgi-http-api:1.0.5
01:25:45,158 INFO [org.jboss.as.connector] (MSC service thread 1-8) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
01:25:45,168 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
01:25:45,413 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
01:25:46,245 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
01:25:46,375 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-1) JBoss Web Services - Stack CXF Server 4.0.2.GA
01:25:46,594 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-8) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
01:25:46,811 INFO [org.jboss.as.remoting] (MSC service thread 1-2) JBAS017100: Listening on /127.0.0.1:9999
01:25:46,814 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447
01:25:46,829 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Stathis\jboss-as-7.1.1.Final\standalone\deployments
01:25:46,971 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "HOLReportingTest-HOLReportingTest.war"
01:25:48,829 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
01:25:49,101 INFO [org.jboss.web] (MSC service thread 1-3) JBAS018210: Registering web context: /HOLReportingTest-HOLReportingTest
01:25:49,114 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015951: Admin console listening on
01:25:49,124 INFO [org.jboss.as] (MSC service thread 1-3) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 9203ms - Started 173 of 250 services (76 services are passive or on-demand)
01:25:49,203 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "HOLReportingTest-HOLReportingTest.war"
01:26:36,667 WARN [org.jboss.remoting.remote] (Remoting "stathis-pc:MANAGEMENT" read-1) JBREM000205: Failed to accept a connection: java.nio.channels.ClosedChannelException
01:26:36,652 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011942: Stopping OSGi Framework
01:26:53,579 INFO [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
01:26:53,652 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mail/Default]
01:26:53,705 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-5) JBoss Web Services - Stack CXF Server 4.0.2.GA
01:26:53,727 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
01:26:54,154 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
01:26:54,163 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Stathis\jboss-as-7.1.1.Final\standalone\deployments
01:26:54,193 INFO [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on /127.0.0.1:4447
01:26:54,306 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
01:26:54,342 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:9999
01:26:54,510 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "HOLReportingTest-HOLReportingTest.war"
01:26:56,252 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
01:26:56,469 INFO [org.jboss.web] (MSC service thread 1-7) JBAS018210: Registering web context: /HOLReportingTest-HOLReportingTest
01:26:56,483 INFO [org.jboss.as] (MSC service thread 1-8) JBAS015951: Admin console listening on
01:26:56,493 INFO [org.jboss.as] (MSC service thread 1-8) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 6124ms - Started 173 of 250 services (76 services are passive or on-demand)
01:26:56,573 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "HOLReportingTest-HOLReportingTest.war"
01:34:11,451 INFO [org.jboss.as.osgi] (MSC service thread 1-4) JBAS011942: Stopping OSGi Framework
12:28:22,569 INFO [org.jboss.as.security] (MSC service thread 1-1) JBAS013100: Current PicketBox version=4.0.7.Final
12:28:22,685 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) JBAS015400: Bound mail session [java:jboss/mail/Default]
12:28:22,575 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting Naming Service
12:28:22,708 INFO [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.9.Final)
12:28:22,817 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
12:28:23,029 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-6) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
12:28:23,714 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
12:28:23,834 INFO [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - Stack CXF Server 4.0.2.GA
12:28:23,984 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory C:\Users\Stathis\jboss-as-7.1.1.Final\standalone\deployments
12:28:23,994 INFO [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:4447
12:28:23,994 INFO [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on /127.0.0.1:9999
12:28:24,114 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "HOLReportingTest-1.war"
12:28:25,624 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
12:28:25,744 INFO [org.jboss.web] (MSC service thread 1-4) JBAS018210: Registering web context: /HOLReportingTest-1
12:28:25,754 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015951: Admin console listening on
12:28:25,754 INFO [org.jboss.as] (MSC service thread 1-4) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 9070ms - Started 173 of 250 services (76 services are passive or on-demand)
12:28:25,804 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "HOLReportingTest-1.war"

I need it deployed in 4.2.3.GA due to legacy system compatibility...


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!