Re: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2

2001-11-16 Thread Jack Hirasawa

Hi Gilles,

Have you checked the mail archives?  You should check there first before 
asking (they are in there).

But enough nagging, to make your life easier here's the instructions again 
for Cocoon2...

1) If there's a Cocoon-2.0rc1\build directory, delete it
2) set JAVA_HOME=c:\WebSphere\AppServer\jdk
3) .\build.bat -Dinclude.webapp.libs=yes 
-Dinstall.war=c:\WebSphere\AppServer\hosts\default_host\cocoon webapp
4) Fire Up the Websphere admin server and the Admin console
5) Go to the Servlet Container and put it in Servlet 2.2 full compliance 
mode
6) Deploy the WAR file in c:\Cocoon-2.0rc1\build\cocoon (use Convert a WAR 
File)
7) Update the Server Command Line Arguments: 
-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser
 
-classpath 
C:\Cocoon-2.0rc1\lib\xerces_1_4_3.jar;C:\Cocoon-2.0rc1\lib\cocoon-2.0rc1.jar;C:\Cocoon-2.0rc1\lib\velocity-1.1.jar;C:\Cocoon-2.0rc1\lib\servlet_2_2.jar;C:\Cocoon-2.0rc1\lib\maybeupload.jar;C:\Cocoon-2.0rc1\lib\batik-libs.jar;C:\Cocoon-2.0rc1\lib\ant_1_4.jar;C:\Cocoon-2.0rc1\lib\xalan-2.2.0-dev.jar;C:\Cocoon-2.0rc1\lib\logkit-1.0b5.jar;C:\Cocoon-2.0rc1\lib\fop-0_20_1-dev.jar;C:\Cocoon-2.0rc1\lib\resolver.jar;C:\Cocoon-2.0rc1\lib\ant_1_4-optional.jar;C:\Cocoon-2.0rc1\lib\avalon-framework-4.0.jar;C:\Cocoon-2.0rc1\lib\jakarta-regexp-1.2.jar;C:\Cocoon-2.0rc1\lib\dom2.jar;C:\Cocoon-2.0rc1\lib\rhino.jar;C:\Cocoon-2.0rc1\lib\xt.jar;C:\Cocoon-2.0rc1\lib\hsqldb-1.61.jar;C:\Cocoon-2.0rc1\lib\avalon-excalibur-4.0.jar;C:\Cocoon-2.0rc1\lib\Tidy.jar;C:\Cocoon-2.0rc1\lib\stylebook-1.0-b3_xalan-2.jar;C:\Cocoon-2.0rc1\lib\junit.jar;C:\Cocoon-2.0rc1\lib\jimi-1.0.jar;C:\Cocoon-2.0rc1\lib\jstyle.jar;C:\Cocoo
n-2.0rc1\lib\bsf.jar;C:/WebSphere/AppServer/jdk/lib/tools.jar;c:\WebSphere\AppServer\hosts\default_host\cocoon\servlets\cocoon-2.0rc1.jar
8) Select the Servlet Cocoon2 and Add a Servlet Web Path 
/cocoon/*
9) On the advanced tab add the following init parameters

org.apache.cocoon.component.parser.Parser=org.apache.cocoon.components.parser.XercesParser
force-load=com.ibm.servlet.classloader.Handler
classpath-attribute=com.ibm.websphere.servlet.application.classpath
10) In the Web directory of the Webapp edit cocoon.xconf and move the parser 
statement out of the comment block
11) Copy the WEB-INF directory from the web directory to the servlets 
directory
12) Copy the cocoon.xconf file from the web directory to the servlets 
directory
12) Shut down the Admin console
13) Shut down the Admin server and restart it
14) Restart the admin console
15) Start the server

For step 7) you should really probably use the jar files that get deployed 
in the servlets directory instead of the ones in the build directory.

Hope this helps.  If you're trying to get cocoon 1.8.2 working, check the 
archives, I got it working a while ago and I used the tips in the archives.

Jack


>From: "Ducret, Gilles (CH)" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: Cocoon and WEBSPHERE 3.5 Fixpack 3.4.2
>Date: Fri, 16 Nov 2001 10:10:00 +0100
>MIME-Version: 1.0
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id 
>MHotMailBDBE23B1009940042A18407D851404FD0; Fri, 16 Nov 2001 01:13:23 -0800
>Received: (qmail 84477 invoked by uid 500); 16 Nov 2001 09:11:23 -
>Received: (qmail 84462 invoked from network); 16 Nov 2001 09:11:23 -
>From cocoon-users-return-25809-jackhirasawa Fri, 16 Nov 2001 01:13:38 -0800
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help: 
>list-unsubscribe: 
>list-post: 
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-ID: 
><[EMAIL PROTECTED]>
>X-Mailer: Internet Mail Service (5.5.2650.21)
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>Hello,
>
>We are experiencing a lot of problem on installing Cocoon on Websphere 3.5.
>
>If we don't use the Websphere 3.4.2 of websphere, we have the following
>behaviour:
>   - Cocoon 1.8 works fine
>   - Cocoon 2.0 doesn't work. Cocoon servlet throws a
>ClassCastException
>
>Unfortunately, in our live system the Websphere 3.4.2 fixpack is installed.
>
>With Websphere 3,5, fixpack 3.4.2
>   - Cocoon 1.8 doesn't work
>   . Cocoon 2.0 still throws a class cast exception
>
>Any idea how to solve this?
>
>Any help would be very much appreciated
>
>
>Gilles Ducret
>Wealth Management Division
>IT Architect
>Lloyds TSB Bank
>Tel: + 41 22 307 31 50
>Mob: +41 79 217 21 41
>
>
>
>**
>This E-mail and any files transmitted with it are confidential
>and intended for the exclusive use of the addressee(s) only.
>  You should not disclose its contents to any other person.
>If you are not the intended recipient please notify the sender
>immediately.
>**



C2 / WebSphere Installation Instructions

2001-10-28 Thread Jack Hirasawa

Finally

I finally got Cocoon 2 to work on WebSphere 3.5.4

Here's the skinny...

1) build it as per instructions
2) convert WAR file (deploy on WebSphere)
3) Add all the jar files in Cocoon\lib to the classpath in the Server 
Command line arguments (I put Xerces in front just in case)
4) Also add the cocoon jar file to the server command line arguments
5) Also add to the server command line arguments the following:
   
-Dorg.apache.cocoon.components.parser.Parser=org.apache.cocoon.components.parser.XercesParser
6) Add the following Init parameters to the Cocoon2 Servlet:
Init Parm Name  Init Parm Value
org.apache.cocoon.component.parser.Parser   
org.apache.cocoon.components.parser.XercesParser
  force-load  
com.ibm.servlet.classloader.Handler
classpath-attribute 
com.ibm.websphere.servlet.application.classpath
7) In the document root, edit cocoon.xconf and activate XercesParser by 
moving the following line out of the comment block:
  
8) Copy the the WEB-INF directory from the web directory to the servlets 
directory (WTF IBM?)
9) Add an entry with an '*' after the web application path name to the 
Servlet Web Path List in the Servlet configuration
  e.g. default_host/cocoon/
 default_host/cocoon/*
10) Meditate on the impermanence of life (to invoke virtuous karma)
11) Say 3 Hail Marys (can't hurt)
12) Call your broker and place a "BUY" order on NYSE ticker symbol "IBM" 
(this step is very important)
13) Start up the Server (this step helps)
14) Open a browser and go to http://localhost/cocoon/
15) Say "Wow - it works!" or "Damn - I forgot something"
16) Call your broker to cancel the "BUY" order and place a "SHORT SELL" 
order on NYSE ticker symbol "IBM"
17) Have a dram of Lagavulin...perhaps have many drams...
18) Dream of one day working on a REAL J2EE app server.

Oh, almost forgot, make sure your server is in full 2.2 compliance mode.

How does one contribute this to the Cocoon 2 installation page?  I'm sure 
there are a lot of frustrated WebSphere users out there.

Jack

>From: Michael Zehrer <[EMAIL PROTECTED]>
>To: Jack Hirasawa <[EMAIL PROTECTED]>
>Subject: Re: C2 - No Welcome Page
>Date: 28 Oct 2001 09:59:41 +0100
>MIME-Version: 1.0
>Received: from [217.5.88.211] by hotmail.com (3.2) with ESMTP id 
>MHotMailBDA514030080400438E2D90558D307EF0; Sun, 28 Oct 2001 01:59:49 -0700
>Received: from micha.zepan.net ([192.168.0.1])by router.zepan.net with 
>esmtp (Exim 3.32 #1 (Debian))id 15xmjG-sj-00for 
><[EMAIL PROTECTED]>; Sun, 28 Oct 2001 10:59:42 +0100
>From [EMAIL PROTECTED] Sun, 28 Oct 2001 01:01:04 -0700
>In-Reply-To: <[EMAIL PROTECTED]>
>References: <[EMAIL PROTECTED]>
>X-Mailer: Evolution/0.15 (Preview Release)
>Message-Id: <1004259582.3965.3.camel@micha>
>
>Hi Jack,
>
>can you give me instructions how you get C2 to work so far with
>Websphere? Maybe I can help you then with the mapping. I have
>successfully installed C1 with WS 3.54/Solaris, but have no luck with
>C2, there are lots of exceptions.
>
>
>thanks,
>
>Michael
>
>
>Am Fre, 2001-10-26 um 21.25 schrieb Jack Hirasawa:
>
>Hi C2 users!
>
>I finally got C2 installed on WebSphere 3.5.2 (not very straightforward)
>but
>unfortuneately I can't get the welcome page.
>
>In the log I see the sitemap redirecting to 'welcome' but no joy at the
>browser.
>
>I'm sooo close to getting it running...
>
>Has anyone seen this problem and what might be causing it?
>
>thanks,
>
>Jack
>
>_
>Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
>
>
>-
>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]>
>
>
>
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
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]>




C2 - No Welcome Page

2001-10-26 Thread Jack Hirasawa

Hi C2 users!

I finally got C2 installed on WebSphere 3.5.2 (not very straightforward) but 
unfortuneately I can't get the welcome page.

In the log I see the sitemap redirecting to 'welcome' but no joy at the 
browser.

I'm sooo close to getting it running...

Has anyone seen this problem and what might be causing it?

thanks,

Jack

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Exception: No more DTM IDs are available

2001-10-26 Thread Jack Hirasawa

Hi,

I just installed Cocoon 2 on WebSphere 3.5.2 and when I try to access the 
http://localhost/cocoon/ page I get the following exception.  Has anyone run 
into this problem and can you help me out?  I think it's generated by Xalan.

Thanks,

Jack

java.lang.RuntimeException: No more DTM IDs are available
at 
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:3170)
at 
org.apache.xalan.transformer.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:433)
at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
at org.xml.sax.helpers.XMLFilterImpl.endDocument(XMLFilterImpl.java:518)
at org.apache.xerces.parsers.SAXParser.endDocument(SAXParser.java:1230)
at 
org.apache.xerces.validators.common.XMLValidator.callEndDocument(XMLValidator.java:1080)
at 
org.apache.xerces.framework.XMLDocumentScanner$EndOfInputDispatcher.dispatch(XMLDocumentScanner.java:1499)
at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:371)
at 
org.apache.cocoon.components.language.markup.LogicsheetCodeGenerator.generateCode(LogicsheetCodeGenerator.java:130)
at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:291)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:313)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:275)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:192)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
at java.lang.Thread.run(Thread.java:481)



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




NullPointerException in Cocoon 2 / WAS 3.5.4

2001-10-24 Thread Jack Hirasawa

Hi cocoon-users!

After installing Cocoon 2 in WebSphere 3.5.4 and firing up the browser to 
point to http://localhost/cocoon/ I get the following exception:

java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:383)
at 
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:107)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:179)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:604)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._init(StrictLifecycleServlet.java:136)
at 
com.ibm.servlet.engine.webapp.PreInitializedServletState.init(StrictLifecycleServlet.java:244)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.init(StrictLifecycleServlet.java:102)
at 
com.ibm.servlet.engine.webapp.ServletInstance.init(ServletManager.java:284)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at 
com.ibm.servlet.engine.webapp.ServletManager.addServlet(ServletManager.java:76)
at 
com.ibm.servlet.engine.webapp.WebAppServletManager.loadServlet(WebAppServletManager.java:91)
at 
com.ibm.servlet.engine.webapp.WebAppServletManager.getServletReference(WebAppServletManager.java:135)
at 
com.ibm.servlet.engine.webapp.WebApp.getServletReference(WebApp.java:293)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.calculateInfo(WebAppRequestDispatcherInfo.java:151)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcherInfo.(WebAppRequestDispatcherInfo.java:50)
at 
com.ibm.servlet.engine.webapp.WebApp.getRequestDispatcher(WebApp.java:962)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:73)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at 
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)


Any help would be greatly appreciated!!!

Thanks

Jack

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Cocoon2 & Websphere 3.5.4

2001-10-23 Thread Jack Hirasawa

Michael, it would appear that a number of us would appreciate someone kind 
enough to provide this information.  Any WebSphere Gurus out there?

Berin? want to take a shot at it? I'd settle for 3.5.2 even.

Thanks,

Jack

>From: "Michael Zehrer" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: "Cocoon-Users (E-Mail)" <[EMAIL PROTECTED]>
>Subject: Cocoon2 & Websphere 3.5.4
>Date: Tue, 23 Oct 2001 17:09:44 +0200
>MIME-Version: 1.0
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id 
>MHotMailBD9ED46700C64004320F407D851411A10; Tue, 23 Oct 2001 08:14:47 -0700
>Received: (qmail 57933 invoked by uid 500); 23 Oct 2001 15:10:16 -
>Received: (qmail 57913 invoked from network); 23 Oct 2001 15:10:16 -
>From cocoon-users-return-25010-jackhirasawa Tue, 23 Oct 2001 08:15:04 -0700
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help: 
>list-unsubscribe: 
>list-post: 
>Delivered-To: mailing list [EMAIL PROTECTED]
>content-class: urn:content-classes:message
>X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0
>Message-ID: 
><[EMAIL PROTECTED]>
>X-MS-Has-Attach:
>X-MS-TNEF-Correlator:
>Thread-Topic: Cocoon2 & Websphere 3.5.4
>Thread-Index: AcFb1L+IRyBx8/ibTBO+RKKdRephQg==
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>Hi list,
>
>anyone here have instructions, how to install Cocoon2 sucessfully with
>IBM Websphere 3.5.4?
>
>Regards, Michael
>
>-
>Please check that your question has not already been answered in the
>FAQ before posting. 
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: WebSphere/Cocoon Gurus - Help!!!!

2001-09-10 Thread Jack Hirasawa

Hi fellow cocoon-users

I was able to successfully get Cocoon 1.8.2 working under WebSphere, but 
only after I back-levelled WebSphere to 3.5.2 (I was trying to get it 
running under 3.5.4).  Does anyone know what might have changed between the 
two releases that causes Cocoon 1.8.2 to break?

Cheers...

Jack


>From: "Jack Hirasawa" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: WebSphere/Cocoon Gurus -  Help
>Date: Sat, 08 Sep 2001 21:44:00 -0400
>MIME-Version: 1.0
>X-Originating-IP: [64.229.42.233]
>Received: from [64.125.133.20] by hotmail.com (3.2) with ESMTP id 
>MHotMailBD64147F002440043188407D85140BE90; Sat, 08 Sep 2001 18:44:32 -0700
>Received: (qmail 36370 invoked by uid 500); 9 Sep 2001 01:44:21 -
>Received: (qmail 36359 invoked from network); 9 Sep 2001 01:44:20 -
>From cocoon-users-return-23514-jackhirasawa Sat, 08 Sep 2001 18:46:11 -0700
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
>Precedence: bulk
>list-help: <mailto:[EMAIL PROTECTED]>
>list-unsubscribe: <mailto:[EMAIL PROTECTED]>
>list-post: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>Message-ID: <[EMAIL PROTECTED]>
>X-OriginalArrivalTime: 09 Sep 2001 01:44:01.0130 (UTC) 
>FILETIME=[E64DDCA0:01C138D0]
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>
>(A desperate plea for understanding in a mechanized ethos)
>
>Has anyone successfully installed Cocoon 1.8.2 on Websphere 3.5.4?
>
>I downloaded cocoon 1.8.2, and ran the install script.
>
>I got an exception Error accessing the resource cocoon.properties
>
>I changed cocoon.java to access it as a file instead of a resource.
>
>I was successful in getting http://localhost/cocoon/Cocoon.xml to display.
>
>When I try to display the samples using http://localhost/cocoon/index.xml I
>get the exception below...
>
>I have tried putting the jar files into the classpath in the admin.config
>file (and I did put the sax-bugfix.jar and xerces.jar in front)
>
>Any ideas? ... Anyone? ... I'm stumped.
>
>here's the exception...
>
>Error found handling the request.
>org.xml.sax.SAXParseException: The markup in the document following the 
>root
>element must be well-formed.
>   at org.apache.cocoon.Engine.handle(Engine.java:313)
>   at org.apache.cocoon.Cocoon.service(Cocoon.java:184)
>   at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
>   at
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
>   at
>com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
>   at
>com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
>   at
>com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
>   at
>com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
>   at
>com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
>   at
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
>   at
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
>   at
>com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
>   at
>com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
>   at
>com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
>   at
>com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
>   at
>com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
>   at
>com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
>   at
>com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
>   at
>com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
>   at
>com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
>   at
>com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
>   at
>com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
>   at
>com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(O

WebSphere/Cocoon Gurus - Help!!!!

2001-09-08 Thread Jack Hirasawa

(A desperate plea for understanding in a mechanized ethos)

Has anyone successfully installed Cocoon 1.8.2 on Websphere 3.5.4?

I downloaded cocoon 1.8.2, and ran the install script.

I got an exception Error accessing the resource cocoon.properties

I changed cocoon.java to access it as a file instead of a resource.

I was successful in getting http://localhost/cocoon/Cocoon.xml to display.

When I try to display the samples using http://localhost/cocoon/index.xml I 
get the exception below...

I have tried putting the jar files into the classpath in the admin.config 
file (and I did put the sax-bugfix.jar and xerces.jar in front)

Any ideas? ... Anyone? ... I'm stumped.

here's the exception...

Error found handling the request.
org.xml.sax.SAXParseException: The markup in the document following the root 
element must be well-formed.
at org.apache.cocoon.Engine.handle(Engine.java:313)
at org.apache.cocoon.Cocoon.service(Cocoon.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at 
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at 
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:160)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at 
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)




_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa

Berin,

Thanks again for your reply...

I'm stumped.

The index.xml file is the one that came with the distribution (unmodified).

I've tried the other samples as well, but no luck

Any other ideas? It must be a configuration issue, but I can't figure out 
what it is

Thanks,

Jack

>From: Berin Loritsch <[EMAIL PROTECTED]>
>To: Jack Hirasawa <[EMAIL PROTECTED]>
>Subject: Re: SAXParseException in C1.8.2 using Websphere 3.5.4
>Date: Fri, 07 Sep 2001 13:08:46 -0400
>
>Jack Hirasawa wrote:
> >
> > Berin,
> >
> > Thanks for your reply, much appreciated...
> >
> > I tried adding the xerces jar as the first entry in the
> >
> > com.ibm.ejs.sm.adminserver.classpath property
> >
> > in c:\WebSphere\AppServer\bin\admin.config
> >
> > but it didn't make any difference.
> >
> > Was this the WebSphere properties file that you were refering to?
>
>Yes, that was the one.
>
>Check your XML file to see if there is some sort of encoding
>problem with it.
>
> >
> > Thanks
> >
> > Jack
> >
> > >From: Berin Loritsch <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: [EMAIL PROTECTED]
> > >Subject: Re: SAXParseException in C1.8.2 using Websphere 3.5.4
> > >Date: Fri, 07 Sep 2001 11:18:26 -0400
> > >
> > >Jack Hirasawa wrote:
> > > >
> > > > Hi cocoon-users!
> > > >
> > > > I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the 
>install
> > > > script.  I had to fix cocoon.java so it would get the file
> > >cocoon.properties
> > > > instead of a resource.  I was able to successfully get the 
>Cocoon.xml
> > >page
> > > > to display.  When I tried to display the index.xml page, I got the
> > >exception
> > > > below.  Any help would be greatly appreciated!!! Thanks in 
>advance...
> > >
> > >The only time I have received this message is when the source XML was 
>not
> > >well formed.  It is possible that Websphere is still referencing an 
>older
> > >XML parser that doesn't accept namespaces.  In that case, you must make
> > >sure
> > >that Xerces is before all other jars (including the WebSphere jars).
> > >
> > >You may have to edit your websphere property files that specify 
>classpath
> > >information (you know the one where they tell you to edit for hot 
>fixes?).
> > >I have examined the contents of the websphere jars trying to figure out 
>why
> > >I was having issues with Cocoon 2 a few months ago.  The embed class 
>files
> > >for Xerces in there.
> > >
> > >-
> > >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]>
> > >
> >
> > _
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
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]>




Re: SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa

Berin,

Thanks for your reply, much appreciated...

I tried adding the xerces jar as the first entry in the

com.ibm.ejs.sm.adminserver.classpath property

in c:\WebSphere\AppServer\bin\admin.config

but it didn't make any difference.

Was this the WebSphere properties file that you were refering to?

Thanks

Jack


>From: Berin Loritsch <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: SAXParseException in C1.8.2 using Websphere 3.5.4
>Date: Fri, 07 Sep 2001 11:18:26 -0400
>
>Jack Hirasawa wrote:
> >
> > Hi cocoon-users!
> >
> > I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install
> > script.  I had to fix cocoon.java so it would get the file 
>cocoon.properties
> > instead of a resource.  I was able to successfully get the Cocoon.xml 
>page
> > to display.  When I tried to display the index.xml page, I got the 
>exception
> > below.  Any help would be greatly appreciated!!! Thanks in advance...
>
>The only time I have received this message is when the source XML was not
>well formed.  It is possible that Websphere is still referencing an older
>XML parser that doesn't accept namespaces.  In that case, you must make 
>sure
>that Xerces is before all other jars (including the WebSphere jars).
>
>You may have to edit your websphere property files that specify classpath
>information (you know the one where they tell you to edit for hot fixes?).
>I have examined the contents of the websphere jars trying to figure out why
>I was having issues with Cocoon 2 a few months ago.  The embed class files
>for Xerces in there.
>
>-
>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]>
>


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
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]>




SAXParseException in C1.8.2 using Websphere 3.5.4

2001-09-07 Thread Jack Hirasawa

Hi cocoon-users!

I recently installed cocoon 1.8.2 on Websphere 3.5.4 using the install 
script.  I had to fix cocoon.java so it would get the file cocoon.properties 
instead of a resource.  I was able to successfully get the Cocoon.xml page 
to display.  When I tried to display the index.xml page, I got the exception 
below.  Any help would be greatly appreciated!!! Thanks in advance...

org.xml.sax.SAXParseException: The markup in the document following the root 
element must be well-formed.
at org.apache.cocoon.Engine.handle(Engine.java:313)
at org.apache.cocoon.Cocoon.service(Cocoon.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at 
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at 
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at 
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




SAXParseException in Cocoon 1.8.2 with WebSphere 3.5.4

2001-09-06 Thread Jack Hirasawa

Hi There!

I've recently installed Cocoon on WebSphere 3.5.4 using the install script 
and when I try to display the index.xml file in the samples directory I get 
the following:

org.xml.sax.SAXParseException: The markup in the document following the root 
element must be well-formed.
at org.xml.sax.SAXException.(SAXException.java:78)
at 
org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java:105)
at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1037)
at 
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:625)
at 
org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java:679)
at 
org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispatch(XMLDocumentScanner.java(Compiled
 
Code))
at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java(Compiled
 
Code))
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:900)
at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java:85)
at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java:83)
at 
org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java:78)
at org.apache.cocoon.Engine.handle(Engine.java:359)
at org.apache.cocoon.Cocoon.service(Cocoon.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
at 
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
at 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
at 
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
at 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
at 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:478)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:234)
at 
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:138)
at 
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
at 
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at 
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
at 
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
at 
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
at 
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
at 
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
at java.lang.Thread.run(Thread.java:481)

I noticed in the archives that others have encountered the same problem, but 
I didn't see a resolution.

Any help would be appreciatedThanks!

Jack



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>