One Star

Error when running jobs via TAC, successful run in Studio

Hi,
I have been facing an issue with running jobs via TAC with the error message as below:
Exception in thread "main" java.lang.NoClassDefFoundError: sandbox_j/<<NameofJob>>
Caused by: java.lang.ClassNotFoundException: sandbox_j.bvexpressfeed_0_1.BVExpressFeed
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: sandbox_j.bvexpressfeed_0_1.BVExpressFeed. Program will exit.
The job runs successfully via Studio.
Also, any job that is running successfully now, if regenerated->deployed->run, gives the same error message.
I had triggered a job which ran for close to 4 hours after which I force killed it. Since then I have been having this issue.
On checking the <<jobname>>_run.sh, I have noticed that certain .jar files are missing as compared to the jobs that were running successfully earlier.
Please find the below:
Erroring job's run.sh file:
cd `dirname $0`
ROOT_PATH=`pwd`
java -Xms256M -Xmx1024M -cp
$ROOT_PATH/../lib/commons-io-2.4-test-sources.jar:
$ROOT_PATH/../lib/commons-io-2.4-tests.jar:
$ROOT_PATH/../lib/commons-io-2.4-javadoc.jar:
$ROOT_PATH/../lib/commons-io-2.4.jar:
$ROOT_PATH/../lib/commons-io-2.4-sources.jar:
$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar::$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/testjob2_0_1.jar: sandbox_j.testjob2_0_1.testjob2 --context=Default "$@"
Successful job's run.sh file:
cd `dirname $0`
ROOT_PATH=`pwd`
java -Xms256M -Xmx2048M -cp $ROOT_PATH/../lib/TalendSAX.jar:$ROOT_PATH/../lib/advancedPersistentLookupLib-1.0.jar:
$ROOT_PATH/../lib/commons-collections-3.2.jar:
$ROOT_PATH/../lib/xdb.jar:$ROOT_PATH/../lib/thashfile.jar:
$ROOT_PATH/../lib/jaxen-1.1.1.jar:
$ROOT_PATH/../lib/log4j-1.2.15.jar:
$ROOT_PATH/../lib/ojdbc6-11g.jar:
$ROOT_PATH/../lib/dom4j-1.6.1.jar:
$ROOT_PATH/../lib/jboss-serialization.jar:
$ROOT_PATH/../lib/ini4j-0.5.1.jar:
$ROOT_PATH/../lib/jakarta-oro-2.0.8.jar:
$ROOT_PATH/../lib/talend_file_enhanced_20070724.jar:
$ROOT_PATH/../lib/trove.jar:
$ROOT_PATH/../lib/xmlparserv2.jar:
$ROOT_PATH:$ROOT_PATH/../lib/systemRoutines.jar::$ROOT_PATH/../lib/userRoutines.jar::.:$ROOT_PATH/load_etl_book_paper_0_1.jar: sandbox_j.load_etl_book_paper_0_1.load_ETL_book_paper --context=Default "$@"
Any inputs in this regard would be of great help.
Regards.
3 REPLIES
Moderator

Re: Error when running jobs via TAC, successful run in Studio

Hi,
What 's the talend product build version are you using? Is there any error log for your issue?
Studio error log is located in <Talend Studio installation path>/workspace/.metadata/.log
TAC error log is located in :<Servers installtion path>apache-tomcat-6.0.35\logs (take tomcat as example).
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: Error when running jobs via TAC, successful run in Studio

Hi,
I am using the product 'Talend Enterprise MDM Cluster Edition 5.1'.
The studio log at path <<C:\Talend\5.1.1\studio\Talend-Studio-r84309-V5.1.1\workspace\.metadata>> is as below:
!SESSION 2013-08-14 11:19:57.666 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_38
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.talend.platform.logging 1 0 2013-08-14 11:20:17.086
!MESSAGE 2013-08-14 11:20:17,080 INFO org.talend.repository.ui.login.LoginComposite - validate updatesite...

!ENTRY org.talend.platform.logging 2 0 2013-08-14 11:20:17.142
!MESSAGE 2013-08-14 11:20:17,141 WARN org.talend.commons.exception.CommonExceptionHandler - softwareupdate.error.cannotconnect
!STACK 0
org.talend.commons.exception.PersistenceException: softwareupdate.error.cannotconnect
at org.talend.repository.remoteprovider.ServletUtil.handleError(ServletUtil.java:301)
at org.talend.repository.remoteprovider.AdministratorClient.getText(AdministratorClient.java:441)
at org.talend.repository.remoteprovider.AdministratorClient.getJsonObject(AdministratorClient.java:433)
at org.talend.repository.remoteprovider.AdministratorClient.getArchivaObject(AdministratorClient.java:614)
at org.talend.repository.remoteprovider.services.RemoteService.getArchivaObject(RemoteService.java:29)
at org.talend.core.tis.service.CoreTisService.getArchivaObject(CoreTisService.java:154)
at org.talend.core.tis.service.CoreTisService.getArchivaObject(CoreTisService.java:1)
at org.talend.repository.ui.login.LoginComposite.getArchivaServicesProperties(LoginComposite.java:1840)
at org.talend.repository.ui.login.LoginComposite.validateUpdate(LoginComposite.java:1768)
at org.talend.repository.ui.login.LoginComposite.<init>(LoginComposite.java:366)
at org.talend.repository.ui.login.LoginDialog.createDialogArea(LoginDialog.java:173)
at org.talend.repository.ui.login.LoginDialog.createContents(LoginDialog.java:138)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:262)
at org.talend.rcp.intro.Application.logUserOnProject(Application.java:273)
at org.talend.rcp.intro.Application.start(Application.java:82)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
!ENTRY org.talend.platform.logging 1 0 2013-08-14 11:23:52.573
!MESSAGE 2013-08-14 11:23:52,573 INFO org.talend.core.repository.model.ProxyRepositoryFactory - V, Sriranjani logged on Sandbox_j

!ENTRY org.talend.platform.logging 1 0 2013-08-14 11:23:56.205
!MESSAGE 2013-08-14 11:23:56,205 INFO org.talend.core.repository.GeneratedJetEmitersLoginTask - Generating JetEmiters

!ENTRY org.talend.platform.logging 1 0 2013-08-14 11:23:56.524
!MESSAGE 2013-08-14 11:23:56,524 INFO org.talend.repository.view.svn.InitializeLockStatusLoginTask - Initialize lock status

!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:24:11.725
!MESSAGE NLS unused message: TheObject_text in: org.talend.mdm.repository.i18n.messages
!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:24:19.551
!MESSAGE NLS missing message: unsupportedResourcesTitle in: messages
!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:24:19.552
!MESSAGE NLS missing message: unsupportedResourcesMessage in: messages
!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:27:41.224
!MESSAGE NLS unused message: warLocationLabel in: messages
!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:27:41.225
!MESSAGE NLS missing message: includeLibInWar in: messages
!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:27:41.226
!MESSAGE NLS missing message: exportDefaultApp in: messages
!ENTRY org.eclipse.osgi 2 1 2013-08-14 11:27:41.227
!MESSAGE NLS missing message: exportAllUserXP in: messages
!ENTRY org.eclipse.osgi 2 1 2013-08-16 07:17:19.913
!MESSAGE NLS unused message: OpenJobScriptAction_OpenEditJobScript_text in: org.talend.metalanguage.jobscript.ui.actions.messages
!ENTRY org.talend.platform.logging 1 0 2013-08-16 09:42:18.255
!MESSAGE 2013-08-16 09:42:18,254 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files/Java/jre6/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-javadoc.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-sources.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-test-sources.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-tests.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/classes;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib; sandbox_j.testjob2_0_1.testjob2 --context=Default --stat_port=3949 %*

!ENTRY org.talend.platform.logging 1 0 2013-08-16 09:49:29.177
!MESSAGE 2013-08-16 09:49:29,176 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files/Java/jre6/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-javadoc.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-sources.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-test-sources.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-tests.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/classes;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib; sandbox_j.testjob2_0_1.testjob2 --context=Default --stat_port=3636 %*

!ENTRY org.talend.platform.logging 1 0 2013-08-16 12:06:22.607
!MESSAGE 2013-08-16 12:06:22,606 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files/Java/jre6/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-javadoc.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-sources.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-test-sources.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4-tests.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/commons-io-2.4.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/edtftpj.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/ftp4j-1.5.1.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/ini4j-0.5.1.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/jakarta-oro-2.0.8.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/javacsv.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/jsch.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/ojdbc6-11g.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/xdb.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib/xmlparserv2.jar;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/classes;C:/Talend/5.1.1/studio/Talend-Studio-r84309-V5.1.1/workspace/.Java/lib; sandbox_j.<<NameofJob>>_0_1.<<NameofJob>> --context=Default --stat_port=3970 %*
The job runs successfully via Studio.
-----------------------------------------------------------------------------------------------------
Also, the TAC log is as below:
$ cat catalina.2013-08-16.log
Aug 16, 2013 7:38:27 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_22/jre/lib/amd64/server:/usr/java/jdk1.6.0_22/jre/lib/amd64:/usr/java/jdk1.6.0_22/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Aug 16, 2013 7:38:27 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8480
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 894 ms
Aug 16, 2013 7:38:27 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 16, 2013 7:38:27 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor tac.xml
Aug 16, 2013 7:38:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive amc.war
Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory drools-guvnor
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
Aug 16, 2013 7:38:55 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8480
Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
SEVERE: Can't find free port 8009 8009
Aug 16, 2013 7:38:55 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/41 config=null
Aug 16, 2013 7:38:55 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 28187 ms
------------------------------------------------------------------------------------------------
cat catalina.out
Aug 16, 2013 7:38:27 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_22/jre/lib/amd64/server:/usr/java/jdk1.6.0_22/jre/lib/amd64:/usr/java/jdk1.6.0_22/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Aug 16, 2013 7:38:27 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8480
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 894 ms
Aug 16, 2013 7:38:27 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Aug 16, 2013 7:38:27 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor tac.xml
Can't parse the system property "teneoConcurrencyLevel" with value 'null', synchronized map will be used instead of ConcurrentHashMap in class IdentifierCacheHandler.
Aug 16, 2013 7:38:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive amc.war
Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory drools-guvnor
INFO 16-08 07:38:54,654 (RulesRepositoryConfigurator.java:getInstance:46) Creating an instance of the RulesRepositoryConfigurator.
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
INFO 16-08 07:38:54,691 (LoggingHelper.java:info:50) Removing listeners....
Removing all listeners...
Listeners removed...
INFO 16-08 07:38:54,692 (LoggingHelper.java:info:50) Shutting down repository....
INFO 16-08 07:38:54,693 (RulesRepositoryConfigurator.java:shutdown:172) SHUTDOWN RULES CONFIG
Aug 16, 2013 7:38:55 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8480
Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
SEVERE: Can't find free port 8009 8009
Aug 16, 2013 7:38:55 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/41 config=null
Aug 16, 2013 7:38:55 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 28187 ms
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.core.AprLifecycleListener init
-bash: Aug: command not found
$ INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/jdk1.6.0_22/jre/lib/amd64/server:/usr/java/jdk1.6.0_22/jre/lib/amd64:/usr/java/jdk1.6.0_22/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.coyote.http11.Http11Protocol init
-bash: Aug: command not found
$ INFO: Initializing Coyote HTTP/1.1 on http-8480
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.Catalina load
-bash: Aug: command not found
$ INFO: Initialization processed in 894 ms
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.core.StandardService start
-bash: Aug: command not found
$ INFO: Starting service Catalina
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.core.StandardEngine start
-bash: Aug: command not found
$ INFO: Starting Servlet Engine: Apache Tomcat/6.0.35
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
-bash: Aug: command not found
$ INFO: Deploying configuration descriptor host-manager.xml
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
-bash: Aug: command not found
$ INFO: Deploying configuration descriptor manager.xml
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
-bash: Aug: command not found
$ INFO: Deploying configuration descriptor tac.xml
-bash: INFO:: command not found
$ Can't parse the system property "teneoConcurrencyLevel" with value 'null', synchronized map will be used instead of ConcurrentHashMap in class IdentifierCacheHandler.
> Aug 16, 2013 7:38:47 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive amc.war
> Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory examples
> Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory ROOT
> Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory docs
> Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
> INFO: Deploying web application directory drools-guvnor
> INFO 16-08 07:38:54,654 (RulesRepositoryConfigurator.java:getInstance:46) Creating an instance of the RulesRepositoryConfigurator.
> Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
> SEVERE: Error listenerStart
> Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
> SEVERE: Context startup failed due to previous errors
> INFO 16-08 07:38:54,691 (LoggingHelper.java:info:50) Removing listeners....
> Removing all listeners...
> Listeners removed...
> INFO 16-08 07:38:54,692 (LoggingHelper.java:info:50) Shutting down repository....
> INFO 16-08 07:38:54,693 (RulesRepositoryConfigurator.java:shutdown:172) SHUTDOWN RULES CONFIG
> Aug 16, 2013 7:38:55 AM org.apache.coyote.http11.Http11Protocol start
> INFO: Starting Coyote HTTP/1.1 on http-8480
> Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
> INFO: Port busy 8009 java.net.BindException: Address already in use
> Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
> SEVERE: Can't find free port 8009 8009
-bash: Cant parse the system property "teneoConcurrencyLevel" with value null, synchronized map will be used instead of ConcurrentHashMap in class IdentifierCacheHandler.
Aug 16, 2013 7:38:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive amc.war
Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Aug 16, 2013 7:38:50 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Aug 16, 2013 7:38:51 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory drools-guvnor
INFO 16-08 07:38:54,654 (RulesRepositoryConfigurator.java:getInstance:46) Creating an instance of the RulesRepositoryConfigurator.
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext start
SEVERE: Context startup failed due to previous errors
INFO 16-08 07:38:54,691 (LoggingHelper.java:info:50) Removing listeners....
Removing all listeners...
Listeners removed...
INFO 16-08 07:38:54,692 (LoggingHelper.java:info:50) Shutting down repository....
INFO 16-08 07:38:54,693 (RulesRepositoryConfigurator.java:shutdown:172) SHUTDOWN RULES CONFIG
Aug 16, 2013 7:38:55 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8480
Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Aug 16, 2013 7:38:55 AM org.apache.jk.common.ChannelSocket init
SEVERE: Cant: File name too long
$ Aug 16, 2013 7:38:55 AM org.apache.jk.server.JkMain start
-bash: Aug: command not found
$ INFO: Jk running ID=0 time=0/41 config=null
-bash: INFO:: command not found
$ Aug 16, 2013 7:38:55 AM org.apache.catalina.startup.Catalina start
-bash: Aug: command not found
$ INFO: Server startup in 28187 ms
-bash: INFO:: command not found
--------------------------------------------------------------------------------------------
cat localhost.2013-08-16.log
Aug 16, 2013 7:38:47 AM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet AdminServlet as unavailable
Aug 16, 2013 7:38:47 AM org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /tac threw load() exception
java.lang.IllegalAccessError: tried to access method org.apache.commons.logging.LogFactory.<init>()V from class org.apache.commons.logging.impl.LogFactoryImpl
at org.apache.commons.logging.impl.LogFactoryImpl.<init>(LogFactoryImpl.java:94)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.commons.discovery.tools.ClassUtils.newInstance(ClassUtils.java:157)
at org.apache.commons.discovery.tools.SPInterface.newInstance(SPInterface.java:197)
at org.apache.commons.discovery.tools.DiscoverClass.newInstance(DiscoverClass.java:579)
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:418)
at org.apache.commons.discovery.tools.DiscoverSingleton.find(DiscoverSingleton.java:378)
at org.apache.axis.components.logger.LogFactory$1.run(LogFactory.java:45)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.components.logger.LogFactory.getLogFactory(LogFactory.java:41)
at org.apache.axis.components.logger.LogFactory.<clinit>(LogFactory.java:33)
at org.apache.axis.transport.http.AxisServlet.<clinit>(AxisServlet.java:75)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at org.apache.axis.transport.http.AxisServletBase.class$(AxisServletBase.java:59)
at org.apache.axis.transport.http.AxisServletBase.<clinit>(AxisServletBase.java:58)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1149)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Aug 16, 2013 7:38:50 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Aug 16, 2013 7:38:50 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Aug 16, 2013 7:38:54 AM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener
org.jboss.seam.InstantiationException: Could not instantiate Seam component: repositoryConfiguration
at org.jboss.seam.Component.newInstance(Component.java:2066)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:112)
at org.jboss.seam.init.Initialization.init(Initialization.java:727)
at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
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:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.drools.repository.RulesRepositoryException: javax.jcr.RepositoryException: Invalid repository configuration file: repository.xml
at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:217)
at org.drools.guvnor.server.repository.RepositoryStartupService.create(RepositoryStartupService.java:93)
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:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
at org.drools.guvnor.server.repository.RepositoryStartupService_$$_javassist_1.create(RepositoryStartupService_$$_javassist_1.java)
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:597)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:138)
at org.jboss.seam.Component.callComponentMethod(Component.java:2171)
at org.jboss.seam.Component.callCreateMethod(Component.java:2094)
at org.jboss.seam.Component.newInstance(Component.java:2054)
... 29 more
Caused by: javax.jcr.RepositoryException: Invalid repository configuration file: repository.xml
at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:237)
at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:279)
at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:375)
at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
at org.drools.repository.JCRRepositoryConfigurator.login(JCRRepositoryConfigurator.java:95)
at org.drools.repository.RulesRepositoryConfigurator.login(RulesRepositoryConfigurator.java:85)
at org.drools.guvnor.server.repository.RepositoryStartupService.newSession(RepositoryStartupService.java:213)
... 54 more
Caused by: org.apache.jackrabbit.core.config.ConfigurationException: Configuration file syntax error. (Line: -1 Column: -1)
at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:291)
at org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseRepositoryConfig(RepositoryConfigurationParser.java:292)
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:346)
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:322)
at org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:255)
at org.apache.jackrabbit.core.config.RepositoryConfig.install(RepositoryConfig.java:186)
at org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:231)
... 60 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:285)
... 66 more
-----------------------------------------------------------------------------------------------
Kindly let me know if this is the log you were expecting and also if it is not too legible to read what format would be better.
Regards.
Moderator

Re: Error when running jobs via TAC, successful run in Studio

Hi,
It looks like a bug.
You'd better open a ticket on talend support portal, our colleagues from support team will schedule a webex with you so that we can repro your issue step by step.
Thanks for your time.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.