RE: Weblogic 6.1 sp1 and cocoon2

2001-10-23 Thread Damian_Kwok


alternatively, don't use weblogic auto-deployment.  Then it doesn't matter
that one of your jar files has a name shorter than 3 characters.
And you will face a boatload of other problems - post them here and perhaps
we have a solution for them.

Except if you want to use weblogic's JSP engine for Cocoon JSP generation -
we're still trying and it's not looking overly optimistic..

Damian



   
   
Velle Andrè
   
Andre.Velle@netcTo: '[EMAIL PROTECTED]' 
[EMAIL PROTECTED]
om-gsm.no   cc:   
   
 Subject: RE: Weblogic 6.1 sp1 and 
cocoon2
23-Oct-2001 05:19  
   
PM 
   
Please respond to  
   
cocoon-users   
   
   
   
Sender Info:   
   
No Sender Info 
   
found in the   
   
address Book   
   
   
   
   
   




Remove xt.jar from the webapp. That should fix this error. There will be
others, though, for which I have no fix. Post 'em as you find'em, perhaps
someone else has a solution!

-André
 -Original Message-
 From: Le, Vincent [mailto:[EMAIL PROTECTED]]
 Sent: 23. oktober 2001 00:36
 To: '[EMAIL PROTECTED]'
 Subject: Weblogic 6.1 sp1 and cocoon2



 Hi,


 I'm quite new with cocoon xml framework.  I was setup and running
 cocoon 1.8.2 successfully with weblogic server.  I want to move to
 cocoon 2.0, but get the following error messages.  After doing the
 build and copy cocoon.war file into applications directory, weblogic
 can't deploy cocoon with below error.  If you are familiar with the
 problem, please help.  Thank you very much in advance.


 Vincent


 java.lang.IllegalArgumentException: Prefix string too short
 at java.io.File.createTempFile(File.java:1237)
 at
 weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95)

 at
 
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3356)

 at
 
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3327)

 at
 weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:854)

 at
 
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:807)

 at
 weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
 at
 weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
 at
 weblogic.j2ee.Application.addComponent(Application.java:160)
 at
 weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
 at
 
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)

 at
 
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)

 at
 weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)

 at java.lang.reflect.Method.invoke(Native Method)
 at
 
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)

 at
 weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)

 at
 
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)

 at
 

C2B2: Using weblogic 6.1 JSP engine instead of Jasper

2001-09-20 Thread Damian_Kwok

Hi,
I understand that you can configure Cocoon to use a different JSP engine by changing the settings in cocoon.xconf. 
Does anyone know the full class name of weblogic 6.1's JSP engine? 

thanks,
Damian
__
Visit us at www.singaporeair.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]>



Install Problem w/ Cocoon 2 under BEA Weblogic 6.1

2001-09-13 Thread Damian_Kwok

Not sure if anyone is facing the same problem, but I get a
NullPointerException while Weblogic tries to deploy Cocoon 2:

Sep 13, 2001 5:03:30 PM GMT+08:00 Debug HTTP CAPUXP13
myserver Application Manager Thread   101158 Exception thrown
while loading cocoon: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at
org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:107)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:365)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:136)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:698)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:641)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:586)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2198)
 ...

did I miss out something?

Thanks a lot,
Damian

p.s. configuration: WLS 6.1, Cocoon v2.1-dev
__

Visit us at www.singaporeair.com.
__


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




Help: Error Compiling Sitemap

2001-09-13 Thread Damian_Kwok

Hi all,
I'm still trying to get Cocoon 2.0b2 to run on Weblogic 6.1.  I've followed
the installation intstructions for WLS6.0 and got as far as Cocoon being
loaded by WLS6.1 (there is a WLS6.1 issue which took us a while to nail
down).  However, while accessing /cocoon/ I get a Cocoon internal server
error (Error Compiling sitemap).  Could someone point me to what might be
wrong?  Do I need to change anything in the sitemap?

thanks a lot in advance.  Also, how can I contribute to the installation
documentation? Seems like there are some WLS6.1 specific gotchas that
should be included

Damian


Sep 14, 2001 10:04:30 AM GMT+08:00 Info HTTP CAPUXP13
myserver Thread-19   101047
[WebAppServletContext(5401276,cocoon,/cocoon)] ERROR   10004   [cocoon  ]
(Thread-19): Error compiling sitemap
org.apache.avalon.framework.component.ComponentException: markup-languages:
ComponentSelector could not access the Component for hint: sitemap
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:253)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Unknown Source)
org.apache.avalon.framework.configuration.ConfigurationException:
AbstractMarkupLanguage: SAX2 driver class
weblogic.apache.xerces.parsers.SAXParser not found
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java:141)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:246)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassNotFoundException: weblogic.apache.xerces.parsers.SAXParser
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:118)
at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(XMLReaderFactory.java:96)
at
org.apache.cocoon.components.language.markup.Logicsheet.setInputSource(Logicsheet.java:99)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.createLogicsheet(AbstractMarkupLanguage.java:182)
at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.configure(AbstractMarkupLanguage.java:113)
at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:108)
at
org.apache.avalon.excalibur.component.DefaultComponentHandler.get(DefaultComponentHandler.java:92)
at
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:246)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:176)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:204)
at java.lang.Thread.run(Unknown Source)

Sep 14, 2001 10:04:30 AM GMT+08:00 Info HTTP CAPUXP13
myserver ExecuteThread: '8' for queue: 'default'   101047
[WebAppServletContext(5401276,cocoon,/cocoon)] ERROR   10004   [cocoon  ]
(ExecuteThread: '8' for queue: 'default'): Problem with servlet
org.apache.cocoon.ProcessingException: Exception in
Handler:org.apache.avalon.framework.component.ComponentException:
markup-languages: ComponentSelector could not access the Component for
hint: sitemap
at
org.apache.cocoon.sitemap.Handler.throwEventualException(Handler.java:239)
at org.apache.cocoon.sitemap.Handler.regenerate(Handler.java:153)
at org.apache.cocoon.sitemap.Manager.getHandler(Manager.java:174)
__

Visit us at www.singaporeair.com.
__


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




installation problems - Cocoon 2 on weblogic 6.1

2001-09-06 Thread Damian_Kwok

Has anyone managed to successfully install Cocoon 2 (B2) on weblogic 6.1?

I followed the instructions that came with the distribution, but Cocoon
failed to load during deployment (I'm running weblogic 6.1 in development
mode so that it would auto-deploy any .war applications dropped into the
applications directory) with the following errors:

Sep 6, 2001 10:59:40 AM GMT+08:00 Error J2EE Error deploying
application cocoon: Could not load cocoon
Sep 6, 2001 10:59:40 AM GMT+08:00 Error Management Error deploying
application ./config/mydomain/applications/cocoon.war:
java.lang.reflect.UndeclaredThrowableException

I'm running weblogic 6.1 on HP-UX 11.11 (HP9000/800).  While building
cocoon.war I had to fix the DOS linefeeds in bin/ant, and there were some
warning messages during build (at the bottom of this mail) which didnt look
particularly serious to me ...

any pointers will be appreciated.
thanks,
damian



Apache Cocoon 2 Build System

expr: Syntax error

/tmp/cocoon/cocoon2/bin/ant[213]: test: Specify a parameter with this
command.
Buildfile: build.xml

init:
--- Apache Cocoon 2.0b2 [1999-2001] 

prepare:
Created dir: /tmp/cocoon/cocoon2/build/cocoon

generate-java-code:
Transforming into
/tmp/cocoon/cocoon2/build/cocoon/src/org/apache/cocoon/components/browser
Loading stylesheet
/tmp/cocoon/cocoon2/src/org/apache/cocoon/components/browser/BrowserImpl.xsl
Transforming into
/tmp/cocoon/cocoon2/build/cocoon/src/org/apache/cocoon/components/browser

prepare-src-main:
Created dir: /tmp/cocoon/cocoon2/build/cocoon/classes
Copying 280 files to /tmp/cocoon/cocoon2/build/cocoon/src

prepare-src-22-maybeupload:
Copying 1 file to
/tmp/cocoon/cocoon2/build/cocoon/src/org/apache/cocoon/environment/http

compile:
Copying 14 files to /tmp/cocoon/cocoon2/build/cocoon/classes
Compiling 265 source files to /tmp/cocoon/cocoon2/build/cocoon/classes

Note: 11 files use or override a deprecated API.  Recompile with 
-deprecation for details.
1 warning

package:
Building jar: /tmp/cocoon/cocoon2/build/cocoon/cocoon.jar

copy-webapp:
Created dir: /tmp/cocoon/cocoon2/build/cocoon/webapp
Copying 187 files to /tmp/cocoon/cocoon2/build/cocoon/webapp
Copied 3 empty directories to /tmp/cocoon/cocoon2/build/cocoon/webapp
Copying 28 files to /tmp/cocoon/cocoon2/build/cocoon/webapp
Copying 6 files to /tmp/cocoon/cocoon2/build/cocoon/webapp/i18n

prepare-webapp-libs:
Copying 20 files to /tmp/cocoon/cocoon2/build/cocoon/webapp/WEB-INF/lib
Could not find file /prod/applc/bea/jdk131/jre/lib/tools.jar to copy.
Copying 1 file to /tmp/cocoon/cocoon2/build/cocoon/webapp/WEB-INF/lib

webapp:
Building jar: /tmp/cocoon/cocoon2/build/cocoon/cocoon.war

install:
Copying 1 file to /prod/applc/bea/wlserver6.1/config/mydomain/applications

BUILD SUCCESSFUL

Total time: 2 minutes 0 seconds
__

Visit us at www.singaporeair.com.
__


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