Re: SV: stack traces from shale-clay-usecases

2007-04-11 Thread John Carlson

The tutorials for the shale-clay-usecases?  Where are they?  The
Javadocs aren't even there...  Why must I read a tutorial to install
a war?  I know how to install wars, at least I think I do.  Am I
naming the application wrong in OC4J, or the context-root?
Do I need a deployment plan?  I think misdirecting to Eclipse
or JDeveloper is not the point.  I can see plenty of documentation
for building.  All I want to do at this point is install the out of the
box shale-clay-usecases.war in a standalone OC4J...and it
isn't working.

John

At 02:09 PM 4/11/2007, Hermod Opstvedt wrote:

Hi

You do not need to do anything when using Eclipse - That was for JDeveloper

See the tutorials on the Shale Wiki

Hermod


-Opprinnelig melding-
Fra: John Carlson [mailto:[EMAIL PROTECTED]
Sendt: 11. april 2007 23:00
Til: user@shale.apache.org
Emne: Re: stack traces from shale-clay-usecases

I tried renaming the taglib.tld's without success.  I'm using Eclipse for my
IDE, but I'm just trying to deploy the out of the box war, and when I click
on the links, I get exceptions.

I just tried with the 4/11 snapshot.  No luck.  Can the war be used, or must
I do a complete build?  I
did rebuild core and validator with maven, and verified that the taglibs
were renamed.

Could there be something with having both 1.0.4 and 1.1.0-SNAPSHOT jars in
the WEB-INF/lib folder?

John



From [EMAIL PROTECTED] (Gary VanMatre)
Subject Re: stack traces from shale-clay-usecases
Date Sat, 03 Feb 2007 05:10:58 GMT


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

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.


Re: SV: stack traces from shale-clay-usecases

2007-04-11 Thread Gary VanMatre
From: John Carlson [EMAIL PROTECTED] 

 The tutorials for the shale-clay-usecases? Where are they? The 
 Javadocs aren't even there... Why must I read a tutorial to install 
 a war? I know how to install wars, at least I think I do. 


You can find the latest from the nightly builds [1].  This is the last 
paragraph on the shale home page [2]. 

[1] 
http://people.apache.org/builds/shale/nightly/examples/shale-blank-20070411.zip 
 
[2] http://shale.apache.org/index.html#download

Am I naming the application wrong in OC4J, or the context-root? 

If you install the war in the nightly package, you can give it any context root 
you desire.


 Do I need a deployment plan? I think misdirecting to Eclipse 
 or JDeveloper is not the point. I can see plenty of documentation 
 for building. All I want to do at this point is install the out of the 
 box shale-clay-usecases.war in a standalone OC4J...and it 
 isn't working. 


I have some documents that I can send you offline that outlines setting up a 
maven 2 build in JDeveloper.  It will not be exactly what you need but it might 
get you started.  You need to manually register the JDeveloper/OC4J JSP and 
servlet libraries.  This also applies if you want to use the ADF Components or 
JSF RI 1.1.  

Another approach would be to perform a svn checkout of the usecases and build 
from that.  There is a Jdev maven 2 plugin that is part of myfaces Trinidad 
that you can use to generate the JDeveloper workspace and project files.

I'll shoot you some docs later this evening...






 
 John 
 
 At 02:09 PM 4/11/2007, Hermod Opstvedt wrote: 
 Hi 
  
 You do not need to do anything when using Eclipse - That was for JDeveloper 
  
 See the tutorials on the Shale Wiki 
  
 Hermod 
  
  
 -Opprinnelig melding- 
 Fra: John Carlson [mailto:[EMAIL PROTECTED] 
 Sendt: 11. april 2007 23:00 
 Til: user@shale.apache.org 
 Emne: Re: stack traces from shale-clay-usecases 
  
 I tried renaming the taglib.tld's without success. I'm using Eclipse for my 
 IDE, but I'm just trying to deploy the out of the box war, and when I click 
 on the links, I get exceptions. 
  
 I just tried with the 4/11 snapshot. No luck. Can the war be used, or must 
 I do a complete build? I 
 did rebuild core and validator with maven, and verified that the taglibs 
 were renamed. 
  
 Could there be something with having both 1.0.4 and 1.1.0-SNAPSHOT jars in 
 the WEB-INF/lib folder? 
  
 John 
  
  
  
  From [EMAIL PROTECTED] (Gary VanMatre) 
 Subject Re: stack traces from shale-clay-usecases 
 Date Sat, 03 Feb 2007 05:10:58 GMT 
  
  
 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 -- 
  
 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.