Error while deploying jar file
malert Jun 12, 2007 2:00 AMHi I am new to jboss. I am getting the following error messages while starting the server. I copied ServiceBean.jar file to the /server/default/deploy/ directory for deploying it while starting the server.
please help
17:22:57,044 INFO [Server] Starting JBoss (MX MicroKernel)...
17:22:57,044 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Bra
nch_4_0 date=200610162339)
17:22:57,091 INFO [Server] Home Dir: C:\jboss-4.0.5.GA
17:22:57,091 INFO [Server] Home URL: file:/C:/jboss-4.0.5.GA/
17:22:57,091 INFO [Server] Patch URL: null
17:22:57,091 INFO [Server] Server Name: default
17:22:57,091 INFO [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
17:22:57,122 INFO [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/defa
ult/
17:22:57,122 INFO [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log
17:22:57,122 INFO [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\default\tm
p
17:22:57,122 INFO [Server] Root Deployment Filename: jboss-service.xml
17:22:57,732 INFO [ServerInfo] Java version: 1.5.0_04,Sun Microsystems Inc.
17:22:57,732 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_04-b05
,Sun Microsystems Inc.
17:22:57,732 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
17:22:58,951 INFO [Server] Core system initialized
17:23:04,031 INFO [WebService] Using RMI server codebase: http://DSCP30256:8083
/
17:23:04,094 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
ce:log4j.xml
17:23:19,677 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date
=200609291417)
17:23:21,506 INFO [Embedded] Catalina naming disabled
17:23:21,569 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
17:23:21,569 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in
the classpath. Will load the default rule set.
17:23:22,381 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0
.0.0-8080
17:23:22,381 INFO [Catalina] Initialization processed in 812 ms
17:23:22,381 INFO [StandardService] Starting service jboss.web
17:23:22,397 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.2
0
17:23:22,428 INFO [StandardHost] XML validation disabled
17:23:22,522 INFO [Catalina] Server startup in 141 ms
17:23:22,913 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/
http-invoker.sar/invoker.war/
17:23:23,272 INFO [WebappLoader] Dual registration of jndi stream handler: fact
ory already defined
17:23:24,069 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbosswe
b-tomcat55.sar/ROOT.war/
17:23:24,429 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/dep
loy/tmp34463jbossws-context-exp.war/
17:23:24,882 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../
deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
17:23:26,930 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../dep
loy/management/console-mgr.sar/web-console.war/
17:23:27,977 INFO [MailService] Mail Service bound to java:/Mail
17:23:28,290 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-local-jdbc.rar
17:23:28,399 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-ha-xa-jdbc.rar
17:23:28,477 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-local-jdbc.rar
17:23:28,555 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jboss-xa-jdbc.rar
17:23:28,759 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/jms/jms-ra.rar
17:23:28,837 INFO [RARDeployment] Required license terms exist, view META-INF/r
a.xml in .../deploy/mail-ra.rar
17:23:30,416 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca
:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
17:23:30,947 INFO [A] Bound to JNDI name: queue/A
17:23:30,947 INFO [B] Bound to JNDI name: queue/B
17:23:30,947 INFO [C] Bound to JNDI name: queue/C
17:23:30,947 INFO [D] Bound to JNDI name: queue/D
17:23:31,009 INFO [ex] Bound to JNDI name: queue/ex
17:23:31,244 INFO [testTopic] Bound to JNDI name: topic/testTopic
17:23:31,244 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
17:23:31,244 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
17:23:31,260 INFO [testQueue] Bound to JNDI name: queue/testQueue
17:23:31,478 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.
0.0:8093
17:23:31,760 INFO [DLQ] Bound to JNDI name: queue/DLQ
17:23:31,994 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jb
oss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
17:23:32,010 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jbos
s-4.0.5.GA/server/default/deploy/ServiceBean.jar
java.lang.InternalError: jzentry == 0,
jzfile = 658053408,
total = 8,
name = C:\jboss-4.0.5.GA\server\default\tmp\deploy\tmp34495ServiceBean.jar
,
i = 1,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:430)
at java.util.zip.ZipFile$3.nextElement(ZipFile.java:416)
at java.util.jar.JarFile$1.nextElement(JarFile.java:215)
at java.util.jar.JarFile$1.nextElement(JarFile.java:214)
at org.jboss.deployment.SubDeployerSupport.addDeployableJar(SubDeployerS
upport.java:480)
at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubD
eployerSupport.java:378)
at org.jboss.deployment.SubDeployerSupport.init(SubDeployerSupport.java:
284)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Thread.java:595)
the jar has been packaged with the ejb-jar.xml file.
Thanks
Malert Jones