Re: WebMacro Proof of concept...

2000-04-25 Thread William KC Wong

What about FreeMarker ? Has there been any development on this excellent
template system ? I know that John McNally has been the main contributor
to this engine. Will this template be supported (in Turbine) in future ?
Or am I missing something that all focus is now on WM ?

-another non-JSP user

>In previous e-mails, its been mentioned that the User admin
>inteface will be implemented using the new WebMacro service.
>I'd also like to redo the scheduler interface using the new WM and
>remove all the older WM stuff.
>However, doing this has a couple ramifications to the Turbine setup.
>
>For Turbine to work out of the box, default.page and the
>default.sessionvalidator must be set in the TurbineResources
>distibution file to the WebMacroSite service.
>Doing the above will probably push new users of Turbine
>to use WebMacro and cause current users to reconfigure a few things
>when updating to a newer version of Turbine.
>
>IMO, this forces a change in direction for the Turbine
>default presentation mechanism (from ECS to WebMacro).
>
>Is this a direction we want to move or should we look at a better way
>to integrate the two out of the box?
>
>Either way involves configuration issues/decisions.
>
>Is a vote in order?
>
>--
>dave
>[EMAIL PROTECTED]
>---
>"I find it the same with all pleasures within my reach; unless
>they cost me nothing, I find them insipid."
> Rousseau
>
>
>
>To subscribe:[EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:   [EMAIL PROTECTED]
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




WebMacro Proof of concept...

2000-04-25 Thread dave bryson

In previous e-mails, its been mentioned that the User admin
inteface will be implemented using the new WebMacro service.
I'd also like to redo the scheduler interface using the new WM and
remove all the older WM stuff.
However, doing this has a couple ramifications to the Turbine setup.

For Turbine to work out of the box, default.page and the
default.sessionvalidator must be set in the TurbineResources
distibution file to the WebMacroSite service. 
Doing the above will probably push new users of Turbine
to use WebMacro and cause current users to reconfigure a few things
when updating to a newer version of Turbine.

IMO, this forces a change in direction for the Turbine
default presentation mechanism (from ECS to WebMacro).   

Is this a direction we want to move or should we look at a better way
to integrate the two out of the box? 

Either way involves configuration issues/decisions.

Is a vote in order?

-- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: java.lang.ExceptionInInitializerError

2000-04-25 Thread dave bryson

On Tue, 25 Apr 2000, you wrote:
> did you remove all your compiled classes and start fresh? a lot of stuff has
> changed over the little while...maybe that is it.

My stupid error.  I didn't update the database.map property to point to
the new TurbineMapBuilder. 
 
 -- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: java.lang.ExceptionInInitializerError

2000-04-25 Thread jon *

on 4/25/00 4:28 PM, dave bryson <[EMAIL PROTECTED]> wrote:

> at 
> org.apache.turbine.om.security.DefaultAccessControl.build(DefaultAccessControl
> .java:133)

that line of code is this:

Criteria criteria = new Criteria();

that shouldn't cause a problem unless for some reason that class can't be
found properly or something.

did you remove all your compiled classes and start fresh? a lot of stuff has
changed over the little while...maybe that is it.

-jon

--
Scarab -
  Java Servlet Based - Open Source
 Bug/Issue Tracking System






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




java.lang.ExceptionInInitializerError

2000-04-25 Thread dave bryson

Somebody mentioned this error earlier when trying to login to Turbine.
I'm getting the same error.  

Exception: java.lang.ExceptionInInitializerError
at 
org.apache.turbine.om.security.DefaultAccessControl.build(DefaultAccessControl.java:133)
at 
org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
at 
org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
at 
org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
at org.apache.turbine.modules.Action.perform(Action.java:77)
at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:111)
at Turbine.doGet(Turbine.java:292)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:868)

Anyone have any ideas what causing it?

-- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Migration Path (more specific question)

2000-04-25 Thread jon *

on 4/25/00 2:41 PM, Nissim <[EMAIL PROTECTED]> wrote:

> OK, another question:
> 
> I see that in jyve, when you have a form, the action= part of the form
> tag is generated using the Turbine DynamicURI utility class.  If I
> wanted to write out the form html in a WM template, what would I put in
> the ACTION= part?
> 
> -Nissim

use the $link luke...

(sorry...i couldn't resist the stupid humor)

take a look at org.apache.turbine.util.webmacro.WebMacroLink

there is a $link object that is placed into the WMContext for you to use.

cool eh? :-)

-jon

--
Scarab -
  Java Servlet Based - Open Source
 Bug/Issue Tracking System






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Migration Path (more specific question)

2000-04-25 Thread Nissim

OK, another question:

I see that in jyve, when you have a form, the action= part of the form
tag is generated using the Turbine DynamicURI utility class.  If I
wanted to write out the form html in a WM template, what would I put in
the ACTION= part?

-Nissim



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Turbine Developers Kit

2000-04-25 Thread dave bryson

On Tue, 25 Apr 2000, you wrote:
> What form do you envision the app gen utility taking? Could it simply be one
> or more Ant build files? (And perhaps some custom taskdefs, if necessary.)

Yes.  This is exactly what I have in mind.  I've also thought about possibly 
customizing a Main for Ant solely for use in the app gen utilitly.

-- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Migration Path

2000-04-25 Thread dave bryson

On Tue, 25 Apr 2000, you wrote:
> 1) should I first convert it to use WM, without turbine, and then move
> it into the turbine framework, or the other way around?
No. You should be able to convert to using both at the same time.
> 
> 2) If you're using turbine and WM is it recommended to use turbine
> navigations to put the same stuff on the top and bottom of each page,
> and not WM #parse?
Yes.  Take a look at the WebMacroSite Service. It allows you to use the
Turbine framework to organize your WebMacro pages and Screens. Start
with the README.txt in the examples/webmacro directory.  Then try out
the simple example and look at screens/Testlink.  Let me know if you
have any questions, 'll be happy to help you get started with it.  
> 
> 3) I really want to separate the application so that there isn't any
> html generation in the java code, and minimal code in the templates.  Is
> there an example application which works this way within turbine/WM ?

You can do this with the WebMacro Service and Turbine.  See Testlink in
the modules/screens directory AND the associated template in
examples/webmacro directory.  It's not much, but it's a start.

-- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Migration Path

2000-04-25 Thread jon *

on 4/25/00 1:19 PM, Nissim <[EMAIL PROTECTED]> wrote:

> Hi everyone,
> 
> I have a web application which I've written using Servlets and JSSI, and
> I want to port it to Turbine, and WebMacro.  I don't understand the
> integration of these two frameworks, and I'm trying to figure out how to
> go about the migration.

I apologize for this...we are still working on this area of Turbine quite
heavily and have just now started finalizing stuff enough for others to use
it. Next step...documentation and examples...

> 1) should I first convert it to use WM, without turbine, and then move
> it into the turbine framework, or the other way around?

Both at the same time. :-)

> 2) If you're using turbine and WM is it recommended to use turbine
> navigations to put the same stuff on the top and bottom of each page,
> and not WM #parse?

If you look at the example stuff that Dave just recently checked in, things
will become clear.



and



> 3) I really want to separate the application so that there isn't any
> html generation in the java code, and minimal code in the templates.  Is
> there an example application which works this way within turbine/WM ?

I'm working on re-doing the whole admin interface section of Turbine to
follow this exact same model. Other than the basic example stuff that is
checked into cvs, we don't have any public applications yet. I can say
though that what I have seen and done so far kicks some serious booty. :-)
Everything is very nicely abstracted out.

-jon

--
Scarab -
  Java Servlet Based - Open Source
 Bug/Issue Tracking System





To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Migration Path

2000-04-25 Thread Nissim

Hi everyone,

I have a web application which I've written using Servlets and JSSI, and
I want to port it to Turbine, and WebMacro.  I don't understand the
integration of these two frameworks, and I'm trying to figure out how to
go about the migration.

Here are my Questions:

1) should I first convert it to use WM, without turbine, and then move
it into the turbine framework, or the other way around?

2) If you're using turbine and WM is it recommended to use turbine
navigations to put the same stuff on the top and bottom of each page,
and not WM #parse?

3) I really want to separate the application so that there isn't any
html generation in the java code, and minimal code in the templates.  Is
there an example application which works this way within turbine/WM ?

Thanks.

-Nissim



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Turbine Developers Kit

2000-04-25 Thread Christopher Elkins


> How:  Bundle Turbine with a configured copy of Tomcat and instantdb.
> This would allow user to quickly setup and try out Turbine with out
> having to do the Servlet engine setup, DB setup etc  This also
> provides an ideal enviroment for the programmer on the go.  This and a
> JDK is all that's needed to develop/prototype apps on a laptop/PC.
>
Great idea! Something like this would have saved me a lot of time the last
few days in setting up my new laptop for development.

> Besides having the Servlet engine and DB for development, you'd also
> have the application generation utility. It would help you:
What form do you envision the app gen utility taking? Could it simply be one
or more Ant build files? (And perhaps some custom taskdefs, if necessary.)
If so, that would make customizing the app gen process pretty easy.

> Is this worth the effort?
>
> Would anyone find this useful?
>
Yes, definitely.

> --
> dave
> [EMAIL PROTECTED]
> ---
> "I find it the same with all pleasures within my reach; unless
> they cost me nothing, I find them insipid."
> Rousseau
>

---
Christopher Elkins




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Turbine Developers Kit

2000-04-25 Thread jon *

on 4/25/00 12:20 PM, dave bryson <[EMAIL PROTECTED]> wrote:

> I've been thinking about how to help folks become productive - faster
> with Turbine.   I really think Turbine is a great Framework and I'd
> like to see it catch on even more than it has. But, I believe in order
> for that to happen, you've got to really make things easy for
> developers ( we're a lazy bunch).
> 
> So, with that in mind, here's what I've been thinking about
> adding on top of the application generation utility from the wish
> list.
> 
> Turbine Developer's Kit (TDK)
> 
> Goal:  Ease development with and installation/setup of Turbine.

+1

> How:  Bundle Turbine with a configured copy of Tomcat and instantdb.
> This would allow user to quickly setup and try out Turbine with out
> having to do the Servlet engine setup, DB setup etc  This also
> provides an ideal enviroment for the programmer on the go.  This and a
> JDK is all that's needed to develop/prototype apps on a laptop/PC.

+1

> Besides having the Servlet engine and DB for development, you'd also
> have the application generation utility. It would help you:
> 1. Setup  the directory structure for a new application.
> 2. Create the build.xml for compiling the new app.
> 3. Configure Tomcat to test out the application.
> 4. Maybe add a deployment option to generate any needed files when you
> move your app to production.
> 
> Is this worth the effort?
> 
> Would anyone find this useful?

totally worth the effort. i will fully support you with this.

-jon

--
Scarab -
  Java Servlet Based - Open Source
 Bug/Issue Tracking System






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Turbine Developers Kit

2000-04-25 Thread dave bryson

I've been thinking about how to help folks become productive - faster
with Turbine.   I really think Turbine is a great Framework and I'd
like to see it catch on even more than it has. But, I believe in order
for that to happen, you've got to really make things easy for
developers ( we're a lazy bunch). 

So, with that in mind, here's what I've been thinking about  
adding on top of the application generation utility from the wish
list.

Turbine Developer's Kit (TDK)

Goal:  Ease development with and installation/setup of Turbine. 

How:  Bundle Turbine with a configured copy of Tomcat and instantdb. 
This would allow user to quickly setup and try out Turbine with out
having to do the Servlet engine setup, DB setup etc  This also
provides an ideal enviroment for the programmer on the go.  This and a
JDK is all that's needed to develop/prototype apps on a laptop/PC. 

Besides having the Servlet engine and DB for development, you'd also
have the application generation utility. It would help you: 
1. Setup  the directory structure for a new application. 
2. Create the build.xml for compiling the new app.  
3. Configure Tomcat to test out the application. 
4. Maybe add a deployment option to generate any needed files when you
move your app to production.   

Is this worth the effort?

Would anyone find this useful?

-- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: IncompatableClassError - FYI

2000-04-25 Thread dave bryson

On Tue, 25 Apr 2000, you wrote:
> Dave,
> 
> I got the same problem with Blackdown JDK 1.1.8v1.
> I wondered if it was a JDK 1.1 vs JDK 1.2 issue.
> I upgraded to Blackdown JDK 1.2.2 RC4 and the problem went away.
> However, it would be good to know that Turbine still
> builds with 1.1.8.
I'm using the IBM JDK1.1.8 on Linux.  After moving the ant.jar and
xml.jar as I mentioned in the previous e-mail I had no problems.  I
don't believe it has anything to do with JDK version, my hunch (and
it's just that)  is that it might be something with xml.jar and xerces. 

-- 
dave
[EMAIL PROTECTED]
---
"I find it the same with all pleasures within my reach; unless
they cost me nothing, I find them insipid."
Rousseau



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread John McNally

I seem to have forgotten something, I thought Turbine would work with jsdk
2.0, 2.1 or 2.2.  Why is it that jsdk2.0 is required?
John

- Original Message -
From: George Pipkin <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Tuesday, April 25, 2000 9:43 AM
Subject: Re: Install problem - Infinite redirect detected...


> Well, I did exactly this - I downloaded jsdk2.0 and I put it ahead of
> servlet.jar in my tomcat.sh where it establishes the classpaths.  After
> that, no servlets ran at all - I get a null pointer exception.  So then I
> put it after servlet.jar, and I'm back to the infinate redirection
> exception.  Is there something I'm missing ?
>
> - George Pipkin
>
> >At 09:56 AM 4/25/00 -0400, you wrote:
> >>Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
> >>wondering - when I built it, for the JSDK= argument, I used servlet.jar
> >>rather than /JSDK2.0/jsdk.jar because that's the current version of that
> >>library.  Do you think that could have anything to do with it ?
> >>
> >>
> >> - George Pipkin
> >
> >yes. it has everything to do with it.
> >you don't want the current version of the library.
> >please ensure that jsdk.jar (2.0, not 2.1) is ahead of
> >servlet.jar in the classpath.
> >
> >Stephen
> >
> >
> >
> >
> >To subscribe:[EMAIL PROTECTED]
> >To unsubscribe:  [EMAIL PROTECTED]
> >Problems?:   [EMAIL PROTECTED]
>
>
>
>
>
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Problems?:   [EMAIL PROTECTED]




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread jon *

on 4/25/00 9:43 AM, George Pipkin <[EMAIL PROTECTED]> wrote:

> Well, I did exactly this - I downloaded jsdk2.0 and I put it ahead of
> servlet.jar in my tomcat.sh where it establishes the classpaths.  After
> that, no servlets ran at all - I get a null pointer exception.  So then I
> put it after servlet.jar, and I'm back to the infinate redirection
> exception.  Is there something I'm missing ?
> 
> - George Pipkin

if you are using tomcat, you shouldn't download ANY servlet.jar's or jsdk
2.0or have them in your classpath.

tomcat is a servlet engine that implements the latest jsdk. it comes with
its own copy of the interfaces that are needed for the jsdk. you don't need
to download them from sun.

our previous instructions were for Apache JServ which we assumed you were
using because (i personally) didn't see you post messages about your
configuration. in the future, you should post clear messages about
configuration and version information so that we don't go into circles like
that again.

you *should* make sure that you are using the latest version of tomcat
though which is 3.1.

-jon

--
Scarab -
  Java Servlet Based - Open Source
 Bug/Issue Tracking System






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread George Pipkin

Well, I did exactly this - I downloaded jsdk2.0 and I put it ahead of
servlet.jar in my tomcat.sh where it establishes the classpaths.  After
that, no servlets ran at all - I get a null pointer exception.  So then I
put it after servlet.jar, and I'm back to the infinate redirection
exception.  Is there something I'm missing ?

- George Pipkin

>At 09:56 AM 4/25/00 -0400, you wrote:
>>Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
>>wondering - when I built it, for the JSDK= argument, I used servlet.jar
>>rather than /JSDK2.0/jsdk.jar because that's the current version of that
>>library.  Do you think that could have anything to do with it ?
>>
>>
>>  - George Pipkin
>
>yes. it has everything to do with it.
>you don't want the current version of the library.
>please ensure that jsdk.jar (2.0, not 2.1) is ahead of
>servlet.jar in the classpath.
>
>Stephen
>
>
>
>
>To subscribe:[EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:   [EMAIL PROTECTED]






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread jon *

on 4/25/00 6:56 AM, George Pipkin <[EMAIL PROTECTED]> wrote:

> Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
> wondering - when I built it, for the JSDK= argument, I used servlet.jar
> rather than /JSDK2.0/jsdk.jar because that's the current version of that
> library.  Do you think that could have anything to do with it ?
> 
> 
> - George Pipkin

ALWAYS use the distributed Sun version of the JSDK 2.0.

-jon

--
Scarab -
  Java Servlet Based - Open Source
 Bug/Issue Tracking System






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re:java.lang.ExceptionInInitializerError:java.lang.NullPointerException

2000-04-25 Thread Nissim

I once had the same error messages, and it was because I was using just
the turbine DB connection pool, and I hadn't set the properties file...

Those exceptions get thrown when static code in a class throws an
exception.  In my case it was some static {... } code in the DBFactory
class, which had an uncaught exceptionwhen the TurbineResources was not
initialized with a filename.  In your case it's probably that one of the
methods called in that class VisitorRolePeer in the top couple of lines 

static blahblah = SomeClass.someStaticMethod(blah, blah);

is throwing an exception.

-Nissim


Bernie Hoeneisen wrote:
> 
> Thanks, but this cannot be the problem; the file
> TurbineResources.properties exists, has read permission for
> everyone (-rw-r--r--). Furthermore in zone.properties there is a line:
> servlet.Turbine.initArgs=properties=/home/faq/proj/turbine/conf/TurbineResources
> .properties
> (where the file is located).
> Before the exception is thrown some information is read out of
> TurbineResources.properties and used witout any problem.
> 
> Any other hints?
> 
> It seems that this problem has to do with the recent changes in the
> Turbine Visitor/Role/Permission-Peers area.
> 
> Any help is appreciated.
> 
> T: Bernie
> 
> On Tue, 25 Apr 2000, Nissim wrote:
> 
> > I think you get this when turbine doesn't know where the
> > TurbineResources.properties file is, or can't open it.  Make sure you
> > set it in the init parameters, and the file exists and is readable.
> >
> >   -Nissim
> >
> > Bernie Hoeneisen wrote:
> > >
> > > Hi,
> > >
> > > Can anyone give me a hint, what there could be wrong?
> > > I haven't been around for some time; did I miss something?
> > >
> > >  T: Bernie
> > >
> > > * While logging in (Jyve), I get:
> > >
> > > Exception: java.lang.ExceptionInInitializerError: java.lang.NullPointerException
> > > at 
> > > at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled 
>Code)
> > > at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> > > at 
>org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
> > > at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> > > at org.apache.turbine.modules.Action.perform(Compiled Code)
> > > at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> > > at Turbine.doGet(Compiled Code)
> > > at Turbine.doPost(Turbine.java:366)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > > at 
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> > > at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> > > at java.lang.Thread.run(Thread.java:479)
> > >
> > > * If I go back (with Browser) and try again, I get:
> > >
> > > Exception: java.lang.NoClassDefFoundError: 
>org/apache/turbine/om/user/peer/VisitorRolePeer
> > > at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled 
>Code)
> > > at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> > > at 
>org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
> > > at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> > > at org.apache.turbine.modules.Action.perform(Compiled Code)
> > > at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> > > at Turbine.doGet(Compiled Code)
> > > at Turbine.doPost(Turbine.java:366)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > > at 
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> > > at org.apache.jserv.JServConnection.run(Compiled Code)
> > > at java.lang.Thread.run(Compiled Code)
> > >
> > > 
> > > To subscribe:[EMAIL PROTECTED]
> > > To unsubscribe:  [EMAIL PROTECTED]
> > > Problems?:   [EMAIL PROTECTED]
> >
> >
> > 
> > To subscribe:[EMAIL PROTECTED]
> > To unsubscribe:  [EMAIL PROTECTED]
> > Problems?:   [EMAIL PROTECTED]
> >
> 
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Problems?:   [EMAIL PROTECTED]



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread Stephen Adkins

At 08:50 AM 4/25/00 -0700, you wrote:
>Why do you say using servlet.jar instead of jsdk.jar is causing the infinite
>redirect problem?  

Sorry.

What I really meant to say was...

   correct the obvious problem before tackling the subtle problem,

and we all know that Turbine will never run right
with servlet.jar.

I leave it up to others who know what's going on with the
infinite redirect to help find a resolution to that problem.

Stephen



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread John McNally

Why do you say using servlet.jar instead of jsdk.jar is causing the infinite
redirect problem?  I am seeing this problem on my home machine alot (it
generally happens when I reload a page after recompiling something, but I am
able to reload it again and move on.)  I am pretty sure I do not have
servlet.jar anywhere on my computer.

BTW, I guess since I am getting this error so often I should attempt to
figure out the cause, but I usually only have a couple hours to work at
night and am trying to make some progress on a project.  If it just wasn't
so easy to ignore it.

John McNally

- Original Message -
From: Stephen Adkins <[EMAIL PROTECTED]>
To: Turbine <[EMAIL PROTECTED]>
Sent: Tuesday, April 25, 2000 7:45 AM
Subject: Re: Install problem - Infinite redirect detected...


> At 09:56 AM 4/25/00 -0400, you wrote:
> >Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
> >wondering - when I built it, for the JSDK= argument, I used servlet.jar
> >rather than /JSDK2.0/jsdk.jar because that's the current version of that
> >library.  Do you think that could have anything to do with it ?
> >
> >
> > - George Pipkin
>
> yes. it has everything to do with it.
> you don't want the current version of the library.
> please ensure that jsdk.jar (2.0, not 2.1) is ahead of
> servlet.jar in the classpath.
>
> Stephen
>
>
>
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Problems?:   [EMAIL PROTECTED]




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread William KC Wong

Try the following:
http://java.sun.com/products/servlet/download.html
Make sure you select "Java Servlet Development Kit 2.0" at the
bottom of the page.

-william


>Do you know where I might go to get the 2.0 version of jsdk.jar ?
>
>
>   - George
>
> >At 09:56 AM 4/25/00 -0400, you wrote:
> >>Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
> >>wondering - when I built it, for the JSDK= argument, I used servlet.jar
> >>rather than /JSDK2.0/jsdk.jar because that's the current version of that
> >>library.  Do you think that could have anything to do with it ?
> >>
> >>
> >>- George Pipkin
> >
> >yes. it has everything to do with it.
> >you don't want the current version of the library.
> >please ensure that jsdk.jar (2.0, not 2.1) is ahead of
> >servlet.jar in the classpath.
> >
> >Stephen
> >
> >
> >
> >
> >To subscribe:[EMAIL PROTECTED]
> >To unsubscribe:  [EMAIL PROTECTED]
> >Problems?:   [EMAIL PROTECTED]
>
>
>
>
>
>
>To subscribe:[EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:   [EMAIL PROTECTED]
>


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Turbine FAQ

2000-04-25 Thread Bernie Hoeneisen

Hi Stephen

On Tue, 25 Apr 2000, Stephen Adkins wrote:

> I have a suggestion for the FAQ.
> I think that we could improve its usefulness with the
> addition of Troubleshooting sections.
> This would map concrete error messages which appear
> in the log files to causes.  This would help people
> locate their problem more easily and find all of the
> causes which might have been behind the error.

+1 , if Jon * agrees...

> I normally wouldn't announce an addition to the FAQ like
> this, but I noticed that when I began to do this very
> thing on the weekend, my FAQ entry was removed.

I guess your entry was NOT removed. If you enter something to the FAQ,
an administrator has to review it first and - if considered well - 
release it to the public. Try to login with the same ID when you created
the new entry and see if it is there (with yellow backgroud, which means
unreleased...)

Have fun!

T: Bernie




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re:java.lang.ExceptionInInitializerError:java.lang.NullPointerException

2000-04-25 Thread Bernie Hoeneisen

Thanks, but this cannot be the problem; the file
TurbineResources.properties exists, has read permission for
everyone (-rw-r--r--). Furthermore in zone.properties there is a line:
servlet.Turbine.initArgs=properties=/home/faq/proj/turbine/conf/TurbineResources
.properties
(where the file is located).
Before the exception is thrown some information is read out of
TurbineResources.properties and used witout any problem.

Any other hints? 

It seems that this problem has to do with the recent changes in the
Turbine Visitor/Role/Permission-Peers area.

Any help is appreciated.

T: Bernie


On Tue, 25 Apr 2000, Nissim wrote:

> I think you get this when turbine doesn't know where the
> TurbineResources.properties file is, or can't open it.  Make sure you
> set it in the init parameters, and the file exists and is readable.
> 
>   -Nissim
> 
> Bernie Hoeneisen wrote:
> > 
> > Hi,
> > 
> > Can anyone give me a hint, what there could be wrong?
> > I haven't been around for some time; did I miss something?
> > 
> >  T: Bernie
> > 
> > * While logging in (Jyve), I get:
> > 
> > Exception: java.lang.ExceptionInInitializerError: java.lang.NullPointerException
> > at 
> > at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled Code)
> > at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> > at 
>org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
> > at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> > at org.apache.turbine.modules.Action.perform(Compiled Code)
> > at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> > at Turbine.doGet(Compiled Code)
> > at Turbine.doPost(Turbine.java:366)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > at 
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> > at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> > at java.lang.Thread.run(Thread.java:479)
> > 
> > * If I go back (with Browser) and try again, I get:
> > 
> > Exception: java.lang.NoClassDefFoundError: 
>org/apache/turbine/om/user/peer/VisitorRolePeer
> > at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled Code)
> > at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> > at 
>org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
> > at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> > at org.apache.turbine.modules.Action.perform(Compiled Code)
> > at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> > at Turbine.doGet(Compiled Code)
> > at Turbine.doPost(Turbine.java:366)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> > at 
>org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> > at org.apache.jserv.JServConnection.run(Compiled Code)
> > at java.lang.Thread.run(Compiled Code)
> > 
> > 
> > To subscribe:[EMAIL PROTECTED]
> > To unsubscribe:  [EMAIL PROTECTED]
> > Problems?:   [EMAIL PROTECTED]
> 
> 
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Problems?:   [EMAIL PROTECTED]
> 




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread George Pipkin

Do you know where I might go to get the 2.0 version of jsdk.jar ?


- George

>At 09:56 AM 4/25/00 -0400, you wrote:
>>Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
>>wondering - when I built it, for the JSDK= argument, I used servlet.jar
>>rather than /JSDK2.0/jsdk.jar because that's the current version of that
>>library.  Do you think that could have anything to do with it ?
>>
>>
>>  - George Pipkin
>
>yes. it has everything to do with it.
>you don't want the current version of the library.
>please ensure that jsdk.jar (2.0, not 2.1) is ahead of
>servlet.jar in the classpath.
>
>Stephen
>
>
>
>
>To subscribe:[EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:   [EMAIL PROTECTED]






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread Stephen Adkins

At 09:56 AM 4/25/00 -0400, you wrote:
>Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
>wondering - when I built it, for the JSDK= argument, I used servlet.jar
>rather than /JSDK2.0/jsdk.jar because that's the current version of that
>library.  Do you think that could have anything to do with it ?
>
>
>   - George Pipkin

yes. it has everything to do with it.
you don't want the current version of the library.
please ensure that jsdk.jar (2.0, not 2.1) is ahead of
servlet.jar in the classpath.

Stephen




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Turbine FAQ

2000-04-25 Thread Stephen Adkins

Hi,

I have a suggestion for the FAQ.
I think that we could improve its usefulness with the
addition of Troubleshooting sections.
This would map concrete error messages which appear
in the log files to causes.  This would help people
locate their problem more easily and find all of the
causes which might have been behind the error.

I had created such a section in the FAQ for

   Troubleshooting - Building Turbine

and added an entry for the error which I encountered
over the weekend

   java.lang.IncompatibleClassChangeError: Unimplemented interface method

Then I entered the cause of the error and the fix
(which Dave Bryson brought to our attention recently).

I normally wouldn't announce an addition to the FAQ like
this, but I noticed that when I began to do this very
thing on the weekend, my FAQ entry was removed.

If this is not a good idea, could someone let me know?
Then I won't bother clogging up the FAQ with entries
which are not appropriate.

Stephen




To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: IncompatableClassError - FYI

2000-04-25 Thread Stephen Adkins

Dave,

I got the same problem with Blackdown JDK 1.1.8v1.
I wondered if it was a JDK 1.1 vs JDK 1.2 issue.
I upgraded to Blackdown JDK 1.2.2 RC4 and the problem went away.
However, it would be good to know that Turbine still
builds with 1.1.8.

We had a discussion about this over the weekend.

   http://list.working-dogs.com/lists/turbine/Turbine%20Digest%2004-22-00

I will add your solution to the FAQ (under Troubleshooting).

Stephen

At 06:48 PM 4/24/00 -0500, you wrote:
>If you get the java.lang.IncompatableClassChangeError when trying to
>build Turbine, move ant.jar AND xml.jar to the front of the classpath in
>the build script right after the CLASSPATH variable.  I'll correct the
>build script in CVS once I make sure this is just not a fluke on my
>machine.
>
>Anyone experience this problem?
>-- 
>dave
>[EMAIL PROTECTED]
>
>
>
>To subscribe:[EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:   [EMAIL PROTECTED]
>



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re: Install problem - Infinite redirect detected...

2000-04-25 Thread George Pipkin

Thanks for answering.  Unfortunately, that didn't fix it.  One thing I'm
wondering - when I built it, for the JSDK= argument, I used servlet.jar
rather than /JSDK2.0/jsdk.jar because that's the current version of that
library.  Do you think that could have anything to do with it ?


- George Pipkin

>on 4/24/00 6:20 PM, George P. Pipkin <[EMAIL PROTECTED]> wrote:
>
>> database.default.url=jdbc:mysql://localhost3306/gpp8p_turbine
>
>this would be one problem...it should be localhost:3306
>
>--
>Scarab -
>  Java Servlet Based - Open Source
> Bug/Issue Tracking System
>
>
>
>
>
>
>To subscribe:[EMAIL PROTECTED]
>To unsubscribe:  [EMAIL PROTECTED]
>Problems?:   [EMAIL PROTECTED]






To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]




Re:java.lang.ExceptionInInitializerError:java.lang.NullPointerException

2000-04-25 Thread Nissim

I think you get this when turbine doesn't know where the
TurbineResources.properties file is, or can't open it.  Make sure you
set it in the init parameters, and the file exists and is readable.

-Nissim

Bernie Hoeneisen wrote:
> 
> Hi,
> 
> Can anyone give me a hint, what there could be wrong?
> I haven't been around for some time; did I miss something?
> 
>  T: Bernie
> 
> * While logging in (Jyve), I get:
> 
> Exception: java.lang.ExceptionInInitializerError: java.lang.NullPointerException
> at 
> at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled Code)
> at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> at 
>org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
> at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> at org.apache.turbine.modules.Action.perform(Compiled Code)
> at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> at Turbine.doGet(Compiled Code)
> at Turbine.doPost(Turbine.java:366)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:479)
> 
> * If I go back (with Browser) and try again, I get:
> 
> Exception: java.lang.NoClassDefFoundError: 
>org/apache/turbine/om/user/peer/VisitorRolePeer
> at org.apache.turbine.om.security.DefaultAccessControl.build(Compiled Code)
> at 
>org.apache.turbine.om.security.DefaultAccessControl.getRoles(DefaultAccessControl.java:119)
> at 
>org.apache.turbine.om.security.AccessControlList.(AccessControlList.java:94)
> at 
>org.apache.turbine.modules.actions.AccessController.doPerform(AccessController.java:109)
> at org.apache.turbine.modules.Action.perform(Compiled Code)
> at org.apache.turbine.modules.ActionLoader.exec(Compiled Code)
> at Turbine.doGet(Compiled Code)
> at Turbine.doPost(Turbine.java:366)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:521)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
> at org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> at org.apache.jserv.JServConnection.run(Compiled Code)
> at java.lang.Thread.run(Compiled Code)
> 
> 
> To subscribe:[EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Problems?:   [EMAIL PROTECTED]



To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:   [EMAIL PROTECTED]