You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Rodrigo Reyes <ro...@instaservi.com> on 2003/01/09 17:25:11 UTC

Problems moving a simple app from TDK 2.1 to 2.2...

Hi everyone...
    Yesterday, I downlaoded the latest TDK (2.2), but I haven't been able to
run a webapp which was already running under TDK 2.1 (I was just starting,
so it doesn't use any special libraries yet).
    How do I moved the webapp from one TDK to the other? I copied the whole
webapp dir and then updated the libs I was using with the new ones I found
in the newapp/WEB-INF/lib directory. Once I did that, I got the following
error: "Horrible Exception: java.lang.NullPointerException". Playing around
I found that if I replaced turbine-2.2.jar with turbine-2.1.jar, the problem
was gone. Still, when using the turbine-2.1.jar, I was not able to shutdown
the server (compatibility issues, I think). I had to kill the process
manually.
    What am I doing wrong here? I know I shouldn't use turbine-2.1.jar with
TDK 2.2 but that was just a test. Anything else besides that?

Rodrigo



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems moving a simple app from TDK 2.1 to 2.2...

Posted by Matt Innes <ma...@madeye.com>.
Sorry for the delay replying. Are you using the version of Tomcat that
comes with the TDK and using it on a Unix system?  I have seen similar
where the TDK has been installed as root but run as a user (or anything
else that may violate file ownership/access rules).  In my particular
case, the log files were owned by root - causing a bunch of errors that
bore no relation to the problem at hand.

Matt.

On Thu, 2003-01-09 at 16:25, Rodrigo Reyes wrote:
> Hi everyone...
>     Yesterday, I downlaoded the latest TDK (2.2), but I haven't been able to
> run a webapp which was already running under TDK 2.1 (I was just starting,
> so it doesn't use any special libraries yet).
>     How do I moved the webapp from one TDK to the other? I copied the whole
> webapp dir and then updated the libs I was using with the new ones I found
> in the newapp/WEB-INF/lib directory. Once I did that, I got the following
> error: "Horrible Exception: java.lang.NullPointerException". Playing around
> I found that if I replaced turbine-2.2.jar with turbine-2.1.jar, the problem
> was gone. Still, when using the turbine-2.1.jar, I was not able to shutdown
> the server (compatibility issues, I think). I had to kill the process
> manually.
>     What am I doing wrong here? I know I shouldn't use turbine-2.1.jar with
> TDK 2.2 but that was just a test. Anything else besides that?
> 
> Rodrigo
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems moving a simple app from TDK 2.1 to 2.2...

Posted by Rodrigo Reyes <ro...@instaservi.com>.
Well, I am not using ant for compilation... but I recompiled without any
luck. I think that is not the problem. Any other idea?

Rodrigo

PS: Sorry about sending the previous email twice. Didn't noticed until it
was gone...

----- Original Message -----
From: "Jeffery Painter" <pa...@kiasoft.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Thursday, January 09, 2003 2:52 PM
Subject: Re: Problems moving a simple app from TDK 2.1 to 2.2...


> did you try doing a new "ant init"... maybe some of your generated classes
> were still compiled against turbine-2.1.jar and need to be recompiled
> against turbine-2.2.jar.
>
> just a thought.
>
> Jeff Painter
>
> Kiasoft, Inc.
> www.kiasoft.com
>
> On Thu, 9 Jan 2003, Rodrigo Reyes wrote:
>
> > Hi everyone...
> >     Yesterday, I downlaoded the latest TDK (2.2), but I haven't been
able to
> > run a webapp which was already running under TDK 2.1 (I was just
starting,
> > so it doesn't use any special libraries yet).
> >     How do I moved the webapp from one TDK to the other? I copied the
whole
> > webapp dir and then updated the libs I was using with the new ones I
found
> > in the newapp/WEB-INF/lib directory. Once I did that, I got the
following
> > error: "Horrible Exception: java.lang.NullPointerException". Playing
around
> > I found that if I replaced turbine-2.2.jar with turbine-2.1.jar, the
problem
> > was gone. Still, when using the turbine-2.1.jar, I was not able to
shutdown
> > the server (compatibility issues, I think). I had to kill the process
> > manually.
> >     What am I doing wrong here? I know I shouldn't use turbine-2.1.jar
with
> > TDK 2.2 but that was just a test. Anything else besides that?
> >
> > Rodrigo
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> > For additional commands, e-mail:
<ma...@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Problems moving a simple app from TDK 2.1 to 2.2...

Posted by Jeffery Painter <pa...@kiasoft.com>.
did you try doing a new "ant init"... maybe some of your generated classes 
were still compiled against turbine-2.1.jar and need to be recompiled 
against turbine-2.2.jar.

just a thought.

Jeff Painter

Kiasoft, Inc.
www.kiasoft.com

On Thu, 9 Jan 2003, Rodrigo Reyes wrote:

> Hi everyone...
>     Yesterday, I downlaoded the latest TDK (2.2), but I haven't been able to
> run a webapp which was already running under TDK 2.1 (I was just starting,
> so it doesn't use any special libraries yet).
>     How do I moved the webapp from one TDK to the other? I copied the whole
> webapp dir and then updated the libs I was using with the new ones I found
> in the newapp/WEB-INF/lib directory. Once I did that, I got the following
> error: "Horrible Exception: java.lang.NullPointerException". Playing around
> I found that if I replaced turbine-2.2.jar with turbine-2.1.jar, the problem
> was gone. Still, when using the turbine-2.1.jar, I was not able to shutdown
> the server (compatibility issues, I think). I had to kill the process
> manually.
>     What am I doing wrong here? I know I shouldn't use turbine-2.1.jar with
> TDK 2.2 but that was just a test. Anything else besides that?
> 
> Rodrigo
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>