• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » can't run Java .bat through network

#1 2007-12-05 15:46:55

dcopp
Member
Company: Bouygues - Structis
Registered: 2007-09-06
Posts: 20

can't run Java .bat through network

Tags: [error, java, network]

hello

I've build a java job that runs just fine in the studio or locally on a server.

now I want to run that job by calling the .bat trough the network in order to schedule it

calling the .bat through network doesn't work, exception in main thread occurs.

\\bcnsdba001\Projeco_complet\projeco_complet_run.bat

'\\bcnsdba001\Projeco_complet'
CMD.EXE a été démarré avec le chemin d'accès comme répertoire en
cours. Les chemins d'accès UNC ne sont pas prise en charge. Utilisation
du répertoire Windows par défaut.

C:\WINDOWS>"c:\windows\system32\java" -Xms256M -Xmx1024M -cp ../lib/activation.j
ar;../lib/javacsv.jar;../lib/jtds-1.2.jar;../lib/jxl.jar;../lib/mail.jar;../lib/
systemRoutines.jar;../lib/userRoutines.jar;.;projeco_complet.jar;a_phare_grc_int
erface.jar;b_fusion_fichiers.jar;a_prisme_interface.jar;c_projeco_interface.jar;
../lib; projeco.projeco_complet.Projeco_complet --context=Default
Exception in thread "main" java.lang.NoClassDefFoundError: projeco/projeco_compl
et/Projeco_complet

C:\WINDOWS>echo 1
1

C:\WINDOWS>pause
Appuyez sur une touche pour continuer...

sorry for the French .. but any idea what I am missing in order to have this job running ?

Regards

David

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » can't run Java .bat through network

Board footer

Powered by FluxBB