Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
tfechner Absent Member.
Absent Member.
885 views

Eclipse: Connection to Sentinel Error: Class not found

Hi,
Just want to add the connection from Eclipse 4.6 to the sentinelserver 7.4.2.
Added all passwords into the field and proceed.
All jars are ok, but the test of the connection fails:

[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/auth.login
[scp] Receiving: auth.login : 779
[scp] File transfer time: 0,01 Average Rate: 77.900,0 B/s
[scp] done
[echo] Performing connection test...please wait...
[echo] (This test will take approximately 1 minute... But may take up to 5 minutes if the test fails with a connection timeout.)
[java] Java Result: 1
[echo] Fehler: Hauptklasse com.novell.reports.jasper.data.event.ConnectionCheck konnte nicht gefunden oder geladen werden
[echo] ERROR: Unable to successfully create a connection to 10.128.36.43. Return code: 1

The class " com.novell.reports.jasper.data.event.ConnectionCheck " could not be found.
How to add and fix this?
Tags (2)
0 Likes
5 Replies
Micro Focus Contributor
Micro Focus Contributor

Re: Eclipse: Connection to Sentinel Error: Class not found

tfechner;2436550 wrote:
Hi,
Just want to add the connection from Eclipse 4.6 to the sentinelserver 7.4.2.
Added all passwords into the field and proceed.
All jars are ok, but the test of the connection fails:

[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/auth.login
[scp] Receiving: auth.login : 779
[scp] File transfer time: 0,01 Average Rate: 77.900,0 B/s
[scp] done
[echo] Performing connection test...please wait...
[echo] (This test will take approximately 1 minute... But may take up to 5 minutes if the test fails with a connection timeout.)
[java] Java Result: 1
[echo] Fehler: Hauptklasse com.novell.reports.jasper.data.event.ConnectionCheck konnte nicht gefunden oder geladen werden
[echo] ERROR: Unable to successfully create a connection to 10.128.36.43. Return code: 1

The class " com.novell.reports.jasper.data.event.ConnectionCheck " could not be found.
How to add and fix this?


Which version of Sentinel SDK you are using to create a connection for Sentinel 7.4.2.0?
0 Likes
tfechner Absent Member.
Absent Member.

Re: Eclipse: Connection to Sentinel Error: Class not found

the newst one: Plugin-SDK-2014.1r1-Beta-36
0 Likes
Micro Focus Contributor
Micro Focus Contributor

Re: Eclipse: Connection to Sentinel Error: Class not found

tfechner;2436802 wrote:
the newst one: Plugin-SDK-2014.1r1-Beta-36


Open "connection.xml" file which is located under "plugin-sdk\current\sdk\resources" folder and modify the below entry which is in line number 430

from

<property name="jarlist" value="contentinstaller.jar,ccsapp*.jar,ccsbase*.jar,communications*.jar,dataobjects*.jar,libuuid*.jar,reports*.jar,sentinel-client-base-java*.jar,sentinel-client-base*.jar,sentinel-logging*.jar,sentinel-crypto*.jar,activemq-all*.jar,concurrent*.jar,jasperreports*.jar,postgresql*.jdbc4.jar,serializer*.jar,xalan*.jar,sentinel*fonts*.jar,log4j*.jar"/>

to

<property name="jarlist" value="contentinstaller.jar,ccsapp*.jar,ccsbase*.jar,communications*.jar,dataobjects*.jar,libuuid*.jar,reports*.jar,sentinel-client-base-java*.jar,sentinel-client-base*.jar,sentinel-logging*.jar,sentinel-crypto*.jar,activemq*.jar,concurrent*.jar,jasperreports*.jar,postgresql*jdbc4.jar,serializer*.jar,xalan*.jar,sentinel*fonts*.jar,log4j*.jar,geronimo-jms*.jar,geronimo-j2ee-*.jar,hawtbuf*.jar"/>

After that create a connection one more time for Sentinel 7.4.2.0
0 Likes
tfechner Absent Member.
Absent Member.

Re: Eclipse: Connection to Sentinel Error: Class not found

nice, but some more different errors:
[scp] File transfer time: 0,01 Average Rate: 3.858.076,92 B/s
[scp] done
[echo] Copying additional .jar files for Solution Designer from server directory /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/...
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/console-webstart.jar
[scp] Receiving: console-webstart.jar : 85213707
[scp] File transfer time: 1,56 Average Rate: 54.659.209,11 B/s
[scp] done
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/activity*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/activity*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/branding*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/branding*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/common*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/common*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/console*.jar
[scp] Receiving: console-webstart.jar : 85213707
[scp] File transfer time: 1,71 Average Rate: 49.890.929,16 B/s
[scp] done
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/keymgr*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/keymgr*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/versionreader*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/versionreader*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/workflow*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/workflow*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/fop.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/fop.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/batik-all*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/batik-all*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/avalon-framework*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/avalon-framework*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/xmlgraphics-commons*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/xmlgraphics-commons*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/jnlp*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/jnlp*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/mcharts*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/mcharts*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/workflow*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/workflow*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/sentinel*fonts*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/sentinel*fonts*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/jide*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/jide*.jar: No such file or directory
[scp] Connecting to sentinel:22
[scp] Receiving file: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/jace*.jar
[scp] Caught exception: scp: /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/jace*.jar: No such file or directory
[echo] Performing connection test...please wait...
[echo] (This test will take approximately 1 minute... But may take up to 5 minutes if the test fails with a connection timeout.)
[java] Java Result: 1
[echo] java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRException
[echo] at java.lang.Class.getDeclaredMethods0(Native Method)
[echo] at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
[echo] at java.lang.Class.privateGetMethodRecursive(Unknown Source)
[echo] at java.lang.Class.getMethod0(Unknown Source)
[echo] at java.lang.Class.getMethod(Unknown Source)
[echo] at sun.launcher.LauncherHelper.validateMainClass(Unknown Source)
[echo] at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
[echo] Caused by: java.lang.ClassNotFoundException: net.sf.jasperreports.engine.JRException
[echo] at java.net.URLClassLoader.findClass(Unknown Source)
[echo] at java.lang.ClassLoader.loadClass(Unknown Source)
[echo] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[echo] at java.lang.ClassLoader.loadClass(Unknown Source)
[echo] ... 7 more
[echo] Error: A JNI error has occurred, please check your installation and try again
[echo] Exception in thread "main"
[echo] ERROR: Unable to successfully create a connection to sentinel. Return code: 1


on our sentinel-server:

>> ll /var/opt/novell/sentinel/3rdparty/jetty/webapps/ROOT/siemdownloads/
total 525868
-rw------- 1 novell novell 23272376 Jun 24 16:31 arialuni.ttf
-rw------- 1 novell novell 779 Jun 24 16:31 auth.login
-rw------- 1 novell novell 18433 Jun 24 16:31 background.gif
-rw------- 1 novell novell 164541198 Jun 24 16:43 collector_mgr_installer.tar.gz
-rw------- 1 novell novell 1659 Jun 24 16:31 configuration.xml
-rw------- 1 novell novell 85213707 Jun 24 16:31 console-webstart.jar
-rw------- 1 novell novell 8399130 Jun 24 16:31 contentinstaller.jar
-rw------- 1 novell novell 371 Jun 24 16:31 contentinstaller.jnlp
-rw------- 1 novell novell 3568 Jun 24 16:31 control_center.jnlp
-rw------- 1 novell novell 3124 Jun 24 16:31 control_center_log.prop
-rw------- 1 novell novell 153520419 Jun 24 16:44 correlation_engine_installer.tar.gz
-rw------- 1 novell novell 871 Jun 24 16:31 databasePlatforms.xml
-rw------- 1 novell novell 14039 Jun 24 16:31 ESM_login-background.gif
-rw------- 1 novell novell 3098 Jun 24 16:31 esm_log.prop
-rw------- 1 novell novell 2450 Jun 24 16:31 ESMWebStart.jnlp
drwx------ 2 novell novell 33 Jul 1 09:17 help
-rw------- 1 novell novell 1174 Jun 24 16:31 index.htm
-rw------- 1 novell novell 839891 Jun 24 16:31 js-240.jar
-rw------- 1 novell novell 24928 Jun 24 16:31 jsaction.jar
-rw------- 1 novell novell 112963 Jun 24 16:31 jsdebugger.jar
-rw------- 1 novell novell 1866 Jun 24 16:31 logo_32.gif
-rw------- 1 novell novell 102449882 Jun 24 16:45 netflow_collector_installer.tar.gz
-rw------- 1 novell novell 2490 Jun 24 16:31 SentinelPreferences.properties
-rw------- 1 novell novell 2805 Jun 24 16:31 solution_designer.jnlp
-rw------- 1 novell novell 3117 Jun 24 16:31 solution_designer_log.prop
drwx------ 5 novell novell 52 Jun 24 16:31 xsl
0 Likes
tfechner Absent Member.
Absent Member.

Re: Eclipse: Connection to Sentinel Error: Class not found

I removed in the same file at line 431 the section:
<!-- Additional jars for Solution Designer. -->
<property name="solutiondesignerjarlist" value="console-webstart.jar,activity*.jar,branding*.jar,common*.jar,console*.jar,keymgr*.jar,versionreader*.jar,workflow*.jar,fop.jar,batik-all*.jar,avalon-framework*.jar,xmlgraphics-commons*.jar,jnlp*.jar,mcharts*.jar,workflow*.jar,sentinel*fonts*.jar,jide*.jar,jace*.jar"/>

I do not plan to develop some solution design apps.
All files are copied.
But testing the connection times out. The firewall does not block anything, connection to the Sentinel on port 8443, ssh, 61616 will not be blocked.
in connection.xml the connection will be tested from line 492 :
..
<java classname="com.novell.reports.jasper.data.event.ConnectionCheck"
dir="${destinationdirectory}"
failonerror="false"
fork="true"
outputproperty="connectiontest.output"
resultproperty="connectioncheckresult">
<classpath>
<pathelement location="${destinationdirectory}/*"/>
...
<arg value="${reportusername}"/>
<arg value="${reportpassword}"/>

I use the rptuser with a password set with "/opt/novell/sentinel/bin/report_dev_setup.sh".
Same with an admin-user ... did also fail.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.