Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    This might be an issue with the file location in the Spark submit command. Try it with

    spark-submit --master spark://master:7077 \
         hello_world_from_pyspark.py {file location}
    
    
  2. ,

    You are not deploying the oracle driver with the application. Place the driver jars in a shared or library extension folder of your application server. (You should go with option one or two though

Solutions on the web

via Oracle Community by 807581, 1 year ago
com.sun.sql.jdbcx.sqlserver.SQLServerDataSource
java.lang.ClassNotFoundException: com.sun.sql.jdbcx.sqlserver.SQLServerDataSource	at java.net.URLClassLoader$1.run(URLClassLoader.java:199)	at java.security.AccessController.doPrivileged(Native Method)	at java.net.URLClassLoader.findClass(URLClassLoader.java:187)	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)	at java.lang.Class.forName0(Native Method)	at java.lang.Class.forName(Class.java:141)	at com.sun.gjc.common.DataSourceObjectBuilder.getDataSourceObject(DataSourceObjectBuilder.java:198)	at com.sun.gjc.common.DataSourceObjectBuilder.constructDataSourceObject(DataSourceObjectBuilder.java:65)	at com.sun.gjc.spi.DSManagedConnectionFactory.createManagedConnection(DSManagedConnectionFactory.java:70)	at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(ConnectorConnectionPoolAdminServiceImpl.java:1190)	at com.sun.enterprise.connectors.ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(ConnectorConnectionPoolAdminServiceImpl.java:507)	at com.sun.enterprise.connectors.ConnectorRuntime.testConnectionPool(ConnectorRuntime.java:504)	at com.sun.enterprise.admin.mbeans.ResourcesMBean.pingConnectionPool(ResourcesMBean.java:1920)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at com.sun.enterprise.admin.MBeanHelper.invokeOperationInBean(MBeanHelper.java:305)	at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:360)	at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)	at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at com.sun.enterprise.admin.util.proxy.ProxyClass.invoke(ProxyClass.java:54)	at undefined.$Proxy1.invoke(Unknown Source)	at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:272)	at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:148)	at com.sun.enterprise.tools.admingui.util.MBeanUtil.invoke(MBeanUtil.java:46)	at com.sun.enterprise.tools.admingui.handlers.CommonHandlers.invokeMBean(CommonHandlers.java:123)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandler(DescriptorViewHelper.java:863)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.invokeHandlers(DescriptorViewHelper.java:800)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.dispatchEvent(DescriptorViewHelper.java:775)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewHelper.execute(DescriptorViewHelper.java:291)	at com.sun.enterprise.tools.guiframework.view.DescriptorViewBeanBase.execute(DescriptorViewBeanBase.java:192)	at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)	at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)	at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)	at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)	at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)	at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)	at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)	at com.sun.enterprise.tools.guiframework.view.BaseServlet.processRequest(BaseServlet.java:186)	at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)	at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:324)	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)	at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)