Latest download 1.2 won't run properly

73 views
Skip to first unread message

Julian

unread,
Apr 5, 2011, 3:25:21 PM4/5/11
to Constellio
Hello

I tried your latest build ie 1.2 (although it said 1.1 on the file).

Using 64 bit Ubuntu Linux 10.10, and latest Sun Java JDK, I installed
and set permissions as required. But when i ran the sh file i would
get random failures, and timeouts and never got to see the web admin
screen.

I tried same file on Windows 2008 server 64 bit with same issue which
made me wonder if it was a 64 bit issue, although nowhere does it
mention on your site any issue with running 64 bit version of java.

After removing and installing version 1.1 instead on Windows 2008
server, it worked fine.


Are you aware of any issues with running version 1.2 ? I was
installing using the Derby db

Chris Haus

unread,
Apr 7, 2011, 11:42:13 AM4/7/11
to Constellio
Hello Julian,

this would be interesting for me as well since I am about to reinstall
my server with a 64bit debian.

Currently I am using OpenJDK instead of Sun.
Maybe this might be worth a try.

Derby and MySQL work both smoothly for me.

Chris

jlgrisalena

unread,
Apr 14, 2011, 6:25:32 AM4/14/11
to Constellio
I have constellio 1.1 working properly on a RH 5.2 64 bits wuith sun
jdk 32 bits, but on the same system, constellio 1.2 fails ...



INFO http-8080-1 org.apache.wicket.util.lang.Objects - using
com.doculibre.constellio.wicket.application.ConstellioApplication
$2@18a3257 for creating object streams
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init: Wicket core library initializer
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IFormSubmitListener, method=public abstract void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IFormSubmitListener, method=public abstract void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IOnChangeListener, method=public abstract void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IOnChangeListener, method=public abstract void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IRedirectListener, method=public abstract void
org.apache.wicket.IRedirectListener.onRedirect()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IRedirectListener, method=public abstract void
org.apache.wicket.IRedirectListener.onRedirect()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IResourceListener, method=public abstract void
org.apache.wicket.IResourceListener.onResourceRequested()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IResourceListener, method=public abstract void
org.apache.wicket.IResourceListener.onResourceRequested()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IActivePageBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IActivePageBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init: Wicket core library initializer
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IFormSubmitListener, method=public abstract void
org.apache.wicket.markup.html.form.IFormSubmitListener.onFormSubmitted()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=ILinkListener, method=public abstract void
org.apache.wicket.markup.html.link.ILinkListener.onLinkClicked()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IOnChangeListener, method=public abstract void
org.apache.wicket.markup.html.form.IOnChangeListener.onSelectionChanged()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IRedirectListener, method=public abstract void
org.apache.wicket.IRedirectListener.onRedirect()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IResourceListener, method=public abstract void
org.apache.wicket.IResourceListener.onResourceRequested()]
INFO http-8080-1 org.apache.wicket.RequestListenerInterface -
registered listener interface [RequestListenerInterface
name=IActivePageBehaviorListener, method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init: Wicket extensions initializer
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init: Wicket extensions initializer
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init: Wicket JMX initializer
INFO http-8080-1 org.apache.wicket.jmx.Initializer -
registering Wicket mbeans with server
com.sun.jmx.mbeanserver.JmxMBeanServer@e5b723
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init: Wicket JMX initializer
INFO http-8080-1 org.apache.wicket.jmx.Initializer -
registering Wicket mbeans with server
com.sun.jmx.mbeanserver.JmxMBeanServer@e5b723
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init:
org.apache.wicket.velocity.Initializer@fbca58
INFO http-8080-1 org.apache.wicket.velocity.Initializer -
Initialized Velocity successfully
INFO http-8080-1 org.apache.wicket.Application -
[ConstellioApplication] init:
org.apache.wicket.velocity.Initializer@650016
INFO http-8080-1 org.apache.wicket.velocity.Initializer -
Initialized Velocity successfully
INFO http-8080-1
org.apache.wicket.protocol.http.WebApplication -
[ConstellioApplication] Started Wicket version 1.3.7 in development
mode
INFO http-8080-1 org.apache.wicket.resource.PropertiesFactory
- Loading properties files from file:/software/constellio/
constellio_1.2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/
constellio/wicket/pages/BaseConstellioPage.properties
INFO http-8080-1 org.apache.wicket.resource.PropertiesFactory
- Loading properties files from file:/software/constellio/
constellio_1.2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/
constellio/wicket/panels/status/UserStatusPanel.properties
INFO http-8080-1 org.apache.wicket.resource.PropertiesFactory
- Loading properties files from file:/software/constellio/
constellio_1.2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/
constellio/wicket/links/SignInLinkHolder.properties
INFO http-8080-1 org.apache.wicket.resource.PropertiesFactory
- Loading properties files from file:/software/constellio/
constellio_1.2/tomcat/webapps/constellio/WEB-INF/classes/com/doculibre/
constellio/wicket/panels/search/SearchFormPanel.properties
ERROR http-8080-4 org.apache.wicket.RequestCycle - Can't
instantiate page using constructor public
com.doculibre.constellio.wicket.pages.SearchFormPage()
org.apache.wicket.WicketRuntimeException: Can't instantiate
page using constructor public
com.doculibre.constellio.wicket.pages.SearchFormPage()
at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:
206)
at
org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:
57)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage(BookmarkablePageRequestTarget.java:
272)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage(BookmarkablePageRequestTarget.java:
293)
at
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.processEvents(BookmarkablePageRequestTarget.java:
210)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:
91)
at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:
1239)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:
1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:
532)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
356)
at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:
124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
com.doculibre.constellio.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
146)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
com.doculibre.constellio.filters.LocalRequestFilter.doFilter(LocalRequestFilter.java:
76)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
852)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.apache.wicket.session.DefaultPageFactory.createPage(DefaultPageFactory.java:
186)
... 31 more
Caused by: java.lang.NullPointerException
at
com.doculibre.constellio.wicket.panels.header.BasePageHeaderPanel
$1.newResource(BasePageHeaderPanel.java:56)
at
org.apache.wicket.ResourceReference.bind(ResourceReference.java:143)
at
org.apache.wicket.markup.html.image.resource.LocalizedImageResource.bind(LocalizedImageResource.java:
180)
at
org.apache.wicket.markup.html.image.resource.LocalizedImageResource.setResourceReference(LocalizedImageResource.java:
246)
at
org.apache.wicket.markup.html.image.Image.setImageResourceReference(Image.java:
177)
at org.apache.wicket.markup.html.image.Image.<init>(Image.java:
100)
at org.apache.wicket.markup.html.image.Image.<init>(Image.java:
76)
at
org.apache.wicket.markup.html.image.NonCachingImage.<init>(NonCachingImage.java:
89)
at
com.doculibre.constellio.wicket.panels.header.BasePageHeaderPanel.newLargeLogo(BasePageHeaderPanel.java:
66)
at
com.doculibre.constellio.wicket.panels.header.BaseSearchFormPagePreHeaderPanel.newLogoImg(BaseSearchFormPagePreHeaderPanel.java:
34)
at
com.doculibre.constellio.wicket.panels.header.BaseSearchFormPagePreHeaderPanel.<init>(BaseSearchFormPagePreHeaderPanel.java:
30)
at
com.doculibre.constellio.wicket.panels.header.BaseSearchFormPageHeaderPanel.newPreHeaderComponent(BaseSearchFormPageHeaderPanel.java:
35)
at
com.doculibre.constellio.wicket.panels.header.BasePageHeaderPanel.<init>(BasePageHeaderPanel.java:
42)
at
com.doculibre.constellio.wicket.panels.header.BaseSearchFormPageHeaderPanel.<init>(BaseSearchFormPageHeaderPanel.java:
30)
at
com.doculibre.constellio.plugins.defaults.wicket.global.DefaultGlobalThemePlugin.getHeaderComponent(DefaultGlobalThemePlugin.java:
68)
at
com.doculibre.constellio.wicket.pages.BaseConstellioPage.newHeaderComponent(BaseConstellioPage.java:
119)
at
com.doculibre.constellio.wicket.pages.BaseConstellioPage.initComponents(BaseConstellioPage.java:
98)
at
com.doculibre.constellio.wicket.pages.BaseConstellioPage.<init>(BaseConstellioPage.java:
75)
at
com.doculibre.constellio.wicket.pages.BaseSearchPage.<init>(BaseSearchPage.java:
38)
at
com.doculibre.constellio.wicket.pages.SearchFormPage.<init>(SearchFormPage.java:
41)
... 36 more
ERROR http-8080-4 org.apache.wicket.RequestCycle - unexpected
exception when handling another exception: null
java.lang.NullPointerException
at
com.doculibre.constellio.wicket.components.resource.ThemeResourceFinder.find(ThemeResourceFinder.java:
49)
at
org.apache.wicket.util.resource.locator.ResourceStreamLocator.locateByResourceFinder(ResourceStreamLocator.java:
198)
at
org.apache.wicket.util.resource.locator.ResourceStreamLocator.locate(ResourceStreamLocator.java:
91)
at
org.apache.wicket.util.resource.locator.ResourceStreamLocator.locate(ResourceStreamLocator.java:
122)
at
org.apache.wicket.markup.DefaultMarkupResourceStreamProvider.getMarkupResourceStream(DefaultMarkupResourceStreamProvider.java:
82)
at
org.apache.wicket.markup.MarkupCache.getMarkup(MarkupCache.java:299)
at
org.apache.wicket.markup.MarkupCache.getMarkupStream(MarkupCache.java:
215)
at
org.apache.wicket.MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:
342)
at org.apache.wicket.Page.onRender(Page.java:1495)
at org.apache.wicket.Component.render(Component.java:2361)
at org.apache.wicket.Page.renderPage(Page.java:913)
at
org.apache.wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:
63)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:
104)
at org.apache.wicket.RequestCycle.respond(RequestCycle.java:
1254)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1321)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:
1418)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:
532)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
356)
at
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:
124)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:
717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
com.doculibre.constellio.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:
146)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
com.doculibre.constellio.filters.LocalRequestFilter.doFilter(LocalRequestFilter.java:
76)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
852)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)

Vincent Dussault

unread,
Apr 14, 2011, 11:36:08 AM4/14/11
to const...@googlegroups.com, jlgrisalena
Hello,

We just found the problem. We are packaging a new build (04), which will be ready before the end of the day.

Regards,

Vincent Dussault


--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Constellio.
Pour envoyer un message à ce groupe, adressez un e-mail à const...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse constellio+...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/constellio?hl=fr


Julian Robbins

unread,
Apr 14, 2011, 12:18:56 PM4/14/11
to const...@googlegroups.com
On 14 April 2011 16:36, Vincent Dussault <vincent....@doculibre.com> wrote:
Hello,

We just found the problem. We are packaging a new build (04), which will be ready before the end of the day.

Many thanks

I thought it was me ;-)

What was the issue exactly, and was it related to 64 bit usage?

Julian

Julian

unread,
Apr 18, 2011, 3:02:32 PM4/18/11
to Constellio
On Apr 14, 5:18 pm, Julian Robbins <jool...@gmail.com> wrote:
> On 14 April 2011 16:36, Vincent Dussault <vincent.dussa...@doculibre.com>wrote:
>
> > Hello,
>
> > We just found the problem. We are packaging a new build (04), which will be
> > ready before the end of the day.

I have just tried the new build 3, of the java installer, and still
get an error. The error is slightly different to before and appears to
run further than before.

Here is the error:-

ERROR http-8080-2 org.apache.wicket.RequestCycle - unexpected
at java.lang.Thread.run(Thread.java:662)

I am using 64 bit Ubuntu 10.10, and ran the installer with Sun 64 bit
java.

I really would like to test Constellio at my workplace but so far
still cant get a running version

Hope you can help

Julian Robbins
> >>        at...
>
> read more »

Vincent Dussault

unread,
Apr 18, 2011, 4:19:21 PM4/18/11
to const...@googlegroups.com
Hi Julian,

We are finalizing our tests for the next build (04). Sorry, it's taking longer than expected. Hopefully, it will be online tomorrow.

Thank you,

Vincent Dussault



--

Julian

unread,
Apr 21, 2011, 8:03:08 AM4/21/11
to Constellio
On Apr 18, 9:19 pm, Vincent Dussault <vincent.dussa...@doculibre.com>
wrote:
> Hi Julian,
>
> We are finalizing our tests for the next build (04). Sorry, it's taking
> longer than expected. Hopefully, it will be online tomorrow.

Ok, I've uninstalled my other version and downloaded the new 1.2 build
4, but i get exactly the same errors as i had before 9ie using sun jdk
64 bit). What's weird is that on first run, it takes nearly 10 mins
before it gets setup, and then i get errors, but the java process
regularly just seems to be sitting around doing nothing.

I'm starting to think i will never get this working to test, if anyone
can offer any ideas or troubleshooting please do !

Julian
> ...
>
> read more »

Nicolas Belisle

unread,
Apr 21, 2011, 9:58:54 AM4/21/11
to Constellio
Hi Julian,

Can you try removing the "-server" argument from the file:
"start_constellio.(bat|sh)" (line 14).

I was able to solve startup issues on a test server with this.

Regards,

Nicolas
> ...
>
> read more »

Julian

unread,
May 3, 2011, 8:15:21 AM5/3/11
to Constellio
Hi

In the end the answer to many of the problems i was having was related
to the fact that we use a proxy server and this needs setting up in
the java opts files in the startup.sh file.

ie

However, you should be able to configure it in start_constellio.(bat|
sh)
Edit the JAVA_OPTS variable to add the following parameter (as
necessary) :
-Dhttp.proxyHost=proxyhostURL
-Dhttp.proxyPort=proxyPortNumber
-Dhttp.proxyUser=someUserName
-Dhttp.proxyPassword=somePassword

After inserting my proxy details, i could connect to the server
without (so ) many issues.

I did however have a further issue relating to my use of Ubuntu 10.10.
If you use a MySQL DB, then there was an issue with the
in the JDBC URLs for the MySQL connection ie
&useServerPrepStmts=false"

ie briefly :-

The is located in "app/Constellio/constellio/tomcat/webapps/constellio/
META-INF/persistence_base.xml" (line 22)

value="jdbc:mysql://localhost/constellio?autoReconnect=true" />
to :
value="jdbc:mysql://localhost/constellio?
autoReconnect=true&amp;useServerPrepStmts=false" />

Then Restart Consellio.

Hope this helps somebody else.

Julian
> > > > > >>         INFO http-8080-1...
>
> read more »
Reply all
Reply to author
Forward
0 new messages