WOHOOO! yeah, that was it... well i downloaded the webdav-server and extractet all libs out of the WAR file.. and there it was contained as zip. thanks a lot!!
Tobias Bocanegra wrote: > > why zip? should be .jar normally. > for example this one: > http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/derby/derby/10.1.3.1/derby-10.1.3.1.jar > > regards, toby > > On 1/4/07, Ronald_K <[EMAIL PROTECTED]> wrote: >> >> Yeah i thought so... but it is in the lib-directory of the portlet >> (derby-10.1.3.1.zip)... any idea what else could cause this?? >> >> >> >> Tobias Bocanegra wrote: >> > >> > hi roland, >> > you probably missing the derby.jar (embedded driver) in your classpath. >> > regards, toby >> > >> > On 1/4/07, Ronald_K <[EMAIL PROTECTED]> wrote: >> >> >> >> I'm programming a small sample portal based on the pluto driver (Pluto >> >> 1.1, >> >> JDK1.5) and wanted to add a content repository based on Jackrabbit. >> >> Because >> >> the portal itself is completed, i started with a small sample >> application >> >> (stand allone) using jackrabbit, which works perfectly. >> >> >> >> Then i added the code of the sample application along with some test >> >> outputs >> >> into the doView method of a testportlet in the portal... and >> >> unfortunately >> >> it doesn't work. a repository is created, also the repository.xml and >> so >> >> on >> >> within the "bin" directory of tomcat, but i do get an exception (and >> as i >> >> said, the exactly same code works within a stand allone application). >> >> -------- CODE (without test outputs) ----- >> >> Repository repository = new TransientRepository(); >> >> Session session = repository.login( >> >> new SimpleCredentials("username", >> >> "password".toCharArray())); >> >> try { >> >> //SOME TESTING HERE >> >> ... >> >> } finally { >> >> session.logout(); >> >> } >> >> -------------------------------------------------------- >> >> The Exception i get is: >> >> avax.jcr.RepositoryException: Cannot instantiate persistence manager >> >> org.apache.jackrabbit.core.state.db.DerbyPersistenceManager: >> >> org.apache.derby.jdbc.EmbeddedDriver: >> >> org.apache.derby.jdbc.EmbeddedDriver >> >> and is thrown by the line Session session=... >> >> -------------------------------------------------------- >> >> As i sayd, the code works perfectly stand allone... has anyone an >> idea? >> >> thanks in advance for any advice! >> >> >> >> >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/Problem-with-Jackrabbit-within-Pluto-tf2919583.html#a8159512 >> >> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >> >> >> >> >> > >> > >> > -- >> > -----------------------------------------< [EMAIL PROTECTED] >> >--- >> > Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel >> > T +41 61 226 98 98, F +41 61 226 98 97 >> > -----------------------------------------------< http://www.day.com >> >--- >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Problem-with-Jackrabbit-within-Pluto-tf2919583.html#a8160152 >> Sent from the Jackrabbit - Users mailing list archive at Nabble.com. >> >> > > > -- > -----------------------------------------< [EMAIL PROTECTED] >--- > Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel > T +41 61 226 98 98, F +41 61 226 98 97 > -----------------------------------------------< http://www.day.com >--- > > -- View this message in context: http://www.nabble.com/Problem-with-Jackrabbit-within-Pluto-tf2919583.html#a8160344 Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
