Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-08-02 Thread Florian Rhomberg
Hello!
I am sorry if I renew this issue, but I need to find a solution for this issue. 
Because of the server resources it cannot be a final solution for me to run a 
weblogic server and only for xwiki a tomcat instance. I tried to use the xwiki 
manager with weblogic but I am getting the same issue. And in the lib file I do 
not find a jar file named xwiki-core-2.7.1. Perhaps you can tell me which jar 
has to be extracted to change the code?

Thanks,
Florian 

-Ursprüngliche Nachricht-
Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von 
Sergiu Dumitriu
Gesendet: Donnerstag, 07. April 2011 01:27
An: XWiki Users
Betreff: Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

On 04/07/2011 12:58 AM, balmu wrote:
> Hi Sergiu,
>
> Thanks for your suggestion. I tried modifying the XML file as per your 
> suggestion and I got the same error. I even tried replacing the XML 
> file and repackaging the JAR file and same result.
>
> Any other suggestions?

Is it the same error? It shouldn't be, since the initial error complained about 
dereferencing id.id, which doesn't happen anymore.

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread balmu
Hi Sergiu,

I am afraid I high-jacked someone else thread.

The error I was getting was described here -
http://xwiki.475771.n2.nabble.com/Issue-while-deploying-XWiki-to-WebLogic-Server-amp-Oracle-11g-td6245765.html

I followed you recommendation and I am getting the same error again.

Please reply to that thread.

Thanks in advance,
Bala

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-with-xwiki-installation-on-Oracle-Weblogic-tp6246500p6248412.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread Sergiu Dumitriu
On 04/07/2011 12:58 AM, balmu wrote:
> Hi Sergiu,
>
> Thanks for your suggestion. I tried modifying the XML file as per your
> suggestion and I got the same error. I even tried replacing the XML file and
> repackaging the JAR file and same result.
>
> Any other suggestions?

Is it the same error? It shouldn't be, since the initial error 
complained about dereferencing id.id, which doesn't happen anymore.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread balmu
Hi Sergiu,

Thanks for your suggestion. I tried modifying the XML file as per your
suggestion and I got the same error. I even tried replacing the XML file and
repackaging the JAR file and same result.

Any other suggestions?

Thanks in advance,
Bala


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-with-xwiki-installation-on-Oracle-Weblogic-tp6246500p6247960.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread Sergiu Dumitriu
On 04/06/2011 05:46 PM, Florian Rhomberg wrote:
> Hello!
> I am trying to install XWiki on a weblogic server in combination with mysql. 
> However I always get an Error 500 in the Browser. In the admin log of the 
> oracle domain the following error is written:
>

Can you try the following:

 From xwiki/WEB-INF/lib/xwiki-core-2.7.1.java extract queries.hbm.xml 
into WEB-INF/classes

Edit that file and replace:
and obj.id = prop.id.id and prop.id.name='member
with:
and obj.id = prop.id and prop.name='member
in the two places where it appears.

Then restart the application and see if it works.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread Vincent Massol

On Apr 6, 2011, at 9:49 PM, balmu wrote:

> I have the same issue. I don't think anyone had deployed XWiki on WebLogic!

I'm almost sure this isn't the case and there's no reason it wouldn't work. 
XWiki will work with any servlet container. Some servlet containers have 
classloader isolation problems but they can be tuned.

You could search the mailing list for weblogic on xwiki.markmail.org

Thanks
-Vincent

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread balmu
I have the same issue. I don't think anyone had deployed XWiki on WebLogic!

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Problems-with-xwiki-installation-on-Oracle-Weblogic-tp6246500p6247372.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problems with xwiki installation on Oracle Weblogic

2011-04-06 Thread Florian Rhomberg
Hello!
I am trying to install XWiki on a weblogic server in combination with mysql. 
However I always get an Error 500 in the Browser. In the admin log of the 
oracle domain the following error is written:

<06.04.2011 17:03 Uhr MESZ> <[ACTIVE] 
ExecuteThread: '8' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <61e95e7340cb5d5a:f20d7c0:12ed576d9fd:-8000-053e> 
<1302102210137>  
<[ServletContext@59713337[app:xwiki-enterprise-web-2 
module:xwiki-enterprise-web-2.7.1 path:/xwiki-enterprise-web-2.7.1 
spec-version:2.5]] Root cause of ServletException.
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main 
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class 
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Errors in named queries: listGroupsForUser, 
listGroupsForUserInOtherWiki
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:417)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:486)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:137)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1198)
at 
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at 
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at 
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:130)
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at 
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at 
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:69)
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at 
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at 
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:113)
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at 
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>

In the XWiki the follwoing error is written:

2011-04-06 17:03:30,137 
[http://dev.nettania.at:80/xwiki-enterprise-web-2.7.1/bin/view/Main/] ERROR 
impl.SessionFactoryImpl - Error in named query: 
listGroupsForUserInOtherWiki
org.hibernate.QueryException: dereferenced: stringprop2_.id.id [
select distinct doc.fullName from com.xpn.xwiki.doc.XWikiDocument as doc, 
com.xpn.xwiki.objects.BaseObject as obj, com.xpn.xwiki.objects.StringProperty 
as prop
where obj.name = doc.fullName
  and obj.className='XWiki.XWikiGroups'
  and obj.id = prop.id.id and prop.id.name='member'
  and prop.value=:prefixedmembername
  ]
at 
org.hibernate.hql.classic.PathExpressionParser.token(PathExpressionParser.java:167)
at 
org.hibernate.hql.classic.WhereParser.doPathExpression(WhereParser.java:347)
at 
org.hibernate.hql.classic.WhereParser.doToken(WhereParser.java:382)
at 
org.hibernate.hql.classic.WhereParser.token(WhereParser.java:263)
at 
org.hibernate.hql.classic.ClauseP