Hi Emmanuel,
yes, there could be two reasons for this:
1. a bug in RIFE 1.2 wrt to classloading
You can download a snapshot of 1.3 here:
http://rifers.org/downloads/rife/snapshots/
2. some classloader issue with Derby itself, make sure you put it in
the lib dir of Jetty and not in your WEB-INF lib dir.
I hope that fixes it.
Best regards,
Geert
On 1-nov-05, at 10:11, Emmanuel Okyere wrote:
I am attempting to follow the Simple Blog example, and at screen 3,
attempting to create a db (with derby 10.1.1.0) with the deployer.
I keep getting a LinkageError; the stack trace is pasted below.
Anybody ever seen this?
Thanks,
Emmanuel
[java] INFO: Started WebApplicationContext[/,[null, 127.0.0.1,
localhost]:/]
[java] Nov 1, 2005 4:00:50 AM
com.uwyn.rife.rep.participants.ParticipantSite initialize
[java] SEVERE: java.lang.RuntimeException:
java.lang.LinkageError: loader constraints violated when linking
com/uwyn/rife/site/ValidationError class
[java] at
com.uwyn.rife.database.DbQueryManagerFactory.getInstance
(DbQueryManagerFactory.java:150)
[java] at
com.uwyn.rife.database.DbQueryManagerFactory.getInstance
(DbQueryManagerFactory.java:53)
[java] at
com.uwyn.rife.cmf.dam.contentmanagers.DatabaseContentFactory.getInstan
ce(DatabaseContentFactory.java:22)
[java] at friends.actions.AddUser$Deployer.deploy
(AddUser.java:59)
[java] at com.uwyn.rife.engine.ElementInfo.deploy
(ElementInfo.java:214)
[java] at
com.uwyn.rife.engine.SiteBuilder.setupElements(SiteBuilder.java:957)
[java] at
com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:1564)
[java] at com.uwyn.rife.engine.SiteBuilder.finish
(SiteBuilder.java:250)
[java] at
com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:241)
[java] at
com.uwyn.rife.engine.SiteBuilder.setupSubsites(SiteBuilder.java:967)
[java] at
com.uwyn.rife.engine.SiteBuilder.setupData(SiteBuilder.java:1565)
[java] at com.uwyn.rife.engine.SiteBuilder.finish
(SiteBuilder.java:250)
[java] at
com.uwyn.rife.engine.SiteBuilder.process(SiteBuilder.java:241)
[java] at
com.uwyn.rife.engine.SiteBuilder.getSite(SiteBuilder.java:173)
[java] at
com.uwyn.rife.rep.participants.ParticipantSite.initialize
(ParticipantSite.java:36)
[java] at
com.uwyn.rife.rep.BlockingParticipant.run(BlockingParticipant.java:
252)
[java] at java.lang.Thread.run(Thread.java:595)
[java] Caused by: java.lang.LinkageError: loader constraints
violated when linking com/uwyn/rife/site/ValidationError class
[java] at
com.uwyn.rife.site.Validation.getConstrainedPropertyRules
(Validation.java:176)
[java] at
com.uwyn.rife.site.Validation.addConstrainedPropertyRules
(Validation.java:268)
[java] at
com.uwyn.rife.site.Validation.addConstraint(Validation.java:279)
[java] at
com.uwyn.rife.cmf.ContentRepository.activateValidation
(ContentRepository.java:37)
[java] at
com.uwyn.rife.site.Validation.ensureActivatedValidation
(Validation.java:56)
[java] at
com.uwyn.rife.site.Validation.getConstrainedBean(Validation.java:387)
[java] at
com.uwyn.rife.database.queries.CreateTable.columnsFiltered
(CreateTable.java:475)
[java] at
com.uwyn.rife.database.queries.CreateTable.columns(CreateTable.java:
450)
[java] at
com.uwyn.rife.cmf.dam.contentmanagers.databasedrivers.generic.<init>
(generic.java:70)
[java] at
com.uwyn.rife.cmf.dam.contentmanagers.databasedrivers.org_apache_derby
_jdbc_EmbeddedDriver.<init>
(org_apache_derby_jdbc_EmbeddedDriver.java:41)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[java] at
sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)
[java] at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
[java] at
com.uwyn.rife.database.DbQueryManagerFactory.getInstance
(DbQueryManagerFactory.java:108)
[java] ... 16 more
[java] Nov 1, 2005 4:00:50 AM org.mortbay.http.SocketListener
start
[java] INFO: Started SocketListener on 0.0.0.0:8999
[java] Nov 1, 2005 4:00:50 AM org.mortbay.util.Container start
[java] INFO: Started [EMAIL PROTECTED]
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin Uwyn bvba
"Use what you need" Avenue de Scailmont 34
http://www.uwyn.com 7170 Manage, Belgium
gbevin[remove] at uwyn dot com Tel +32 64 84 80 03
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users