3 Replies Latest reply on Jul 5, 2012 5:38 AM by Tomaz Cerar

    java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider while depolying a war file

    Hari Kishore Yecharla Newbie

      I got the error like this what should I do when I googling I got some stuff but I didn't get how to proceed with that. Some body suggested that need to create jboss-deployment-structure.xml But where should I place this file.

       

      This is my console message:

      -------------------------------------------------------------------------------------------------------------------

      Calling "D:\Soft\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
      ===============================================================================

        JBoss Bootstrap Environment

        JBOSS_HOME: D:\Soft\jboss-as-7.1.1.Final

        JAVA: C:\Program Files\Java\jdk1.6.0_23\bin\java

        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.cl
      ient.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war
      ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

      ===============================================================================

      09:50:28,093 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      09:50:31,203 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      09:50:31,593 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
      09:50:42,906 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-h
      ttp)
      09:50:42,906 INFO  [org.xnio] XNIO Version 3.0.3.GA
      09:50:43,187 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      09:50:43,390 INFO  [org.jboss.as.configadmin] JBAS016200: Activating ConfigAdmin Subsystem
      09:50:43,421 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      09:50:43,546 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
      09:50:43,578 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
      09:50:43,812 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Exten
      sion
      09:50:43,812 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinis
      pan subsystem.
      09:50:43,828 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      09:50:44,640 INFO  [org.jboss.remoting] (MSC service thread 1-1) JBoss Remoting version 3.2.3.GA
      09:50:45,828 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
      09:50:49,406 INFO  [org.jboss.as.connector] (MSC service thread 1-4) JBAS010408: Starting JCA Subsystem (JBoss IronJacam
      ar 1.0.9.Final)
      09:50:49,593 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010404: Deployi
      ng non-JDBC-compliant driver class net.sourceforge.jtds.jdbc.Driver (version 1.2)
      09:50:50,015 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deployi
      ng JDBC-compliant driver class org.h2.Driver (version 1.3)
      09:50:50,109 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
      09:50:52,156 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-4) Starting Coyote HTTP/1.1 on http--
      127.0.0.1-8080
      09:50:54,281 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mai
      l/Default]
      09:50:56,781 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-2) JBoss Web Services - S
      tack CXF Server 4.0.2.GA
      09:50:58,296 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data sourc
      e [java:jboss/datasources/TradisAwacsJNDI]
      09:50:58,312 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data sourc
      e [java:jboss/datasources/ExampleDS]
      09:50:58,328 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data sourc
      e [java:jboss/datasources/TradisHorseJNDI]
      09:50:58,328 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data sourc
      e [java:jboss/datasources/TradisOnlineJNDI]
      09:50:58,343 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data sourc
      e [java:jboss/datasources/TradisGraphJNDI]
      09:50:58,562 INFO  [org.jboss.as.remoting] (MSC service thread 1-3) JBAS017100: Listening on /127.0.0.1:4447
      09:50:58,562 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on /127.0.0.1:9999
      09:50:58,859 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-1) JBAS015012: Started FileSystemDeplo
      ymentService for directory D:\Soft\jboss-as-7.1.1.Final\standalone\deployments
      09:51:00,421 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      09:51:00,421 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 37546ms
      - Started 146 of 225 services (74 services are passive or on-demand)
      09:51:06,640 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found OrionLite.
      war in deployment directory. To trigger deployment create a file called OrionLite.war.dodeploy
      09:51:06,906 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "OrionLi
      te.war"
      09:51:32,187 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) Class Path entry lib/jcommon-1.0.0.jar in "
      /D:/Soft/jboss-as-7.1.1.Final/standalone/deployments/OrionLite.war/WEB-INF/lib/jfreechart-1.0.1.jar"  does not point to
      a valid jar for a Class-Path reference.
      09:51:34,093 INFO  [javawebparts.filter.CrossSiteScriptingFilter] (MSC service thread 1-1) init() started
      09:51:34,093 INFO  [javawebparts.filter.FilterHelpers] (MSC service thread 1-1) pathSpec = null
      09:51:34,093 INFO  [javawebparts.filter.FilterHelpers] (MSC service thread 1-1) pathList = []
      09:51:34,093 INFO  [javawebparts.filter.CrossSiteScriptingFilter] (MSC service thread 1-1) redirectTo = null
      09:51:34,093 INFO  [javawebparts.filter.CrossSiteScriptingFilter] (MSC service thread 1-1) forwardTo  = /jsp/CSSReject.j
      sp
      09:51:34,093 INFO  [javawebparts.filter.CrossSiteScriptingFilter] (MSC service thread 1-1) cssRegex  = [<>%()]
      09:51:34,093 INFO  [javawebparts.filter.CrossSiteScriptingFilter] (MSC service thread 1-1) checkAttributes  = false
      09:51:34,109 INFO  [javawebparts.filter.CrossSiteScriptingFilter] (MSC service thread 1-1) init() completed
      09:51:34,312 INFO  [stdout] (MSC service thread 1-1) Downloading ScripMaster .....
      09:51:34,328 ERROR [stderr] (MSC service thread 1-1) javax.naming.NameNotFoundException: TradisOnlineJNDI -- service jbo
      ss.naming.context.java.TradisOnlineJNDI
      09:51:34,328 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBas
      edNamingStore.java:97)
      09:51:34,328 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:1
      78)
      09:51:34,328 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.as.naming.InitialContext.lookup(InitialContext.java
      :113)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:2
      14)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at javax.naming.InitialContext.lookup(InitialContext.java:392)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.sql.ConnectionPoolDataSource.ConnectionPool.g
      etDataSource(ConnectionPool.java:101)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.orionlite.DataClassBean.loadDataFromDBToMemor
      y(DataClassBean.java:7526)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.orionlite.DataClassBean.initialize(DataClassB
      ean.java:457)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.orionlite.LoadServlet.init(LoadServlet.java:6
      8)
      09:51:34,343 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardWrapper.loadServlet(Standard
      Wrapper.java:1202)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper
      .java:1102)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardContext.loadOnStartup(Standa
      rdContext.java:3655)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardContext.start(StandardContex
      t.java:3873)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDep
      loymentService.java:90)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startSe
      rvice(ServiceControllerImpl.java:1811)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(Ser
      viceControllerImpl.java:1746)
      09:51:34,359 ERROR [stderr] (MSC service thread 1-1)    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
      PoolExecutor.java:886)
      09:51:34,375 ERROR [stderr] (MSC service thread 1-1)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
      Executor.java:908)
      09:51:34,375 ERROR [stderr] (MSC service thread 1-1)    at java.lang.Thread.run(Thread.java:662)
      09:51:34,375 ERROR [com.sdgsoftware.sql.ConnectionPoolDataSource.ConnectionPool] (MSC service thread 1-1) Error while ge
      tting the DataSource from ConnectionPool..javax.naming.NameNotFoundException: TradisOnlineJNDI -- service jboss.naming.c
      ontext.java.TradisOnlineJNDI
      09:51:34,375 ERROR [stderr] (MSC service thread 1-1) java.lang.NullPointerException
      09:51:34,375 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.orionlite.DataClassBean.loadDataFromDBToMemor
      y(DataClassBean.java:7531)
      09:51:34,375 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.orionlite.DataClassBean.initialize(DataClassB
      ean.java:457)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at com.sdgsoftware.orionlite.LoadServlet.init(LoadServlet.java:6
      8)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardWrapper.loadServlet(Standard
      Wrapper.java:1202)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper
      .java:1102)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardContext.loadOnStartup(Standa
      rdContext.java:3655)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at org.apache.catalina.core.StandardContext.start(StandardContex
      t.java:3873)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.as.web.deployment.WebDeploymentService.start(WebDep
      loymentService.java:90)
      09:51:34,390 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startSe
      rvice(ServiceControllerImpl.java:1811)
      09:51:34,406 ERROR [stderr] (MSC service thread 1-1)    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(Ser
      viceControllerImpl.java:1746)
      09:51:34,406 ERROR [stderr] (MSC service thread 1-1)    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
      PoolExecutor.java:886)
      09:51:34,406 ERROR [stderr] (MSC service thread 1-1)    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
      Executor.java:908)
      09:51:34,406 ERROR [stderr] (MSC service thread 1-1)    at java.lang.Thread.run(Thread.java:662)
      09:51:34,406 ERROR [com.sdgsoftware.orionlite.DataClassBean] (MSC service thread 1-1) Exception caused by loadDataFromDB
      toMemory() of DataClassBean due to java.lang.NullPointerException
      09:51:34,406 ERROR [com.sdgsoftware.orionlite.DataClassBean] (MSC service thread 1-1) Exception in Initialize  java.lang
      .NullPointerException
      09:51:34,453 INFO  [stdout] (MSC service thread 1-1) StockBuffer Server Started....
      09:51:34,781 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/OrionLite]] (MSC service thread
      1-1) StandardWrapper.Throwable: java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider
              at com.sdgsoftware.orionlite.SSLSocketServer.<init>(SSLSocketServer.java:32) [classes:]
              at com.sdgsoftware.orionlite.BrokerLogonServer.<init>(BrokerLogonServer.java:27) [classes:]
              at com.sdgsoftware.orionlite.DataClassBean.initialize(DataClassBean.java:487) [classes:]
              at com.sdgsoftware.orionlite.LoadServlet.init(LoadServlet.java:68) [classes:]
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:
      ]
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Fina
      l.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_23]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_23]
              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23]
      Caused by: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider from [Module "deployment.OrionLite.wa
      r:main" from Service Module Loader]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
              ... 14 more

      09:51:34,812 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/OrionLite]] (MSC service thread
      1-1) Servlet /OrionLite threw load() exception: java.lang.ClassNotFoundException: com.sun.net.ssl.internal.ssl.Provider
      from [Module "deployment.OrionLite.war:main" from Service Module Loader]
              at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:423)
              at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
              at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
              at com.sdgsoftware.orionlite.SSLSocketServer.<init>(SSLSocketServer.java:32) [classes:]
              at com.sdgsoftware.orionlite.BrokerLogonServer.<init>(BrokerLogonServer.java:27) [classes:]
              at com.sdgsoftware.orionlite.DataClassBean.initialize(DataClassBean.java:487) [classes:]
              at com.sdgsoftware.orionlite.LoadServlet.init(LoadServlet.java:68) [classes:]
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1202) [jbossweb-7.0.13.Final.jar:]
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1102) [jbossweb-7.0.13.Final.jar:]
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3655) [jbossweb-7.0.13.Final.jar:
      ]
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3873) [jbossweb-7.0.13.Final.jar:]
              at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.1.Fina
      l.jar:7.1.1.Final]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_23]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_23]
              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_23]

      09:51:34,859 INFO  [org.directwebremoting.impl.StartupUtil] (MSC service thread 1-1) DWR Version 2.0.3 starting.
      09:51:34,859 INFO  [org.directwebremoting.impl.StartupUtil] (MSC service thread 1-1) - Servlet Engine: JBoss Web/7.0.13.
      Final
      09:51:34,859 INFO  [org.directwebremoting.impl.StartupUtil] (MSC service thread 1-1) - Java Version:   1.6.0_23
      09:51:34,859 INFO  [org.directwebremoting.impl.StartupUtil] (MSC service thread 1-1) - Java Vendor:    Sun Microsystems
      Inc.
      09:51:35,843 INFO  [org.jboss.web] (MSC service thread 1-1) JBAS018210: Registering web context: /OrionLite
      09:51:36,859 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "OrionLite.war"

      ---------------------------------------------------------------------

       

      Thanks

      Hari Kishore Y