Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 35870 invoked by uid 500); 13 May 2002 14:44:33 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 35859 invoked from network); 13 May 2002 14:44:33 -0000 Message-ID: <002b01c1fa8c$ae497660$6150000a@flagship.ru> From: "Konstantin Piroumian" To: References: <019001c1f6dc$deaf6840$9274558b@vgritsenkopc> <001f01c1fa69$522570a0$6150000a@flagship.ru> Subject: Re: Urgent: Error Installing Cocoon latest war using in Weblogic 6.1 sp2 Date: Mon, 13 May 2002 18:44:26 +0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N From: "Konstantin Piroumian" > From: "Vadim Gritsenko" > > > From: Chitharanjan Das [mailto:cdas@accordiasys.com] > > > > > > Thanks Vadim, > > > Did remove all the manifest files > > > > > > 1. Got the following error > > > org/apache/cocoon/servlet/CocoonServlet - No class found error > > > > Now you have to rename all jars from the form XXX.YYY.jar to > > XXX-YYY.jar. Basically, WebLogic can't handle jar files with more than > > one dot in the name. > > > > NOTE: THIS IS ONLY FOR WEBLOGIC6.1 SP2 AND HIGHER, AND NOT FOR 6.1 SP1 > > AND LOWER. > > I can confirm that this is true also for WebLogic 7.0. > I've been able to deploy Cocoon as a directory (didn't try WAR yet) only by > renaming jar names without any other file moving/coping or changing the > start script. Sorry, it was a little lie, I had to comment out some lines (marked as FIXME by Vadim) from CocoonServlet.java and Cocoon.java files. In that lines system properties were set for JAXP and that prevented WL to startup. Vadim, isn't it better to remove those lines and use standart way of specifying JAXP properties (jaxp.properties or so)? -- Konstantin > > Win 2000 > Cocoon CVS HEAD > WebLogic 7.0 > > > > > > > > 2. I then added the jar cocoon-2.1-dev.jar to the class path > > explicitly > > > in the startweblogic.cmd file. The above error dispappeared. However > > > > Please don't do this. See above. > > > > Vadim > > > > > > > got the error > > > java.lang.NoClassDefFoundError: org/apache/log/format/Formatter > > > at java.lang.ClassLoader.defineClass0(Native Method) > > > at java.lang.ClassLoader.defineClass(ClassLoader.java:486) > > > at > > > > > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) > > > at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) > > > 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:297) > > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) > > > at java.lang.ClassLoader.loadClass(ClassLoader.java:253) > > > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) > > > at java.lang.Class.newInstance0(Native Method) > > > at java.lang.Class.newInstance(Class.java:237) > > > > > > 3. I then added the jar file logkit-xxx to the classpath and the above > > > error disappeared. However > > > java.lang.NoClassDefFoundError: > > > org/apache/avalon/framework/context/Context > > > > > > > > > > > > > > > > > > Why is this happening? > > > > > > Can anyone explain this. Is there a logical way of determining which > > jar > > > files need to be explicitly set in classpath and which jar files can > > be > > > left in the WEB-INF/lib directory > > > > > > > > > > > > Note: > > > The number of files in the WEB-INF of cocoon does not match the > > > _tmp_*/WEB-INF/lib directory created by Weblogic 6.1 > > > > > > > > > Thanks in advance, > > > Chiths > > > > > > > > > -----Original Message----- > > > From: Vadim Gritsenko [mailto:vadim.gritsenko@verizon.net] > > > Sent: Wednesday, May 08, 2002 1:42 PM > > > To: cocoon-users@xml.apache.org > > > Subject: RE: Urgent: Error Installing Cocoon latest war using in > > > Weblogic 6.1 sp2 > > > > > > WebLogic 6.1 sp1 has fewer bugs in it. > > > > > > > > > > java.lang.StringIndexOutOfBoundsException: String index out of > > range: > > > -1 > > > > at java.lang.String.substring(String.java:1525) > > > > > > Remove META-INF/manifest.mf from all jar files in the webapp. > > > > > > > > > Vadim > > > > > > -- > > > Resistance is futile. > > > > > > > -----Original Message----- > > > > From: Chitharanjan Das [mailto:cdas@accordiasys.com] > > > > Sent: Wednesday, May 08, 2002 4:18 PM > > > > To: cocoon-users@xml.apache.org > > > > Subject: Urgent: Error Installing Cocoon latest war using in > > Weblogic > > > 6.1 sp2 > > > > > > > > Hello. > > > > I followed the instructions as depicted in the cocoon website: > > > > > > > > I built cocoon (latest from CVS ) > > > > 1. Copied cocoon\build\cocoon\webapp into > > > config\mydomain\applications\ > > > > directory > > > > Renamed the webApp directory as cocoon. i.e. After rename > > > > config\mydomain\applications\cocoon > > > > > > > > 2. copied xerces-xxx.jar and xmlapis.jar to weblogic/lib directory > > > > 3. Modified startweblogic.cmd and added the above 2 jar files into > > the > > > > classpath > > > > 4. Added the following snippet in config.xml > > > > > > > Path="./config/mydomain/applications"> > > > > > > > Targets="myserver" > > > > URI="cocoon"/> > > > > > > > > > > > > > > > > 5. restarted weblogic > > > > > > > > During startup I get an exception, the log file states the following > > > > > > > > > > > > java.lang.StringIndexOutOfBoundsException: String index out of > > range: > > > -1 > > > > at java.lang.String.substring(String.java:1525) > > > > at > > > > > > ... > > > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. > > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: