XMLForm - How can I get it

2002-06-05 Thread Joseph Rajkumar

Hi
When I looked at http://xml.apache.org/cocoon/xmlform/index.html
I am unable to locate Cocoon-2.1, because I do not see a version
with the the 2.1 tag.

Please let me know from where I can get the cocoon with the
xmlforms.

Thanks
Joseph Rajkumar



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




Status of Cocoon2 in CVS

2002-04-29 Thread Joseph Rajkumar

Hi Folks

CVS Check out was done on April-29-2002 around
2:05 PM (US-EST time).

I checked out the latest version of 
cocoon2 from CVS head and build it. Now when
I go to the Portal  Authentication, yes it 
comes up correctly, but when I try to login
as cocoon/cocoon, I get this message:

Can you see the name of the file it is
looking for and can you also notice that the 
string /disk1/mbi/tomcat/webapps/cocoon has
been prepended TWICE and so obviously the
the file sunletprofile.xml is not found.

Regards
Joseph Rajkumar

PS: Hopefully I am not cluttering this mailing-list,
just letting everybody know the status of the current
CVS head and problems you are likely to run into if
you check out the current CVS head. Hope it helps somebody.
=
type fatal

message IOException during streaming.

description org.apache.cocoon.ProcessingException: IOException during
streaming.: java.io.FileNotFoundException:
/disk1/mbi/tomcat/webapps/cocoon/disk1/mbi/tomcat/webapps/cocoon/sunspotdemo/profiles/sunletprofile.xml
(No such file or directory)

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace

org.apache.cocoon.ProcessingException: IOException during streaming.:
java.io.FileNotFoundException:
/disk1/mbi/tomcat/webapps/cocoon/disk1/mbi/tomcat/webapps/cocoon/sunspotdemo/profiles/sunletprofile.xml
(No such file or directory)
at
org.apache.cocoon.components.source.impl.AvalonToCocoonSource.toSAX(AvalonToCocoonSource.java:178)
at
org.apache.cocoon.webapps.session.connector.ResourceConnectorImpl.loadXMLFromFile(ResourceConnectorImpl.java:489)
at
org.apache.cocoon.webapps.session.connector.ResourceConnectorImpl.loadXML(ResourceConnectorImpl.java:658)
at
org.apache.cocoon.webapps.session.components.AbstractSessionComponent.loadXML(AbstractSessionComponent.java:191)
at
org.apache.cocoon.webapps.portal.components.PortalManager.buildBaseProfile(PortalManager.java:3528)
at
org.apache.cocoon.webapps.portal.components.PortalManager.buildProfile(PortalManager.java:1233)
at
org.apache.cocoon.webapps.portal.components.PortalManager.createProfile(PortalManager.java:3487)
lot of lines removed
-- 
email: [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]




Re: Status of Cocoon2 in CVS

2002-04-29 Thread Joseph Rajkumar

Vadim Gritsenko wrote:

 Full branch name is:
   cocoon_2_0_3_branch
 
 I use command:
   cvs -q -z3 checkout -r cocoon_2_0_3_branch xml-cocoon2
 
 Vadim
Hi

Many thanks for the information.

Regards
Joseph Rajkumar

-
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: Status of Cocoon2 in CVS

2002-04-29 Thread Joseph Rajkumar

Vadim Gritsenko wrote:
 
 Joseph, all,
 
 As it was already mentioned (IIRC by Carsten),
 
  Cocoon CVS HEAD is now in *ALPHA* state.
 
 It means that some errors are expected, and will be fixed as we move
 along. If you have a patch which fixes some of these issues, please send
 it to BugZilla.
 
 Those users who work with CVS but want stable version please use Cocoon
 2.0.3 CVS branch.
 
 Thanks
 Vadim

Vadim

Many thanks for the information. Could you
please let me know how I can get at the 2.0.3 CVS branch.
I have gotten the HEAD using the following command:

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
 -z3 checkout -r HEAD xml-cocoon2

Do I have to just change HEAD to 2.0.3, please correct
me if I am wrong.

Thanks
Joseph Rajkumar

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




Portal Authentication Demo

2002-04-22 Thread Joseph Rajkumar

Hi Folks

Could somebody please let me know
when the CVS version will be functional.

I am desperately in need to demo the
functionality of Cocoon with the Portal
and authenication functionality to some 
higher-ups in my organisation.

So I did a cvs checkout like this after 
a cvs login: (April-22-2002 10:25 USA-EST time)

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic \
-z3 checkout -r HEAD xml-cocoon2

Then I did a build with this:
./build.sh -Dinclude.scratchpad.libs -Dinclude.webapp.libs=yes \
-Dinstall.war=$TOMCAT_HOME/webapps install

Great. The war file was created and dropped into
my tomcat-4.0.1/webapps directory. I completely
removed the tomcat-4.0.1/work directory and then
when I try to access http://localhost:8080/cocoon,
I get this message: (using JDK-1.3.1_02)

 Apache Tomcat/4.0.1 - HTTP Status 503 - Servlet Cocoon2 is currently unavailable
 type Status report
 message Servlet Cocoon2 is currently unavailable
 description The requested service (Servlet Cocoon2 is currently unavailable) 
 is not currently available.

My log file shows the following

2002-04-22 10:17:35 StandardWrapper[/cocoon:Cocoon2]: Marking servlet
Cocoon2 as unavailable
2002-04-22 10:17:35 StandardContext[/cocoon]: Servlet /cocoon threw
load() exception
javax.servlet.ServletException: Wrapper cannot find servlet class
org.apache.cocoon.servlet.CocoonServ
let or a class it depends on
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:807) 
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
at
org.apache.catalina.core.StandardHost.install(StandardHost.java:712)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:647)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:777)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:463)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at
org.apache.catalina.core.StandardService.start(StandardService.java:388)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776) 
at
org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at
org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
- Root Cause -
java.lang.ClassNotFoundException:
org.apache.cocoon.servlet.CocoonServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1156)

Regards
Joseph Rajkumar

-- 
email: [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]




Re: Basic cocoon app for newbies

2002-04-05 Thread Joseph Rajkumar

 von Schwerdtner, Thomas (GXS, FPI) wrote:
 
 CHello is a minimal cocoon application.
 
 http://chello.sf.net
 
 HTH,
 -Tom
Hi
It has not been updated in quite a while
with the newer version of either the JDK, Tomcat
nor Cocoon-2.0.2.

Regards
Joseph Rajkumar
email: [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]




Re: Why isn't Cocoon making into the commerical world?

2002-03-28 Thread Joseph Rajkumar

Hi

I would strongly recommend this for an excellent
introduction.

Joseph Rajkumar

http://www.cocooncenter.de/cc/documents/resources/navigation/index.html

Thor Heinrichs-Wolpert wrote:

 For your HelloWorld adventure, check out chello on sourceforge.

 Cheers,
 Thor HW


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




Cocoon-2.0.2 - Status of the Demo Samples

2002-03-27 Thread Joseph Rajkumar

Hi
I tried to send this directly to
Carsten Ziegeler, but the email was rejected
with this message:
 [EMAIL PROTECTED]:
 212.8.217.2 failed after I sent the message.
 Remote host said: 552 Error: content rejected
and so I am posting it to the users group hoping that
it will get to the developers and those with write 
access to the Cocoon CVS repository.
===

I have been an ardent user of the Cocoon software
for about 2 years and I have used and incorporated
it on our intranet projects on various occasions
and at every opportunity that I get.

But I am quite saddened by the non-working
examples in the newer releases of Cocoon. For example,
people including myself are quite interested in
interfacing with a database ie MySQL, PostgreSQL,
hypersonicSQL, Xindice etc.

The employee database which is a part of the
samples has NEVER worked correctly and as you probably
know many many postings have been sent to the
cocoon-users mailing list about this.

I greatly appreciate the work and complexity
of the product and the time and effort that has been 
put in by so many people from Stefano downwards.

Non-Working examples distributed with the
release make it quite difficult for users like me
to demo this to the powers-that-decide within the
organisations we work for, to incorporate cocoon into
our products.

Please do not think I am complaining, but I am
just trying to suggest that good-solid-working-examples
right out of the box would be the greatest selling point of 
cocoon, so that users and integrators like me will be 
able to demo it to our boss and use it in our daily work.

And, remember, I greatly respect and thank all the developers
of the product, this is just a suggestion to make it better.

Regards
Joseph Rajkumar
-- 
email: [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]




Re: ESQL - mixed case in column names spits attribute lowercase-col umn-name not found on SELECT

2002-03-21 Thread Joseph Rajkumar

 von Schwerdtner, Thomas (GXS, FPI) wrote:
 
  In many databases TYPE is a reserved word, although some
  drivers will
  allow it and others will not. You might try a test with a
  slightly different
  column name.
 
 
 Good point.  Changing it to 'Name' did not remove the error but I'm
 glad you said something as I would not have noticed the potential
 down-the-road problem otherwise.
 
 -Tom

Hi 
I tried it with PostgreSQL and did a 
Select type from tablename and it works fine.
The only time I got the attribute type not found
on the Select is when there was NO COLUMN with the
name type.

Regards
Joseph Rajkumar

PS: My gut feeling is that you get this error if the
column name does not exist in the table.
-- 
email: [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]




Re: XSP Question

2002-03-19 Thread Joseph Rajkumar

Hi
I understand that db.xsl has to be modified,
but my problem is that I am not able to set any
attribute values for the db:employees tag.

In this case I am trying to set the 
attribute start to some value or default of 0
and count to some value or a default of 7, but
when I try to print the value of @start or @count
in the db.xsl, it does not contain any values at all.

Regards
Joseph Rajkumar
==
  !-- This portion does not work --
  xsp:element name=db:employees
xsp:attribute name=start
  xsp:content
xsp:expr
   xsp-request:get-parameter name=start default=0/
/xsp:expr
  /xsp:content
  /xsp:attribute
  xsp:attribute name=count
   xsp:content
 xsp:expr
   xsp-request:get-parameter name=count default=7/
 /xsp:expr
   /xsp:content
 /xsp:attribute
  /xsp:element
 
 Range attributes are not supported by db logicsheet, it's just a sample. To
 add some new features you should add them to the logicsheet (see db.xsl).

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




XSP Question

2002-03-18 Thread Joseph Rajkumar

Hi Folks

I have taken Konstantin Piroumian's 
sample logic sheet ie db.xsp and I am trying
to modify it so that I could select from a certain
range of date ie I want to use the LIMIT # # command
to select and I am using the following syntax

!-- This portion does not work --
xsp:element name=db:employees
  xsp:attribute name=start
xsp:content
  xsp:expr
 xsp-request:get-parameter name=start default=0/
  /xsp:expr
/xsp:content
/xsp:attribute
xsp:attribute name=count
 xsp:content
   xsp:expr
 xsp-request:get-parameter name=count default=7/
   /xsp:expr
 /xsp:content
   /xsp:attribute
/xsp:element


!-- This works but gets all the employees --
db:employees 
/db:employees

Any help will be greatly appreciated.

Joseph Rajkumar
email: [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]




Re: HOWTO: jdk1.4

2002-03-04 Thread Joseph Rajkumar


Hi
 Did you mean the Cocoon-2.0.1 which unfortunately
does not have the recent excellent additions like Portals  Authentication.
Have you tried the CVS HEAD version of Cocoon.
Regards
Joseph Rajkumar
Matt Williams wrote:
- Download Cocoon
Binary and copy cocoon.war to $CATALINA_HOME/webapps



Access to xml-cocoon2

2002-03-01 Thread Joseph Rajkumar

Hi
I used the following to get the
latest xml-cocoon2 with the need libs
to check out the validation etc, I was
able to build, but when I run I get
the message:

===
Apache Tomcat/4.0.1 - HTTP Status 503 - 
 Servlet Cocoon2 is currently unavailable
type Status report
message Servlet Cocoon2 is currently unavailable
description The requested service (Servlet Cocoon2 
is currently unavailable) is not currently available.
===

I used this to check it out:
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
xml-cocoon2

Am I correct? What is this CVS HEAD folks are talking about,
is it the same or different, if different how??

Joseph Rajkumar
-- 
email: [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]




Re: C2 caching of XSP?

2002-02-22 Thread Joseph Rajkumar

Hi 
We are looking at using Tomcat and Cocoon with 
Apache for a high volume database oriented website. We
can use either MySQL or PostgreSQL because we are in need
of transactions.

How much support is available for MySQL or PostgreSQL
when we use DBPrism. I know that it supports many version
of Oracle, but we do not use Oracle.

Thanks for your time.

Thanks
Joseph Rajkumar
==
  You could use DBPrism External Cache Invalidator Server.
  This server use ESI (http://www.w3.org/TR/esi-invp) invalidation
 protocol for caching coherence betwen the database server and cocoon.
   In that case you could synchronize the XSP with a simple stored
 procedure or other process which sent and HTTP message to Cocoon's
 invalidator server.
   This componenent is part of DBPrism, but I'll donate through bugzilla
 asap.
   You could find more information about the flowmap of this process at:
 http://www.dbprism.com.ar/dbprism/doc/cms/CMS-WebCache.html
   also internal information about the External Cache Invalidator Server
 interface for Cocoon 2:
 http://www.dbprism.com.ar/dbprism/doc/xdocs/Server.html
 Marcelo F. Ochoa - [EMAIL PROTECTED]
 Do you Know DB Prism? Look @ http://www.plenix.com/dbprism/
 More info?
 Chapter 21 of the book Professional XML Databases (Wrox Press
 http://www.wrox.com/)
 Chapter 8 of the book Oracle  Open Source (O'Reilly
 http://www.oreilly.com/catalog/oracleopen/)
 ---
 Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
 Paraje Arroyo Seco - Campus Universitario
 (7000) Tandil - Bs. AS. - Argentina
 Te: +54-2293-30 Fax: +54-2293-31

email: [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]




Latest CVS Checkout - Build fails

2002-02-21 Thread Joseph Rajkumar

Hi Folks

I did a cvs checkout of xml-cocoon2 this
morning 2/21/02 at 10:00 AM Eastern US time and tried
to build it and it failed.

Regards
Joseph Rajkumar
PS: There are similar postings on the cocoon-dev mailing
list also, from earlier checkouts.

-- 
email: [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]




Re: Apache Tomcat/4.0.2 - Error report with Cocoon-2.0.1

2002-02-13 Thread Joseph Rajkumar

Todd Densmore wrote:
 
 Ran into the same problem. I just uninstalled :(
 
Hi
The best solution right now is to stay
with Tomcat-4.0.1 and Cocoon-2.0.1 and they work
just fine with or without the display.

Joseph Rajkumar

-
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: Cocoon 2.0.1 and Tomcat 4.02

2002-02-12 Thread Joseph Rajkumar

Hi
Tomcat-4.0.2 and Cocoon-2.0.1 works
like a charm for me. I am on Linux-Mandrake-8.0
using Sun JDK-1.3.1_02.

It would be easier for people to help
if you let us know the OS and the JDK you are using.

Joseph Rajkumar
email: [EMAIL PROTECTED]

Martin Holz wrote:
 
 Erik Stunkat wrote:
  Hello,
 
  I deleted everything under \tomcat\work\localhost
  that went fine
 
 
 Didn't work for me :-(. Which java version do you use?
 
 -
 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]




Building tutorialwebapp

2002-02-05 Thread Joseph Rajkumar

Hi Folks
I downloaded cocoon-2.0.1 and build it
and got it to work just fine. Now I am trying
to build tutorialweb to see the examples whose
screen shots are available under the 
How to develop Web Applications and I do not
see the tutorialwebapp target.

Please let me know how I can build that
target.

Regards
Joseph Rajkumar
-- 
email: [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]




Performance - Cocoon-2.0.1

2002-01-31 Thread Joseph Rajkumar

Hi Folks
I downloaded Tomcat-4.0.1 and Cocoon-2.0.1
and installed them. They work just fine.

Comments:

1) Visit http://localhost:8080/cocoon/documents/doclist.html
and click on tutorial.
It takes exactly 50 seconds for the tutorial to show up.
Every time I go back to this tutorial.html page it takes
about 50 seconds.

2) Visit http://localhost:8080/cocoon and click on tutorial,
you get this message:
   http://localhost:8080/cocoon/tutorial/resources/script.js
Apache Tomcat/4.0.1 - HTTP Status 404 - Not Found
type Status report
message Not Found
description The requested resource (Not Found) is not available.

3) No information anywhere as to how to build the tutorialwebapp
the example for which screen shots are available in cocoon-2.0.1,
but no mention of any other information.

Regards
Joseph Rajkumar

email: [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]




Tutorial webapp missing

2002-01-23 Thread Joseph Rajkumar

Hi Folks

I retrieved the latest cocoon-2 from CVS
and built and am running it. Under tutorial and
in the page How to build web applications, there
is mention about a build tutorialwebapp for the
example given on that page, I am unable to find 
how to build it, please let me know how to build it.

Regards
Joseph Rajkumar
-- 
email: [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]




Problems compiling recent checkout of Cocoon2

2002-01-10 Thread Joseph Rajkumar

Hi
I am on a Mandrake-8.1 Linux
platform using JDK-1.3.1_02 from Sun
and ant 1.4.1.

I checked out from cvs a fresh
copy of xml-cocoon and I am having the
following problems compiling it.

1027% echo $ANT_HOME
/usr/java/jakarta-ant-1.4.1
 1028% echo $TOMCAT_HOME
/home/jrajkumar/tmp/jakarta-tomcat-4.0.1
 1029% echo $JAVA_HOME
/usr/java/jdk1.3.1_02

build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
webapp

Apache Cocoon 2 Build System

Buildfile: build.xml
/home/jrajkumar/cocoon/xml-cocoon2/bin/ant: line 107: 14168 Segmentation
fault  $JAVACMD -classpath $LOCALCLASSPATH
-Dant.home=${ANT_HOME} $ANT_OPTS org.apache.tools.ant.Main $@

Any help is appreciated.
Joseph Rajkumar

-
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: Problems compiling recent checkout of Cocoon2

2002-01-10 Thread Joseph Rajkumar

Hi 
Thanks for that information. I read through
this URL and the java.sun.com site and set this:

ulimit -s 2048

OK, Now I am able to compile the whole thing
and cocoon.war gets dropped in $$TOMCAT_HOME/webapps.
Then when I go the $TOMCAT_HOME/bin/startup.sh, there
is NOTHING running, but the prompt is just returned.

'ps' does not show any java processes running
and I am not able to connect to port 8080.

Thanks
Joseph Rajkumar


Vadim Gritsenko wrote:
 
 Archive suggesting:
 
 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=100879385811581w=2
 
 PS This helped me once
 
 Regards,
 Vadim
 
  From: jrajkumar [mailto:jrajkumar] On Behalf Of Joseph Rajkumar
 
  Hi
I am on a Mandrake-8.1 Linux
  platform using JDK-1.3.1_02 from Sun
  and ant 1.4.1.
 
I checked out from cvs a fresh
  copy of xml-cocoon and I am having the
  following problems compiling it.
 
  1027% echo $ANT_HOME
  /usr/java/jakarta-ant-1.4.1
   1028% echo $TOMCAT_HOME
  /home/jrajkumar/tmp/jakarta-tomcat-4.0.1
   1029% echo $JAVA_HOME
  /usr/java/jdk1.3.1_02
 
  build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_HOME/webapps
  webapp
 
  Apache Cocoon 2 Build System
  
  Buildfile: build.xml
  /home/jrajkumar/cocoon/xml-cocoon2/bin/ant: line 107: 14168
 Segmentation
  fault  $JAVACMD -classpath $LOCALCLASSPATH
  -Dant.home=${ANT_HOME} $ANT_OPTS org.apache.tools.ant.Main $@
 
  Any help is appreciated.
  Joseph Rajkumar
 
 -
 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]




Re: Problems compiling recent checkout of Cocoon2

2002-01-10 Thread Joseph Rajkumar

Hi Folks

I went through the entire grind from scratch
and it works fine now.

These are the things I checked to make sure:-

1) Made sure the $TOMCAT_HOME/webapps/cocoon* was removed
2) Made sure that $TOMCAT_HOME/work/* was removed
3) Downloaded a fresh copy of the xml-cocoon2 from CVS
just now (Thu Jan 10 16:12:09 EST 2002).
4) Did the ulimit -s 2048 stuff due to glibc issues
5) Compiled cocoon with JDK-1.3.1_02 from Sun for x86 Linux
and installed cocoon.war into the $TOMCAT_HOME/webapps dir
6) Ran $TOMCAT_HOME/bin/startup.sh after doing a chmod 755 *.sh
7) http://localhost:8080/cocoon came up fine.

Regards
Joseph Rajkumar

Vadim Gritsenko wrote:
 
  From: jrajkumar [mailto:jrajkumar] On Behalf Of Joseph Rajkumar
 
  Hi
Thanks for that information. I read through
  this URL and the java.sun.com site and set this:
 
  ulimit -s 2048
 
OK, Now I am able to compile the whole thing
  and cocoon.war gets dropped in $$TOMCAT_HOME/webapps.
  Then when I go the $TOMCAT_HOME/bin/startup.sh, there
  is NOTHING running, but the prompt is just returned.
 
'ps' does not show any java processes running
  and I am not able to connect to port 8080.
 
 Don't know. See what's in stdout/stderr/log files; debug startup script.
 
 Vadim
 
 
  Thanks
  Joseph Rajkumar
 
 
  Vadim Gritsenko wrote:
  
   Archive suggesting:
  
  
 http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=100879385811581w=2
  
   PS This helped me once
  
   Regards,
   Vadim
  
From: jrajkumar [mailto:jrajkumar] On Behalf Of Joseph Rajkumar
   
Hi
  I am on a Mandrake-8.1 Linux
platform using JDK-1.3.1_02 from Sun
and ant 1.4.1.
   
  I checked out from cvs a fresh
copy of xml-cocoon and I am having the
following problems compiling it.
   
build.sh -Dinclude.webapp.libs=yes
 -Dinstall.war=$TOMCAT_HOME/webapps
webapp
   
Apache Cocoon 2 Build System

Buildfile: build.xml
/home/jrajkumar/cocoon/xml-cocoon2/bin/ant: line 107: 14168
Segmentation fault  $JAVACMD -classpath $LOCALCLASSPATH
-Dant.home=${ANT_HOME} $ANT_OPTS org.apache.tools.ant.Main $@
   
Any help is appreciated.
Joseph Rajkumar
 
 -
 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]




:Error creating the resource

2001-10-04 Thread Joseph Rajkumar


Hi
 I have an installation using Tomcat-4.0 and Cocoon-2.0B2.
Does any one know why I am getting this error when I access
"Insert Department" and "Insert Employees" whereas the other one
"Manage Employees" link works just fine.
 These are the examples in Cocoon-2.0B2.
Thanks
Joseph Rajkumar

http://64.192.57.189/cocoon/forms/add-department

Title: :Error creating the resource






Error creating the resource


Language Exception


details


from


sourceorg.apache.cocoon.ProcessingException


descriptionorg.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error during compilation: Not enough space


extra info



org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error during compilation: Not enough space




org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error during compilation: Not enough space
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:278)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:192)
	at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:145)
	at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:146)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:243)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:103)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:282)
	at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN40048F(sitemap_xmap.java)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:116)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:495)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:534)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
	at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
	at org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
	at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
	at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
	at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
	at org.apache.catalina.connector.warp.WarpRequestHandler.handle(Unknown Source)
	at org.apache.catalina.connector.warp.WarpConnection.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.components.language.LanguageException: Error during compilation: Not enough space
	at org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:215)
	at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:140)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:324)
	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.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:145)
	at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:146)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup

Cocoon-2.0b1 with Tomcat-3.2.2 on Solaris-2.7

2001-06-07 Thread Joseph Rajkumar

Hi
I would like to know if anyone has got Cocoon-2.0b1
and Tomcat-3.2.2 to work.

I have the above working fine on Linux (Mandrake-8.0),
so I know what is involved. But when I did the very same
thing on Solaris, it builds fine, but I begin to get those
Sitemap problems. Of course, the sitmap_xmap.class
is build correctly under ~work, but then it cannot find
that class.

Any help would be greatly appreciated.
Joseph Rajkumar
PS: This was tried on the console, with JDK-1.3.0.



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