Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

want to ran wicket in Jboss

 
Layla Rashid
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am trying to run wicket application in eclipse 3.7 using Jboss 7.o2 , I used maven 3.03 . I followed the steps in this web
http://wicket.apache.org/start/quickstart.html

and import the application in eclipse and ran it using jetty.

but i need to ran it in Jboss.
I right click myproject -> configure -> convert to faced form-> add dynamic web module and Javascript.
I right click myproject -> properties ->Deployment Assembley -> add -> folder-> src-> main-> webapp.

I right myprject -> run as server -> select jboss
And get error in the console
12:38:04,198 INFO [org.jboss.modules] JBoss Modules version 1.0.2.GA
12:38:04,616 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA
12:38:04,698 INFO [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting
12:38:05,887 WARN [org.jboss.as] No security realm defined for native management service, all access will be unrestricted.
12:38:05,972 INFO [org.jboss.as] creating http management service using network interface (management) port (9990)
12:38:05,974 WARN [org.jboss.as] No security realm defined for http management service, all access will be unrestricted.
12:38:05,994 INFO [org.jboss.as.logging] Removing bootstrap log handlers
12:38:06,030 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
12:38:06,065 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread) Activating Infinispan subsystem.
12:38:06,211 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating Naming Subsystem
12:38:06,230 INFO [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
12:38:06,237 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: Activating OSGi Subsystem
12:38:06,271 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security Subsystem
12:38:06,280 INFO [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.0.Beta2
12:38:06,327 INFO [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.0.Beta3
12:38:06,347 INFO [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.0.Beta3
12:38:06,799 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-1) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\jdk1.6.0_29\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;native;.
12:38:06,812 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
12:38:07,019 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080
12:38:07,091 INFO [org.jboss.as.connector] (MSC service thread 1-4) Starting JCA Subsystem (JBoss IronJacamar 1.0.3.Final)
12:38:07,152 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) Bound data source [java:jboss/datasources/ExampleDS]
12:38:07,179 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread 1-1) Starting remote JMX connector
12:38:07,212 INFO [org.jboss.as.remoting] (MSC service thread 1-3) Listening on /127.0.0.1:9999
12:38:07,870 INFO [org.jboss.as.deployment] (MSC service thread 1-1) Started FileSystemDeploymentService for directory C:\jboss-as-web-7.0.2.Final\standalone\deployments
12:38:08,038 WARN [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Deployment of 'wicket-examples.war' requested, but the deployment is not present
12:38:08,039 WARN [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Deployment of 'MyFristProject.war' requested, but the deployment is not present
12:38:08,039 INFO [org.jboss.as.deployment] (DeploymentScanner-threads - 1) Found myproject.war in deployment directory. To trigger deployment create a file called myproject.war.dodeploy
12:38:08,082 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "myproject.war"
12:38:08,193 INFO [org.jboss.as.jpa] (MSC service thread 1-4) added javax.persistence.api dependency to myproject.war
12:38:08,269 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed to start service jboss.deployment.unit."myproject.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."myproject.war".INSTALL: Failed to process phase INSTALL of deployment "myproject.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]
Caused by: java.lang.RuntimeException: Failed to load class org.apache.wicket.protocol.http.WicketFilter
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:141)
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:122)
at org.jboss.as.ee.component.LazyValue.get(LazyValue.java:40)
at org.jboss.as.ee.component.EEApplicationDescription.getClassConfiguration(EEApplicationDescription.java:183)
at org.jboss.as.ee.component.ComponentDescription.createConfiguration(ComponentDescription.java:153)
at org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy(EEModuleConfigurationProcessor.java:70)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 5 more
Caused by: java.lang.ClassNotFoundException: org.apache.wicket.protocol.http.WicketFilter from [Module "deployment.myproject.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:191)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:361)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:310)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:103)
at java.lang.Class.forName0(Native Method) [:1.6.0_29]
at java.lang.Class.forName(Class.java:247) [:1.6.0_29]
at org.jboss.as.ee.component.deployers.EEClassConfigurationProcessor$1.compute(EEClassConfigurationProcessor.java:139)
... 11 more

12:38:08,476 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2) Deployment of "myproject.war" was rolled back with failure message {"Failed services" => {"jboss.deployment.unit.\"myproject.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"myproject.war\".INSTALL: Failed to process phase INSTALL of deployment \"myproject.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.myproject.myproject.Validator missing [ jboss.naming.context.java.module.myproject.myproject ]","jboss.naming.context.java.module.myproject.myproject.ValidatorFactory missing [ jboss.naming.context.java.module.myproject.myproject ]"]}
12:38:08,482 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Stopped deployment myproject.war in 6ms
12:38:08,485 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1) {"Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"Failed services" => {"jboss.deployment.unit.\"myproject.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"myproject.war\".INSTALL: Failed to process phase INSTALL of deployment \"myproject.war\""},"Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.myproject.myproject.Validator missing [ jboss.naming.context.java.module.myproject.myproject ]","jboss.naming.context.java.module.myproject.myproject.ValidatorFactory missing [ jboss.naming.context.java.module.myproject.myproject ]"]}}}

I am wondering , am I going to the right direction, and what is causing this error.
is there any good article to follow ?

Thanks
Layla
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic