RE: Cocoon on WebLogic 6.0

2001-07-30 Thread William Bagby

Olga,

I had a similar problem...I am running Cocoon 1.8.2 on Weblogic 6.0

Try this:

1. In the WL console, change the Debug messages from Error to Info 
2. Shut down the server
3. remove .wl_temp_do_not_delete dir from your applications dir
4. restart the server

WL also creates a directory called something like
_tmp_war_myserver_myserver_ in applications//WEB-INF
directory.  Try deleting that also (in step 3 above)

HTH.

William Bagby.

-Original Message-
From: Olga Agady [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:41 PM
To: [EMAIL PROTECTED]
Subject: Cocoon on WebLogic 6.0


Hi,

I installed cocoon with weblogic server (6.0) together
following the instructions for installing cocoon for
weblogic server(6.0) at
http://xml.apache.org/cocoon/install.html.
  Afterstarting  weblogic server, I can get right
result when ran

 http://localhost:7001/cocoon/Cocoon.xml, but when I
ran

 http://localhost:7001/cocoon/samples/index.xml 
(the samples directory has been copied from cocoon to
the cocoon application directory at
weblogic), 

I got the following  errors:


> Error found handling the request.
> java.lang.RuntimeException: Cannot access
non-file/war resources
> at
org.apache.cocoon.Utils.getBasename(Utils.java:277)
> at
>
org.apache.cocoon.producer.ProducerFromFile.getDocument(Producer
FromFile.java:76)
> at
org.apache.cocoon.Engine.handle(Engine.java:359)
> at
org.apache.cocoon.Cocoon.service(Cocoon.java:183)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletS
tubImpl.java:213)
> at
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet(Web
AppServletContext.java:1265)
> at
>
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequ
estImpl.java:1631)
> at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

Could some one  please give me some ideas for fixing
the errors?  Thanks a
lot.


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

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

-
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: Cocoon on WebLogic 6.0

2001-07-28 Thread Karun114
yeps ! they are not complete. 
Make sure (apart from the instructions )
  1) all the cocoon/lib/*.jar files are in the classpath for startWebLogic.sh.
  2) that you have set the font, background color and display properties in 
java.properties.
  3) you execute startWebLogic.sh from GUI and NOT from shell prompt.
  4) clean wlserver6.0/WEB-INFcocoon.log and then restart the engine. 
(startWebLogic.sh)
  5) if it fails again, search for "error" in the above log file. You can get 
the exact cause of the break. 
  6) you can try this but apache cocoon claims you do not have to :
  register your cocoon servlet in your weblogic engine. I don't have the 
syntax off the head but you can check bea documents or eval-net for the same. 
some people have got their cocoon working by manually registering the cocoon 
servlet..
good luck and let us know if you can('t) make it.
 regard's
karun


Re: Cocoon on WebLogic 6.0

2001-07-22 Thread Karun114
yes I can help ! not sure if it would solve all your problems. Make sure 
cocoon.jar is in the classpath of your startWeblogic.sh(cmd ..if windows). 
Then clean (delete all text) from cocoon.log under /
/WEB-INF/cooon.log. start the web logic server and see if that works. If you 
see ay other ClassNotFoundException, try to get that JAR file in the 
classpath too. This should open your cocoon page. If you are lucky enough, 
you will see a welcome page. Congratulaitons ! you have successfully 
installed cocoon2. If you see a ProcessingException sitemap error, read the 
cocoon.log file and search for "error". This error (Sitemap error) varies 
form case to case. so make sure you read the cocoon.log file and check the 
exact error / warn just before the ProcessingException (sitemap error) 
pitched in your cocoon.log file. Usually these are other 
ClassNotFoundExceptions, font properties not set, or you did not start 
weblogic server from the GUI environment. When you get the exact error, paste 
the relevant portion on this list .. and hope somebody has the answer..
Good luck !! and let us know if you made it..or not
regard's
karun