Jon Stevens wrote:
> > Using tdk a10 whenver a user is logged in an I do build-project I get
> > the following error after turbine notices that some classes have changed
> > and it issues its shutdown.
> I will look into this and get back to you. Having another set of eyes on the
> code would be appreciated. Also, if you can reproduce it with the JIT off so
> that I can see the line number where the (Compiled Code) is, that would be
> great.
Here is with JIT off.. I dont' have a recent copy of the turbine source, I'll
download that and poke around.
If no user is logged in then when the screens are recompiled I see only the
first line below, if anybody is logged in I get all of this.. I'm using only
the LoginUser.java action that is with the Tdk a10 for login at this time.
[Sat Jan 27 23:08:33 MST 2001] -- NOTICE -- Turbine instance running at
http://localhost:8080/mm/l shutting down.
[Sat Jan 27 23:08:33 MST 2001] -- NOTICE -- IDBroker thread was started.
[Sat Jan 27 23:08:33 MST 2001] -- WARNING -- IDBroker is being used with db: default
which does not support transactions. It is possible to
generate duplicate keys, if multiple JVM's are used or other
means are used to write to the database.
[Sat Jan 27 23:08:33 MST 2001] -- ERROR -- TurbineUser.valueUnbobund(): Failed to
save user object
[Sat Jan 27 23:08:33 MST 2001] -- ERROR --
Exception: org.apache.turbine.util.security.DataBackendException: Failed to
save user object
Stack Trace follows:
java.lang.NullPointerException:
at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1502)
at org.apache.turbine.om.peer.BasePeer.doUpdate(BasePeer.java:1446)
at
org.apache.turbine.om.security.peer.TurbineUserPeer.doUpdate(TurbineUserPeer.java:353)
at
org.apache.turbine.services.security.DBUserManager.store(DBUserManager.java:255)
rethrown as org.apache.turbine.util.security.DataBackendException: Failed to save user
object
at
org.apache.turbine.services.security.DBUserManager.store(DBUserManager.java:259)
at
org.apache.turbine.services.security.BaseSecurityService.saveUser(BaseSecurityService.java:360)
at
org.apache.turbine.services.security.TurbineSecurity.saveUser(TurbineSecurity.java:255)
at
org.apache.turbine.om.security.TurbineUser.valueUnbound(TurbineUser.java:674)
at
org.apache.catalina.session.StandardSession.removeAttribute(StandardSession.java:872)
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:500)
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:620)
at org.apache.catalina.core.StandardContext.reload(StandardContext.java:2101)
at org.apache.catalina.loader.ContextNotifier.run(StandardLoader.java:1075)
at java.lang.Thread.run(Thread.java:479)
>
> > On a side note, when I do a build-project it looks like it may be compiling
> > all classes.
> > An older version of turbine I have the default project setup only re-compled
> > sources
> > that had changed, is there some ant setting to change this?
>
> I don't know the answer to this one. I don't think it is Ant. Can you please
> confirm this is really the issue? You may also wish to try using Jikes as
> your compiler. It is much faster.
>
I just checked on separate NT and linux machines.
After I did "./build-project.sh init" and it built everything, I changed
nothing and did a "./build-project.sh" and it compiled everything again.
so it is doing the same "compile everything" on the NT and linux box.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]