Error

48 views
Skip to first unread message

ABHISHEK dixit

unread,
Oct 27, 2008, 1:26:28 AM10/27/08
to atg_...@googlegroups.com

Hi ..
 can any one help me to overcome from this error while starting jboss server

ERROR: ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.5.GA/server/Commerce/deploy/baza
ar.ear/bazaar.war/
java.lang.NoClassDefFoundError: atg/servlet/DynamoServlet


--
Abhishek Dixit
Cyber Managers Software Services
URL:http://www.cybermanagers.com
Ph+91 9322748131

Nooruddin Shaik

unread,
Oct 27, 2008, 1:31:08 AM10/27/08
to atg_...@googlegroups.com
Are the ATG DAS classfiles included in classpath?
check the classpath when the server startup.

ABHISHEK dixit

unread,
Oct 27, 2008, 1:40:04 AM10/27/08
to atg_...@googlegroups.com
in my machine its starting properly but .. in another machine its not... and i have checked d build.xml as well as menifest file. they are identical to my machine.

Pinaki Mukherjee

unread,
Oct 27, 2008, 1:50:09 AM10/27/08
to atg_...@googlegroups.com
Hi Abhishek,

It seems one module is missing in another machine.Can you copy paste the error in details?
--
Pinaki Mukherjee Mob- +91 9711524853

ABHISHEK dixit

unread,
Oct 27, 2008, 2:18:14 AM10/27/08
to atg_...@googlegroups.com
this is the complete eroer log


C:\Documents and Settings\mayank.damania\Desktop>C:\jboss-4.0.5.GA\bin\run -c server_name -Datg.dynamo.server.name=Comme
rce -c Commerce   | C:\jboss-4.0.5.GA\bin\ATGLogColorizer
ATG Log Colorizer v1.0   Copyright (c) 2007 Kelly Goetsch - kgoe...@atg.com
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\..

  JAVA: C:\jdk1.5.0_09\bin\java

  JAVA_OPTS:  -Dprogram.name=run.bat -server -Xms256m -Xmx768m -XX:MaxPermSize=256m -XX:MaxNewSize=768m -Dsun.rmi.dgc.cl
ient.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: C:\jdk1.5.0_09\lib\tools.jar;C:\jboss-4.0.5.GA\bin\\run.jar;C:\ATG\ATG2007.1\home\localconfig;

===============================================================================

11:39:24,534 INFO  [Server] Starting JBoss (MX MicroKernel)...
11:39:24,534 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
11:39:24,534 INFO  [Server] Home Dir: C:\jboss-4.0.5.GA
11:39:24,534 INFO  [Server] Home URL: file:/C:/jboss-4.0.5.GA/
11:39:24,549 INFO  [Server] Patch URL: null
11:39:24,549 INFO  [Server] Server Name: Commerce
11:39:24,549 INFO  [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\Commerce
11:39:24,549 INFO  [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/Commerce/
11:39:24,549 INFO  [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\Commerce\log
11:39:24,549 INFO  [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\Commerce\tmp
11:39:24,549 INFO  [Server] Root Deployment Filename: jboss-service.xml
11:39:24,831 INFO  [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc.
11:39:24,831 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_09-b03,Sun Microsystems Inc.
11:39:24,831 INFO  [ServerInfo] OS-System: Windows XP 5.1,x86
11:39:25,393 INFO  [Server] Core system initialized
11:39:27,784 INFO  [WebService] Using RMI server codebase: http://9005DTPGEN0067:8083/
11:39:27,815 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
11:39:32,205 INFO  [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
11:39:33,143 INFO  [Embedded] Catalina naming disabled
11:39:33,205 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rul
e set.
11:39:33,221 INFO  [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rul
e set.
11:39:33,658 INFO  [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080
11:39:33,658 INFO  [Catalina] Initialization processed in 437 ms
11:39:33,658 INFO  [StandardService] Starting service jboss.web
11:39:33,658 INFO  [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
11:39:33,690 INFO  [StandardHost] XML validation disabled
11:39:33,721 INFO  [Catalina] Server startup in 63 ms
11:39:33,908 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
11:39:34,158 INFO  [WebappLoader] Dual registration of jndi stream handler: factory already defined
11:39:34,658 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
11:39:34,846 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp2052jbossws-context-exp.war/
11:39:35,002 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-ht
tpil.war/
11:39:36,268 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-conso
le.war/
11:39:36,877 INFO  [MailService] Mail Service bound to java:/Mail
11:39:37,049 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.
rar
11:39:37,127 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar

11:39:37,174 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar

11:39:37,205 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
11:39:37,299 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
11:39:37,330 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
11:39:38,221 INFO  [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultD
S' to JNDI name 'java:DefaultDS'
11:39:38,689 INFO  [A] Bound to JNDI name: queue/A
11:39:38,705 INFO  [B] Bound to JNDI name: queue/B
11:39:38,705 INFO  [C] Bound to JNDI name: queue/C
11:39:38,705 INFO  [D] Bound to JNDI name: queue/D
11:39:38,705 INFO  [ex] Bound to JNDI name: queue/ex
11:39:38,767 INFO  [testTopic] Bound to JNDI name: topic/testTopic
11:39:38,767 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
11:39:38,767 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
11:39:38,783 INFO  [testQueue] Bound to JNDI name: queue/testQueue
11:39:39,002 INFO  [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093
11:39:39,064 INFO  [DLQ] Bound to JNDI name: queue/DLQ
11:39:39,346 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding
,name=JmsXA' to JNDI name 'java:JmsXA'
11:39:39,424 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
11:39:39,674 INFO  [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.5.GA/server/Commerce/deploy/bazaar.ear/

11:39:50,845 INFO  [EjbModule] Deploying ClasspathSession
11:39:51,001 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.0.5.GA/server/Commerce/deploy/baza
ar.ear/bazaar.war/
java.lang.NoClassDefFoundError: atg/servlet/DynamoServlet
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(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:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190)
        at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
        at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517)
        at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.isWebserviceDeployment(DeployerInterceptorJSE.java:124)

        at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:76)
        at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(Deploy

Pinaki Mukherjee

unread,
Oct 27, 2008, 2:35:17 AM10/27/08
to atg_...@googlegroups.com
hi Abhisek,

Just go to jboss-4.0.5.GA\server\atg\deploy\ATG.ear\atg_bootstrap.war\WEB-INF\ATG-INF\dynamo.env and check whether all the paths are correcct or not.

Check all the following properties:
atg.dynamo.server.home=C\:\\ATG\\ATG2007.1\\home
atg.dynamo.use-install=true
atg.dynamo.platformversion=2007.1
atg.dynamo.home=C\:\\ATG\\ATG2007.1\\home
atg.dynamo.versioninfo=ATGPlatform/2007.1
atg.dynamo.display=\:0.0
atg.dynamo.root=C\:\\ATG\\ATG2007.1
 

If the dynamo path is not correct in dynamo.env then set the classpath.

Hope it will solve your problem.

ABHISHEK dixit

unread,
Oct 27, 2008, 2:43:12 AM10/27/08
to atg_...@googlegroups.com
that part is also OK..i have checked dynamo.env its same as my machine.. in which its working..

Belmont, Adam

unread,
Oct 27, 2008, 11:26:52 AM10/27/08
to atg_...@googlegroups.com
How are you creating the ear file?
You should use $DYNAMO_HOME/bin/runAssember or one of the wrapper scripts (like startDynamoOnJBoss).
Are there multiple "bazaar.ear" files in your JBOSS server directory? More than one "ATG" ear file in your server directory can cause
a conflict at startup time as well.
 
 
-- Adam


From: atg_...@googlegroups.com [mailto:atg_...@googlegroups.com] On Behalf Of ABHISHEK dixit
Sent: Monday, October 27, 2008 1:26 AM
To: atg_...@googlegroups.com
Subject: [atg_tech:2154] Error

Reply all
Reply to author
Forward
0 new messages