From: "Vadim Gritsenko" <[EMAIL PROTECTED]> > > From: Chitharanjan Das [mailto:[EMAIL PROTECTED]] > > > > 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. 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:[EMAIL PROTECTED]] > > Sent: Wednesday, May 08, 2002 1:42 PM > > To: [EMAIL PROTECTED] > > 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:[EMAIL PROTECTED]] > > > Sent: Wednesday, May 08, 2002 4:18 PM > > > To: [EMAIL PROTECTED] > > > 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 > > > <Application Deployed="true" Name="Cocoon" > > > Path="./config/mydomain/applications"> > > > <WebAppComponent Name="cocoon" > > > Targets="myserver" > > > URI="cocoon"/> > > > </Application> > > > > > > > > > 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. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>