RE: Weblogic 6.1 sp1 and cocoon2

2001-10-23 Thread Velle Andrè
Title: Weblogic 6.1 sp1 and cocoon2



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:36To: 
  '[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 
  com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) 
   at 
  com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
   at 
  weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) 
   at 
  weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) 
   at 
  $Proxy30.addWebDeployment(Unknown Source)  at 
  weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1094)
   at 
  weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315) 
   at 
  weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:279) 
   at 
  weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:233) 
   at 
  weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:193) 
   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 
  com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) 
   at 
  com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
   at 
  weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) 
   at 
  weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) 
   at 
  $Proxy29.updateDeployments(Unknown Source)  at 
  weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2734)
   at 
  weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:362) 
   at 
  weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:154) 
   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 
  com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) 
   at 
  com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) 
   at 
  weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:449) 
   at 
  weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:190) 
   at 
  $Proxy38.start(Unknown 

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
 com.sun.management.jmx.MBeanServerImpl.invoke