Hi,

On 12 Jan 2016 at 11:26:08, Noman Nisar 
([email protected](mailto:[email protected])) wrote:

> i have changed the config file in my app1 xwiki.db=xwiki and prefix to
> xwiki.db.prefix=tb
> ,in app2 i have changed to xwiki.db=simpledb and xwiki.db.prefix=sim now
> again it gives an error HTTP Status 500 - com.xpn.xwiki.XWikiException:
> Error number 11007 in 0: Failed to extract Entity Resource Reference from
> URL [http://localhost:8082/simple/bin/view/Main/]

Could you paste the full stack trace you’re getting at http://pastebin.com/ and 
give us the link here?

Thanks
-Vincent

> Noman Nisar
>  
> On Tue, Jan 12, 2016 at 3:03 PM, [email protected]  
> wrote:
>  
> >
> >
> > On 12 Jan 2016 at 11:01:37, [email protected] ([email protected](mailto:
> > [email protected])) wrote:
> >
> > > Hi,
> > >
> > > On 12 Jan 2016 at 09:12:33, Noman Nisar ([email protected](mailto:
> > [email protected])) wrote:
> > >
> > > > i have created multiple instances of tomcat and made changes to
> > > > hibernate.cf.xml file for my application in tomcat instance 1 and also
> > for
> > > > tomcat instance 2 but they uses only one database. like in my case i
> > have
> > > > set different ports but still they use same database.
> > > > in tomcat1 webapps
> > > > http://localhost:8081/wiki/bin/view/Main/
> > > > in tomcat2 webapps
> > > > http://localhost:8082/simple/
> > > > plz help me what to do.i have set different db like wikidb for wiki
> > > > application and simpledb for simple.
> > >
> > > hmm I don’t recall seeing any guide on xwiki.org(http://xwiki.org)
> > about this type of setup although it should work.
> >
> > It’s only mentioned on
> > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigurethenamesofdatabaseschemas
> >  but
> > it doesn’t mention the use case of having several Servlet Container using
> > the same DB (when the use case is not that of clustering).
> >
> > Thanks
> > -Vincent
> >
> > > There are 2 config properties to control this that you need to use:
> > >
> > > #-# [Since 1.6M1]
> > > #-# Force the database name for the main wiki.
> > > # xwiki.db=xwiki
> > >
> > > #-# [Since 1.6M1]
> > > #-# Add a prefix to all databases names of each wiki.
> > > # xwiki.db.prefix=
> > >
> > >
> > > Hope it helps, let us know if you have a specific question or problem.
> > >
> > > Thanks
> > > -vincent
> > >
> > > PS: Please use the user mailing list in the future, the devs lists is
> > reserved for developers of the xwiki software ;)
> > _______________________________________________
> > devs mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to