dhagan,
i know this is an old post but maybe you can help... your solution is exactly what i was looking for but i fail to get it running.
i can compile your code but during executin i got some errors - also i'm not that good in java programming to be honest :
compile:
dwh1 tmp # javac -classpath "/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/reportcaster.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/connector-api.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/ibi_xml_apis_1_3.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/webfocus_caster.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/jlink.jar:/opt/ibi/ReportCaster76/lib/ibi_xerces_2_7_1.jar:/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/ext/mysql-connector-java-5.1.7-bin.jar" InvokeSchedule.java
dwh1 tmp #
execution:
dwh1 tmp # java -classpath ".:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/reportcaster.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/connector-api.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/ibi_xml_apis_1_3.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/webfocus_caster.jar:/opt/ibi/WebFOCUS76/webapps/rcaster76/WEB-INF/lib/jlink.jar:/opt/ibi/ReportCaster76/lib/ibi_xerces_2_7_1.jar:/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib/ext/mysql-connector-java-5.1.7-bin.jar" InvokeSchedule
Exception in thread "main" java.lang.NoClassDefFoundError: InvokeSchedule (wrong name: com/ibi/rcaster/InvokeSchedule)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: InvokeSchedule. Program will exit.
any easy hint what i do wrong?
thanks
torsten
webfocus76
debian linux
HTML