[xwiki-devs] OC4J - JavaScript

Vincent Massol vincent at massol.net
Thu Sep 6 13:56:10 CEST 2007


Adoro,

I have already answered to you yesterday.

Please stop spamming the list. This is at least the 4th time you're  
sending the same email.

Last, it's a bad practice to hijack existing discussion threads. This  
one is about "OC4J-Javascript", nothing to do with your new question.

Thanks
-Vincent

On Sep 6, 2007, at 1:49 PM, adoro wrote:

>
> I have also the problem with saving XwikiPreferences: the attempt  
> to work
> with tabs "Preferences" and "Rights" in the Administation page  
> comes to java
> errors:
>
> Error number 3201 in 3: Exception while saving document
> XWiki.XWikiPreferences
> Wrapped Exception: could not update:
> [com.xpn.xwiki.doc.XWikiDocumentArchive#104408758]
> com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception  
> while saving
> document XWiki.XWikiPreferences
> Wrapped Exception: could not update:
> [com.xpn.xwiki.doc.XWikiDocumentArchive#104408758]
> 	at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc 
> (XWikiHibernateStore.java:317)
> 	at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc 
> (XWikiCacheStore.java:97)
> 	at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc 
> (XWikiCacheStore.java:91)
> 	at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:924)
> 	at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:113)
> 	at
> com.xpn.xwiki.web.SaveAndContinueAction.action 
> (SaveAndContinueAction.java:64)
> 	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
> 	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:1196)
> 	at org.apache.struts.action.ActionServlet.doPost 
> (ActionServlet.java:432)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> com.evermind.server.http.ResourceFilterChain.doFilter 
> (ResourceFilterChain.java:65)
> 	at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter 
> (SetCharacterEncodingFilter.java:117)
> 	at
> com.evermind.server.http.ServletRequestDispatcher.invoke 
> (ServletRequestDispatcher.java:673)
> 	at
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal 
> (ServletRequestDispatcher.java:340)
> 	at
> com.evermind.server.http.HttpRequestHandler.processRequest 
> (HttpRequestHandler.java:830)
> 	at
> com.evermind.server.http.AJPRequestHandler.run 
> (AJPRequestHandler.java:228)
> 	at
> com.evermind.server.http.AJPRequestHandler.run 
> (AJPRequestHandler.java:133)
> 	at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run 
> (ReleasableResourcePooledExecutor.java:186)
> 	at java.lang.Thread.run(Thread.java:595)
>
> Wrapped Exception:
>
> java.sql.SQLException: setString can only process strings of less  
> than 32766
> chararacters
> 	at
> oracle.jdbc.driver.DatabaseError.throwSqlException 
> (DatabaseError.java:137)
> 	at
> oracle.jdbc.driver.DatabaseError.throwSqlException 
> (DatabaseError.java:174)
> 	at
> oracle.jdbc.driver.DatabaseError.throwSqlException 
> (DatabaseError.java:239)
> 	at
> oracle.jdbc.driver.OraclePreparedStatement.setStringInternal 
> (OraclePreparedStatement.java:4771)
> 	at
> oracle.jdbc.driver.OraclePreparedStatement.setString 
> (OraclePreparedStatement.java:4742)
> 	at
> org.apache.commons.dbcp.DelegatingPreparedStatement.setString 
> (DelegatingPreparedStatement.java:131)
> 	at
> org.apache.commons.dbcp.DelegatingPreparedStatement.setString 
> (DelegatingPreparedStatement.java:131)
> 	at org.hibernate.type.StringType.set(StringType.java:26)
> 	at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:85)
> 	at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:58)
> 	at
> org.hibernate.persister.entity.AbstractEntityPersister.dehydrate 
> (AbstractEntityPersister.java:1826)
> 	at
> org.hibernate.persister.entity.AbstractEntityPersister.update 
> (AbstractEntityPersister.java:2172)
> 	at
> org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert( 
> AbstractEntityPersister.java:2118)
> 	at
> org.hibernate.persister.entity.AbstractEntityPersister.update 
> (AbstractEntityPersister.java:2374)
> 	at
> org.hibernate.action.EntityUpdateAction.execute 
> (EntityUpdateAction.java:84)
> 	at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
> 	at org.hibernate.engine.ActionQueue.executeActions 
> (ActionQueue.java:227)
> 	at org.hibernate.engine.ActionQueue.executeActions 
> (ActionQueue.java:141)
> 	at
> org.hibernate.event.def.AbstractFlushingEventListener.performExecution 
> s(AbstractFlushingEventListener.java:296)
> 	at
> org.hibernate.event.def.DefaultFlushEventListener.onFlush 
> (DefaultFlushEventListener.java:27)
> 	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
> 	at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
> 	at
> org.hibernate.transaction.JDBCTransaction.commit 
> (JDBCTransaction.java:106)
> 	at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction 
> (XWikiHibernateBaseStore.java:611)
> 	at
> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction 
> (XWikiHibernateBaseStore.java:585)
> 	at
> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc 
> (XWikiHibernateStore.java:307)
> 	at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc 
> (XWikiCacheStore.java:97)
> 	at
> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc 
> (XWikiCacheStore.java:91)
> 	at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:924)
> 	at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:113)
> 	at
> com.xpn.xwiki.web.SaveAndContinueAction.action 
> (SaveAndContinueAction.java:64)
> 	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
> 	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:1196)
> 	at org.apache.struts.action.ActionServlet.doPost 
> (ActionServlet.java:432)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> com.evermind.server.http.ResourceFilterChain.doFilter 
> (ResourceFilterChain.java:65)
> 	at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter 
> (SetCharacterEncodingFilter.java:117)
> 	at
> com.evermind.server.http.ServletRequestDispatcher.invoke 
> (ServletRequestDispatcher.java:673)
> 	at
> com.evermind.server.http.ServletRequestDispatcher.forwardInternal 
> (ServletRequestDispatcher.java:340)
> 	at
> com.evermind.server.http.HttpRequestHandler.processRequest 
> (HttpRequestHandler.java:830)
> 	at
> com.evermind.server.http.AJPRequestHandler.run 
> (AJPRequestHandler.java:228)
> 	at
> com.evermind.server.http.AJPRequestHandler.run 
> (AJPRequestHandler.java:133)
> 	at
> com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run 
> (ReleasableResourcePooledExecutor.java:186)
> 	at java.lang.Thread.run(Thread.java:595)
>
> -------
>
> At the same time I get the following javascript error messages in  
> javascript
> debugger (Firefox):
>
> Error ``ActiveXObject is not defined'' [xs] in file
> ``http://server/xwiki/skins/albatross/rico/prototype.js'', line 549,
> character 0.
> Error ``ActiveXObject is not defined'' [xs] in file
> ``http://server/xwiki/skins/albatross/rico/prototype.js'', line 550,
> character 0.
>
>
> I'm running XWiki 1.1 Enterprise M4 under Unix + OC4J as container  
> + Oracle
> 10g as database.
>
> Regards,
> adoro
> -- 
> View this message in context: http://www.nabble.com/OC4J--- 
> JavaScript-tf4315467.html#a12520805
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> devs mailing list
> devs at xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs



More information about the devs mailing list