RE: [C2] WebLogic 6.0sp1 installation problem

2001-05-30 Thread Scott N. Smith

Konstantin,

I did the original install instructions for C2/Weblogic 6.0 during a window
in which C2 happened to be working (in early May).  I believe the rev. level
at that time was 2.0a4.

When C2 goes to beta, I'll be glad to update the instructions as necessary;
I don't dare to change it at this time.

-Scott

-Original Message-
From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 5:33 AM
To: [EMAIL PROTECTED]
Subject: [C2] WebLogic 6.0sp1 installation problem


 Hi!

 Tryied to install Cocoon 2.0a7 into WebLogic 6.0sp1 according to the
 installation instructions from C2 docs, but couldn't get it run correctly.
 It fails with NPE in java.io.File at the initialization stage, when tries
to
 create the AbstractEnvironment with a null argument: , new File(context),
 ... // I think that 'contex' is null.

 Can anybody tell lme how do they run C2 on WebLogic?
 Is it necessary to place C2 libs outside of the WebLogic 'myserver' root as
 it is in instructions? Can that be the problem?

 Btw, placed all jars into WEB-INF/lib directory of
 myserver/applications/cocoon context and removed them from the CLASSPATH in
 startWebLogic.cmd and Cocoon started (at least it used Xerces and Xalan to
 display the error page). So, maybe it's not necessary to have all that
 classes in CLASSPATH?

 Regards,
 Konstantin Piroumian.


-
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: [c1->c2] Is it a must to create a war file ... etc

2001-06-14 Thread Scott N. Smith

Christopher,

>  Question to the Cocoon-Devolpers:
>  The variable CP in the build.bat is used only once in the script.
>  Can't we get rid of the variable and cut and paste it directly 
>  in th excute command?
>  That lengthen this command but reduces the chance of an
>  Not-Enough-Enviroment-Space-Error.

I'm not a Cocoon Developer, but I'm familiar with this problem.  Virtually
any Win95/98 system should increase their environment space to 4K (or more)
regardless; there are many Unix-originated programs (Perl, Cocoon, etc) that
need the environment space anyways.

Hence, the variable CP has only a small impact on this issue.

HTH,

Scott



-
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: Problem building cocon 2 with tomcat 3.2.2

2001-06-19 Thread Scott N. Smith

Marco

> I think that the problem is javax.naming.* : where is this packge?

javax.naming is part of J2EE; you can get this from the Sun web site.

Of course, this is supplied if you are running EJB in an appserver.

HTH,

-Scott

-
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: ZipException : The system cannot find the file specified

2001-06-21 Thread Scott N. Smith

Ray,

Your e-mail has appeared on the list before mine, but I am stuck at exactly
the same place.

I'm debugging and I can tell you that if you look at the Cocoon.log, it is
showing a "DEBUG" statement that I believe betrays the anomaly:

--
DEBUG   99314   [cocoon  ] (Thread-3): Making URL from
zip:C:/bea/wlserver6.0/config/mydomain/applications/.wl_temp_do_not_delete/s
itemap.xmap
--

This, I believe, is wrong; the name of the zip file is missing.  I.e., it
should be:

--
DEBUG   99314   [cocoon  ] (Thread-3): Making URL from
zip:C:/bea/wlserver6.0/config/mydomain/applications/.wl_temp_do_not_delete/<
some Weblogic temporary zip name>/sitemap.xmap
--

I am tracking down what function is supplying this name; I believe this
function is doing this wrong.

Anyone else run into this?

Thanks,

Scott

-
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: Newbie Question: can't access some of Cocoon2's samples

2001-07-02 Thread Scott N. Smith

This has been a known bug with Weblogic 6.0 and Cocoon 2 only for several
weeks.

HTH,

Scott Smith

-Original Message-
From: Mercier Xavier [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 4:28 AM
To: '[EMAIL PROTECTED]'
Subject: Newbie Question: can't access some of Cocoon2's samples


Hi Cocooners,

How's the craic?

I'd been working so far with Cocoon1.8 but was very intrigued by Cocoon2 and
decided eventually to give it a chance.

Here is my environment:
OS = Windows NT 4
Java = JDK 1.3
Application Server: BEA WebLogic 6

I built Cocoon2, then followed the installation instructions to the letter
(http://xml.apache.org/cocoon2/install.html) and finally managed to access
the Welcome Page after starting WebLogic. So far so good.

Naturally, my first reaction is to try out the samples provided. Because I
was essentially interested in XSP, I click on the Simple XSP Example link.
No problemo. Actually, I can access everything related to Dynamic Content.

When I try the simplest example though, named "Multimedia Hello World HTML"
that transforms a simple XML page into an HTML page, I constantly obtain the
following error:


--
Error 404--Not Found
>From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: 
10.4.5 404 Not Found
The server has not found anything matching the Request-URI. No indication is
given of whether the condition is temporary or permanent.
If the server does not wish to make this information available to the
client, the status code 403 (Forbidden) can be used instead. The 410 (Gone)
status code SHOULD be used if the server knows, through some internally
configurable mechanism, that an old resource is permanently unavailable and
has no forwarding address.

--
I tried to modify the sitemap.xmap file but with no success. I found nothing
in the FAQ related to that. I'm surprised to see that Cocoon2 seems to work
with more complicated examples. I'm baffled.
Has anybody else ever experienced the same problem? If so, how did you solve
it? Do you have suggestions?
Please help me, and I'll drink a glass of Jameson tonight in your honor!!
Thanks a bunch,
Xavier

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