AW: Shale + Ajax4jsf

2007-02-02 Thread Worm, Danny
Hi again,

I've successfully integrate Ajax4Jsf without Shale. But I don't
understand the problem. I hope my report in the extern forum can help to
solve the problem, because I'm very interested in shale :-)
But I've to use ajax4jsf.

Kind regards
DaWorm


stack traces from shale-clay-usecases

2007-02-02 Thread John Carlson


I got a couple of stacktraces from the shale-clay-usecases using OC4J
10.1.3.1 (supposedly
supports J2EE 1.4). I deployed the shale-clay-usecases.war and
tried to use the rolodex use
cases. None of the rolodex cases work, although the first use case
page does work. Here are
the 2 different kinds of stack traces I got. This is on Windows XP
service pack 2.
500 Internal Server Error
java.lang.NullPointerException
at
org.apache.shale.validator.CommonsValidator.getValidatorAction(CommonsValidator.java:739)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:260)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.encodeBegin(ValidatorScript.java:649)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:413)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:416)
at
org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445)
at
org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(ClayViewHandler.java:476)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:402)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:267)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at
java.lang.Thread.run(Thread.java:595)

500 Internal Server Error
javax.faces.FacesException: javax.servlet.ServletException
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:426)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:450)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:267)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at
com.evermind[Oracle Containers for 

shale-usecases doesn't deploy on weblogic 9.2 MP1

2007-02-02 Thread Alessio Harri
Hi all

I am able to deploy the shale-blank app on weblogic 9.2  but NOT shale-usecases.

After alot of trial and error I discovered that it will deploy if I remove 
shale-validator-1.0.4.jar from the lib folder.

My app currently uses shale-validator-1.0.4.jar  so I cannot get it to deploy.

Any help will be appreciated.  

Regards 
Alessio

This is the stacktrace

2007/02/02 12:35:08 PM Error HTTP BEA-101163 Could not load user 
defined listener: 

java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Deployer BEA-149265 Failure occured in 
the execution of deployment request with ID '1170412504501' for task '0'. Error 
is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 org.apache.shale.dialog.basic.BasicLifecycleListener 
contextDestroyed
INFO: Finalizing Dialog Basic Implementation
2007/02/02 12:35:08 PM Warning Deployer BEA-149004 Failures were 
detected while initiating distribute task for application 'shale-usecases 
[LibSpecVersion=1.0.4,LibImplVersion=1.0.4]'. 
2007/02/02 12:35:08 PM Warning Deployer BEA-149078 Stack trace for 
message 149004
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Console BEA-240003 Console encountered 
the following error weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:46)
at 
weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at 

RE: shale-usecases doesn't deploy on weblogic 9.2 MP1

2007-02-02 Thread hermod.opstvedt
Hi

You need to look through yours logs in order to identify which class it can not 
find.

In particular the shale-validator depends on commons-validator-1.3.1.jar

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:39 AM
To: user@shale.apache.org
Subject: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi all

I am able to deploy the shale-blank app on weblogic 9.2  but NOT shale-usecases.

After alot of trial and error I discovered that it will deploy if I remove 
shale-validator-1.0.4.jar from the lib folder.

My app currently uses shale-validator-1.0.4.jar  so I cannot get it to deploy.

Any help will be appreciated.  

Regards 
Alessio

This is the stacktrace

2007/02/02 12:35:08 PM Error HTTP BEA-101163 Could not load user 
defined listener: 

java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Deployer BEA-149265 Failure occured in 
the execution of deployment request with ID '1170412504501' for task '0'. Error 
is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 org.apache.shale.dialog.basic.BasicLifecycleListener 
contextDestroyed
INFO: Finalizing Dialog Basic Implementation
2007/02/02 12:35:08 PM Warning Deployer BEA-149004 Failures were 
detected while initiating distribute task for application 'shale-usecases 
[LibSpecVersion=1.0.4,LibImplVersion=1.0.4]'. 
2007/02/02 12:35:08 PM Warning Deployer BEA-149078 Stack trace for 
message 149004
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Console BEA-240003 Console encountered 
the following error weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:56)
   

RE: shale-usecases doesn't deploy on weblogic 9.2 MP1

2007-02-02 Thread Alessio Harri
Hi Hermod

I do include commons-validator-1.3.1.jar  in my app and it is in
the shale-usecases app.The log file indicates that it is trying to 
load a linebreak as a class ie. /n
So for some reason shale validator is trying to load /n as a class.

Any ideas ? this is not a bug in my app because it doesn't deploy
shale-usecases.war from the shale site either.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 12:45
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

You need to look through yours logs in order to identify which class it can not 
find.

In particular the shale-validator depends on commons-validator-1.3.1.jar

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:39 AM
To: user@shale.apache.org
Subject: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi all

I am able to deploy the shale-blank app on weblogic 9.2  but NOT shale-usecases.

After alot of trial and error I discovered that it will deploy if I remove 
shale-validator-1.0.4.jar from the lib folder.

My app currently uses shale-validator-1.0.4.jar  so I cannot get it to deploy.

Any help will be appreciated.  

Regards 
Alessio

This is the stacktrace

2007/02/02 12:35:08 PM Error HTTP BEA-101163 Could not load user 
defined listener: 

java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Deployer BEA-149265 Failure occured in 
the execution of deployment request with ID '1170412504501' for task '0'. Error 
is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 org.apache.shale.dialog.basic.BasicLifecycleListener 
contextDestroyed
INFO: Finalizing Dialog Basic Implementation
2007/02/02 12:35:08 PM Warning Deployer BEA-149004 Failures were 
detected while initiating distribute task for application 'shale-usecases 
[LibSpecVersion=1.0.4,LibImplVersion=1.0.4]'. 
2007/02/02 12:35:08 PM Warning Deployer BEA-149078 Stack trace for 
message 149004
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Console BEA-240003 Console encountered 
the following error weblogic.application.ModuleException: 
at 

RE: shale-usecases doesn't deploy on weblogic 9.2 MP1

2007-02-02 Thread Alessio Harri
I configured weblogic to load the classes from my application first.
I still get this error. I don't think that shales-validation works in
Weblogic 9.2 . I will see if BEA have any answers.

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 02:03
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi 

I will try your suggestions.
The classloader is trying to load a linebreak. I debugged it inside eclipse and
the classname being passed to GenericClassLoader is /n.
I have removed shale-validator-1.0.4.jar from my app and it deploys fine.
Unfortunately I won't be able to make use of the validation feature of Shale
until this is resolved.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 01:54
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

The validator doesn't try to load anything - Its 
weblogic.utils.classloaders.GenericClassLoader that loads classes (Look at the 
stacktrace). It is definitly not trying to load a linebreak - Its just not 
reporting the class that is trying to load.

The usecase deploy fine to Tomcat (except 5.5.20/jdk1.5 combo)  and other 
appservers. My guess is that you are seing a clashing of classes. That is that 
the container loads some stuff from its own lib directory before loading your 
stuff. Try altering the class-loader strategy to parent-last

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:54 AM
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi Hermod

I do include commons-validator-1.3.1.jar  in my app and it is in
the shale-usecases app.The log file indicates that it is trying to 
load a linebreak as a class ie. /n
So for some reason shale validator is trying to load /n as a class.

Any ideas ? this is not a bug in my app because it doesn't deploy
shale-usecases.war from the shale site either.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 12:45
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

You need to look through yours logs in order to identify which class it can not 
find.

In particular the shale-validator depends on commons-validator-1.3.1.jar

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:39 AM
To: user@shale.apache.org
Subject: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi all

I am able to deploy the shale-blank app on weblogic 9.2  but NOT shale-usecases.

After alot of trial and error I discovered that it will deploy if I remove 
shale-validator-1.0.4.jar from the lib folder.

My app currently uses shale-validator-1.0.4.jar  so I cannot get it to deploy.

Any help will be appreciated.  

Regards 
Alessio

This is the stacktrace

2007/02/02 12:35:08 PM Error HTTP BEA-101163 Could not load user 
defined listener: 

java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Deployer BEA-149265 Failure occured in 
the execution of deployment request with ID '1170412504501' for task '0'. Error 
is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 

RE: shale-usecases doesn't deploy on weblogic 9.2 MP1

2007-02-02 Thread hermod.opstvedt
Hi

Knowing  application servers, there is one possible source of an error like 
this. Its the classpath: section og the manifest.mf file inside the jar file. 
If this is mangled for some reason or the container is buggy about it, the that 
may be the culprit you are looking for.

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 1:14 PM
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


I configured weblogic to load the classes from my application first.
I still get this error. I don't think that shales-validation works in
Weblogic 9.2 . I will see if BEA have any answers.

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 02:03
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi 

I will try your suggestions.
The classloader is trying to load a linebreak. I debugged it inside eclipse and
the classname being passed to GenericClassLoader is /n.
I have removed shale-validator-1.0.4.jar from my app and it deploys fine.
Unfortunately I won't be able to make use of the validation feature of Shale
until this is resolved.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 01:54
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

The validator doesn't try to load anything - Its 
weblogic.utils.classloaders.GenericClassLoader that loads classes (Look at the 
stacktrace). It is definitly not trying to load a linebreak - Its just not 
reporting the class that is trying to load.

The usecase deploy fine to Tomcat (except 5.5.20/jdk1.5 combo)  and other 
appservers. My guess is that you are seing a clashing of classes. That is that 
the container loads some stuff from its own lib directory before loading your 
stuff. Try altering the class-loader strategy to parent-last

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:54 AM
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi Hermod

I do include commons-validator-1.3.1.jar  in my app and it is in
the shale-usecases app.The log file indicates that it is trying to 
load a linebreak as a class ie. /n
So for some reason shale validator is trying to load /n as a class.

Any ideas ? this is not a bug in my app because it doesn't deploy
shale-usecases.war from the shale site either.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 12:45
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

You need to look through yours logs in order to identify which class it can not 
find.

In particular the shale-validator depends on commons-validator-1.3.1.jar

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:39 AM
To: user@shale.apache.org
Subject: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi all

I am able to deploy the shale-blank app on weblogic 9.2  but NOT shale-usecases.

After alot of trial and error I discovered that it will deploy if I remove 
shale-validator-1.0.4.jar from the lib folder.

My app currently uses shale-validator-1.0.4.jar  so I cannot get it to deploy.

Any help will be appreciated.  

Regards 
Alessio

This is the stacktrace

2007/02/02 12:35:08 PM Error HTTP BEA-101163 Could not load user 
defined listener: 

java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error Deployer BEA-149265 Failure occured in 
the execution of deployment request with ID '1170412504501' for task '0'. Error 
is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException: 
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
at 
weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at 
weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at 
weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: 

 

RE: shale-usecases doesn't deploy on weblogic 9.2 MP1

2007-02-02 Thread Alessio Harri
Hi

OK , I found a hack solution.

After alot of testing I found that if I removed 

listener
listener-class
org.apache.shale.validator.faces.ValidatorLifecycleListener
/listener-class
/listener

from validators.tld which is in shale-validator-1.0.4.jar then the application 
deploys fine.

ValidatorLifecycleListener is still initialise on startup (confused???)  and the
application works fine even the shale-validation pages.

So why would Weblogic not work with the listener configured and why is the 
listener still being called.

Anyways,this is working but why???


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 02:56
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

Knowing  application servers, there is one possible source of an error like 
this. Its the classpath: section og the manifest.mf file inside the jar file. 
If this is mangled for some reason or the container is buggy about it, the that 
may be the culprit you are looking for.

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 1:14 PM
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


I configured weblogic to load the classes from my application first.
I still get this error. I don't think that shales-validation works in
Weblogic 9.2 . I will see if BEA have any answers.

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 02:03
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi 

I will try your suggestions.
The classloader is trying to load a linebreak. I debugged it inside eclipse and
the classname being passed to GenericClassLoader is /n.
I have removed shale-validator-1.0.4.jar from my app and it deploys fine.
Unfortunately I won't be able to make use of the validation feature of Shale
until this is resolved.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 01:54
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

The validator doesn't try to load anything - Its 
weblogic.utils.classloaders.GenericClassLoader that loads classes (Look at the 
stacktrace). It is definitly not trying to load a linebreak - Its just not 
reporting the class that is trying to load.

The usecase deploy fine to Tomcat (except 5.5.20/jdk1.5 combo)  and other 
appservers. My guess is that you are seing a clashing of classes. That is that 
the container loads some stuff from its own lib directory before loading your 
stuff. Try altering the class-loader strategy to parent-last

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:54 AM
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi Hermod

I do include commons-validator-1.3.1.jar  in my app and it is in
the shale-usecases app.The log file indicates that it is trying to 
load a linebreak as a class ie. /n
So for some reason shale validator is trying to load /n as a class.

Any ideas ? this is not a bug in my app because it doesn't deploy
shale-usecases.war from the shale site either.

Regards
Alessio

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 12:45
To: user@shale.apache.org
Subject: RE: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi

You need to look through yours logs in order to identify which class it can not 
find.

In particular the shale-validator depends on commons-validator-1.3.1.jar

Hermod

-Original Message-
From: Alessio Harri [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 11:39 AM
To: user@shale.apache.org
Subject: shale-usecases doesn't deploy on weblogic 9.2 MP1


Hi all

I am able to deploy the shale-blank app on weblogic 9.2  but NOT shale-usecases.

After alot of trial and error I discovered that it will deploy if I remove 
shale-validator-1.0.4.jar from the lib folder.

My app currently uses shale-validator-1.0.4.jar  so I cannot get it to deploy.

Any help will be appreciated.  

Regards 
Alessio

This is the stacktrace

2007/02/02 12:35:08 PM Error HTTP BEA-101163 Could not load user 
defined listener: 

java.lang.ClassNotFoundException: 

at 
weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:286)
at 
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:259)
at 
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
 
2007/02/02 12:35:08 PM Error 

maven build problem of latest svn trunk

2007-02-02 Thread Torsten Krah
Results :
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0

  Found PropertyDescriptor [EMAIL PROTECTED]
[INFO] [jar:jar]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error assembling JAR

Embedded error: The attribute Implementation-Title may not occur more
than once in the same section


Any hints for me whats wrong?

kind regards

Torsten


smime.p7s
Description: S/MIME cryptographic signature


RE: maven build problem of latest svn trunk

2007-02-02 Thread hermod.opstvedt
Hi

Most likely an error (duplicate lines)  in the assembly section of the pom.

Hermod

-Original Message-
From: Torsten Krah [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 2:33 PM
To: user@shale.apache.org
Subject: maven build problem of latest svn trunk


Results :
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0

  Found PropertyDescriptor [EMAIL PROTECTED]
[INFO] [jar:jar]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error assembling JAR

Embedded error: The attribute Implementation-Title may not occur more
than once in the same section


Any hints for me whats wrong?

kind regards

Torsten


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Re: maven build problem of latest svn trunk

2007-02-02 Thread Rahul Akolkar

On 2/2/07, Torsten Krah [EMAIL PROTECTED] wrote:

Results :
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0

  Found PropertyDescriptor [EMAIL PROTECTED]
[INFO] [jar:jar]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error assembling JAR

Embedded error: The attribute Implementation-Title may not occur more
than once in the same section


Any hints for me whats wrong?


snip/

We recently added some manifest entries to the configuration of the
maven-{jar,war}-plugin in the parent pom. Could be related to the
version of these that you have locally, try updating the plugins. I
don't see this error ATM.

-Rahul



kind regards

Torsten




Re: Shale + Ajax4jsf

2007-02-02 Thread Craig McClanahan

On 2/2/07, Worm, Danny [EMAIL PROTECTED] wrote:


Hi again,

I've successfully integrate Ajax4Jsf without Shale. But I don't
understand the problem. I hope my report in the extern forum can help to
solve the problem, because I'm very interested in shale :-)
But I've to use ajax4jsf.



I plan to look into this over the weekend.  Any quick examples of the kinds
of problems you encounter would be helpful in narrowing this down.

Craig

Kind regards

DaWorm



which IDE are you using for JSF ?

2007-02-02 Thread Adrian Gonzalez
Hello,

Is there a good IDE (drag and drop and autocompletion for EL expressions and 
tags) for facelets or Clay technology ?

What IDE are you using to create JSF apps ?


My current purpose is to see if one can use JSF for mainstream development 
(developers with little
experience in Java / web technologies), so drag  drop,
autocompletion would be a must - the company has currently developed ~100 web 
apps.




Seeking advice on the trinidad user list, I've been given pointers to use 
facelets or shale Clay, to really AVOID JSP for rendering, and to ask to this 
mailing list (thanks Gary for the tip !), since there's a lot of knowledgeable 
people (such as Ryan Wynn ;)).

I'm just using IBM RAD 6, and it's quite difficult (ibm proprietary components, 
JSF 1.0, JSP...) - I've integrated myfaces on it, simulating dummy ibm 
components - since IBM's are tied to SUN RI, but it's doesn't appear to be a 
good solution even if it's working.

Thanks

P.S. sorry this question is not really a Shale question








___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com


Re: which IDE are you using for JSF ?

2007-02-02 Thread Paul Spencer

Adrian,
I use Eclipse with MyEclipse.  As to you need for drag and drop and 
autocompletion for EL expressions and tags, that will be a challenge. 
MyEclipse does offer some autocompete and validation, but when you are 
using new release of MyFaces/Shale/... taglibs the IDE can lag behind.



Paul Spencer


Adrian Gonzalez wrote:

Hello,

Is there a good IDE (drag and drop and autocompletion for EL expressions and 
tags) for facelets or Clay technology ?

What IDE are you using to create JSF apps ?


My current purpose is to see if one can use JSF for mainstream development 
(developers with little
experience in Java / web technologies), so drag  drop,
autocompletion would be a must - the company has currently developed ~100 web 
apps.




Seeking advice on the trinidad user list, I've been given pointers to use 
facelets or shale Clay, to really AVOID JSP for rendering, and to ask to this 
mailing list (thanks Gary for the tip !), since there's a lot of knowledgeable 
people (such as Ryan Wynn ;)).

I'm just using IBM RAD 6, and it's quite difficult (ibm proprietary components, 
JSF 1.0, JSP...) - I've integrated myfaces on it, simulating dummy ibm 
components - since IBM's are tied to SUN RI, but it's doesn't appear to be a 
good solution even if it's working.

Thanks

P.S. sorry this question is not really a Shale question








___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com






Re: maven build problem of latest svn trunk

2007-02-02 Thread Rahul Akolkar

On 2/2/07, Torsten Krah [EMAIL PROTECTED] wrote:

Hm updated the complete shale-parent tree and using maven 2.0.4, don't
know of what plugins you are speaking.
Did nothing on the svn tree myself. What should i delete?


snip/

Nothing. Try mvn -X install, I see 2.1 for the jar plugin (the bit
that maven actually uses to build the jar file), heres the relevant
line:

[DEBUG] org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.1:runtime
(selected for runtime)

What version do you see? If  2.1, try mvn -up install and see if that helps.

-Rahul



Torsten

Am Freitag, den 02.02.2007, 09:27 -0500 schrieb Rahul Akolkar:
 On 2/2/07, Torsten Krah [EMAIL PROTECTED] wrote:
  Results :
  Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
 
Found PropertyDescriptor [EMAIL PROTECTED]
  [INFO] [jar:jar]
  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Error assembling JAR
 
  Embedded error: The attribute Implementation-Title may not occur more
  than once in the same section
 
 
  Any hints for me whats wrong?
 
 snip/

 We recently added some manifest entries to the configuration of the
 maven-{jar,war}-plugin in the parent pom. Could be related to the
 version of these that you have locally, try updating the plugins. I
 don't see this error ATM.

 -Rahul


  kind regards
 
  Torsten
 
 




Re: which IDE are you using for JSF ?

2007-02-02 Thread Greg Reddin

We are using NetBeans with the mevenide plugin for maven support.  We are
also using Facelets and the new Facelets Netbeans plugin.  That gives us
autocomplete but not drag  drop (I don't think).  Seems to be working
great.  On a team of 5 two were PHP types before this project and one other
had some experience in Java.  The other two of us are pretty experienced
Java programmers and helped bring the others along.

Greg


Re : which IDE are you using for JSF ?

2007-02-02 Thread Adrian Gonzalez
Thank you very much for the info.

I've also found these liks after googling :

Eclipse WTP (free) or 
- using Eclipse WTP as suggested by Rick Hightower [1], basically :
. you need to rename .xhtml extension to jspx.
. you need to add some jsp directives such as jsp:root).
.  I'm not sure, but expect some difficulties websphere appserver, all 
calls to jspx files are directed to jsp container.
- More for Eclipse WTP :

Mail exchange to add facelet suport to Eclipse WTP - don't know if there's 
something implemented now or if it's forgotten [3].


RAD (very commercial ;)):
- same approach on RAD as WTP. But gives drag and drop capacities.

. some more problems on RAD 6 : the designer adds ibm jsf libraries
automatically on the first drag and drop, and some JSF components (such
as f:view, hx:scriptCollector, h:form).


Exadel Studio Pro (commercial)
http://www.exadel.com/web/portal/products/ExadelStudioPro

An old link on Myfaces wiki [2]

[1] 
http://www-03.ibm.com/developerworks/blogs/page/JEE?entry=tutorial_for_stack_of_choice)
[2] 
http://wiki.apache.org/myfaces/What_Tools_Do_You_Use_to_Develop_Web_Applications_Using_JSF
[3] http://dev.eclipse.org/mhonarc/lists/wtp-jsf-dev/msg00223.html
- Message d'origine 
De : Craig McClanahan [EMAIL PROTECTED]
À : user@shale.apache.org
Envoyé le : Vendredi, 2 Février 2007, 18h35mn 52s
Objet : Re: which IDE are you using for JSF ?

On 2/2/07, Adrian Gonzalez [EMAIL PROTECTED] wrote:

 Hello,

 Is there a good IDE (drag and drop and autocompletion for EL expressions
 and tags) for facelets or Clay technology ?

 What IDE are you using to create JSF apps ?


NetBeans has out-of-the-box support for autocompletion of EL expressions in
a JSP page.  For facelets, there is a fairly new plugin[1] that I haven't
tried yet, but is worth checking out.

(By the way, and it's definitely not ready for prime time yet, I also just
started a NetBeans plugin project for general Shale support[2].  Anyone who
wants to contribute Clay related editing, or any other Shale features, for
NB is welcome to join!)

Craig

[1] https://nbfaceletssupport.dev.java.net
[2] https://nbshalesupport.dev.java.net


My current purpose is to see if one can use JSF for mainstream development
 (developers with little
 experience in Java / web technologies), so drag  drop,
 autocompletion would be a must - the company has currently developed ~100
 web apps.




 Seeking advice on the trinidad user list, I've been given pointers to use
 facelets or shale Clay, to really AVOID JSP for rendering, and to ask to
 this mailing list (thanks Gary for the tip !), since there's a lot of
 knowledgeable people (such as Ryan Wynn ;)).

 I'm just using IBM RAD 6, and it's quite difficult (ibm proprietary
 components, JSF 1.0, JSP...) - I've integrated myfaces on it, simulating
 dummy ibm components - since IBM's are tied to SUN RI, but it's doesn't
 appear to be a good solution even if it's working.

 Thanks

 P.S. sorry this question is not really a Shale question









 ___
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
 !
 Profitez des connaissances, des opinions et des expériences des
 internautes sur Yahoo! Questions/Réponses
 http://fr.answers.yahoo.com









___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com


Re: stack traces from shale-clay-usecases

2007-02-02 Thread Gary VanMatre
I was able to run the shale-clay-usecases in 10g (10.1.3.1.1) from JDeveloper 
Studio 10.1.3.2 but I had to make a few minor changes.

For some reason, JDeveloper doesn't like that the shale-core and 
shale-validator jars have TLD files with the name taglib.tld? I renamed the 
TLD's and it was happy?  

I pulled down the trinidad maven plugin to build the JDeveloper project file 
and ran from the IDE.  I had to include the JSP Runtime libraries too.

 
I'm not sure if that's what you are seeing? It's weird that taglib.tld trips 
it up?  

Gary
-- Original message -- 
From: John Carlson [EMAIL PROTECTED] 
I got a couple of stacktraces from the shale-clay-usecases using OC4J 10.1.3.1 
(supposedly
supports J2EE 1.4).  I deployed the shale-clay-usecases.war and tried to use 
the rolodex use
cases.  None of the rolodex cases work, although the first use case page does 
work.  Here are
the 2 different kinds of stack traces I got.  This is on Windows XP service 
pack 2.


500 Internal Server Error


java.lang.NullPointerException
at
org.apache.shale.validator.CommonsValidator.getValidatorAction(CommonsValidator.java:739)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:260)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.encodeBegin(ValidatorScript.java:649)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:413)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java:416)
at
org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445)
at
org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(ClayViewHandler.java:476)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:402)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:267)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at
java.lang.Thread.run(Thread.java:595)


500 Internal Server Error


javax.faces.FacesException: javax.servlet.ServletException
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:426)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:450)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
com.evermind[Oracle Containers for J2EE 

Re: stack traces from shale-clay-usecases

2007-02-02 Thread Craig McClanahan

On 2/2/07, Gary VanMatre [EMAIL PROTECTED] wrote:


I was able to run the shale-clay-usecases in 10g (10.1.3.1.1) from
JDeveloper Studio 10.1.3.2 but I had to make a few minor changes.

For some reason, JDeveloper doesn't like that the shale-core and
shale-validator jars have TLD files with the name taglib.tld? I renamed
the TLD's and it was happy?

I pulled down the trinidad maven plugin to build the JDeveloper project
file and ran from the IDE.  I had to include the JSP Runtime libraries
too.


I'm not sure if that's what you are seeing? It's weird that taglib.tld
trips it up?

Gary
-- Original message --
From: John Carlson [EMAIL PROTECTED]
I got a couple of stacktraces from the shale-clay-usecases using OC4J
10.1.3.1 (supposedly
supports J2EE 1.4).  I deployed the shale-clay-usecases.war and tried to
use the rolodex use
cases.  None of the rolodex cases work, although the first use case page
does work.  Here are
the 2 different kinds of stack traces I got.  This is on Windows XP
service pack 2.


500 Internal Server Error


java.lang.NullPointerException
at
org.apache.shale.validator.CommonsValidator.getValidatorAction(
CommonsValidator.java:739)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:260)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.encodeBegin(
ValidatorScript.java:649)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java
:413)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java
:416)
at
org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445)
at
org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(
ClayViewHandler.java:476)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(
ClayViewHandler.java:402)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(
ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(
ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(
ShaleApplicationFilter.java:267)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.invoke(
ServletRequestDispatcher.java:621)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.forwardInternal(
ServletRequestDispatcher.java:368)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java
:866)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java
:448)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java
:216)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(
ServerSocketReadHandler.java:260)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(
ReleasableResourcePooledExecutor.java:303)
at
java.lang.Thread.run(Thread.java:595)


500 Internal Server Error


javax.faces.FacesException: javax.servlet.ServletException
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
ServletExternalContextImpl.java:426)
at
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(
JspViewHandlerImpl.java:234)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(
ClayViewHandler.java:450)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(
ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(
ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at

Re: stack traces from shale-clay-usecases

2007-02-02 Thread Craig McClanahan

On 2/2/07, Gary VanMatre [EMAIL PROTECTED] wrote:


I was able to run the shale-clay-usecases in 10g (10.1.3.1.1) from
JDeveloper Studio 10.1.3.2 but I had to make a few minor changes.

For some reason, JDeveloper doesn't like that the shale-core and
shale-validator jars have TLD files with the name taglib.tld? I renamed
the TLD's and it was happy?

I pulled down the trinidad maven plugin to build the JDeveloper project
file and ran from the IDE.  I had to include the JSP Runtime libraries
too.


I'm not sure if that's what you are seeing? It's weird that taglib.tld
trips it up?



Ignore the previous empty response -- that's what you get when you pet a cat
who is pawing your mouse at that moment :-).

It would definitely be wierd, but I can kind of sympathize with how someone
writing the server side could make a naive assumption that these resource
names are unique.  At any rate, I'd be fine with making all of our
META-INF/xxx.tld resource names unique.  After all, it won't affect any
users because they should not (can not?) make any direct references to these
things.


Gary


Craig



-- Original message --

From: John Carlson [EMAIL PROTECTED]
I got a couple of stacktraces from the shale-clay-usecases using OC4J
10.1.3.1 (supposedly
supports J2EE 1.4).  I deployed the shale-clay-usecases.war and tried to
use the rolodex use
cases.  None of the rolodex cases work, although the first use case page
does work.  Here are
the 2 different kinds of stack traces I got.  This is on Windows XP
service pack 2.


500 Internal Server Error


java.lang.NullPointerException
at
org.apache.shale.validator.CommonsValidator.getValidatorAction(
CommonsValidator.java:739)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:260)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.findCommonsValidators(
ValidatorScript.java:301)
at
org.apache.shale.validator.faces.ValidatorScript.encodeBegin(
ValidatorScript.java:649)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java
:413)
at
org.apache.shale.clay.component.Clay.recursiveRenderChildren(Clay.java
:416)
at
org.apache.shale.clay.component.Clay.encodeChildren(Clay.java:445)
at
org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(
ClayViewHandler.java:476)
at
org.apache.shale.clay.faces.ClayViewHandler.renderView(
ClayViewHandler.java:402)
at
org.apache.shale.validator.faces.ValidatorViewHandler.renderView(
ValidatorViewHandler.java:130)
at
org.apache.shale.view.faces.ViewViewHandler.renderView(
ViewViewHandler.java:147)
at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at
org.apache.shale.application.faces.ShaleApplicationFilter.doFilter(
ShaleApplicationFilter.java:267)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.invoke(
ServletRequestDispatcher.java:621)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.ServletRequestDispatcher.forwardInternal(
ServletRequestDispatcher.java:368)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java
:866)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java
:448)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java
:216)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(
ServerSocketReadHandler.java:260)
at
com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(
ReleasableResourcePooledExecutor.java:303)
at
java.lang.Thread.run(Thread.java:595)


500 Internal Server Error


javax.faces.FacesException: javax.servlet.ServletException
at
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(
ServletExternalContextImpl.java:426)
at