-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 
Author Message
 Post subject: Hibernate and struts
PostPosted: Thu Apr 15, 2004 12:17 pm 
Newbie

Joined: Tue Mar 09, 2004 8:57 am
Posts: 12
Location: Argentina
Hi everybody! Please help me with this! I don


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 15, 2004 12:48 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Most likely another older cglib jar in your classpath. Remove all old jars.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 15, 2004 12:55 pm 
Newbie

Joined: Tue Mar 09, 2004 8:57 am
Posts: 12
Location: Argentina
cglib jar? Sorry my lack of knowledge...
what old jars do you mean? The hibernate jars? Struts jars? or my own jars?
thanks again


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 15, 2004 1:05 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
Jars from an older hibernate distribution or any other source of cglib.jar, cglib-asm.jar or anything like this. There should only be cglib2.jar in your classpath. http://www.hibernate.org/74.html#A10


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 15, 2004 1:34 pm 
Newbie

Joined: Tue Mar 09, 2004 8:57 am
Posts: 12
Location: Argentina
Michael, I do every single thing that you told me and now tomcat throws an exception when I initialize it.

Apr 15, 2004 2:28:49 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.29
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:92)
at org.apache.catalina.loader.WebappLoader.setRepositories(WebappLoader.java:1066)
at org.apache.catalina.loader.WebappLoader.start(WebappLoader.java:665)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3545)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
at org.apache.catalina.core.StandardService.start(StandardService.java:497)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
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:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
Apr 15, 2004 2:29:00 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Apr 15, 2004 2:29:01 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Apr 15, 2004 2:29:03 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
Apr 15, 2004 2:29:14 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Apr 15, 2004 2:29:16 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 15, 2004 2:29:16 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=40/370 config=D:\Tomcat 4.1\conf\jk2.properties

thanks again


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 15, 2004 1:56 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
it means one of jar files is broken, try "jar -t myfile.jar" to validate files


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 23, 2004 7:47 am 
Newbie

Joined: Mon May 24, 2004 8:35 am
Posts: 2
Great ! I think I had the same problem. I remove one old cglib and it works.

Thanks !


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.